Commit Graph

12 Commits

Author SHA1 Message Date
John Livingston d5c327565c
Adding SPDX headers (WIP) 2024-05-23 11:42:14 +02:00
John Livingston e5e6c6f953
Room list: using new chat page 2024-04-03 12:13:44 +02:00
John Livingston 612a9f622d
Embeddeding chat without iframe besieds videos WIP 2024-03-28 15:06:15 +01:00
John Livingston 8988a85ec9
Refactoring + new embedded chat:
* moving conversejs plugin in separate files
* disconnecting embedded chat on navigation-end
2024-03-27 16:26:32 +01:00
John Livingston 5373fb1570
Renaming 'moderation' pages to 'configuration'. 2023-09-22 16:45:02 +02:00
John Livingston efb8710f67
Moderation configuration screen: WIP. 2023-09-22 16:45:01 +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 7db856ce0f
Using types declarations from the official @peertube/peertube-types package. 2022-01-11 01:29:33 +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 385a0074c1 Chat can be enabled in video properties. 2021-06-08 18:08:58 +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 3e46552ec0 Typescript for frontend code. 2021-04-07 18:14:58 +02:00