Commit Graph

1821 Commits

Author SHA1 Message Date
270bdcaed9 Adding all languages supported by Peertube. 2023-06-09 17:50:31 +02:00
89a11cd3d6 Changing the way the translations are handled:
To make the Weblate integration simplier, this commit merge all
translations in yml files (there is no more distinction between
standards and settings strings)

This yml files will be handled by Weblate.

TODO: document the new translation process.
2023-06-09 17:08:39 +02:00
df27e4ead1 Reverting Weblate tests. 2023-06-09 15:51:33 +02:00
28598cae76 Weblate test 2023-06-09 15:47:37 +02:00
505a146a3c Translation test. 2023-06-09 15:26:39 +02:00
dd1662c3cf Translation building script modification, for Weblate integration:
When pluggin Weblate to the repo, its first commits replaced `false` by
`true` in JSON files. See PR #184.
So i modified the build-language.js script to remove all translations
that are not strings. Should do the trick.
2023-06-09 15:06:25 +02:00
8f66ea4032 Fix #180: Letsencrypt import not working
Letsencrypt certificate import procedure was not working on server that had never installed Prosody.
Adding `prosody_user` in the Prosody configuration file to fix this.
Updating the procedure: the `chown` is no more needed in `/etc/letsencrypt/renewal-hooks/deploy/prosody.sh`.
2023-06-08 10:22:43 +02:00
083b075445 Fix find -exec documentation for docker certificate renewal 2023-06-05 18:06:40 +02:00
1c7932cee6 Bump v7.0.1 2023-06-01 13:10:01 +02:00
472caf9f5b Fix: direct s2s connection not always possible
Trying to connect to a remote instance using direct s2s won't work if local instance has not the feature enabled, and if the remote instance does not know the local one.
So using Websocket S2S in such case (that embed a discovery mecanism).
2023-06-01 13:06:59 +02:00
6434ff024d npm audit fix 2023-05-31 18:25:55 +02:00
3a597065ea Bump version 7.0.0 2023-05-31 18:21:39 +02:00
f644ad0d88 Fix #124 (dirty hack):
This commit is a dirty hack to fix issue with ARM64 Prosody AppImage.
The fixed appimagebuild tool is not released by the dev team.
So i patch it in my build script. This is not a good solution, but it
works, and let me go forward.
2023-05-31 18:13:35 +02:00
0185b56cab Some comments. 2023-05-31 17:08:17 +02:00
dbf43ae016 Prosody recommended version is 0.12.x. 2023-05-31 16:52:55 +02:00
46cd201724 changelog update. 2023-05-31 16:52:54 +02:00
743c4eabd9 Chat Federation, avoid spoofing:
When sanitizing remote informations, we check that urls and hosts are on
the correct domain or subdomain.
2023-05-31 16:52:54 +02:00
4faf8a3aea Fix DNS documentation. 2023-05-31 16:52:54 +02:00
c097f5a596 Enabling again direct s2s. 2023-05-31 16:52:54 +02:00
b3582e6bfa Fix missing self signed certificates is some conditions. 2023-05-31 16:52:53 +02:00
2f52dc802a Bump version 6.4.0-alpha5 2023-05-31 16:52:53 +02:00
a6e361d1dd Fix typo + secure test 2023-05-31 16:52:53 +02:00
8132e7f51a Bump version 6.4.0-alpha4 2023-05-31 16:52:53 +02:00
fddf68a0cc Disabling direct s2s for alpha.4 2023-05-31 16:52:53 +02:00
3b8042ebe2 Fix timer. 2023-05-31 16:52:52 +02:00
589db6566c Bump version 6.4.0-alpha3 2023-05-31 16:52:52 +02:00
c00ffc31b2 Federated chat: enabling the direct s2s mode. 2023-05-31 16:52:52 +02:00
2de38661d6 Websocket S2S: ping every 55s to keep alive. 2023-05-31 16:52:52 +02:00
92d92e3350 Fix: i misunderstood the parameter s2s_close_timeout. And removing a duplicate hook. 2023-05-31 16:52:52 +02:00
9d40405f75 Fix session.secure for outgoint websocket s2s. 2023-05-31 16:52:51 +02:00
cf6dce693a Some TODO. 2023-05-31 16:52:51 +02:00
5d0b80e8d4 Some TODO. 2023-05-31 16:52:51 +02:00
c52d231435 6.4.0-alpha.2 version. 2023-05-31 16:52:51 +02:00
a8150a26eb Fix typo. 2023-05-31 16:52:51 +02:00
efdf01cef2 Fix condition. 2023-05-31 16:52:50 +02:00
ff96ff7763 Bump version 6.4.0-alpha.1 2023-05-31 16:52:50 +02:00
2961513d22 Refresh remote server infos when outdated. 2023-05-31 16:52:50 +02:00
e719dc3079 Chat Federation: fetch remote server information when missing. 2023-05-31 16:52:50 +02:00
6ed69d2c2f Chat Federation: refactoring ActivityPub data:
The data format used by plugin v6.3.0 was not well suited.
Here comes a new data format, with S2S informations.
The plugin can automatically upgrade old format.
It also continues to provide the old format, so than remote instance
that did not update the plugin will still work.
2023-05-31 16:52:50 +02:00
4f9534dc11 Removing some old PoC code. 2023-05-31 16:52:49 +02:00
b38d9a6426 Cleaning an aborted PoC 2023-05-31 16:52:49 +02:00
627b45ffc7 Chat Federation WIP: code cleaning. 2023-05-31 16:52:49 +02:00
8fe48a068f Refactoring the debug mode code, and adding some options. 2023-05-31 16:52:49 +02:00
b525c203da Chat Federation: first working PoC! 2023-05-31 16:52:49 +02:00
6fbfb8ef67 Fix var name + log. 2023-05-31 16:52:48 +02:00
5a945a0cb7 Chat Federation WIP:
Found that net.websocket is not appropriate.
This commit is a proof of concept. It has to be cleaned.
Still not working, but close!
2023-05-31 16:52:48 +02:00
cd3afe2b26 Chat Federation WIP:
Trying to fix some non-working code. Still not working.
2023-05-31 16:52:48 +02:00
ef3417dab0 Fix debug option. 2023-05-31 16:52:48 +02:00
92f076d425 Fix debug option. 2023-05-31 16:52:48 +02:00
9a2da60b7d Chat Federation (and a lot more) WIP:
Note: websocket s2s is not working yet, still WIP.

New Features

* Chat Federation:
  * You can now connect to a remote chat with your local account.
  * This remote connection is done using a custom implementation of [XEP-0468: WebSocket S2S](https://xmpp.org/extensions/xep-0468.html), using some specific discovering method (so that it will work without any DNS configuration).

Minor changes and fixes

* Possibility to debug Prosody in development environments.
* Using process.spawn instead of process.exec to launch Prosody (safer, and more optimal).
* Prosody AppImage: fix path mapping: we only map necessary /etc/ subdir, so that the AppImage can access to /etc/resolv.conf, /etc/hosts, ...
* Prosody AppImage: hidden debug mode to disable lua-unbound, that seems broken in some docker dev environments.
2023-05-31 16:52:47 +02:00