Commit Graph

37 Commits

Author SHA1 Message Date
John Livingston
9e12bd0306
Framasoft Weblate credits 2023-06-14 11:42:11 +02:00
John Livingston
f73ccbbf7e
Localization refactoring:
* the front-end now use global constants, based on the translation key
* build-client.js use the ESBuild "define" directive to replace these
  globals at compile time, by the english value
* build:client must now be called after build:languages
* moving the loadLoc and loc backend functions in a separate lib
2023-06-12 19:36:14 +02:00
John Livingston
93e3b5cdd4
Fix typo 2023-06-12 10:40:11 +02:00
John Livingston
aeb3c76b69
Documentation update: new translation process. 2023-06-09 18:31:48 +02:00
John Livingston
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
Alecks Gates
083b075445 Fix find -exec documentation for docker certificate renewal 2023-06-05 18:06:40 +02:00
John Livingston
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
John Livingston
4faf8a3aea
Fix DNS documentation. 2023-05-31 16:52:54 +02:00
John Livingston
8fe48a068f
Refactoring the debug mode code, and adding some options. 2023-05-31 16:52:49 +02:00
John Livingston
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
John Livingston
1003378b24
Documentation. 2023-05-31 16:51:06 +02:00
Alecks Gates
862991e086 Add directions for trusted certificate generation under Docker 2023-05-30 11:27:48 +02:00
John Livingston
df249efd16
Fix typo in documentation 2023-05-18 15:38:14 +02:00
Thibault François
51bdd91c5e [typo] carioca en trop 2023-05-12 10:06:14 +02:00
mose
3cf0376436
add link to docker-dev repo 2023-04-25 09:18:21 +02:00
John Livingston
f1375c1ea8
Dev tuto link. 2023-04-20 13:27:14 +02:00
John Livingston
01e7fdc9b6
Chat federation: new settings to disable the feature. 2023-04-20 12:13:22 +02:00
John Livingston
bcafac5cce
XMPP trusted certificates documentation. 2023-04-17 17:56:20 +02:00
John Livingston
aa1170a3f4
Troubleshooting doc (#114) 2023-04-14 14:26:30 +02:00
John Livingston
2a06784417
XMPP connections documentation (#114) 2023-04-14 14:23:18 +02:00
John Livingston
d2238c390f
Fix title. 2023-04-14 13:35:43 +02:00
John Livingston
02f27826b8
User XMPP clients documentation (#114) 2023-04-14 13:29:05 +02:00
John Livingston
801798852c Prosody: new settings to provide a custom certificates dir 2023-04-14 11:33:41 +02:00
John Livingston
b4dabfeeb9 New debug mode:
Debug mode is no more triggered by the NODE_ENV value, but by testing
the existance of a file in the plugin data directory.
2023-04-14 11:33:41 +02:00
John Livingston
4d9d9d39b0 XMPP clients connections WIP:
* new option to allow external xmpp account s2s connections
* settings to setup the port and network interfaces
* documentation WIP

Related to issue #114
2023-04-14 11:33:41 +02:00
John Livingston
8e4fa7ca7f
Translations typos. 2023-03-07 14:39:26 +01:00
John Livingston
0eb7e75421
New dev workflow:
Contribution now have to be made on the main branch.

A new `documentation` branch is created. Github and Gitlab pipelines are
now working on this branch.

Develop branch is deprecated, as it is no more necessary.
2023-03-07 14:14:19 +01:00
Gamemap
f31d6f8c82
Updated german translation (#156)
Completed german translation for the plugin settings
Translated the description of the settings documentation
Used a nicer sentence for the room type description
Translated the Github-Links for the Roadmap
2023-02-16 06:57:09 +01:00
John Livingston
c97cb5bb18
Partial german settings translations. 2023-02-15 15:02:22 +01:00
John Livingston
8957312169
Official code of conduct japanese translation. 2023-02-15 14:41:43 +01:00
John Livingston
6681f34a24
Official code of conduct german translation. 2023-02-15 14:38:55 +01:00
John Livingston
4863ce289b
Doc translation. 2023-02-15 14:32:47 +01:00
Gamemap
b17dceff96
update German translation for the new docs site (#154)
Added missing sites
Added note that setting names aren't translated
removed typo "Deutsche" -> "Deutsch"
removed typo "General informatiosn"
2023-02-15 14:31:46 +01:00
John Livingston
9d18e401a7
Implements #153: Settings translations (#155)
Implementing a new translating system, so we can more easily translate
settings strings. Indeed, these strings are difficult to embed in
JSON format.

We still use JSON files for standard strings, but in addition we have
dedicated YAML files to translate settings strings.

There is a new build-languages.js script that merge all translations in JSON files.

Other modifications:
* Eslint: ignoring documentation and build scripts.
* french settings translations.
2023-02-15 11:54:48 +01:00
John Livingston
891a7336c4
John Livingston in credits. 2023-02-14 11:11:12 +01:00
John Livingston
44eea3bd8e
Documentation: how to add a language to the doc. 2023-02-13 18:26:25 +01:00
John Livingston
e17257a90f
#117 part 1: New documentation website (#151)
This commit concerns the first subtask of this issue: https://github.com/JohnXLivingston/peertube-plugin-livechat/issues/117

It provide a brand new documentation website, that replace the previous markdown files.
The website is auto-generated using CI/CD, and can be found here: https://johnxlivingston.github.io/peertube-plugin-livechat/
2023-02-13 17:58:06 +01:00