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
7f949d2143
Merge branch 'main' of https://github.com/rigormorrtiss/discordo
2021-08-25 22:53:16 +04:00
rigormorrtiss
1fb4f73249
Check if selected channel is not nil on enter key press while inputfield focused
2021-08-25 22:53:03 +04:00
rigormorrtiss
9a2bc80e8d
Sort guilds based on their respective position ( #36 )
...
* Sort guilds based on their respective position
* Update README preview
2021-08-24 23:24:51 +04:00
rigormorrtiss
efb9097eda
Modify right Flex proportion to 4
2021-08-24 15:58:54 +04:00
rigormorrtiss
83f2924186
Modify the default keybindings
2021-08-24 00:29:19 +04:00
rigormorrtiss
464551cc98
Add doc comment for ui.CreateCategoryChannelsTreeNodes()
2021-08-23 22:39:10 +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
rigormorrtiss
e1a88777a7
Change Config.Theme type to tview.Theme
2021-08-23 08:21:46 +04:00
rigormorrtiss
59e0a5c0e5
Update README description
2021-08-22 21:51:36 +04:00
rigormorrtiss
f8b8b5a144
Switch to discordgo
2021-08-22 19:29:37 +04:00
rigormorrtiss
c5ef19f8d8
build: convert zalando/go-keyring to direct dep
2021-08-21 19:54:30 +04:00
rigormorrtiss
89818721c3
feat(util): add mouse field to config ( #34 )
...
* feat(util): add mouse field to config
* docs(util): update doc comment
2021-08-19 19:31:54 +04:00
rigormorrtiss
85c7754a18
refactor(ui): remove NewApp()
2021-08-19 17:54:15 +04:00
rigormorrtiss
097b96f841
refactor: modularize into multiple functions to reduce complexity
2021-08-19 17:08:23 +04:00
rigormorrtiss
7eac041b80
Add doc comment for GetTreeNodeByReference
2021-08-19 15:58:48 +04:00
rigormorrtiss
5f8d6f1399
Switch to TreeView from List for guilds
2021-08-19 15:45:08 +04:00
rigormorrtiss
affecac32c
main: display empty categories
2021-08-19 14:07:59 +04:00
rigormorrtiss
ea837bac89
ui/flex: decrease proportionate fixed size to 2x of channels TreeView
2021-08-19 13:53:38 +04:00
rigormorrtiss
c4efe89b83
docs: update preview to latest
2021-08-19 13:45:36 +04:00
rigormorrtiss
459167ab1e
main: sort channels with accordance to their levels
2021-08-19 13:36:24 +04:00
rigormorrtiss
5f82d662ad
docs: add goreportcard.com badge
2021-08-18 22:47:32 +04:00
rigormorrtiss
a6984dd878
refactor: reuse writeMessages()
2021-08-18 22:27:31 +04:00
rigormorrtiss
7b1cb548ac
refactor: add comment for exported structs
2021-08-18 22:20:14 +04:00
rigormorrtiss
9bb8dce3d0
refactor: add comments for exported functions
2021-08-18 22:15:22 +04:00
rigormorrtiss
baba0b6259
docs: add license badge
2021-08-18 22:05:45 +04:00
rigormorrtiss
4cf3fff3fe
ui: separate guilds from TreeView ( #33 )
...
* feat(ui): add NewGuildsList()
* fix(ui): remove redundant \n from guilds list
* feat(ui): add guilds List to main Flex
* refactor(ui): rename TreeView to channels TreeView
* feat: separate guilds from TreeView
* ui/flex: increase proportionate size of TreeView
* main: sort guild channels according to channel positions
* docs: update README preview
* main: add keybinding for guilds List
2021-08-18 21:33:41 +04:00
rigormorrtiss
c22a64cc5d
util: add theme.borders option to config ( #32 )
2021-08-18 21:02:21 +04:00
rigormorrtiss
4bf8085239
refactor(util): remove *{Background,Foreground} in favor of Background & Foreground
2021-08-18 19:48:32 +04:00
rigormorrtiss
38a3bacdcc
feat(util): display GuildMemberJoinMessage message type to messages TextView ( #31 )
2021-08-18 16:15:35 +04:00
rigormorrtiss
d8c502440b
feat: switch to zalando/go-keyring from 99designs/keyring
2021-08-18 00:03:09 +04:00
rigormorrtiss
5b4c8ba6c2
docs: add DISCORDO_TOKEN note to Getting Started section
2021-08-17 23:33:13 +04:00
rigormorrtiss
8d7b921df3
feat(main): prioritized support for DISCORDO_TOKEN env var ( #30 )
2021-08-17 23:25:58 +04:00
rigormorrtiss
1fa6793591
build: update arikawa to latest commit
2021-08-17 22:33:08 +04:00
rigormorrtiss
70dc96ad5c
docs: add 2-Factor Authentication to Features
2021-08-17 19:09:38 +04:00
rigormorrtiss
5ff13fac2e
feat: add support for MFA (2FA) login ( #29 )
...
* feat(ui): add ui.NewMfaLoginForm()
* feat: add support for MFA
2021-08-17 19:03:55 +04:00
rigormorrtiss
9d93e0a999
docs: add 'Package managers' section to Installation
2021-08-17 17:34:16 +04:00
rigormorrtiss
f5f017796f
docs: add build workflow badge to README.md
2021-08-16 22:58:00 +04:00
rigormorrtiss
cf13c1d243
ci: rename ci workflow to build
2021-08-16 22:55:27 +04:00
rigormorrtiss
f36bfb04ba
docs: update preview to latest
2021-08-16 22:53:04 +04:00
rigormorrtiss
7b0a824f5b
feat(main): suffix text channel topic to TextView title ( #27 )
2021-08-16 22:48:45 +04:00
rigormorrtiss
d0fb493eb9
perf(util): use .WriteString() instead of + concatenation
2021-08-16 22:30:12 +04:00
rigormorrtiss
5fc681bde0
fix(main): degoroutinize addition of thread channel as children to text channel node
2021-08-16 18:38:56 +04:00
rigormorrtiss
d9fc27e5ed
feat(ui): set right border padding to 0 for TextView
2021-08-16 13:57:19 +04:00
rigormorrtiss
772e915c61
feat(ui): set right border padding to 0 for Form, InputField, TextView, TreeView
2021-08-15 19:06:32 +04:00