Reto Brunner
9f2c82e152
fix mentions
2024-04-21 15:11:52 +02:00
Reto Brunner
50037644c0
socket-events: fix join
2024-04-21 15:11:52 +02:00
Reto Brunner
bfca0ca612
fix more
2024-04-21 15:11:52 +02:00
Reto Brunner
300bd4c84c
add timestamp to NotificationOptions
2024-04-21 15:11:52 +02:00
Reto Brunner
42ea66c343
socket-events/msg: fix errors
2024-04-21 15:11:51 +02:00
Reto Brunner
1565eb8d05
socket-events/msg: if/else chains are not a switch replacement
...
If we switch on a field, use switch for god's sake.
If/elif chains are for cases where you have multiple selectors.
2024-04-21 15:11:51 +02:00
Reto Brunner
29750a3e51
ClientChan: does need a user array after all
2024-04-21 15:11:51 +02:00
Reto Brunner
3ea5170e6a
socket-events: fix network:status
2024-04-21 15:11:51 +02:00
Reto Brunner
fe4f497fad
fix socket-event: network
2024-04-21 15:11:51 +02:00
Reto Brunner
bf7eb0e727
network event: remove unused array
...
All the network events only ever emit a single copy
There's no point in wrapping it into an array
2024-04-21 15:11:51 +02:00
Reto Brunner
9ab9ad0f56
socket-events: fix up init
2024-04-21 15:11:51 +02:00
Reto Brunner
0067c30273
Split sort event
...
The sort event bundled networks and channels for no reason at all.
They share none of the actual logic, so combining them just makes
the typing poor but serves no benefit.
2024-04-21 15:11:51 +02:00
Reto Brunner
6984e8f25a
unused import
2024-04-21 15:11:51 +02:00
Reto Brunner
88c8830a17
chatuserlist
2024-04-21 15:11:51 +02:00
Reto Brunner
7073584f1c
fix msg event
2024-04-21 15:11:51 +02:00
Reto Brunner
8e6920af1d
configuration
2024-04-21 15:11:51 +02:00
Reto Brunner
e305e23c43
client: use the versions in shared/ where applicable
2023-01-30 09:14:40 +01:00
Reto Brunner
0ebc3a574c
search: ignore searchResults if it isn't the active query
...
Prior to this, the search is still racy but one tends to notice
this only when the DB is large or network is involved.
The user can initiate a search, get bored, navigate to another chan
issue a different search.
Now however, the results of the first search come back in and
hilarity ensues as we are now confused with the state.
To avoid this, keep track of the last search done and any result
that comes in that isn't equal to the active query is garbage and
can be dropped.
2023-01-08 11:41:09 +01:00
Max Leiter
dd05ee3a65
TypeScript and Vue 3 ( #4559 )
...
Co-authored-by: Eric Nemchik <eric@nemchik.com>
Co-authored-by: Pavel Djundik <xPaw@users.noreply.github.com>
2022-06-18 17:25:21 -07:00
Max Leiter
4be9a282fa
Add the option to mute channels, queries, and networks ( #4282 )
...
Co-authored-by: Reto <reto@labrat.space>
2022-02-10 17:56:17 -08:00
Reto Brunner
e999171f29
Mentions window: filter list when we part a chan
...
Should some other client part a chan, then we need to clean
up the list from the mentions window in case it's open in ours.
2021-12-29 16:46:16 +01:00
Max Leiter
40a5ee70b6
Disable /search and hide help item if searching is disabled
2021-11-17 20:23:51 -08:00
JeDaYoshi
0d839c501e
Optimise commands processing
2021-07-06 15:43:02 +00:00
Max Leiter
ad8a315cf9
Merge pull request #4206 from Nachtalb/na/fill-inputhistory-onload
...
Fill inputhistory on channel load and more message load
2021-05-25 21:30:47 -07:00
Nachtalb
04cf2277d9
Prevent possible error when findChannel can't find the wanted channel
...
Using ?. (optional chaining) requires ecma version 2020 as it is fairly new. Webpack / Babel can handle it.
2021-05-05 18:09:18 +02:00
Nachtalb
11aa52687c
Fill inputhistory on channel load and more message load
2021-05-01 01:46:55 +02:00
Nachtalb
bd4e821614
Improve readability of more.js
2021-05-01 01:36:44 +02:00
Mary Strodl
283ef445e5
Merge remote-tracking branch 'origin/master' into richrd/message-search
2021-04-12 22:00:49 +02:00
Pavel Djundik
e6fc726c91
Upgrade to socket.io v3
2021-02-28 15:30:44 -08:00
Pavel Djundik
67e4a4bbb2
Sync changed network name to open clients
2020-08-17 12:57:37 +03:00
Pavel Djundik
181a198994
Cleanup vue router route guards
2020-07-20 11:50:01 +03:00
Richard Lewis
5d017b09b8
Append new results and keep scroll position.
2020-04-26 22:39:05 +03:00
Richard Lewis
0f3c292098
Message search WIP.
2020-04-26 22:39:05 +03:00
Pavel Djundik
1754c77517
Merge pull request #3857 from thelounge/xpaw/optimize-userlist-updates
...
Optimize user list updates for quit/part/kick events
2020-04-13 11:39:57 +03:00
Pavel Djundik
bc4f9b5f51
Track mentions and add a window to view them
2020-04-11 12:49:42 +03:00
Pavel Djundik
881b3eda19
Run format after updating to prettier 2.0
2020-03-21 22:55:36 +02:00
Pavel Djundik
c463d1ddd3
Emit an event to clear history on all open clients
2020-02-28 17:01:28 +02:00
Pavel Djundik
9db1d0f7c8
Fix incorrectly updating unread counter for 'show in active' messages
2020-02-17 17:02:34 +02:00
Pavel Djundik
6aabd9bacb
Optimize user list updates for quit/part/kick events
2020-02-01 19:15:46 +02:00
Pavel Djundik
f92a442330
Increase buffer size for active and scrolled down channels
2020-01-25 11:00:55 +02:00
Pavel Djundik
e8ba4f4fb9
Merge pull request #3658 from thelounge/xpaw/version-notify
...
Display icon when update is available, check on server start
2020-01-22 10:29:18 +02:00
Pavel Djundik
510b859df9
Merge pull request #3682 from thelounge/xpaw/fix-undefined-theme
...
Fix settings update when unknown theme is stored
2020-01-22 10:28:28 +02:00
Pavel Djundik
d5ac13f91c
Notify all connected clients when new version is available
2020-01-17 12:17:37 +02:00
Pavel Djundik
0bdac63953
Check for TL updates on server start
2020-01-17 12:03:14 +02:00
Pavel Djundik
6dac3d122a
Open last channel in the list when creating a network
...
Fixes #3699
2020-01-16 18:07:16 +02:00
Pavel Djundik
a2349f96cb
Fix settings update when unknown theme is stored
2020-01-08 16:00:47 +02:00
Pavel Djundik
e73575a342
Remove showInActive if active network differs
2020-01-05 19:44:03 +02:00
Pavel Djundik
356a896fe2
Merge pull request #3603 from thelounge/xpaw/condensed-more
...
Send 100 actual messages when requesting history with hidden or condensed status messages
2019-12-19 17:32:41 +02:00
Pavel Djundik
03d5fab794
Fix beforeunload not working
2019-12-18 11:28:39 +02:00
Pavel Djundik
4a345eb6d9
Convert constants.js to commonjs
2019-12-18 00:14:36 +02:00