Commit graph

61 commits

Author SHA1 Message Date
ayntgl
40e2e7e6a5
Use yaml for configuration instead of Lua (#215) 2022-09-09 18:17:18 +05:30
Sofia
882c22ac19
fix: re-add keyring.Set call (#209)
Co-authored-by: ayntgl <90600421+ayntgl@users.noreply.github.com>
2022-09-07 12:24:18 +00:00
ayntgl
277e314146
Clear screen if the background color is set as ColorDefault (#207) 2022-09-06 01:07:33 +05:30
ayntgl
e7fccffd2e
Add essential intents for bot accounts (#205) 2022-09-02 14:20:23 +05:30
ayntgl
35458a7e3a
Remove login functionality (#202) 2022-08-31 19:40:13 +05:30
ayntgl
fcd52c361e
fix: load configuration file if token is not provided (#199) 2022-08-30 19:26:10 +05:30
ayntgl
41ed0bc604
Implement scripting interface (#194) 2022-08-27 22:46:19 +05:30
ayntgl
ee08cd9593
feat: save token to default keyring if passed via flag (#180) 2022-08-19 14:27:58 +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
73e7eecd81
fix: MFA form not set as application root (#170)
Closes #158
2022-08-12 14:08:20 +05:30
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
339dd3b41e Upgrade astatine to latest 2022-03-25 18:33:30 +04:00
ayntgl
e4d9332eff Switch to astatine 2022-03-23 21:22:17 +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
20ca8a7268
feat(config): add theme field (#134) 2022-03-06 17:24:19 +04:00
ayntgl
b2d67eeacc refactor: use keyringServiceName constant 2022-03-05 22:02:06 +04:00
ayntgl
af1b46797b feat: set borders' rune to 0 and focus borders to regular borders 2022-02-26 23:13:52 +04:00
ayntgl
ff5cbf7216 refactor(ui): modularize UI widgets 2022-02-26 23:00:17 +04:00
ayntgl
bddfb173b7 refactor: divide util package 2022-02-17 12:00:46 +04:00
ayntgl
f4283093ad refactor(ui): uncuddle return statement in NewApp() 2022-02-09 21:44:07 +04:00
ayntgl
5d9da76b70 Define a constant for keyring service name 2022-02-09 20:49:24 +04:00
ayntgl
0d4d612111 Switch to toml for configuration 2022-01-19 23:34:18 +04:00
ayntgl
e18dbd94f6 refactor: move discord to util/discord.go package 2022-01-10 17:12:37 +04:00
ayntgl
2f2d0571d8 refactor: remove login form handler from ui package 2022-01-10 17:01:38 +04:00
ayntgl
87a073d827 refactor: remove unused functions 2022-01-09 16:32:21 +04:00
ayntgl
e6ec288975 feat: implement config package 2022-01-09 16:21:54 +04:00
ayntgl
d0b47b2588 refactor: modularize into packages 2022-01-09 14:29:25 +04:00
ayntgl
548c9f0007 refactor: modularize into packages 2022-01-08 21:04:02 +04:00
ayntgl
16f49a9c34 Refactor into packages 2021-12-14 19:25:31 +04:00
ayntgl
88600de318 refactor: remove new* UI functions 2021-11-29 20:17:14 +04:00
ayntgl
4ac65d3cd7 refactor: rename NewConfig to LoadConfig 2021-11-29 20:10:37 +04:00
ayntgl
2b3066f7c7
ui: remove borders and switch with focus borders by default (#103) 2021-11-20 21:54:09 +04:00
ayntgl
b8d09403e7 refactor: remove ui pkg 2021-11-20 20:11:33 +04:00
ayntgl
be46288500 refactor: rename LoadConfig to NewConfig 2021-11-13 21:16:29 +04:00
ayntgl
30dffbaa83
refactor: move UI components to ui package (#93) 2021-10-30 18:35:50 +04:00
ayntgl
9eede1a547 refactor: move config.go to util pkg 2021-10-29 21:20:37 +04:00
ayntgl
1a6ce2e42f feat: add graphics field to config 2021-10-23 14:19:01 +04:00
ayntgl
18b94450e2 feat: refine and simply config fields 2021-10-23 13:09:18 +04:00
ayntgl
a62e179d80 build: upgrade ayntgl/discordgo@next to latest 2021-10-17 19:06:28 +04:00
ayntgl
2bd2017f37
Add Borders field to configuration (#76) 2021-10-16 16:03:38 +04:00
ayntgl
8ea53c88a5 Relocate global variable declarations 2021-10-15 23:36:00 +04:00
ayntgl
4ab256ecb7 Modularize tview widgets into separate functions 2021-10-14 09:40:00 +04:00
ayntgl
083eda48bf refactor: move renderer functionality to discord.go 2021-10-10 16:56:22 +04:00
ayntgl
7c140afb03
feat: switch to toml for config (#67)
* feat: switch to toml for config

* resolve indirect dep
2021-10-02 18:52:23 +04:00
ayntgl
80179a8246
feat: support w3c names and hex value colors in config (#60) 2021-09-27 23:24:21 +04:00
ayntgl
88674c5f4d refactor: rename mainTreeView to channelsTree 2021-09-27 11:29:00 +04:00