Commit Graph

104 Commits

Author SHA1 Message Date
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 e3a61b95b6
Fix #287: add a label before the anonymous nickname prompt. 2024-01-09 16:55:13 +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 0cc6298229
ConverseJS 10.1.6. 2023-09-04 12:16:14 +02:00
John Livingston 79f30b5350
Fix css linting for currentcolor (instead of currentColor) 2023-09-04 12:11:29 +02:00
John Livingston 83233c32a4
Rollback ConverseJS make command 2023-08-22 12:04:29 +02:00
mose 32216ec164 change src_dir for converse shallow clone to vendor 2023-08-15 16:35:28 +02:00
mose 1d03e29578 build converse another way, and upgrade to v10 2023-08-15 16:35:28 +02: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 a8200a5724
ConverseJS v10.0.0: checkout upstream
Using Converse v10.0.0. WIP
2022-10-31 17:39:08 +01:00
John Livingston 6f8c7b8a93
Websocket for builtin Prosody. WIP 2022-10-13 10:47:33 +02:00
John Livingston 8426218caf
Better implementation. 2022-08-07 12:40:18 +02:00
John Livingston 36cda4a9b4
Adding an easy way to customize background transparency in OBS and co. 2022-08-07 11:51:07 +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 c69ebd2680
Auto viewer mode (WIP). 2022-01-07 19:57:42 +01:00
John Livingston 4e69a2d8e6
Auto viewer mode (WIP). 2022-01-07 19:28:07 +01:00
John Livingston 9a4608863b
Auto viewer mode (WIP). 2022-01-07 19:20:28 +01:00
John Livingston 69380bd8e4
Fix import for ConverseJS 9. 2022-01-07 16:35:12 +01:00
John Livingston 8f42dd6c28
Also hide separators when readonly=noscroll. 2022-01-07 02:15:39 +01:00
John Livingston 7e13f61aa7
Revert v5.2.1, as it was not the bug. 2022-01-07 01:40:35 +01:00
John Livingston 0f0682036c
ConverseJS Peertube theme: hide avatars under 250px width instead of 576px. 2022-01-05 20:22:33 +01:00
John Livingston 563e42c640
Fix errors. 2022-01-04 17:49:41 +01:00
John Livingston 04b1945239
Builtin Prosody, Share chat url: ability to show/hide the scrollbar in readonly mode. 2022-01-04 17:42:03 +01:00
John Livingston 5296de6a91
Fix ConverseJS: livechatWindowTitlePlugin was broken. 2022-01-04 04:23:13 +01:00
John Livingston a3484ac963
Trying to fix an OBS cache problem, where OBS can't connect to the chat after a plugin update. 2022-01-03 18:27:56 +01:00
John Livingston 365e2630e2
ConverseJS: Remove spoilers as it is buggy. 2022-01-03 17:20:39 +01:00
John Livingston a0d313ffee
Fix dropdown colors. 2022-01-03 17:03:16 +01:00
John Livingston b255770836
Fix CSS for ConverseJS v9. 2022-01-03 16:10:57 +01:00
John Livingston 564b1b7735
Fix ConverseJS 9 integration. 2022-01-03 14:54:04 +01:00
John Livingston 79876e1750
ConverseJS 9.0.0: first attempt to integrate. 2022-01-03 14:13:58 +01:00
John Livingston 148b28ef84
ConverseJS Readonly mode. Changing muc_mention_autocomplete_min_chars. 2021-12-14 13:02:15 +01:00
John Livingston c19db4dc9c
Builtin ConverseJS mode: fix advanced controls hiding. 2021-12-14 11:59:36 +01:00
John Livingston e260f84584
Fix emoji picker colors. 2021-11-30 18:57:58 +01:00
John Livingston 7f6a2cd7ee
ConverseJS: document title set to the room name. 2021-11-26 17:42:45 +01:00
John Livingston 6119225c2d
ConverseJS: removed inline image display
Two reasons:
- security (can leak IP, ...)
- avoid visual glitchs when picture is too big
2021-11-24 15:59:28 +01:00