Commit Graph

80 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 de6ab15805
Task list: make it available in OBS docks. 2024-06-19 12:49:35 +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 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 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 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 6c75863472
Possibility to configure an OpenID Connect provider on the instance level WIP (#128). 2024-04-19 09:58:32 +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 4948d27fae
Fix 355: Make the ConverseJS dropdown menu available everywhere (WIP) 2024-04-11 12:19:42 +02:00
John Livingston 33bc346e83
Fix #48: Proper 404 and 403 pages when trying to open non-existant chatroom.:
* error page on the old endpoint, when anonymous users are disabled.
2024-04-04 16:48:19 +02:00
John Livingston 624f053d02
Fix autofocus. 2024-04-03 11:43:36 +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 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 67a1a6e32d
New embedded chat: spinner while loading 2024-03-26 17:38:40 +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 7b0ab15128
TODO 2024-03-26 11:12:46 +01:00
John Livingston 22a675e915
WIP new full screen chat 2024-03-26 11:10:02 +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 bfef57b1a5
Implement #305: UI/UX improvement:
Don't group "followup" messages, and always display avatar/nickname/datetime besides messages, even when it is the same user as previous one.
2024-01-31 18:23:32 +01:00
John Livingston ee9c5f523c
Occupant sorting is now done by ConverseJS:
It was a bug, i made a PR on ConverseJS to fix it.
2024-01-17 11:18:07 +01:00
John Livingston 873067d2a2
Fix #136: display anonymous users at the end of the participants list 2024-01-16 18:52:18 +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 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 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
John Livingston 5d323b2dfd
Chat Federation, connection to remote chat:
Front-end connect using BOSH or WS directly on the remote server.
If use is logged-in, his nickname is use as default nickname.
2023-04-21 16:56:48 +02:00
John Livingston d6030afabc
ConverseJS: in readonly mode, don't show any info messages (except when disconnected).
Related to #111 #133 #134
2023-01-16 18:04:20 +01:00
John Livingston f1fe010409
ConverseJS: remove browser notifications, and browser tab message count. 2023-01-12 11:53:12 +01:00
John Livingston 0545a1034a
ConverseJS optimization:
* ConverseJS: Don't send state notifications. #134
* ConverseJS: Don't show join/leave messages. #134
2023-01-12 11:46:02 +01:00
John Livingston 3f47c3c65a
Refactoring and simplification (#122) 2023-01-11 18:05:18 +01:00
John Livingston a25cdb44ef
Fix WS timeouts:
Nginx as also a timeout. Seems to be 30s. So we ping every 25s, and set an intermediate timeout for Prosody.
2022-11-01 11:58:02 +01:00
John Livingston 90e86a130a
Fix Websocket timeouts:
* defining a ping_interval in ConverseJS
* defining a longer c2s_close_timeout in Prosody configuration
2022-11-01 11:37:24 +01:00
John Livingston 7944567b33
Fix ConverseJS v10.0.0: dark_theme should be equal to theme. 2022-10-31 18:03:40 +01:00
John Livingston 6f8c7b8a93
Websocket for builtin Prosody. WIP 2022-10-13 10:47:33 +02:00
John Livingston 75c1cd8ee5
ConverseJS livechatDisconnectOnUnloadPlugin (commented code, does not work). 2022-01-16 20:05:09 +01:00
John Livingston 2704a1a327
Builtin Prosody: using ConverseJS clear_cache_on_logout=true and allow_user_trust_override=false parameters 2022-01-16 19:29:20 +01:00
John Livingston 80ac08bd18
Transparent background + fix
* Builtin Prosody, Share chat url: option to have a transparent background (for streaming integration).
* Builtin Prosody, Share chat url: fixed new day hidding when no scrollbar in readonly mode.
2022-01-16 17:50:11 +01:00
John Livingston 91c1c35649
Shorter random nickname. 2022-01-10 03:06:16 +01:00
John Livingston 9a4608863b
Auto viewer mode (WIP). 2022-01-07 19:20:28 +01:00
John Livingston 7e13f61aa7
Revert v5.2.1, as it was not the bug. 2022-01-07 01:40:35 +01:00