Commit Graph

257 Commits

Author SHA1 Message Date
John Livingston f88520d925
Implements #146: copy message button for moderators
We overload the copy message method that comes with Converse 11, to add
the message metadata (nick and full date).
2024-07-26 10:51:55 +02:00
John Livingston 7a54594967
Moderation delay WIP (#132):
* default channel value for moderation delay
2024-07-09 16:15:07 +02:00
John Livingston e97c33cec5
Polls: notifier on votes 2024-07-05 16:34:51 +02:00
John Livingston 934c07e34e
Fix #449: Remove the constraint for custom emojis shortnames to have ":" at the beginning and at the end. 2024-06-25 17:12:46 +02:00
John Livingston af04f70611
Terms&Conditions (#18) WIP:
* user documentation
* settings documentation
2024-06-25 12:21:02 +02:00
John Livingston 45a63eaecd
Terms&Conditions (#18):
* new settings for instance's terms
* new channel option for channel's terms
2024-06-25 12:21:01 +02:00
John Livingston 5a455fff93
New option to only allow registered users to speak WIP (#233):
* Prosody mod_muc_peertubelivechat_roles module
* Fix ConverseJS to disable the message field when room is unmoderated
  and user is visitor
* Mute/voice anonymous users when changing room configuration.
* Display a specific message to muted anonymous users.
* Default value for mute_anonymous in channel options.
* Feature documentation
2024-06-21 11:37:06 +02:00
John Livingston 1be95f01b1
Fix: clicking on the import custom emojis button, without selected any file, was resulting in a state with all action button disabled. 2024-06-20 14:39:15 +02:00
John Livingston 48905dd70d
Fix #437: removing last line if empty when importing emojis. 2024-06-20 11:45:36 +02:00
John Livingston a0b4b5f61a
Fix: the emojis import function could add more entries than max allowed emoji count.
+ another minor fix.
2024-06-20 11:38:04 +02:00
John Livingston 83dd3130a1
Fix #436: Saving emojis per batch, to avoid hitting max payload limit. 2024-06-20 11:14:00 +02:00
John Livingston 22ea1a36ae
Share chat dock tab: adding date column, removing password column. 2024-06-19 11:45:37 +02:00
John Livingston 9f4a92609b
Share chat: default tab is embed. 2024-06-19 11:31:22 +02:00
John Livingston 8a2d556d4e
Replace github documentation link by framagit ones + fix some links 2024-06-19 11:06:11 +02:00
John Livingston 257fdbd2c2
Authentication token generation (#98):
* setting to disable the feature (aka "panic button")
2024-06-17 15:25:02 +02:00
John Livingston a9b6474b8f
Authentication token generation WIP (#98)
First working version.
2024-06-17 14:54:29 +02:00
John Livingston 90afdafbd9
Authentication token generation WIP (#98)
You can now generate links to join chatrooms with your current user. This can be used to create Docks in OBS for example. This could also be used to generate authentication token to join the chat from 3rd party tools.
2024-06-17 11:43:59 +02:00
John Livingston 7b617a9aad
Help button for OBS web source. 2024-06-14 16:07:59 +02:00
John Livingston 76f014ed60
Missing SPDX 2024-06-14 15:56:30 +02:00
John Livingston 2739bb823a
Logger: improving the logger, and using it in client code. 2024-06-14 15:17:14 +02:00
John Livingston d931a9c144
Share url element: restore and save state. 2024-06-14 15:07:15 +02:00
John Livingston d42bcf01a7
Logger:
* new createLogger function
* custom elements have their own logger
2024-06-14 15:06:49 +02:00
John Livingston 75dd2e4d59
Rewriting Share modal WIP:
Using lit to entirely rewrite the share chat modal.
2024-06-14 14:22:17 +02:00
John Livingston 4851e35fba
Fix lit class attribute. 2024-06-14 10:45:36 +02:00
John Livingston 1cc6a68089
Fix dynamic table button css 2024-06-13 17:00:08 +02:00
John Livingston b59056f57d
Fix linting. 2024-06-13 16:42:23 +02:00
John Livingston 990ff2385a
Refactoring: merge video-watch scope into common.
In order to be able to use lit in videowatch related code, we have to
merge these scopes.
2024-06-13 16:36:16 +02:00
John Livingston f1e9d1dfec
Dynamic table UI:
* margin bottom
* add row button on left, to be more visible
2024-06-13 15:21:31 +02:00
John Livingston a1eada96e8
Channel emojis: adding an empty line by default. 2024-06-13 15:10:12 +02:00
John Livingston ae429c65a7
Fix. 2024-06-13 15:05:22 +02:00
John Livingston 8dede18070
Fix notifier messages/titles. 2024-06-13 15:01:31 +02:00
John Livingston 63d8e9789e
Fix: resetting validationError on update. 2024-06-13 12:48:58 +02:00
John Livingston 1d943716dd
Dynamic table: refactoring (more readable code). 2024-06-13 12:31:32 +02:00
John Livingston b6f196d07c
SPDX 2024-06-13 12:03:11 +02:00
John Livingston 38946121b7
tags-input: validate last value when pasting. 2024-06-13 12:00:11 +02:00
John Livingston 618dc6aeae
tags-input:
* add a "copy" button
* fix some css class (adding a prefix to avoid side effects)
* other minor fixes
2024-06-13 11:55:02 +02:00
John Livingston 591e0ad3fd
Fix. 2024-06-13 10:57:34 +02:00
John Livingston 7cabf12864
Fix tags-input:
* the code handling `separators` was buggy, so i simplified to use only
  one separator
* was not practical for bot quotes (can't edit), so replaced by a
  textarea
2024-06-13 10:48:13 +02:00
John Livingston 8cc9061092
Fix lit linting. (some fix could be better...) 2024-06-12 19:13:35 +02:00
John Livingston 724e8fdce9
Fix lit linting: input-tags should only handle text, not numbers. 2024-06-12 18:59:34 +02:00
John Livingston d4692c81e0
Fix lit linting, WIP. 2024-06-12 18:51:04 +02:00
John Livingston be1e7456bd
Fix action button. 2024-06-12 17:14:39 +02:00
John Livingston 4976a4f282
Refactoring: moving some template to separate files + classMap fix. 2024-06-12 17:14:39 +02:00
John Livingston 2c3739f633
Refactoring: simplifing the peertube context. 2024-06-12 17:14:38 +02:00
John Livingston 268c60d699
Refactoring. 2024-06-12 17:14:38 +02:00
John Livingston a4a9f85956
Dynamic tables: focus to first input when adding a row. 2024-06-12 17:14:38 +02:00
John Livingston 72c4b0804d
Better UI for channel configuration pages. 2024-06-12 17:14:38 +02:00
John Livingston e811c549fd
Fix checkbox. 2024-06-12 17:14:38 +02:00
John Livingston 2668e5174c
Dynamic table description: always displayed, in a separate line. 2024-06-12 17:14:37 +02:00
John Livingston 597afc8ba6
New page loading and error cases:
* adding new custom elements: spinner and error
* using them on async tasks
2024-06-12 17:14:37 +02:00