Commit Graph

161 Commits

Author SHA1 Message Date
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