Commit Graph

26 Commits

Author SHA1 Message Date
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