Commit graph

34 commits

Author SHA1 Message Date
ayntgl
46aa968f7f
feat(config): add configurable timestamp format with time_format field (#181) 2022-08-19 14:49:56 +05:30
ayntgl
c5be3b3c86
refactor: switch to Arikawa (#178)
* Basic

* nav

* remove discord pkg

* fix guild delete handler

* misc

* remove ioutil

* remove astatine, press f to pay respect

* panic bad, log.Fatal good

* add preview
2022-08-19 02:31:39 +05:30
ayntgl
7813d7914d
feat: timestamps now respect local timezone by default (#177)
Closes #154
2022-08-18 16:34:56 +00:00
ayntgl
d5c35ec3b0 refactor(config): fix typos 2022-05-22 21:32:28 +04:00
ayntgl
39923074f2 refactor!(config): use os.OpenFile() instead 2022-05-22 21:31:32 +04:00
ayntgl
d3001a97c0
Switch to urfave/cli (#152) 2022-03-25 19:46:02 +04:00
ayntgl
5cd28f6347 main: use default flag pkg 2022-03-17 21:45:27 +04:00
ayntgl
60a720f0c5 fix: add default config var to kong 2022-03-17 20:04:24 +04:00
ayntgl
252548606b refactor: merge CLI struct into Config 2022-03-17 19:57:19 +04:00
ayntgl
a7cb969fc6
feat: add command-line flags for token and config (#144)
* feat: add command-line flags for token and config

* docs(README): mention token and config command-line flag

* Remove env var
2022-03-17 16:00:10 +04:00
ayntgl
999aff93a4 feat: add attachment-related actions to message actions list 2022-03-14 15:05:52 +04:00
ayntgl
88c141f182 style(config): remove extra line 2022-03-14 14:38:44 +04:00
ayntgl
b922e1c5ab refactor(config): rename mod.go to pkg.go 2022-03-13 22:24:02 +04:00
KodiCraft
7ef0f71b7b
feat: implement keybindings for opening and downloading attachments (#137)
* Added support for opening or downloading attachments

* Removed some debug statements

* Added close statements I forgot

* Added gitignore to ignore built executables

* Removed executables I accidentally added

* Fixed opening files not working on Windows

* Updated .gitignore to ignore .vscode

Co-authored-by: ayntgl <90600421+ayntgl@users.noreply.github.com>

* Deleted launch.json that doesn't need to be included

* Implemented suggestions on #137

Co-authored-by: ayntgl <90600421+ayntgl@users.noreply.github.com>
2022-03-13 22:22:10 +04:00
ayntgl
20ca8a7268
feat(config): add theme field (#134) 2022-03-06 17:24:19 +04:00
ayntgl
89b622ec0d feat(config): add identify field 2022-03-06 13:27:53 +04:00
ayntgl
4fbf35fe65 fix(ui): incorrect default keybinding value for external editor 2022-03-01 20:34:09 +04:00
ayntgl
663172e1cf fix(config): panics if configuration file does not exist 2022-02-24 20:16:01 +00:00
ayntgl
00173ab95f refactor: reorganize packages 2022-02-24 19:14:38 +04:00
ayntgl
bddfb173b7 refactor: divide util package 2022-02-17 12:00:46 +04:00
ayntgl
3f1725c0a7 refactor: move config/* to util package 2022-01-25 20:23:10 +04:00
ayntgl
ff92fd6571 feat: use toml for configuration 2022-01-25 14:22:31 +04:00
ayntgl
7bfc12d49d fix: return event key if message input field has focus 2022-01-25 00:26:37 +04:00
ayntgl
3936a6f07b Refine and set default keybindings to sane defaults 2022-01-25 00:19:03 +04:00
ayntgl
e2ac04dbfd
Add support for external editor to write messages (#118) 2022-01-24 23:30:10 +04:00
ayntgl
0d4d612111 Switch to toml for configuration 2022-01-19 23:34:18 +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
5b362d7c4f
feat(ui): implement message actions list (#111) 2022-01-16 00:01:57 +04:00
ayntgl
a6fa21b751 chore: align struct fields 2022-01-10 23:44:35 +04:00
ayntgl
1bc81111e8 feat: add default navigation shortcut for guilds list 2022-01-10 14:29:00 +04:00
ayntgl
d815c77c29 refactor: initialize default config when file is empty 2022-01-09 23:18:03 +04:00
ayntgl
e6ec288975 feat: implement config package 2022-01-09 16:21:54 +04:00
ayntgl
548c9f0007 refactor: modularize into packages 2022-01-08 21:04:02 +04:00