Commit graph

216 commits

Author SHA1 Message Date
ayn2op
bed98bec76 refactor: improve variable naming for better readability
- Rename `cv` to `chatView` in chatview constructor
- Rename `bm` to `bitmap` in QR code rendering
- Rename `n` to `notification` in desktop notifications
- Rename `p` to `padding` in UI configuration

These changes make the code more self-documenting and easier to understand by using descriptive variable names instead of abbreviated ones.
2025-12-15 03:19:00 -05:00
Ayyan
ffdd141f70
fix(config): resolve Ctrl+P conflict between focus_message_input and mentions_list.up (#661) 2025-12-11 17:13:09 -05:00
xqrs
9a83762580
feat(clipboard): add wayland support (#657)
Signed-off-by: xqrs <3bd3bdr@gmail.com>
Co-authored-by: Ayyan <ayn2op@gmail.com>
2025-12-10 16:02:38 -05:00
Ayyan
d29de744fc
build: switch to tcell/v3 (#655) 2025-12-09 01:35:40 -05:00
xqrs
7e8af16e72
fix(message_input): add support for mentions list in (group) dms (#649)
Co-authored-by: Ayyan <ayn2op@gmail.com>
2025-12-09 01:34:41 -05:00
ayn2op
9c9815544f fix(login): illogical conditional 2025-12-09 01:25:09 -05:00
ayn2op
cac1be906c fix(login): only login for TOTP MFA type 2025-12-09 01:20:39 -05:00
ayn2op
164e94d5b7 build: upgrade tview to latest 2025-12-08 15:20:56 -05:00
ayn2op
9581ca6bd4 feat(config): change reply keymap to align with official client 2025-12-04 14:54:17 -05:00
ayn2op
49c3a81956 feat: change default keymap for focus_message_input to Ctrl+P 2025-12-03 22:27:35 -05:00
ayn2op
e8a53b0dfb build!: upgrade tview to latest 2025-11-30 21:14:11 -05:00
ayn2op
7c67c21d0f refactor(config): merge border.go with theme.go 2025-11-23 15:47:29 -05:00
ayn2op
8c77e6553f refactor(cmd): explicitly use \n instead of tview.NewLine 2025-11-23 15:19:53 -05:00
Ayyan
6033c923fd
feat(logger): switch to text handler for slog from tint (#622) 2025-11-16 12:16:16 -05:00
ayn2op
de52554f95 refactor(markdown): export renderer and use type-safe config 2025-11-11 23:13:22 -05:00
ayn2op
662539b063 refactor(lint): inconsistent handling of return value 2025-11-11 22:48:39 -05:00
ayn2op
45003fca41 refactor(keyring): new package 2025-11-06 21:10: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
6f9d3468af feat(http): add client_heartbeat_session_id to headers 2025-10-21 22:15:54 -04:00
ayn2op
d336b078fc refactor(http): use gzhttp for gzip and zstd 2025-10-21 15:02:20 -04:00
ayn2op
1d4bcdeb06 refactor(login): add setText method 2025-10-15 18:55:53 -04:00
ayn2op
1b7dd6b6a0 refactor(login): remove unused field "view" 2025-10-15 17:24:43 -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
Ayyan
1ce64b2c3c
feat(login): add Copy button to error modal (#607) 2025-10-13 22:41:41 -04:00
ayn2op
2210a6dab9 Squash merge edit into main 2025-09-30 11:48:09 -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
998e05a4f7 refactor(notifications): lint 2025-09-25 11:33:38 -04:00
ayn2op
93f6873ffc refactor: use httputil.NewClientWithDriver func 2025-09-22 21:49:15 -04:00
ayn2op
ed2a4e53e5 feat: add support for zstd 2025-09-22 21:49:01 -04:00
ayn2op
ac669bccae feat: add support for gzip & brotli 2025-09-22 19:22:13 -04:00
ayn2op
b3f9a2f6fa fix(consts): return default identify properties if response status code is not OK 2025-09-18 15:23:55 -04:00
ayn2op
72400571fe refactor(config): remove redundant struct 2025-09-14 15:21:23 -04:00
ayn2op
120906f7a6 feat(logger): add O_TRUNC flag 2025-09-14 00:25:08 -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
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
9f79196893 feat: use temp dir instead of current dir for log file and avatar caching 2025-08-02 15:22:17 -04:00
ayn2op
cfccaeefc3 refactor: remove unused const 2025-07-30 21:35:55 -04:00
ayn2op
a978bb36f7 fix(config): pass err to log 2025-07-30 21:25:34 -04:00
ayn2op
b243e2f7f1 perf(notifications): exit early if notifications are disabled 2025-07-30 15:03:18 -04:00
ayn2op
f91e7d39b5 feat: attach image from clipboard
Closes #96
2025-07-29 14:25:19 -04:00
ayn2op
addfb3f949 refactor(notifications): use (ningen.MessageMentionFlags).Has instead 2025-07-25 18:26:31 -04:00
ayn2op
bca733a352 refactor(notifications): rename HandleIncomingMessage to Notify 2025-07-25 18:17:07 -04:00
ayn2op
a0907e6e2d feat(config): change to saner defaults for keys.mentions_list 2025-07-25 16:47:16 -04:00
ayn2op
e2dbda7095 refactor(markdown): extract to attrToTag to simply renderInline 2025-07-25 16:40:56 -04:00
ayn2op
5d76fdc143 refactor(cache): fix spelling error 2025-07-24 18:01:25 -04:00
ayn2op
467f46a0b4 refactor(markdown): inline assignment 2025-07-24 17:59:56 -04:00
ayn2op
74c08a0728 perf(cmd): use member from *gateway.MessageCreateEvent instead of fetching from cache 2025-07-24 15:18:02 -04:00
ayn2op
0770f25760 fix(notifications): remove unused import 2025-07-23 20:04:11 -04:00
ayn2op
bd28598bac fix(notifications): do not bail if member is nil 2025-07-23 19:38:40 -04:00