Commit graph

272 commits

Author SHA1 Message Date
ayn2op
442e050f01 feat(cmd): use DISCORDO_TOKEN env var for default value of token flag
Closes #584
2025-11-06 21:00:49 -05:00
ayn2op
a6ccb23af7 refactor(cmd): modularize focus handling 2025-11-06 10:15:22 -05:00
Théotime Marcopoulos
2af722b283
feat(config): add keybinds to cycle focus between widgets (#613)
Co-authored-by: Ayyan <ayn2op@gmail.com>
2025-11-06 09:55:12 -05:00
ayn2op
81e4924c22 fix(cmd): set input capture on (*application).Pages instead 2025-10-19 20:57:39 -04:00
ayn2op
cba89ee406 fix(cmd): do not process mentions in fenced codeblock 2025-10-19 19:13:47 -04:00
ayn2op
6b0174c8dc refactor: accept io.Reader directory in (*messageInput).attach 2025-10-19 19:06:45 -04:00
Z1xus
b738593590
feat(login): add login with qr code (#608)
Co-authored-by: Ayyan <ayn2op@gmail.com>
2025-10-15 17:15:08 -04:00
ayn2op
eeeeb75c66 perf(cmd): avoid extra strings.ToLower allocation 2025-10-11 20:21:13 -04:00
ayn2op
36fc183cb2 refactor: use (*state.State).Cabinet.Me instead 2025-10-11 17:49:26 -04:00
ayn2op
48742c1a69 fix: reset edit bool on reset 2025-09-30 12:21:13 -04:00
ayn2op
17056e0efc fix: toggle edit bool 2025-09-30 12:19:30 -04:00
ayn2op
9e5c5aac5a fix: check permissions for edit 2025-09-30 12:12:16 -04:00
ayn2op
2210a6dab9 Squash merge edit into main 2025-09-30 11:48:09 -04:00
ayn2op
625cbedb3d refactor: use upstream (*tview.Pages).Clear instead 2025-09-28 22:33:51 -04:00
ayn2op
5cecfddae7 fix: set proportion width and height for confirm modal 2025-09-26 22:38:59 -04:00
Dmytro Maistruk
a2f16a4d72
feat: add confirmation modal for delete action (#575) (#605)
Co-authored-by: Ayyan <ayn2op@gmail.com>
2025-09-26 21:38:57 -04:00
ayn2op
ac669bccae feat: add support for gzip & brotli 2025-09-22 19:22:13 -04:00
ayn2op
5f6c4872d2 feat(cmd): add zstd to Accept-Encoding header 2025-09-20 11:41:26 -04:00
ayn2op
69bca58cee feat(cmd): set Accept-Encoding & Priority headers for all HTTP requests 2025-09-20 11:39:16 -04:00
ayn2op
9a43b69b88 refactor: remove cobra 2025-09-14 00:27:21 -04:00
ayn2op
8d9b4afca6 refactor(cmd): use default *tview.List input handler instead of manually selecting items 2025-09-05 23:45:03 -04:00
ayn2op
60b63dc463 feat(cmd): render GuildMemberJoinMessage type 2025-09-04 15:23:24 -04:00
ayn2op
81183a66c0 feat: set custom identify properties and X-Super-Properties that matches the official client's behavior 2025-09-03 23:27:19 -04:00
ayn2op
7abf5ad6bc refactor: replace atotto/clipboard entirely 2025-08-25 13:32:16 -04:00
ayn2op
7e32bbe7d5 fix(cmd): focus guilds tree only if numbers of items in flex == 2 2025-08-21 18:33:15 -04:00
ayn2op
cdd97ff900 feat: open image attachments in default application instead of browser
Closes #560
2025-08-06 13:31:06 -04:00
ayn2op
fa41b6a077 fix(cmd): only check permission for guild channels
Closes #591
2025-08-06 12:54:03 -04:00
ayn2op
aaa714d408 fix: remove unused import 2025-08-03 18:59:16 -04:00
ayn2op
137c55ab9f feat(cmd): append channel topic to messages list title 2025-08-03 16:05:29 -04:00
ayn2op
628d17e45b refactor(cmd): move var inside the if statement 2025-07-31 14:13:05 -04:00
ayn2op
a80c5bff2a fix(cmd): disable message input if user does not have relevant permission 2025-07-31 14:10:06 -04:00
ayn2op
316ce889dc fix(cmd): member may not be in cache 2025-07-29 15:46:52 -04:00
ayn2op
f91e7d39b5 feat: attach image from clipboard
Closes #96
2025-07-29 14:25:19 -04:00
ayn2op
a4c8787f1d refactor(cmd): rename loop var 2025-07-28 18:46:45 -04:00
ayn2op
18eb50fa2c perf(cmd): remove redundant slice 2025-07-28 18:46:05 -04:00
ayn2op
bca733a352 refactor(notifications): rename HandleIncomingMessage to Notify 2025-07-25 18:17:07 -04:00
ayn2op
1266628d42 refactor(cmd): fix spelling mistake 2025-07-24 18:02:17 -04:00
ayn2op
08501daab7 refactor(cmd): create*Msg to draw*Message 2025-07-24 17:57:15 -04:00
ayn2op
4d9dd1d01b fix(cmd): if member does not exist in state, use the default name (display or user name) 2025-07-22 22:38:35 -04:00
ayn2op
a8e7dbd524 perf(cmd): only request guild members on initial channel load 2025-07-22 22:22:47 -04:00
ayn2op
f594779f08 fix(cmd): use (*config.Config).Status instead 2025-07-22 22:04:04 -04:00
ayn2op
5217df9d97 cmd: do not log (*ws.RawEvent).Raw 2025-07-20 13:17:11 -04:00
ayn2op
0f6e2ee953 build: upgrade tview to latest 2025-07-19 23:26:21 -04:00
ayn2op
0a0ba1c9a3 cmd: refactor 2025-07-19 22:22:59 -04:00
ayn2op
7da44507bb fix: remove theme.messages_list.author_style and bold author markup by default 2025-07-17 17:09:02 -04:00
ayn2op
4a6dd663e2 fix: handle empty (deleted) referenced message 2025-07-17 17:00:52 -04:00
ayn2op
620ed4bbff feat: add handler for message update event 2025-07-17 00:12:29 -04:00
ayn2op
7164b27214 refactor(cmd): remove IsValid check 2025-07-17 00:04:36 -04:00
Ayyan
4b8a815a26
feat: support for unread guilds and channels (#582) 2025-07-16 23:41:11 -04:00
ayn2op
a0b1c285b8 cmd: use tview defaults 2025-07-16 16:43:40 -04:00