Commit Graph

228 Commits

Author SHA1 Message Date
John Livingston
5614987901
Fix self-signed certificates on ubuntu + v8.0.2:
* On some Ubuntu server, the self-signed certificates generation fails:
  * See [issue #268](https://github.com/JohnXLivingston/peertube-plugin-livechat/issues/268)
  * This prevents the bot to connect to the server
  * As a fallback, we directly call openssl to generate the certificates
2023-09-27 14:29:17 +02:00
John Livingston
05b45fe6b5
Bump v8.0.1 2023-09-26 15:22:20 +02:00
John Livingston
6ed5e4497a
Bump v8.0.0 2023-09-25 17:48:20 +02:00
John Livingston
d7d7b9e1df
import-wikimedia.mjs script 2023-09-25 17:12:10 +02:00
John Livingston
e2c85af001
Bot avatar:
* For now, only one avatar possible,
* uses mod_random_vcard_peertubelivechat,
* mod_random_vcard_peertubelivechat has a new option with the avatar
  list (instead of a hardcoded avatar number)
* Peertube lists available avatars files, and pass it to mod_random_vcard_peertubelivechat
2023-09-25 11:20:46 +02:00
John Livingston
b111cbd0d5
bot 0.2.8 2023-09-22 20:57:16 +02:00
John Livingston
85f249fe91
Changing compile order:
Changing the compilation order, to get relevant compilation errors quicker.
2023-09-22 16:45:09 +02:00
John Livingston
b5140ca994
chat bot v0.2.7 2023-09-22 16:45:08 +02:00
John Livingston
8029bab8e4
bot 0.2.6 2023-09-22 16:45:08 +02:00
John Livingston
19264fb915
Channels list UI 2023-09-22 16:45:07 +02:00
John Livingston
852221d232
Moderation. 2023-09-22 16:45:07 +02:00
John Livingston
de9de8e358
wip 2023-09-22 16:45:06 +02:00
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