Commit Graph

304 Commits

Author SHA1 Message Date
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
5c9733147b
Task lists WIP:
* responsive for the task app
2024-05-13 10:53:42 +02:00
John Livingston
0c4a5999f8
New livechat-converse-size ConverseJS plugin:
* New plugin that handles the size of the converse-root, so we can adapt
  content to it
* Fixed some styling when chatbox is small (hidding avatars).
2024-05-13 10:53:40 +02:00
John Livingston
383770ddfe
Task lists WIP:
* converse-pubsub dependency
2024-05-13 10:52:36 +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
8aa12eb575
Task lists WIP:
* disco support
2024-05-13 10:52:36 +02:00
John Livingston
a976b2a1d8
Task lists WIP:
* dropping role support, does not work.
2024-05-13 10:52:35 +02:00
John Livingston
3f297e6293
Task lists WIP:
* partial fix for task edit form disapperaing when task are sorted
2024-05-13 10:52:35 +02:00
John Livingston
fffcc05b7f
Task lists WIP:
* drag and drop fixes
2024-05-13 10:52:34 +02:00
John Livingston
7e56c845fe
Task lists WIP:
* Fix drag & drop
2024-05-13 10:52:34 +02:00
John Livingston
0d0771e684
Task lists WIP:
* task drag and drop (buggy version)
2024-05-13 10:52:34 +02:00
John Livingston
dfdb482172
Task lists WIP:
* front-end
2024-05-13 10:52:34 +02:00
John Livingston
f1e3de782e
Task lists WIP:
* strike tasks when done.
2024-05-13 10:52:34 +02:00
John Livingston
218f36c5c8
Task lists WIP:
* front-end fixes
2024-05-13 10:52:34 +02:00
John Livingston
1e876e60ee
Task lists WIP:
* front-end
2024-05-13 10:52:33 +02:00
John Livingston
964b8854f6
Task lists WIP:
* front-end
2024-05-13 10:52:33 +02:00
John Livingston
9d5d59e9bc
Task lists WIP:
* task list template + form
2024-05-13 10:52:33 +02:00
John Livingston
d16bdd9a87
Task lists WIP:
* fix retractation
2024-05-13 10:52:33 +02:00
John Livingston
22617def5e
Task lists WIP:
* some front end work.
2024-05-13 10:52:33 +02:00
John Livingston
df788473cd
Task lists WIP:
* pubsub manager
* some refactoring
* various fixes
2024-05-13 10:52:33 +02:00
John Livingston
e8e8af855d
Task lists WIP:
* Fix frontend form
2024-05-13 10:52:32 +02:00
John Livingston
ff976ee0ad
Task lists WIP:
* fix mod pubsub
* front-end WIP
2024-05-13 10:52:32 +02:00
John Livingston
b308d82f16
Task lists WIP 2024-05-13 10:52:32 +02:00
John Livingston
22561b4daa
Task lists WIP 2024-05-13 10:52:32 +02:00
John Livingston
ca026c2e10
Task lists WIP 2024-05-13 10:52:31 +02:00
John Livingston
ad090eaca4
Task lists WIP:
* initializing a modal
2024-05-13 10:52:31 +02:00
John Livingston
d19d8d7391
Task lists WIP:
* initializing some code parts
* mechanism to add font-awesome icons to the defaults one that
  ConverseJS uses
* new way to override ConverseJS index.js (to add new custom plugins,
  that are directly build into ConverseJS)
2024-05-13 10:52:29 +02:00
John Livingston
3d2c4b0d9d
Fix select styling in ConverseJS. 2024-05-13 10:40:22 +02:00
John Livingston
74f238f555
Fix 2024-05-12 19:09:39 +02:00
John Livingston
d25055dcdd
Fix missing titles on some buttons when the chat is open. 2024-05-12 19:06:07 +02:00
John Livingston
a1991708f9
Fix #378: alert message not visible with dark theme when using external login. 2024-05-03 12:11:07 +02:00
John Livingston
33328a76d4
Minor JS fix 2024-04-29 15:50:38 +02:00
John Livingston
2b6cd15951
Fix UI on little screens (form for anonymous users was too high). 2024-04-23 10:05:56 +02:00
John Livingston
2074ec8546
Fix #370: "open with a remote Peertube" broken when chat is embedded in an iframe. 2024-04-22 17:59:56 +02:00
John Livingston
913560842d
Release 9.0.0 2024-04-22 15:19:08 +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
8574ab581d
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
b6d5cef333
Trying to move the chat menu to the left of the toolbar. 2024-04-11 15:29:39 +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
922edbe5b3
New "npm run build:conversejs-no-loc" to build more quickly when
developing.
2024-04-10 18:47:27 +02:00
John Livingston
4476cd8887
Fix. 2024-04-09 17:13:10 +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
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
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
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
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
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
4cf2cd3ac8
New fullpage chat: better CSS 2024-03-26 14:49:47 +01:00
John Livingston
bc9c9923d5
Fix CSS: no css code in _variables.scss, only variables. 2024-03-26 14:43:53 +01:00
John Livingston
1fd985ce3e
Fix modal z-index in new full page ConverseJS. 2024-03-26 12:34:44 +01:00
John Livingston
7b0ab15128
TODO 2024-03-26 11:12:46 +01:00
John Livingston
e04d553d0b
New full screen chat WIP + code refactoring. 2024-03-26 11:12:44 +01:00
John Livingston
22a675e915
WIP new full screen chat 2024-03-26 11:10:02 +01:00
John Livingston
17bd8a0716
Better XEP-0392 implementation 2024-03-15 16:08:42 +01:00
John Livingston
4b4864bb56
Better XEP-0392 implementation 2024-03-15 15:39:43 +01:00
John Livingston
3b5cd59949
fix 2024-03-14 16:52:19 +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
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
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