Commit Graph

445 Commits

Author SHA1 Message Date
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
91ea442ce6
Fix «autocolor» mecanism when no color provided (raised an error) 2022-11-01 15:17:21 +01:00
John Livingston
ab89351f42
Prosody server: enabling mod_disco. 2022-11-01 10:35:42 +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
f4daae6ed9
Fix Changelog. 2022-10-13 18:36:36 +02:00
John Livingston
7259ae59a2
Builtin Prosody: BOSH path without plugin version, so it can be optimized in the nginx configuration. 2022-10-13 10:40:06 +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
36cda4a9b4
Adding an easy way to customize background transparency in OBS and co. 2022-08-07 11:51:07 +02:00
John Livingston
01a052d380
Fix #97 #54: Settings to hide the chat for anonymous users 2022-04-11 18:12:12 +02:00
John Livingston
ecc673dd5d
Bump version 5.6.0. 2022-04-07 11:29:13 +02:00
John Livingston
0e56e20a33
Updating dependencies. 2022-04-07 11:12:34 +02:00
John Livingston
d0762362e0
Deprecation warning. 2022-04-07 10:55:31 +02:00
John Livingston
4caf6168bf
Bump version. 2022-01-19 14:43:47 +01:00
John Livingston
b975a0c1ff
Changelog for translations. 2022-01-18 18:16:32 +01:00
John Livingston
2704a1a327
Builtin Prosody: using ConverseJS clear_cache_on_logout=true and allow_user_trust_override=false parameters 2022-01-16 19:29:20 +01:00
John Livingston
80ac08bd18
Transparent background + fix
* Builtin Prosody, Share chat url: option to have a transparent background (for streaming integration).
* Builtin Prosody, Share chat url: fixed new day hidding when no scrollbar in readonly mode.
2022-01-16 17:50:11 +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
d9bb6cc106
Bumper version 5.4.0. 2022-01-10 03:07:27 +01:00
John Livingston
4e69a2d8e6
Auto viewer mode (WIP). 2022-01-07 19:28:07 +01:00
John Livingston
1e27debb7d
Better random avatars quality. 2022-01-07 11:29:20 +01:00
John Livingston
42688a42ce
Bump version 5.3.0. 2022-01-07 02:53:09 +01:00
John Livingston
8f42dd6c28
Also hide separators when readonly=noscroll. 2022-01-07 02:15:39 +01:00
John Livingston
7e13f61aa7
Revert v5.2.1, as it was not the bug. 2022-01-07 01:40:35 +01:00
John Livingston
33a569e475
Remove deprecated changelog line. 2022-01-07 01:06:39 +01:00
John Livingston
bf35172856
Builtin Prosody: display random avatars for anonymous users. 2022-01-06 05:30:55 +01:00
John Livingston
0f0682036c
ConverseJS Peertube theme: hide avatars under 250px width instead of 576px. 2022-01-05 20:22:33 +01:00
John Livingston
2effa8e4e9
Changelog & cleaning. 2022-01-05 20:13:59 +01:00
John Livingston
be592aeacf
Enable Prosody modules pep and vcard_legacy. 2022-01-05 02:01:54 +01:00
John Livingston
cf8a013195
Update prosody-modules (mod_muc_moderation, mod_auth_http) 2022-01-05 01:09:55 +01:00
John Livingston
563e42c640
Fix errors. 2022-01-04 17:49:41 +01:00
John Livingston
04b1945239
Builtin Prosody, Share chat url: ability to show/hide the scrollbar in readonly mode. 2022-01-04 17:42:03 +01:00
John Livingston
19b3846a5a
Fix Autocolors on chrome browser. 2022-01-04 05:05:32 +01:00
John Livingston
5296de6a91
Fix ConverseJS: livechatWindowTitlePlugin was broken. 2022-01-04 04:23:13 +01:00
John Livingston
a3484ac963
Trying to fix an OBS cache problem, where OBS can't connect to the chat after a plugin update. 2022-01-03 18:27:56 +01:00
John Livingston
2acd950424
Bump version to 5.2.0 2022-01-03 17:32:54 +01:00
John Livingston
365e2630e2
ConverseJS: Remove spoilers as it is buggy. 2022-01-03 17:20:39 +01:00
John Livingston
607c86a51d
Bump version. 2021-12-28 16:30:03 +01:00
John Livingston
6d4e0c2862
Fix oc language declaration + credits. 2021-12-28 13:01:10 +01:00
John Livingston
566681150b
Share chat url
Modal for video owner (and instance's moderators) that allows to generate a link to the chat. So you can - for example - obtain the url to use for OBS integration.
WIP
2021-12-14 15:41:34 +01:00
John Livingston
148b28ef84
ConverseJS Readonly mode. Changing muc_mention_autocomplete_min_chars. 2021-12-14 13:02:15 +01:00
John Livingston
c19db4dc9c
Builtin ConverseJS mode: fix advanced controls hiding. 2021-12-14 11:59:36 +01:00
John Livingston
df3f87e903
XMPP external components. 2021-12-11 19:09:01 +01:00
John Livingston
96598f07d1
Changelog. 2021-12-11 18:02:48 +01:00
John Livingston
2e7cec04d9
Reverting work on DemoBot (it is now an external package). 2021-12-11 17:40:26 +01:00
John Livingston
d01d13a69e
Merge branch 'main' into develop 2021-12-08 19:41:43 +01:00
John Livingston
aaab1fe604
Fix some cases where the chat immediatly close
Peertube events are not fired in the good order.
This is a dirty fix: saving the current window location when
initializing the chat, and comparing the saved url when navigation-end
is triggered.
2021-12-08 19:33:28 +01:00
John Livingston
f0962e864c
Fix translation. 2021-12-08 17:22:54 +01:00
John Livingston
605b306dc8
Changelog 2021-12-08 16:56:47 +01:00
John Livingston
b5fe9f32ee
Note. 2021-12-01 15:36:13 +01:00
John Livingston
5ac3f10d7f
Note. 2021-12-01 15:24:42 +01:00
John Livingston
a962486b94
Fix dependency issue. 2021-12-01 15:11:56 +01:00
John Livingston
c2c276c412
CHANGELOG version cleaning. 2021-12-01 14:54:12 +01:00
John Livingston
b3999d6efa
Changelog order. 2021-12-01 14:48:55 +01:00
John Livingston
3c19a6b7f2
Fix plugin register when Prosody enabled but not installed (again) 2021-12-01 14:47:16 +01:00
John Livingston
5e988605ce
Builtin Prosody: new settings to choose how long the room's content is archived, and if it should be archived by default. 2021-12-01 12:57:15 +01:00
John Livingston
8999133dcc
Autocolors
WIP on a new feature: trying to guess current Peertube theme's colors,
and apply them to ConverseJS.
2021-11-19 16:45:10 +01:00
John Livingston
aa156d3c06
New splash screen. 2021-11-09 16:13:11 +01:00
John Livingston
9e640dd5bc
Adding custom webpack file for ConverseJS. 2021-11-09 16:10:32 +01:00
John Livingston
50090537cf
Bump v4.0.3. 2021-11-09 10:59:26 +01:00
John Livingston
8e1829c972
Changelog. 2021-11-05 12:13:31 +01:00
John Livingston
729f95c5eb
New documentation, first draft. WIP. 2021-11-04 13:57:37 +01:00
John Livingston
efc8c6a94f
Message near the diagnostic button to suggest to refresh the page if not working. 2021-11-02 17:13:38 +01:00
John Livingston
c6d1d88d66
Better description. 2021-11-02 15:39:28 +01:00
John Livingston
543e454b51
Fix plugin register when Prosody enabled but not installed 2021-09-14 16:49:11 +02:00
John Livingston
ef050dcbaa
npm audit fix 2021-08-06 16:33:34 +02:00
John Livingston
0e14ec6649
Removed the settings «Chats are only available for local videos».
From now on, webchat can only be activated for local videos.
It will never be displayed on remote videos.
This is because an incompatibility with a new feature (webchat per channel).
Moreover this feature was very limited: the webchat was not shared with the remote instance (this will probably be achieved in a future release).
2021-08-05 18:45:06 +02:00
John Livingston
14a87be859
Updating changelog and co. 2021-08-05 18:37:40 +02:00
John Livingston
3ca97fcf0e
Fix #63: On some old Peertube installations, there can be usernames with upper-case letters. Adding a toLowerCase() for the XMPP jid. 2021-08-05 11:51:16 +02:00
John Livingston
e14007f2e9
External webchat tool: new placeholder CHANNEL_ID in the webchat url. 2021-08-04 17:38:26 +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
40ad9629fc
Fix broken API diagnostic.
* Moving http_peertubelivechat_test module in muc component, as the
global config has no http_host.
* Adding Host HTTP Header to API call from Peertube to Prosody
2021-07-20 02:52:58 +02:00
John Livingston
2d659b6522
Fix changelog. 2021-07-20 01:50:10 +02:00
John Livingston
b6269d7ca3
Changelog 2021-07-14 19:21:56 +02:00
John Livingston
446ebc0de9
Merge branch 'release/3.2.0' into prosody_room_list 2021-07-14 19:11:09 +02:00
John Livingston
e6f23e660e
Changelog. 2021-07-14 18:48:24 +02:00
John Livingston
47bf53bafb Merge branch 'release/3.2.0' into prosody_room_list 2021-06-22 13:47:39 +02:00
John Livingston
25e41338c8 Initializing v3.2.0. 2021-06-22 13:42:34 +02:00
John Livingston
67f330017d Diagnostic tool: correctly parse Prosody nightly build versions. 2021-06-22 13:28:15 +02:00
John Livingston
6608480826 Builtin Prosody: optional settings to change the url for Prosody's API calls. 2021-06-22 13:23:01 +02:00
John Livingston
a526feac19 Diagnostic tool: testing API communication from Prosody to Peertube. 2021-06-22 12:57:24 +02:00
John Livingston
7279761c66 Diagnostic tool: testing API communication between Peertube and Prosody. 2021-06-22 10:26:45 +02:00
John Livingston
e6d4b0f663 Merge branch 'release/3.1.0' into prosody_room_list 2021-06-17 10:48:12 +02:00
John Livingston
ef0b5c9e3d 3.1.0 init. 2021-06-17 10:45:04 +02:00
John Livingston
73776cbba1 Changelog 2021-06-17 10:17:42 +02:00
John Livingston
30d70e033e Retrieving list rooms from prosody. 2021-06-12 03:52:45 +02:00
John Livingston
385a0074c1 Chat can be enabled in video properties. 2021-06-08 18:08:58 +02:00
John Livingston
22f7423f50 Changelog and roadmap. 2021-06-03 12:00:21 +02:00
John Livingston
24c764c3a5 Merge branch 'main' into release/3.0.0 2021-06-02 16:16:46 +02:00
John Livingston
1feafbb491 Changelog. 2021-06-02 16:12:14 +02:00
John Livingston
83c2de963a Fix typo: builtin prosody wont stop when desactivated. 2021-06-02 16:10:56 +02:00
John Livingston
88d9ad1f94 Remove backward compatibility (restoring default values for checkboxes). 2021-06-02 15:56:12 +02:00
John Livingston
834c6eaa03 Changelog... 2021-06-02 12:06:24 +02:00
John Livingston
cf7eaae6dc Version 2021-05-27 14:08:17 +02:00
John Livingston
41fb48c54d CHANGELOG.md 2021-05-26 14:21:35 +02:00
John Livingston
760dbc93f7 Merge v2.2.1. 2021-05-18 21:02:53 +02:00
John Livingston
5984722880 Revert «Better default values for settings», because of a bug in Peertube. 2021-05-18 20:51:07 +02:00
John Livingston
c1db044133 ConverseJS is using sessionStorage rather than localStorage. 2021-05-18 19:09:29 +02:00
John Livingston
2a8df1dc3c Use peertubeHelpers.plugin methods when available:
* getBaseStaticRoute use peertubeHelper when available
* getBaseRouter renamed getBaseRouterRoute and use peertubeHelper when available
* Backward compatibility is maintained.
2021-05-18 18:06:11 +02:00
John Livingston
4cf9ab51aa Prosody log rotation every 24 hour. 2021-05-12 14:59:52 +02:00
John Livingston
c5bcf611d3 Prosody log level will be the same as the Peertube's one. 2021-05-12 11:48:38 +02:00
John Livingston
c9eb3ffda4 Update comment after more tests. 2021-05-11 17:31:20 +02:00
John Livingston
236a9301bc mod_muc_moderation 2021-05-11 16:49:55 +02:00
John Livingston
a602c7870a Using mod_muc_mam:
* Starting with Peertube 3.2.0, builtin prosody save room history on server. So when a user connects, he can get previously send messages.
* Fix: settings archive_expires_after was useless without mod_mam
2021-05-11 16:10:57 +02:00
John Livingston
094193a3b1 Builtin prosody use a working dir provided by Peertube. 2021-05-11 15:37:34 +02:00
John Livingston
e194fd0e81 Changelog 2021-05-11 10:06:39 +02:00
John Livingston
07ab2a80ed Settings: hide unnecessary settings depending on webchat mode (requires Peertube 3.2.0). 2021-05-10 21:04:04 +02:00
John Livingston
d0012333cb Updating Changelog. 2021-05-10 11:16:25 +02:00
John Livingston
4840bd735a Better default values for settings:
* Remove old Peertube 3.0.1 compatibility (default value for checkbox settings should be false)
2021-05-07 19:18:41 +02:00
John Livingston
bebefb1a5d Don't display webchat when viewing a playlist:
* remove old Peertube 3.0.1 hook compatibility
* use new parameters for hook action:video-watch.video.loaded (Peertube
3.2.0)
* backward compatibility with Peertube 3.1.0 hooks
* don't display webchat if there is a current playlist
2021-05-07 18:52:01 +02:00
John Livingston
73ed34a2fa Fix: starting with Peertube 3.2.0, there is a header X-Frame-Options. Removing it on the iframe route. 2021-05-07 16:45:55 +02:00
John Livingston
5484947f51 Fix: if the video owner is already owner of the chatroom, he should not be downgraded to admin. 2021-05-06 21:05:46 +02:00
John Livingston
e91d378e5c Fix: 2.1.0 was in fact correct... Did not work on my preprod env because of... a Livebox bug... 2021-05-06 21:00:42 +02:00
John Livingston
fec219a909 Revert getProsodyDomain. Broken when not on localhot. 2021-05-06 14:04:16 +02:00
John Livingston
6cca689ef7 Trying to fix for production. 2021-05-06 13:59:45 +02:00
John Livingston
ccf1db2939 Bump version to v2.1.0. 2021-05-06 13:33:30 +02:00
John Livingston
b38fb172fa Changelog 2021-05-06 12:37:49 +02:00
John Livingston
fb7e98d20e Changelog. 2021-05-04 11:30:00 +02:00
John Livingston
84723ee261 Fix converseJS: show the participant list when not in iframe. 2021-05-02 14:41:54 +02:00
John Livingston
9dc0ce6383 Removing a hack:
* replacing loadByUrl by loadByIdOrUuid
* breaks compatibility with peertube 3.0.1
* simpler webchat route
* fix uuid escaping in iframe uri
2021-04-30 17:39:27 +02:00
John Livingston
62af899a50 Builtin Prosody modules:
* initialize prosody modules folder
* comment on prosody modules licensing
* use mod_muc_http_defaults to set rooms properties and prevent unauthorized room creation WIP
2021-04-29 16:50:30 +02:00
John Livingston
079332733a Fix Peertube server crash when prosody is not installed. 2021-04-18 17:48:21 +02:00
John Livingston
209dd540a8 Changelog update. 2021-04-18 15:02:04 +02:00
John Livingston
8ddbb21c7f Documentation. 2021-04-16 17:55:48 +02:00
John Livingston
0b40a8ff9a Changelog. 2021-04-16 15:24:59 +02:00
John Livingston
dbd6dc2375 Changelog 2021-04-07 18:26:17 +02:00
John Livingston
c688045c46 Bump version v1.0.8 2021-04-07 18:23:05 +02:00
John Livingston
ac37d8a882 Fix: typo that can prevent settings chat-only-locals to work. 2021-04-07 18:17:17 +02:00
John Livingston
8c7cc6ba09 Link to documentation. 2021-03-12 17:34:57 +01:00
John Livingston
a6f7793b36 Update documentation (for prosody tutorial). 2021-03-12 17:25:55 +01:00
John Livingston
8200207a75 Changelog 2021-03-09 10:14:37 +01:00
John Livingston
0678d2915e Update changelog 2021-03-08 11:35:06 +01:00
John Livingston
5f0708a942 Fix: changing default value to false for every checkbox settings (Peertube bug in <=3.0.1). 2021-03-08 10:24:04 +01:00
John Livingston
1f6762c067 v1.0.4 2021-03-01 19:00:39 +01:00
John Livingston
8246e12297 ConverseJS fixes and documentation:
* using version 7.0.4
* update documentation and example files
* disable discover_connection_methods option
2021-02-21 16:13:48 +01:00
John Livingston
a062bcf341 Quick fix: add a min-height for the iframe, so that it is not too tiny when under the video. 2021-02-21 02:00:13 +01:00
John Livingston
8179ea4c11 Fix: When installing the plugin from npm, the node_modules dont come with: copying converseJS to dist folder. 2021-02-21 01:22:07 +01:00
John Livingston
5230aad30f The «open in new window» button is now optional. 2021-02-21 00:13:29 +01:00
John Livingston
a06961c5cc Option for enabling live only on local videos. 2021-02-20 23:37:23 +01:00
John Livingston
40d6ade8b6 Look & feel for builtin chat. 2021-02-20 23:29:07 +01:00
John Livingston
e41938f773 The chat is displayed on the right of the video. 2021-02-20 16:31:16 +01:00
John Livingston
767b9d0a27 Fix uncomplete commit. 2021-02-20 16:03:44 +01:00
John Livingston
b27aa9e558 Bump to version 0.0.6 2021-02-20 15:46:46 +01:00
John Livingston
b071489e5b Fix:
* Chat should be displayed for waiting and ended lives
* Chat and chat buttons must be cleaned out of the dom on navigation
2021-02-20 15:41:00 +01:00
John Livingston
db13377d81 Changelog. 2021-02-20 14:28:02 +01:00
John Livingston
cb87d1e172 Changelog 2021-02-20 14:22:24 +01:00