Commit Graph

293 Commits

Author SHA1 Message Date
hgw
020e5d3490
Rebrand to Hard Lounge 2023-10-09 10:28:14 +00: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
Pavel Djundik
309be48906 Fix synchronizing settings on page load 2019-12-15 18:03:13 +02:00
Pavel Djundik
a3be259567 Fix opening channel when clicking a push notification 2019-11-25 21:51:04 +02:00
Pavel Djundik
ec85372132 Fix uri handling and add tests 2019-11-25 20:13:18 +02:00
Pavel Djundik
d0444d7d7f Improve disconnected message in public mode 2019-11-25 20:13:14 +02:00
Pavel Djundik
21bbe7d4c3 Make sense out of settings sync and force sync 2019-11-25 20:13:13 +02:00
Pavel Djundik
0cb8dc73bb Use es6 import syntax 2019-11-25 20:13:12 +02:00
Pavel Djundik
b2cc8d9531 Fix web app install button 2019-11-25 20:13:11 +02:00
Pavel Djundik
7584f47c7d Cleanup webpush code 2019-11-25 20:13:10 +02:00
Pavel Djundik
17365d9967 Remove references to vue.js 2019-11-25 20:13:09 +02:00
Pavel Djundik
54a1e11f50 Move some init code around 2019-11-25 20:13:09 +02:00
Pavel Djundik
033f565c0e Remove isFileUploadEnabled 2019-11-25 20:13:08 +02:00
Pavel Djundik
a4490bf1d6 Fix up connect uri parsing, use direct router references
Co-Authored-By: Tim Miller-Williams <timmw@users.noreply.github.com>
2019-11-25 20:13:08 +02:00
Pavel Djundik
91e0349486 Use global Vue calls instead of vueApp reference 2019-11-25 20:13:07 +02:00
Pavel Djundik
f2309c7c89 Improve router experience 2019-11-25 20:13:07 +02:00
Pavel Djundik
5a0f1c1f4e Replace getActiveWindowComponent with an event 2019-11-25 20:13:07 +02:00