Commit Graph

113 Commits

Author SHA1 Message Date
ouwou
4dd0eb24c4 fix potential crash (#136) 2023-02-06 23:51:02 -05:00
ouwou
73ec2adb7b fix some keybinds not working in the chat input (fixes #135) 2023-02-06 19:06:48 -05:00
ouwou
41a616edb4 fix potential stack overflow
this will only happen if:
there is a CHANNEL_UPDATE on a channel
the channel is part of a guild which is in a folder
and the channel is so old that it shares its id with the guild
2023-02-06 03:02:05 -05:00
ouwou
156bd2b720 fix channel tree expansion under folders 2023-02-04 23:17:35 -05:00
ouwou
ecc83036c1 Merge branch 'master' into pch 2023-02-01 23:49:48 -05:00
ouwou
ff812842e3 Merge branch 'folders' 2023-02-01 22:39:59 -05:00
ouwou
5a6f8cac09 first pass compile time optimization 2023-01-29 21:33:34 -05:00
ouwou
ff47134dc6 make embed labels selectable, let chat textview take focus 2023-01-28 19:05:57 -05:00
ouwou
b4d3fc44c5 Merge branch 'master' into folders 2023-01-21 01:23:15 -05:00
ouwou
fea6db3394 mimic discord group dm naming scheme (closes #133) 2023-01-21 01:02:14 -05:00
ouwou
d2cbe00af2 colors, fallback if guild_folders is empty 2022-12-24 02:44:56 -05:00
ouwou
1ba3daa04a basic folder support 2022-12-23 20:14:10 -05:00
ouwou
3027e00905 open browser on mouse release (fixes #108) 2022-09-25 01:44:09 -04:00
ouwou
f3e5dcbe65 fix some potential crashes because of optionals 2022-09-09 02:40:33 -04:00
ouwou
6a5ecb4d95 Merge branch 'attachments' 2022-08-12 18:35:58 -04:00
ouwou
baf96da80c add copy url menu item to attachments (closes #96)
also refactor menu popup to fit over entire message width
2022-08-11 20:53:36 -04:00
ouwou
f60cea2216 control icon pos in css 2022-08-10 00:03:04 -04:00
ouwou
955b9239b9 hide browse icon when not in channel with perms 2022-08-08 00:40:20 -04:00
ouwou
53ac853367 fix some permission checks 2022-08-08 00:29:18 -04:00
ouwou
1c38671356 add SEND_MESSAGES permission check finally 2022-08-07 19:56:01 -04:00
ouwou
91527fbd0d pull chat input permission check out of signal 2022-08-07 19:54:39 -04:00
ouwou
537d4163c2 add some Get()s that i forgot somehow 2022-08-07 19:19:52 -04:00
ouwou
c0e4a3a988 give focus to input after choosing file 2022-08-07 19:18:05 -04:00
ouwou
344f269414 add file picker to chat input 2022-08-07 02:16:20 -04:00
ouwou
86fc8f4186 Merge branch 'master' into attachments 2022-08-06 02:27:37 -04:00
dragontamer8740
319f9c392c fixed text input box to not resize when typing (#89) 2022-08-05 04:22:59 +00:00
ouwou
4e4986f670 grey out leave button if user owns the guild 2022-07-31 17:23:00 -04:00
ouwou
8396d07d9e try to align stuff a little better 2022-07-25 00:26:04 -04:00
ouwou
59acd0f82f handle max message payload + show filename label 2022-07-23 18:34:33 -04:00
ouwou
f95d79129e handle premium server upload size limits 2022-07-09 03:05:48 -04:00
ouwou
02ce353c6d check nitro size restriction + fix replying border 2022-07-09 01:57:56 -04:00
ouwou
849ebf17f1 try to properly clear chat list
im sure this will break something somehow
2022-07-08 02:27:09 -04:00
ouwou
41776fbd02 add upload progress bar 2022-07-07 03:09:54 -04:00
ouwou
5c7631e713 fix checks for is bot 2022-07-05 03:53:00 -04:00
ouwou
41e2478a6f grab focus when adding attachment 2022-07-04 03:29:30 -04:00
ouwou
a9d35dcccd fix compile 2022-07-03 18:58:48 -04:00
ouwou
e87766f106 dnd'd files show preview images if displayable 2022-06-30 04:20:42 -04:00
ouwou
a038f47a25 add icon to attachments without preview 2022-06-23 01:51:30 -04:00
ouwou
d841a2c862 add change filename 2022-06-23 00:48:00 -04:00
ouwou
4ee7025ab0 add file upload via dnd + rework http 2022-06-17 02:46:55 -04:00
ouwou
d0fa308f6e preserve attachment insertion order 2022-06-16 01:09:54 -04:00
ouwou
4456c8771d refactor send message params into one struct 2022-06-14 02:36:04 -04:00
ouwou
5cf4d8e160 dont use tmpnam because its stupid 2022-06-10 01:28:27 -04:00
ouwou
49ff9a249e remove temp attachment files when theyre actually done being uploaded 2022-06-09 01:48:24 -04:00
ouwou
d7177cac97 remove temporary image file when attachment removed 2022-06-06 03:59:20 -04:00
ouwou
c6182e8923 only save temporary image when theres room in container 2022-06-06 03:55:25 -04:00
ouwou
270730d9b3 start attachments (image paste and upload) 2022-06-05 21:41:57 -04:00
ouwou
b2ba7709df make it look sort of better i guess 2022-05-15 23:38:10 -04:00
ouwou
8b488a5ca9 add icons to dms 2022-05-11 15:05:32 -04:00
ouwou
1d8ef79da6 add ctrl+number key shortcuts for tabs 2022-05-10 01:09:42 -04:00