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
|
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
|
c3e572b8ce
|
Organize/refactor util package
|
2022-01-22 21:22:35 +04:00 |
|
ayntgl
|
a6fa21b751
|
chore: align struct fields
|
2022-01-10 23:44:35 +04:00 |
|
ayntgl
|
e7f335ebf0
|
test(util/discord): add test for ParseMarkdown()
|
2022-01-10 21:02:08 +04:00 |
|
ayntgl
|
e18dbd94f6
|
refactor: move discord to util/discord.go package
|
2022-01-10 17:12:37 +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
|
313a754ade
|
refactor: move ChannelToString() and GetNodeByReference() to util/ui.go
|
2021-12-02 21:10:17 +04:00 |
|
ayntgl
|
4ac65d3cd7
|
refactor: rename NewConfig to LoadConfig
|
2021-11-29 20:10:37 +04:00 |
|
ayntgl
|
834d7342af
|
refactor: move util/{discord,ui} to main pkg
|
2021-11-25 16:35:38 +04:00 |
|
ayntgl
|
2b3066f7c7
|
ui: remove borders and switch with focus borders by default (#103)
|
2021-11-20 21:54:09 +04:00 |
|
ayntgl
|
e8a2f33e07
|
feat: implement multiple keybindings for a command (#101)
|
2021-11-17 12:28:34 +04:00 |
|
ayntgl
|
be46288500
|
refactor: rename LoadConfig to NewConfig
|
2021-11-13 21:16:29 +04:00 |
|
ayntgl
|
1c63b18d8a
|
refactor: move utility functions to independent package
|
2021-10-30 19:11:05 +04:00 |
|
ayntgl
|
9eede1a547
|
refactor: move config.go to util pkg
|
2021-10-29 21:20:37 +04:00 |
|
ayntgl
|
78f75db905
|
refactor: cleanup
|
2021-10-29 13:31:38 +04:00 |
|
ayntgl
|
207a4d43bd
|
refactor: move utility functions into separate package
|
2021-10-29 12:53:40 +04:00 |
|
ayntgl
|
222a1c09f0
|
Merge config package into main
|
2021-09-24 14:08:58 +04:00 |
|
ayntgl
|
6140d67250
|
Create config dir if does not exist (#54)
Closes #53
|
2021-09-24 11:53:43 +04:00 |
|
ayntgl
|
7d2dd4652f
|
Defer-close the newly created config file (if does not exist)
|
2021-09-22 00:02:59 +04:00 |
|
ayntgl
|
c545b4071a
|
Add doc comment to Config struct
|
2021-09-22 00:01:09 +04:00 |
|
ayntgl
|
c858cc5c41
|
Segregate config.go to util package
|
2021-09-21 21:40:07 +04:00 |
|
ayntgl
|
f945fbf4f8
|
Switch to a flat project structure (#48)
|
2021-09-19 19:56:51 +04:00 |
|
ayntgl
|
8f393655d3
|
util: create default conf file if not exists (#47)
|
2021-09-17 23:56:55 +04:00 |
|
ayntgl
|
2a160c53f2
|
main: use multiple .WriteString() instead of fmt.Fprintf()
|
2021-09-17 20:34:09 +04:00 |
|
ayntgl
|
82cf7941b1
|
refactor(util): rename NewConfig() to LoadConfig()
|
2021-09-16 08:48:58 +04:00 |
|
ayntgl
|
cfbee6c2f1
|
refactor(util): remove HasPermission()
|
2021-09-15 00:09:50 +04:00 |
|
ayntgl
|
3dd7b852d3
|
build: use ayntgl/discordgo instead of bwmarrin/discordgo
|
2021-09-14 23:31:34 +04:00 |
|
ayntgl
|
fcb158d9e2
|
refactor(util): use fmt.Fprintf instead of multiple strings.Builder.WriteString() calls
|
2021-09-14 18:50:22 +04:00 |
|
rigormorrtiss
|
d3ce38b735
|
feat: implement desktop notifications (#42)
|
2021-09-09 21:34:47 +04:00 |
|
rigormorrtiss
|
ba336aebc5
|
feat(util): add UserAgent field to Config (#41)
* feat(util): add UserAgent to Config
* feat(util): add UserAgent field to Config
|
2021-09-09 19:59:13 +04:00 |
|
rigormorrtiss
|
a442103c89
|
fix(util): end text region with closing region tag
|
2021-09-01 13:35:32 +04:00 |
|
rigormorrtiss
|
102a45b66a
|
refactor: remove keyring utility
|
2021-08-31 14:18:04 +04:00 |
|
rigormorrtiss
|
4bd98d596d
|
style: shorten long lines (>80 characters)
|
2021-08-31 13:03:12 +04:00 |
|
rigormorrtiss
|
6e27a46404
|
feat(ui): enable regions for message selection
|
2021-08-31 10:33:36 +04:00 |
|
rigormorrtiss
|
7a3956b283
|
refactor(util): embed & remove parseReferencedMessage()
|
2021-08-30 23:03:50 +04:00 |
|
rigormorrtiss
|
88e27fa413
|
fix(util): directly pass code, ticket to data struct
|
2021-08-29 11:42:23 +04:00 |
|
rigormorrtiss
|
512db258d5
|
fix(util): return ref to loginResponse struct
|
2021-08-29 11:40:48 +04:00 |
|
rigormorrtiss
|
56b4f74dff
|
fix(util): return default config if os.UserHomeDir() returns err
|
2021-08-29 11:33:37 +04:00 |
|
rigormorrtiss
|
d7c0fbb303
|
refactor(util): omit type & use short-hand assignment
|
2021-08-29 11:27:57 +04:00 |
|
rigormorrtiss
|
c35f9519f3
|
refactor(util): reuse parseAuthor() in parseReferencedMessage()
|
2021-08-28 18:22:22 +04:00 |
|
rigormorrtiss
|
04b6ddc599
|
Hide non-permissible channels from channels TreeView (#35)
* Add discord.HasPermission()
* Exclude disallowed channels from TreeView
* Update README preview
|
2021-08-23 22:35:39 +04:00 |
|
rigormorrtiss
|
a3e9fbd076
|
Pointerize Config.Theme
|
2021-08-23 12:40:28 +04:00 |
|