rigormorrtiss
459167ab1e
main: sort channels with accordance to their levels
2021-08-19 13:36:24 +04:00
rigormorrtiss
a6984dd878
refactor: reuse writeMessages()
2021-08-18 22:27:31 +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
d8c502440b
feat: switch to zalando/go-keyring from 99designs/keyring
2021-08-18 00:03:09 +04:00
rigormorrtiss
8d7b921df3
feat(main): prioritized support for DISCORDO_TOKEN env var ( #30 )
2021-08-17 23:25:58 +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
7b0a824f5b
feat(main): suffix text channel topic to TextView title ( #27 )
2021-08-16 22:48:45 +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
3b00d8b42c
fix(main): write messages in reverse order
2021-08-15 12:39:47 +04:00
rigormorrtiss
8ee54de596
feat: add support for voice channels
2021-08-15 12:37:07 +04:00
rigormorrtiss
3492639a1d
refactor(main): use shared session.Session.Context() for future calls
2021-08-15 11:35:31 +04:00
rigormorrtiss
1a2be50e14
feat: implement Threads ( #25 )
...
* main: refactor MESSAGe_CREATE event to separate function
* main: add thread channel as child to guild text channel
* main: write thread channel messages to messages TextView on select
* *: refactor to use for range loops
* main: write discord.Message.ReferencedMessage if message type is ThreadStarterMessage
* fix(util): write Message.Content if it is not an empty string
* refactor(util): remove WriteMessages
* refactor(main): defer-close websocket connection
* refactor(main): update api.UserAgent to latest
* refactor: use named return values
* fix: increase guilds TreeView fixedSize
* docs(README): update preview
2021-08-15 10:01:02 +04:00
rigormorrtiss
155f4d54f7
main: update arikawa to latest commit
2021-08-13 21:44:35 +04:00
rigormorrtiss
28964883ce
refactor: remove unnecessary named function parameters
2021-08-13 21:34:16 +04:00
rigormorrtiss
c9dd1fcf02
main: integrate user guilds in TreeView ( #24 )
...
* main: integrate user guilds in TreeView
* assets: update README preview
2021-08-11 22:59:31 +04:00
rigormorrtiss
45b6b92737
main: remove fmt.Println()
2021-08-11 19:04:03 +04:00
rigormorrtiss
1851c7ea53
main: change default keybindings
2021-08-11 17:59:56 +04:00
rigormorrtiss
27ae179fa3
main: goroutinize retrieval and rendering of channel messages
2021-08-10 23:23:32 +04:00
rigormorrtiss
ddbb051c84
main: remove unused variable
2021-08-10 23:00:44 +04:00
rigormorrtiss
71cc017f0e
main: remove "login via token" method
2021-08-10 22:44:21 +04:00
rigormorrtiss
044e48da2e
refactor: move event handlers to ui package
2021-08-10 22:34:37 +04:00
rigormorrtiss
b7355f2b49
main: set gateway.DefaultIdentity.Device to ""
2021-08-09 13:21:46 +04:00
rigormorrtiss
946e164564
Remove *Foreground configuration
2021-08-09 00:08:11 +04:00
rigormorrtiss
39234175a3
Degoroutinize (*api.Client).SendMessage()
2021-08-08 22:11:49 +04:00
rigormorrtiss
e78dfee9c8
Inline event handlers
2021-08-08 19:21:38 +04:00
rigormorrtiss
69f7ac594c
Goroutinize *session.Session.SendMessage()
2021-08-08 19:00:35 +04:00
rigormorrtiss
ca9eb30873
Revert "perf(main): set channelID as reference of node"
...
This reverts commit 0d6f5d19fe21e2ea4554056fe0f3e62c4ca17f7b.
2021-08-08 18:50:20 +04:00
rigormorrtiss
ae60aa8bd6
fix(main): clear messages TextView when channel of type GuildText or GuildNews is selected only ( #20 )
2021-08-08 18:37:02 +04:00
rigormorrtiss
bc73bc9ec8
perf(main): set channelID as reference of node
2021-08-08 18:31:41 +04:00
rigormorrtiss
775e658e7d
Add message InputField if channel type is GuildText or GuildNews
2021-08-07 23:13:50 +04:00
rigormorrtiss
8d529e5f02
fix(main): set messages TextView title as channel name
2021-08-07 18:42:24 +04:00
rigormorrtiss
1902f5908d
fix(main): compare CategoryID against 0 and discord.NullChannelID for 'global channels'
2021-08-07 18:40:02 +04:00
rigormorrtiss
51d19f57b7
fix(main): compare channel.CategoryID with discord.NullChannelID
2021-08-07 17:52:07 +04:00
rigormorrtiss
51b5cd1834
refactor: rename variables to comply with 'effective go'
2021-08-07 14:53:38 +04:00
rigormorrtiss
1dafd965f6
fix(main): set messages TextView title to "" on guild select
2021-08-04 20:12:48 +04:00
rigormorrtiss
b94301632f
feat(util): switch to 99designs/keyring for more backends ( #18 )
...
* build: add 99designs/keyring as dep
* feat(util): switch to 99designs/keyring for more backends
2021-08-04 08:53:17 +04:00
rigormorrtiss
f56217e298
refactor(main): ignore error while retrieving channels from cabinet
2021-08-03 21:13:13 +04:00
rigormorrtiss
dde8032437
Remove 123 :P
2021-08-03 19:48:23 +04:00
rigormorrtiss
d20e4db970
fix(main): do not panic if chans or msgs not found
2021-08-03 19:41:07 +04:00
rigormorrtiss
e985ac55ed
feat(main): suffix channel topic after channel name ( #17 )
2021-08-03 16:46:46 +04:00
rigormorrtiss
c141e7f4b4
fix(main): "login via token" input field not displayed ( #16 )
2021-08-03 16:17:55 +04:00
rigormorrtiss
c17ca03bda
Add default keybindings for navigation
2021-08-03 14:07:23 +04:00
rigormorrtiss
353a66b079
Sort channels on guild and channel selected
2021-08-03 12:54:12 +04:00
rigormorrtiss
74157d846d
Goroutinize util.SetPassword()
2021-08-03 12:23:48 +04:00
rigormorrtiss
e4fbeb1c11
refactor(ui): explicitly return values
2021-08-02 22:38:03 +04:00
rigormorrtiss
04e24917de
Remove Quit button from login Modal
2021-08-02 22:33:50 +04:00
rigormorrtiss
9bc0b94da3
Upgrade Arikawa to v3 ( #15 )
2021-08-02 20:07:50 +04:00