Commit Graph

42 Commits

Author SHA1 Message Date
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 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 f1cf98921f
Custom channel emoticons WIP (#130):
* fix reset when opening multiple chat
* disable default converseJs custom icons
2024-06-07 13:45:07 +02:00
John Livingston a777c7ac8d
Custom channel emoticons WIP (#130) 2024-06-07 13:45:06 +02:00
John Livingston dad29a941f
Custom channel emoticons WIP (#130) 2024-06-07 13:45:04 +02:00
John Livingston d5c327565c
Adding SPDX headers (WIP) 2024-05-23 11:42:14 +02:00
John Livingston 9ef71c07dd
Task lists WIP:
* remember if task app was open, and restore when in fullpage mode
* refactoring
2024-05-13 10:53:42 +02:00
John Livingston d6aefb61c4
Task lists WIP:
* front-end: task are no more in a dialog
2024-05-13 10:52:36 +02:00
John Livingston 33328a76d4
Minor JS fix 2024-04-29 15:50:38 +02:00
John Livingston 0a492d1921
Adding some standard OpenID Connect providers (Google, Facebook) (WIP):
* frontend
2024-04-22 14:28:55 +02:00
John Livingston 7afcbcf1a2
Refactoring: better naming, to prepare other external authent. 2024-04-19 09:58:36 +02:00
John Livingston 2334a5f861
Possibility to configure an OpenID Connect provider on the instance level WIP (#128).
Sign out button for external accounts.
2024-04-19 09:58:35 +02:00
John Livingston 28936ed84b
Fix reconnection when logged in. 2024-04-19 09:58:34 +02:00
John Livingston b0085dbf45
Fix. 2024-04-19 09:58:34 +02:00
John Livingston 51c8a573c7
Possibility to configure an OpenID Connect provider on the instance level WIP (#128). 2024-04-19 09:58:34 +02:00
John Livingston 6c13d2e377
Possibility to configure an OpenID Connect provider on the instance level WIP (#128). 2024-04-19 09:58:33 +02:00
John Livingston 669b260307
Possibility to configure an OpenID Connect provider on the instance level WIP (#128). 2024-04-19 09:58:32 +02:00
John Livingston e646ebfd69
Possibility to configure an OpenID Connect provider on the instance level WIP (#128). 2024-04-19 09:58:32 +02:00
John Livingston eee07da1e3
Fix button cloning method. 2024-04-11 15:14:50 +02:00
John Livingston 1689657aa7
Fix reconnection. 2024-04-11 14:15:59 +02:00
John Livingston 4948d27fae
Fix 355: Make the ConverseJS dropdown menu available everywhere (WIP) 2024-04-11 12:19:42 +02:00
John Livingston 8fc8e3032b
Log in with external Peertube account (#348):
* For anonymous users: new "log in using an external account" dialog, with the "remote Peertube account" options
* ConverseJS: using global vars for custom localized string (injected
  using Webpack)
2024-04-09 16:46:55 +02:00
John Livingston 1ceb37da2c
Fix slow mode:
focus was lost when textarea got disabled, so it could trigger some Peertube events if the user type some text.
2024-04-03 16:53:01 +02:00
John Livingston 7d4577efec
Fix ConverseJS plugins + viewer mode refactoring. 2024-04-03 11:18:00 +02:00
John Livingston 610040b253
Some styling and html fixes. 2024-04-02 17:40:43 +02:00
John Livingston 612a9f622d
Embeddeding chat without iframe besieds videos WIP 2024-03-28 15:06:15 +01:00
John Livingston ba52d4e3d8
Reconnect livechat in embedded mode. 2024-03-28 12:22:30 +01:00
John Livingston 1ba1e08d69
debug _converse on dev env 2024-03-28 11:16:33 +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 b6478f0f9e
New chat integration:
* refactoring
* cleaning
* using peertubeHelpers to get authent info when available
2024-03-26 15:38:22 +01:00
John Livingston 2408d9cf72
Implement #143: User colors
Implementing [XEP-0392](https://xmpp.org/extensions/xep-0392.html) to have random colors on users nicknames.
2024-03-14 16:07:12 +01:00
John Livingston 7d13f567d4
Slow Mode WIP (#192):
* front-end: disable the message field during the slow mode duration.
2024-02-16 17:35:55 +01:00
John Livingston 1e876ec43c
Slow Mode WIP (#192):
* frontend: display an infobox when slow mode is active (WIP)
2024-02-16 17:35:55 +01:00
John Livingston a8e3524a94
Custom settings livechat_load_all_vcards for the readonly mode 2024-02-07 12:22:40 +01:00
John Livingston 5d4bfceb73
Hidden force_default_hide_muc_participants query parameter, for testing
purpose.
2024-01-31 18:12:53 +01:00
John Livingston ee48b01ae7
UI/UX improvment:
Hide nickname changes when previous nickname was like "Anonymous 12345".
Helps to improve performances when massive anonymous users are joining (#138), and prevent displaying unnecessary messages (#111).
2024-01-15 17:48:56 +01:00
John Livingston 5e60060052
Anonymous chat user: store last nickname in localStorage, and expires
after 12 hours
2024-01-09 17:56:33 +01:00
John Livingston a56467c6cd
Authenticated users: if current user nickname is already used in the room, automatically add a suffix. 2024-01-09 16:17:47 +01:00
John Livingston d0a250a91d
Better Anonymous chat user UX:
* Remember the chosen nickname in sessionStorage, to avoid entering it again too often.
* Fix: if an anonymous chat user enter spaces in the nickname choice, it will allows them to keep the random nickname.
2024-01-09 12:54:30 +01:00
John Livingston 6d7a8199ae
Fix #140:using ConverseJS `prune_messages_above` to purge old messages, keeping only last 100. 2023-12-21 16:01:29 +01:00
John Livingston d33795f7a1
Code refactoring WIP:
Cleaning the way ConverseJS parameters are given to the full page.
2023-08-01 17:01:09 +02:00
John Livingston 3bc05d88df
Chat Federation: using S2S if available.
* if both local and remote instance have external XMPP connections enabled, the user joins the remote room with his local account
* some code refactoring (builtin.ts)

Note: documentation and settings descriptions are to do.

Related to #112
2023-05-31 16:52:47 +02:00