Reto Brunner
bb7c3925c6
type serverOptions for network:options
2024-04-21 15:11:52 +02:00
Reto Brunner
9898f38de6
add todo
2024-04-21 15:11:52 +02:00
Reto Brunner
9f2c82e152
fix mentions
2024-04-21 15:11:52 +02:00
Reto Brunner
17ba07db3b
fix mentions import
2024-04-21 15:11:52 +02:00
Reto Brunner
0311e5f836
add socket-events import to entry point
...
socket-events aren't ever imported, if we don't do that however
webpack never actually sees any code that leads to it and skips
bundling it.
So for now, do an import that has the side effect of registering
all the events until we have a proper registration in place that's
a bit more sane to call
2024-04-21 15:11:52 +02:00
Reto Brunner
4d0474b897
store: don't duplicate import
2024-04-21 15:11:52 +02:00
Reto Brunner
14b9169899
store: fix import
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
7287c6bcaa
remove dead import
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
f5c691f37b
wip: unbork init progress
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
c869ea9a73
sharedchans does not have users
2024-04-21 15:11:51 +02:00
Reto Brunner
6984e8f25a
unused import
2024-04-21 15:11:51 +02:00
Reto Brunner
e43cbb139c
remove all server files from compilation
2024-04-21 15:11:51 +02:00
Reto Brunner
e57e547b74
further chan fixes
2024-04-21 15:11:51 +02:00
Reto Brunner
194b4e1a2f
import fix
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
383907c2b8
Use SharedTypes
2024-04-21 15:10:45 +02:00
Reto Brunner
12a0b0b6f9
network
2024-04-21 15:10:45 +02:00
Reto Brunner
d716402da2
mention
2024-04-21 15:10:45 +02:00
Reto Brunner
d0b71aba32
shared: extract chan + user
2024-04-21 15:10:45 +02:00
Reto Brunner
b67e4699f5
wip sharedmsg in client
2024-04-21 15:10:45 +02:00
Reto Brunner
68ba13ca12
wip: searchquery
2024-04-21 15:10:45 +02:00
Reto Brunner
3eb19135f5
wip: msg
2024-04-21 15:10:41 +02:00
Nachtalb
daabb76781
Add shorcut to navigate between channels with undread msgs
2024-01-27 22:50:10 +01:00
Max Leiter
083abae750
Merge pull request #4783 from thelounge/router-api
...
router: don't use next() in router guards
2023-12-26 16:49:37 -08:00
Reto Brunner
74aff7ee5a
introduce storage cleaner
...
Once this is getting hooked up, it'll periodically delete old
messages.
The StoragePolicy can be chosen by the user, currently there's
two versions, delete everything based on age is the obvious.
The other is for the data hoarders among us. It'll only delete
message types which can be considered low value... Types with
a time aspect like away / back... joins / parts etc.
It tries to do that in a sensible way, so that we don't block
all other db writers that are ongoing.
The "periodically" interval is by design not exposed to the user.
2023-12-24 16:55:45 +01:00
Reto Brunner
9105fbc23a
Merge branch 'emoji'
2023-11-04 11:53:30 +01:00
Reto Brunner
03795a2718
router: don't use next() in router guards
...
Vue wants to get rid of the next call.
https://router.vuejs.org/guide/advanced/navigation-guards.html#Optional-third-argument-next
For one of the router guards, it's easy enough to do so let's do
that.
2023-09-16 13:17:06 +02:00
Reto Brunner
c0b38d4762
store: use return type over a type cast
2023-07-31 10:50:48 +02:00
Reto Brunner
607b9fc96a
update emoji
2023-07-15 10:41:43 +02:00
Reto Brunner
071ad96d9b
Merge branch 'signin'
2023-06-25 10:15:21 +02:00
Reto Brunner
c43a47afc1
Merge branch 'applePush'
2023-06-24 14:31:23 +02:00
Reto Brunner
c5326e8795
Sign in: use v-model
...
There's no need to mess with DOM elements, we can use the normal
v-model approach for both username and password
2023-06-18 15:20:08 +02:00
Reto Brunner
7a9ddc01e1
settings: make missing_field msg descriptive
...
The "missing_fields" error triggers on any missing field (duh).
"Please enter a new password" is not a sensible string for that.
2023-05-23 08:24:20 +02:00
Reto Brunner
8f08cf3d0b
client: fix password change input
...
The TS rewrite dropped the form that was expected to be passed
as props.
That lead to the password change being borked, as the fields
were always set to "null".
We don't need a form, can just use refs here.
2023-05-23 08:18:20 +02:00
Reto Brunner
9388960497
linkPreview: Pass channel prop
...
Else the update logic doesn't work and we don't show
the next / prev buttons
2023-05-15 09:38:09 +02:00
Reto Brunner
7bce779254
Remove unused code
2023-05-15 09:37:40 +02:00
Reto Brunner
12d9ef34f0
Client/Settings: Remove bogus settings-form prop
...
As is this has no effect, other than looking weird in html:
<div settings-form="[object HTMLFormElement]"><div><h2>Native app</h2>
2023-04-29 11:52:34 +02:00