Commit Graph

130 Commits

Author SHA1 Message Date
John Livingston
26846b3eda
Trying better UI for the slow mode info box. 2024-02-22 16:05:12 +01:00
John Livingston
0fd94e7a44
Slow Mode: infobox translation. 2024-02-22 12:43:41 +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
5828cdeea4
Slow Mode WIP (#192): button to close the info box 2024-02-16 17:35:55 +01:00
John Livingston
3d9237624d
Naming:
* changing delay by duration for slow mode options
* better labels
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
9efd53b2a7
Fix ConverseJS: room information not correctly refreshed when modifications are made by other users 2024-02-16 17:35:55 +01:00
John Livingston
7a7129e105
Fix ConverseJS build: translations were missing, and only english was available. 2024-02-15 15:12:58 +01:00
John Livingston
fb8a2144c4
Version 8.2.0 2024-02-12 16:26:11 +01:00
John Livingston
f30a45d1fd
UI improvements (fix some colors):
* Fix #310: autocomplete background color.
* Fix #314: input colors.
* Autocomplete: adding a border, for better UI/UX.
2024-02-12 16:14:02 +01:00
John Livingston
99f01014b2
Fix ConverseJS input borders/outline/shadow. (#311) 2024-02-08 11:33:43 +01:00
John Livingston
7b8c961faf
Fix inconsistency between browsers on textarea outlines (#311) 2024-02-08 11:06:35 +01:00
John Livingston
87997826c5
Bump version 8.1.0 + npm audit fix 2024-02-07 16:22:06 +01:00
John Livingston
13135f6df0
Destroy room: remove the challenge, and the new JID 2024-02-07 16:13:40 +01:00
John Livingston
48ecf96375
Removing unecessary plugins:
Removing headless/pubsub, minimize, notifications, profile, omemo, push, roomlist, dragresize.
Generated JS is about 10% lighter.
2024-02-07 16:03:02 +01:00
John Livingston
c17fbeef0a
UI improvement: Adding "users" icon in the menu toggle button 2024-02-07 14:46:21 +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
91b44497bd
Changing the default avatar to minimize blinking effect when a user sends his first message 2024-02-07 11:38:15 +01:00
John Livingston
5cdbcec3e8
Performance improvement: don't load all vCards when right menu is not visible (partially fix #106) 2024-02-06 16:43:10 +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
5d4bfceb73
Hidden force_default_hide_muc_participants query parameter, for testing
purpose.
2024-01-31 18:12:53 +01:00
John Livingston
f01c5f5aa4
fix. 2024-01-17 17:35:12 +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
17dd0b5a34
Fix build-converse. 2024-01-16 17:49:31 +01:00
John Livingston
21efc85523
Performance improvments:
* build-conversejs.sh: adding the ability to use a specific commit (to
  include some patches that are not upstream for now)
* Using patched ConverseJS for performance improvment (related to #96):
  * debounce MUC sidebar rendering in ConverseJS (Fix #138)
  * force history pruning, even if messages keep coming (Fix #140)
2024-01-16 12:27:44 +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
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