Commit graph

395 commits

Author SHA1 Message Date
ayntgl
f359fa579e build: go mod tidy 2022-02-09 22:51:15 +04:00
ayntgl
f8bb2bd8d2 feat(util): export return value of Login() & TOTP() as LoginResponse 2022-02-09 21:55:07 +04:00
ayntgl
d8d9672ee8 refactor: uncuddle return statements 2022-02-09 21:52:06 +04:00
ayntgl
039835749a refactor(ui): uncuddle var declarations 2022-02-09 21:45:41 +04:00
ayntgl
f4283093ad refactor(ui): uncuddle return statement in NewApp() 2022-02-09 21:44:07 +04:00
ayntgl
4c67f93017 ui: use strings.ReplaceAll() instead 2022-02-09 21:01:08 +04:00
ayntgl
5d9da76b70 Define a constant for keyring service name 2022-02-09 20:49:24 +04:00
ayntgl
76781ed1dd Handle all errors returned by .Write() 2022-02-09 20:42:27 +04:00
ayntgl
2aed7c0209 Align Config struct fields using fieldalignment 2022-02-09 20:15:37 +04:00
ayntgl
13a07469f7 Refactor to consistent API 2022-02-09 16:22:36 +04:00
ayntgl
7dd1b0eb64
feat: follow XDG convention for configuration file (#123) 2022-02-09 11:46:49 +04:00
ayntgl
92c3be341c
docs(readme): add credits 2022-01-28 11:22:03 +04:00
ayntgl
52490d15b6
fix(ui): check if selected channel's ID is same as received message's channel's ID (#120) 2022-01-28 10:52:44 +04:00
ayntgl
42818c4d1d feat: set main flex as root in all message actions 2022-01-26 22:20:21 +04:00
ayntgl
7f8dab79ef build: upgrade deps to latest 2022-01-26 19:38:32 +04:00
ayntgl
b3656305cf fix(ui): reset selected message index on guild or channel select 2022-01-25 22:53:44 +04:00
ayntgl
d984d087a2 refactor: remove notifications feature 2022-01-25 20:57:40 +04:00
ayntgl
3f1725c0a7 refactor: move config/* to util package 2022-01-25 20:23:10 +04:00
ayntgl
288fcff0f0 docs(readme): add disclaimer section to TOC 2022-01-25 15:48:05 +04:00
ayntgl
ff92fd6571 feat: use toml for configuration 2022-01-25 14:22:31 +04:00
ayntgl
c8b0c2509f docs(README): add configuration section 2022-01-25 13:27:18 +04:00
ayntgl
64abd94da4 docs(README): add goreportcard badge 2022-01-25 12:48:06 +04:00
ayntgl
82cc72caaa fix(ui): do not forward event key on toggle message actions list keypress 2022-01-25 00:30:40 +04:00
ayntgl
7bfc12d49d fix: return event key if message input field has focus 2022-01-25 00:26:37 +04:00
ayntgl
99481e5712 Set focus to main flex when Esc is pressed when focus on message input field 2022-01-25 00:20:37 +04:00
ayntgl
3936a6f07b Refine and set default keybindings to sane defaults 2022-01-25 00:19:03 +04:00
ayntgl
5e0a7d57f6 Use correct key name for escape 2022-01-25 00:08:24 +04:00
ayntgl
7af3cf17cd Remove unhandled Edit message action 2022-01-24 23:45:16 +04:00
ayntgl
e2ac04dbfd
Add support for external editor to write messages (#118) 2022-01-24 23:30:10 +04:00
ayntgl
da4eec7f15 Update ayntgl/discordgo 2022-01-24 12:29:40 +04:00
ayntgl
2fc5a7059e Update Go version 2022-01-24 12:04:14 +04:00
ayntgl
1eafc3440e Add pre-built binaries section to installation instructions 2022-01-24 00:24:48 +04:00
ayntgl
8c295fe1ab Set multiple path for uploading artifact 2022-01-23 23:58:42 +04:00
ayntgl
ea58e07a6d Suffix binary name with runner.os and runner.arch 2022-01-23 23:56:25 +04:00
ayntgl
ccdd3c7dcc
Match optional .exe for Windows compatibility (#116) 2022-01-23 23:44:03 +04:00
ayntgl
ce05a98711 Reconcile artifact path for Windows 2022-01-23 23:15:27 +04:00
ayntgl
374bc49e6a Use GitHub artifact to upload binary 2022-01-23 23:06:52 +04:00
ayntgl
3917bbe234 Use matrix strategy for building on multiple platforms 2022-01-23 22:50:49 +04:00
ayntgl
5e791f7f1a
Change markdown badges color 2022-01-23 22:39:15 +04:00
ayntgl
3fe05ad40f Change message InputField default placeholder background 2022-01-23 22:30:09 +04:00
ayntgl
c3e572b8ce Organize/refactor util package 2022-01-22 21:22:35 +04:00
ayntgl
3730f41e3e readme: update usage section 2022-01-20 18:47:10 +04:00
ayntgl
17c5ceb164 readme: update usage section 2022-01-20 18:45:53 +04:00
ayntgl
cd90bbadaf ui: support for bot accounts (prefix token with 'Bot ') 2022-01-20 18:25:23 +04:00
ayntgl
0d4d612111 Switch to toml for configuration 2022-01-19 23:34:18 +04:00
ayntgl
3a7e0b4c82 Change focus back to messages TextView when Escape is pressed 2022-01-19 22:05:20 +04:00
ayntgl
fa8d01d5fc Fix message actions list rune 2022-01-19 22:03:07 +04:00
ayntgl
696623e4fa Change fields' type in KeybindingConfig to string 2022-01-19 22:02:36 +04:00
ayntgl
867f87f2bc
feat: implement message timestamps (#113) 2022-01-17 13:23:14 +04:00
ayntgl
a10732bc25 fix(ui): append messages in sent order 2022-01-16 00:56:05 +04:00