Commit Graph

72 Commits

Author SHA1 Message Date
ouwou
dc28eae95a spoof a bunch of headers like the web client 2022-08-11 23:37:39 -04:00
ouwou
31ca6d9fd2 update capabilities and client build number 2022-08-10 23:38:12 -04:00
ouwou
a4c8a2290d remove ability to create dms 2022-08-10 23:29:00 -04:00
ouwou
96ec5bb665 fix removing roles from members (maybe) 2022-08-10 23:20:27 -04:00
ouwou
2474ffc2ba hoisted_role can be missing from guild member list update 2022-06-14 02:15:08 -04:00
ouwou
4ec5c1dfcc try to fix multiple attachment handling 2022-06-05 01:53:11 -04:00
ouwou
d9cf989813 remove thing i shouldnt have committed 2022-05-19 03:15:27 -04:00
ouwou
ffc69576f2 fix role updates (fixes #69, fixes #70) 2022-05-19 03:13:02 -04:00
ouwou
2bed7f161b only save state when actually disconnecting (fixes #65) 2022-05-17 20:47:01 -04:00
ouwou
8b488a5ca9 add icons to dms 2022-05-11 15:05:32 -04:00
ouwou
2c25319fb8 clear tabs when access lost, show blanks for missing channels 2022-05-06 01:14:15 -04:00
ouwou
34f8af599d fix tab titles 2022-04-14 00:11:39 -04:00
ouwou
436024b4a0 remove mark all as read (it doesnt work on API end) 2022-04-07 20:26:15 -04:00
ouwou
a9399873fd fix open dm opening the wrong thing sometimes 2022-04-07 03:02:25 -04:00
ouwou
57e95c8969 replace file chooser with native
also remove clipboard since it was just a workaround and i dont want to maintain it
2022-04-06 21:07:45 -04:00
ouwou
49685c3989 fix up a bunch of clang-tidy stuff
mostly changing references, which i hope doesnt break stuff with models (TreeRow, iterators) since they gave me some strange problems in the past
2022-04-05 22:01:53 -04:00
ouwou
a0b3c9f8a4 Merge branch 'master' into msys 2022-03-26 02:58:59 -04:00
ouwou
271d21c7bd fix UB 2022-03-05 01:01:19 -05:00
ouwou
af60bceada optimize sql for getting unknown member ids 2022-03-04 23:03:09 -05:00
ouwou
3583a5d251 dont request guild members if there are no user ids 2022-03-03 23:57:48 -05:00
ouwou
7f1d3df4a5 start sending request guild members for unknown members 2022-03-03 23:45:30 -05:00
ouwou
17f1289c84 fill out gateway op enum using internal names 2022-03-03 03:01:09 -05:00
ouwou
a0599ab812 parse role mentions 2022-02-20 01:19:18 -05:00
ouwou
7ed415040a delete database instead of trying to clear it 2022-02-17 02:14:19 -05:00
ouwou
25fd2c3840 fix per-guild avatars 2022-02-14 02:53:21 -05:00
ouwou
179ff980e9 fix ready parsing (#54) 2022-02-02 22:34:54 -05:00
ouwou
f784550964 support channel icons for dms 2022-02-02 22:27:19 -05:00
ouwou
7d49f934bc muted dms dont contribute to unread count 2022-01-26 18:43:47 -05:00
ouwou
b6b215ee6f add mark as unread/toggle mute for threads 2022-01-20 02:45:28 -05:00
ouwou
d7f3ee9f98 handle mute/unmute updates for threads 2022-01-20 01:52:48 -05:00
ouwou
2328c8bafe handle initial muted state for threads 2022-01-20 01:40:27 -05:00
ouwou
dfd642bb82 show unread indicators for threads 2022-01-20 01:34:36 -05:00
ouwou
481685b3bb format all 2022-01-09 23:20:08 -05:00
ouwou
f31d431517 Merge branch 'unread' into msys 2022-01-08 20:11:52 -05:00
ouwou
604f2ffe3d show count of unread dms in header 2022-01-08 20:03:12 -05:00
ouwou
4e0b22375f handle mute/unmute for dms 2022-01-08 18:35:46 -05:00
ouwou
9d0c7691d8 fix initial read state for dms 2022-01-05 20:34:44 -05:00
ouwou
cef28e94ea add missing reset 2022-01-05 04:06:02 -05:00
ouwou
40106ddeb1 handle mutable categories 2022-01-05 03:52:20 -05:00
ouwou
d7bb6049e1 add mute/unmute guild menu item 2021-12-30 01:24:55 -05:00
ouwou
ea7464722b handle change of mute state for guilds 2021-12-29 23:51:12 -05:00
ouwou
d6da646d87 validate iso8601 when parsing to snowflake 2021-12-29 22:15:04 -05:00
ouwou
17c1f913df actually deserialize mute_config 2021-12-28 03:11:59 -05:00
ouwou
6c94e75513 take mute_config.end_time into account for muted entries 2021-12-28 02:58:31 -05:00
ouwou
801894abc6 messages sent by user shouldnt count as new unreads 2021-12-28 02:21:46 -05:00
ouwou
207c004228 take muted channels into account for unread guild indicator 2021-12-25 03:07:11 -05:00
ouwou
36f73a6106 check view permissions for channels in read state 2021-12-25 02:59:01 -05:00
ouwou
41d80af128 mark more channels as unread properly 2021-12-25 02:37:31 -05:00
ouwou
145504bdd6 add mark all as read 2021-12-22 01:44:26 -05:00
ouwou
b75599e55d fix bad if statement causing UB 2021-12-20 01:45:43 -05:00