Commit Graph

216 Commits

Author SHA1 Message Date
John Livingston 2289d79c28
Various fix and wip 2023-09-22 16:45:06 +02:00
John Livingston f97e54d499
Moderation Bot integration WIP:
* Start and stop the bot WIP
* Prosody: removing the BOSH module from the global scope (must only be present on relevant virtualhosts)
* Some refactoring
2023-09-22 16:45:06 +02:00
John Livingston 35c9494ed7
Store bot configuration WIP 2023-09-22 16:45:04 +02:00
John Livingston efb8710f67
Moderation configuration screen: WIP. 2023-09-22 16:45:01 +02:00
John Livingston 21de3404c3
Fix CSS linting. 2023-09-06 17:28:26 +02:00
John Livingston 0eb5ae5d97
Bump version 7.2.2 2023-08-07 17:12:26 +02:00
John Livingston 6184205e36
Fix client tsc check 2023-08-01 16:09:33 +02:00
John Livingston 5f6a47fd24
Build process: make it sequential instead of parallel:
The "npm run build" command had several step made in parallel.
This make the output difficult to read, and difficult to understand for
new developpers.

This commit makes all steps sequential.
The build time increase:

* from ~1m10 to ~1m45 for a complete build (including the download time
  from debian package repo)
* from ~0m33 to ~0m40 for a light build

This seems acceptable, given the gain in readability.
2023-08-01 11:37:35 +02:00
John Livingston dafe8df5da
Bump version 7.2.1. 2023-07-27 16:39:58 +02:00
John Livingston 4873e34389
Bump version 7.2.0 2023-07-26 18:25:16 +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 995dfa4dff Some refactoring. 2023-07-06 14:10:05 +02:00
Alecks Gates 2e98d930d3 Set minimum PeerTube version to 5.2.0 2023-07-06 14:10:05 +02:00
Alecks Gates 97a5d4b408 Initial WIP commit to add <podcast:chat> tag to Podcast RSS feeds 2023-07-06 14:10:05 +02:00
John Livingston abed34ec07
Bump version 7.1.0 2023-06-28 11:21:35 +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 1a70c32c22
Fix language declaration. 2023-06-12 17:18:58 +02:00
John Livingston 270bdcaed9
Adding all languages supported by Peertube. 2023-06-09 17:50:31 +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
John Livingston 1c7932cee6
Bump v7.0.1 2023-06-01 13:10:01 +02:00
John Livingston 3a597065ea
Bump version 7.0.0 2023-05-31 18:21:39 +02:00
John Livingston 2f52dc802a
Bump version 6.4.0-alpha5 2023-05-31 16:52:53 +02:00
John Livingston 8132e7f51a
Bump version 6.4.0-alpha4 2023-05-31 16:52:53 +02:00
John Livingston 589db6566c
Bump version 6.4.0-alpha3 2023-05-31 16:52:52 +02:00
John Livingston c52d231435
6.4.0-alpha.2 version. 2023-05-31 16:52:51 +02:00
John Livingston ff96ff7763
Bump version 6.4.0-alpha.1 2023-05-31 16:52:50 +02:00
John Livingston 95d0f4f36a
Bump version 6.3.0 2023-04-21 19:40:40 +02:00
John Livingston 2c759023a6
Bump version 6.3.0-beta4 2023-04-21 19:29:12 +02:00
John Livingston ee8c9deee1
Bump version 6.3.0-beta3 2023-04-21 19:25:29 +02:00
John Livingston 493c3dd25b
Bump version 6.3.0-beta2 2023-04-21 18:51:59 +02:00
John Livingston 6e290a3ef6
Fix beta version name. 2023-04-21 18:08:54 +02:00
John Livingston 252dd30db1
Bump version 6.3.0-beta1 2023-04-21 17:35:14 +02:00
John Livingston 115fcd8484
Chat federation: add metadata in ActivityPub. WIP 2023-04-19 19:07:08 +02:00
John Livingston 7cae2de92f
Version 6.2.3 2023-03-08 10:25:47 +01:00
John Livingston e5c063afb5
Fix italian translation + v6.2.2. 2023-03-07 16:03:57 +01:00
John Livingston b9ab4cfc4b
Bump version 6.2.1. 2023-03-07 15:55:15 +01:00
John Livingston 9fd4876e23
6.2.0 2023-03-06 12:10:08 +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 42c21ead94
Moving `public` directory away:
Moving `public/images` dir to `assets/images`, because it conflicts with gitlab CI/CD for documentation.
Moving `assets/styles.css` to `assets/styles/styles.css`.

Related to #117.
2023-02-14 10:19:55 +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
John Livingston 5658cc3dc5
#122: update npm dependencies. 2022-12-12 19:31:30 +01:00
John Livingston c178213e19
Use ESBuild for frontend build.
Replacing webpack by ESBuild for client code compilation (as in the
official quickstart plugin).

So we can remove deprecated webpack dependencies.

Note: webpack is still used for ConverseJS build.
This may be removed soon.

Related to issue #122.
2022-12-12 19:31:29 +01:00
John Livingston 901d1e96ab
Update @peertube/peertube-types to 4.2.2:
* using a stable version (4.2.2)
* minimum Peertube version is now 4.2.0
* removing some type customizations

Related to issue #122.

Note: there are still some quirks. See: https://github.com/Chocobozzz/PeerTube/issues/5446
2022-12-12 19:31:17 +01:00
John Livingston ed3f236120
Prosody Appimage: supports only x86_64:
* stop trying to generated an ARM64 AppImage (as it is buggy)
* display a warning in the settings if incompatible CPU detected
* documentation for a workaround

Implements #120.
2022-12-12 19:17:43 +01:00
John Livingston 52753627d3
6.0.0-beta.2 2022-12-08 11:27:13 +01:00
John Livingston d11a0f71eb
6.0.0-beta.1 2022-12-06 18:47:39 +01:00
fusengum 087d36622e
Added a Japanese translation (#121)
* add japanese translation files to develop.

* Update README and Commit a Japanese install Guide.

* update version here translation.

* update japanese translation files.

* update README.ja
2022-12-06 17:24:00 +01:00
John Livingston 459d92cef9
Embedding Prosody using AppImage:
Thanks to this commit, there is no more need to manually install Prosody
on the server.
The plugin now build and embed an AppImage of Prosody.

In this commit:
* building and using a Prosody AppImage.
* Adding a launcher in the AppImage: the first command argument tells if
  we want to run prosody or prosodyctl
* prosodyCtl functions now uses the AppImage.
* Prosody AppImage: extract once at the startup, then run the squashfs
2022-11-15 15:20:10 +01:00
John Livingston a8200a5724
ConverseJS v10.0.0: checkout upstream
Using Converse v10.0.0. WIP
2022-10-31 17:39:08 +01:00
John Livingston 1bb202d9d3
Replacing express-http-proxy by http-proxy + code refactoring. 2022-10-13 10:43:59 +02:00
John Livingston 7906ddf625
Prosody mode only:
Removing old modes (ConverseJS and External URI).
Work in progress.
2022-10-10 18:08:20 +02:00
John Livingston e2ec66bf37
NPM engines v7 required:
The build fails with npm v8.
Waiting for the correct fix, I have added an engines section in
package.json.
2022-10-10 16:41:50 +02:00
John Livingston 437ddd4224
5.7.1 2022-08-07 12:32:56 +02:00
John Livingston 68dc74d630
License. 2022-08-01 15:24:55 +02:00
John Livingston 4a652d9150
5.7.0 2022-04-11 18:17:13 +02:00
John Livingston d24ef987a0
5.6.0 2022-04-07 11:29:24 +02:00
Gamemap dd344ce350 Added German translation 2022-04-03 00:24:33 +02:00
John Livingston ea0ec19f84
5.5.0 2022-01-19 14:44:22 +01:00
John Livingston 7db856ce0f
Using types declarations from the official @peertube/peertube-types package. 2022-01-11 01:29:33 +01:00
John Livingston c1fb7b69ed
5.4.0 2022-01-10 03:07:50 +01:00
John Livingston 2a3b1ad51b
5.3.0 2022-01-07 02:53:19 +01:00
John Livingston 8f5bb9945a
Changing avatars. 2022-01-07 00:53:54 +01:00
John Livingston 2cf9b4ecde
Avatars 120x120. 2022-01-06 06:07:25 +01:00
John Livingston f966a69249
Random avatars: png instead of svg. 2022-01-06 05:57:09 +01:00
John Livingston c0a7f94936
Fix build. 2022-01-06 05:41:17 +01:00
John Livingston bf35172856
Builtin Prosody: display random avatars for anonymous users. 2022-01-06 05:30:55 +01:00
John Livingston 7db4d355fb
5.2.3 2022-01-04 05:05:46 +01:00
John Livingston 77407ea7f1
5.2.2 2022-01-04 04:24:50 +01:00
John Livingston 75b260bfd5
5.2.1 2022-01-03 18:28:24 +01:00
John Livingston 5943e059f9
5.2.0 2022-01-03 17:33:02 +01:00
John Livingston 45eaae4b1b
5.1.0 2021-12-28 16:30:24 +01:00
John Livingston ae2aa35234
Fix spaces. 2021-12-28 16:21:05 +01:00
John Livingston 6d4e0c2862
Fix oc language declaration + credits. 2021-12-28 13:01:10 +01:00
Mejans 1145d7a89e
Adds OC to the list 2021-12-28 10:48:11 +01:00
John Livingston 0786ae51a0
5.0.2 2021-12-08 19:35:26 +01:00
John Livingston b6298c165d
5.0.1 2021-12-01 15:12:13 +01:00
John Livingston a962486b94
Fix dependency issue. 2021-12-01 15:11:56 +01:00
John Livingston a20da5b51e
Fix npm prepare. 2021-11-24 17:29:25 +01:00
John Livingston bcdee7eb2b
Using package validate-color to validate css colors. 2021-11-22 13:45:19 +01:00
John Livingston e9dd047749
Using SCSS. 2021-11-18 15:59:47 +01:00
John Livingston 77975ffdb6
CSS Work In Progress
* new peertube theme for ConverseJS
* CSS linting
* splash screen
* defining CSS variables
2021-11-09 17:45:54 +01:00
John Livingston aa156d3c06
New splash screen. 2021-11-09 16:13:11 +01:00
John Livingston f9ec433502
A script to show files included in npm package. 2021-11-09 16:10:32 +01:00
John Livingston 679992146b
Building ConverseJS ourself. 2021-11-09 16:10:25 +01:00
John Livingston 1ea9feaab4
4.0.3 2021-11-09 10:59:45 +01:00
John Livingston 217b473d83
Copyright + Code Lutin contribution. 2021-11-03 18:22:10 +01:00
John Livingston 59931940e9
4.0.2 2021-11-02 15:45:26 +01:00
John Livingston c6d1d88d66
Better description. 2021-11-02 15:39:28 +01:00
John Livingston 435280feb4
Updating dependencies (minors and patches). 2021-11-02 15:24:59 +01:00
John Livingston 26132e6d8e
4.0.1 2021-09-14 16:56:30 +02:00
John Livingston f466a01ad8
Adding repository, hoping this will fix relative links to doc in README. 2021-08-21 02:42:28 +02:00
John Livingston c76e3bcabe
Updating eslint-plugin-promise. 2021-08-06 16:49:22 +02:00
John Livingston e5fead8df4
Updating @types/node. 2021-08-06 16:44:29 +02:00
John Livingston a60cb31772
npm update. 2021-08-06 16:40:20 +02:00
John Livingston ef050dcbaa
npm audit fix 2021-08-06 16:33:34 +02:00
John Livingston 14a87be859
Updating changelog and co. 2021-08-05 18:37:40 +02:00
John Livingston a3579abb81
Builtin ConverseJS on external XMPP server: new placeholders for the room name: CHANNEL_ID, CHANNEL_NAME. 2021-08-04 00:22:19 +02:00
John Livingston 25e41338c8 Initializing v3.2.0. 2021-06-22 13:42:34 +02:00
John Livingston 7279761c66 Diagnostic tool: testing API communication between Peertube and Prosody. 2021-06-22 10:26:45 +02:00
John Livingston ef0b5c9e3d 3.1.0 init. 2021-06-17 10:45:04 +02:00