Commit Graph

158 Commits

Author SHA1 Message Date
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
3dcbba57e6 Room list: force channel or video room. 2021-08-05 18:34:38 +02:00
e9d1e55084 Room list: handle channel rooms. 2021-08-05 18:25:27 +02:00
5c0b274f39 Builtin Prosody: adding the prosody-room-type settings to allow rooms to be per channel or per video. WIP. 2021-08-05 15:41:49 +02:00
e14007f2e9 External webchat tool: new placeholder CHANNEL_ID in the webchat url. 2021-08-04 17:38:26 +02:00
b64d9730d0 Adding last activity informations. 2021-07-19 16:51:51 +02:00
91ade27d81 Changing labels. 2021-07-19 15:47:18 +02:00
4a775b1df5 Room list: retrieving video metadata. 2021-07-19 15:45:57 +02:00
446ebc0de9 Merge branch 'release/3.2.0' into prosody_room_list 2021-07-14 19:11:09 +02:00
3b51bf2946 Add localhost c2s connections 2021-07-13 20:18:32 +02:00
47bf53bafb Merge branch 'release/3.2.0' into prosody_room_list 2021-06-22 13:47:39 +02:00
6608480826 Builtin Prosody: optional settings to change the url for Prosody's API calls. 2021-06-22 13:23:01 +02:00
30d70e033e Retrieving list rooms from prosody. 2021-06-12 03:52:45 +02:00
56e74e0877 Initialize prosody-list-rooms button. 2021-06-12 01:16:57 +02:00
80ef06c65f Settings simplification to prepare translations. Diagnostic button is initialized by frontend. 2021-06-11 14:30:46 +02:00
385a0074c1 Chat can be enabled in video properties. 2021-06-08 18:08:58 +02:00
5e69474234 Simpler settings screen (tips, help, titles, ...) 2021-06-03 12:20:19 +02:00
d0b44c3486 Replacing old settings by chat-type. 2021-06-03 11:46:11 +02:00
36146ee76c Adding the chat-type field in the settings. 2021-06-02 19:54:04 +02:00
22f392d838 Use frontend peertubeHelpers.getBaseRouterRoute when available. 2021-06-02 15:18:09 +02:00
56f1c5895e Remove backward compatibility (registerSettingsScript). 2021-06-02 12:32:00 +02:00
a1d5d83cc5 Remove backward compatibility. 2021-06-02 12:20:15 +02:00
5b7f247af3 Using new placeholder. WIP. 2021-05-18 20:35:19 +02:00
07ab2a80ed Settings: hide unnecessary settings depending on webchat mode (requires Peertube 3.2.0). 2021-05-10 21:04:04 +02:00
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
34d8b7ded5 Fix token type. 2021-05-04 11:29:03 +02:00
f11fec7c97 Diagnostic: check prosody version. 2021-05-02 16:16:19 +02:00
834611dfe5 Frontend: using the new videoHasWebchat function. 2021-05-01 19:06:05 +02:00
ef05583fba Adding a Shared folder:
* init some shared functions (videoHasWebchat, parseConfigUUIDs)
* api/room: checking that video has live enabled
* fix promise handling in initChat function
* removing some 'use strict' that are no more necessary in typescript
2021-05-01 18:30:21 +02:00
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
817cf28e2a Using builtin prosody when enabled. 2021-04-14 18:47:23 +02:00
a018ef5293 WIP on Prosody diagnostic. 2021-04-14 16:14:56 +02:00
6bc1f66cf1 Moving peertube definition files to @types directory. 2021-04-12 16:41:18 +02:00
20a5372e12 Adding PLUGIN_CHAT_PACKAGE_NAME 2021-04-12 15:08:05 +02:00
80a51df1d5 Fix: better response processing. 2021-04-10 13:57:15 +02:00
f65b6ae876 Diagnostic tools. WIP 2021-04-10 04:16:25 +02:00
59cd78ee82 Initializing a diagnostic tools. WIP 2021-04-09 21:28:16 +02:00
1728e52e9f Fix typing. 2021-04-09 13:08:20 +02:00
0edc81ec62 Better peertube definitions. 2021-04-09 13:07:42 +02:00
3e46552ec0 Typescript for frontend code. 2021-04-07 18:14:58 +02:00
3dd8718744 Eslint: configure for standard-typescript (backend), and separate configurations depending on folders. 2021-04-07 17:20:28 +02:00
10f6b17d84 New icons for buttons. 2021-03-08 11:33:09 +01:00
a7c6e520e6 Better UX
* All buttons are in the same DOM container as the iframe
* Icons for buttons
* Rewriting the build process
* Simplier state management
* Buttons are hidden using CSS
2021-03-01 18:38:39 +01:00
5230aad30f The «open in new window» button is now optional. 2021-02-21 00:13:29 +01:00
a06961c5cc Option for enabling live only on local videos. 2021-02-20 23:37:23 +01:00
d9e461f984 Builtin ConverseJS:
* Building with webpack. TODO: include assets.
* Page template
2021-02-20 20:42:41 +01:00
fbfb38392d Work in progress: builtin converseJS. 2021-02-20 18:31:21 +01:00
e41938f773 The chat is displayed on the right of the video. 2021-02-20 16:31:16 +01:00
767b9d0a27 Fix uncomplete commit. 2021-02-20 16:03:44 +01:00
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