Commit Graph

24 Commits

Author SHA1 Message Date
John Livingston c95dd1f713
chat-share-url 2021-12-21 19:54:37 +01:00
John Livingston 9f9643ac89
Share chat modal WIP. 2021-12-14 17:46:07 +01:00
John Livingston e6dd31afd0
Code refactoring. 2021-12-14 15:54:36 +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 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 f28fbf7ed3
New buttons. 2021-11-25 16:56:32 +01:00
John Livingston 215c5c7f1e
Fix autocolors settings. 2021-11-24 18:21:35 +01:00
John Livingston ba44eabe95
Fix css autocolors. 2021-11-22 14:02:25 +01:00
John Livingston ede36695cd
Simplier colors detection (using css vars). 2021-11-22 13:30:55 +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 6c19f0a609
CSS: chat buttons smaller when chat is open. 2021-11-18 15:35:13 +01:00
John Livingston 5f3e8f08a2
Hacking Peertube's styles to maximize chat width. 2021-11-17 14:41:25 +01: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 d0b44c3486 Replacing old settings by chat-type. 2021-06-03 11:46:11 +02:00
John Livingston 22f392d838 Use frontend peertubeHelpers.getBaseRouterRoute when available. 2021-06-02 15:18:09 +02:00
John Livingston a1d5d83cc5 Remove backward compatibility. 2021-06-02 12:20:15 +02:00
John Livingston 5b7f247af3 Using new placeholder. WIP. 2021-05-18 20:35:19 +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 834611dfe5 Frontend: using the new videoHasWebchat function. 2021-05-01 19:06:05 +02:00
John Livingston 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
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 817cf28e2a Using builtin prosody when enabled. 2021-04-14 18:47:23 +02:00
John Livingston 1728e52e9f Fix typing. 2021-04-09 13:08:20 +02:00
John Livingston 3e46552ec0 Typescript for frontend code. 2021-04-07 18:14:58 +02:00