Commit Graph

113 Commits

Author SHA1 Message Date
John Livingston
b165364748
Some technical documentation. 2023-09-07 12:53:07 +02:00
John Livingston
22f7d8fcef
Fix #200: externalizing the Prosody AppImage build:
The build process for the Prosody AppImage only worked on Debian based
stations.
See: https://github.com/JohnXLivingston/peertube-plugin-livechat/issues/200

With this commit, the Prosody AppImage is no more built in this plugin, but downloaded from [prosody-appimage](https://github.com/JohnXLivingston/prosody-appimage).
2023-08-07 16:59:06 +02:00
John Livingston
9f8a9ae5ae
Fix typo. 2023-08-07 10:19:42 +02:00
John Livingston
609b9e99ec Fix #100: API endpoint enhancement
Bypassing Nginx for API call originated from Prosody (if Peertube >=5.1).
Can also fix some Docker setup, which needed to set the prosody-peertube-uri settings.
2023-08-02 17:08:42 +02:00
John Livingston
f8ad15d324
Documentation: fix typo. 2023-07-27 13:15:32 +02:00
John Livingston
c66c15fa76
Some documentation. 2023-07-27 11:43:31 +02:00
John Livingston
c78b137b70
Fix typo 2023-07-27 10:45:06 +02:00
John Livingston
f0bff2352e
Fix typo. 2023-07-26 18:53:43 +02:00
John Livingston
8db4f10584
Improving Documentation (#220)
Documentation improvement (Related to https://github.com/JohnXLivingston/peertube-plugin-livechat/issues/117)

* new introduction and homepage
* Fix livechat_label shortcode: no line breaks
* refactoring/rewriting user documentation
* troubleshooting section
* Updating documentation po files
* ...
2023-07-25 18:00:41 +02:00
mose
546fa75825 a cd was missing 2023-07-19 08:41:01 +02:00
John Livingston
f5b3b68c4f
Fix documentation: translate doc not translated:
The example of livechatnotranslation usage in the page was triggering
the doc-translate script... So the page was marked as "don't translate".
2023-07-17 17:09:39 +02:00
John Livingston
c9bf187299
Fix typo. 2023-07-17 16:56:24 +02:00
John Livingston
d8d1de3ceb
Trying to trick github CI for po4a version. 2023-07-17 16:33:44 +02:00
John Livingston
9d3c7eef65
No markdown table in documentation, not compatible with po4a. 2023-07-17 16:01:00 +02:00
John Livingston
d8d0b48e60
Doc. 2023-07-17 15:40:55 +02:00
John Livingston
3ba3a7cc5f
Fix doc typo. 2023-07-17 13:26:19 +02:00
John Livingston
732344a37c
Update develop documentation, with correct dependencies. 2023-07-17 12:47:42 +02:00
John Livingston
a7a62e76b6
Fix doc. 2023-07-14 19:56:21 +02:00
John Livingston
56df985745
Documentation translation (#199)
Documentation translation using weblate.

* Use po4a to generate .po files from the english markdowns, then to generate translated files
* Some pages can be marked as «english only» (for technical documentation for example)
* New Hugo shortcode to use application strings in documentation (for example for settings names)
* The code of conduct is no more translated, but there is a link to official Contributor Covenant translations
* Adding all plugin's supported languages

Related to https://github.com/JohnXLivingston/peertube-plugin-livechat/issues/117
2023-07-14 19:15:30 +02:00
John Livingston
cc68eb9010
Documentation cleaning. 2023-07-06 16:21:21 +02:00
John Livingston
f6d473a000
Documentation cleaning + settings label update 2023-07-06 16:06:38 +02:00
John Livingston
da21d36b87
Fix typo 2023-07-06 14:10:50 +02:00
Alecks Gates
bf5ae50443 Podcast RSS Documentation 2023-07-06 14:10:05 +02:00
John Livingston
995dfa4dff Some refactoring. 2023-07-06 14:10:05 +02:00
John Livingston
81110da5e1
ActivityPub discovery documentation (#113) 2023-07-05 16:42:56 +02:00
John Livingston
3627ef25f6
FEP-1970: name attribute.
Related to #113.
2023-07-05 12:10:27 +02:00
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