Commit Graph

54 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 dd4bca8c06
Fix Converse v11 regression - occupant comparator function:
The way we overloaded the MUCOccupants method was no more working.
2024-07-25 18:32:38 +02:00
John Livingston 81632fa467
livechat-specific Converse plugin: refactoring 2024-07-25 18:03:46 +02:00
John Livingston cbcf51d1eb
Converse upstream WIP:
* Fix anonymous mode
2024-07-15 17:42:32 +02:00
John Livingston f1ac80d468
Converse v11, reporting customization in the livechat repo:
Destroy room: remove the challenge, and the new JID.
2024-07-15 16:50:26 +02:00
John Livingston e8f287b8a9
Converse v11, reporting customization in the livechat repo:
Reporting the toggle occupants customization.
2024-07-15 16:27:01 +02:00
John Livingston 6218d65b72
Converse upstream WIP. 2024-07-15 14:20:44 +02:00
John Livingston d0ab3d94ae
Converse upstream updates. 2024-07-15 12:09:25 +02:00
John Livingston 51b603c894
Switch from Converse v10.1.6 to upstream (unreleased v11):
* various WIP to change the Converse version
2024-07-11 17:53:50 +02:00
John Livingston 9679aec739
Moderation delay: fix accessibility on the timer shown to moderators. 2024-07-11 15:42:12 +02:00
John Livingston 25a8ca4cdc
Fix #465: don't send markers, even if requested by the sender. 2024-07-11 09:37:00 +02:00
John Livingston 9c200a4e46
Moderation delay (#132):
* displaying the remaining time for moderators.
2024-07-10 16:54:54 +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 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