Commit graph

147 commits

Author SHA1 Message Date
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
rigormorrtiss
6f8d9cca1c feat(ui): modify message InputField fixedSize to 25 2021-08-15 19:04:12 +04:00
rigormorrtiss
0c47002c9e feat(ui): set Box.titleAlign to left 2021-08-15 18:58:53 +04:00
rigormorrtiss
5ced86076f docs: remove WIP tag 2021-08-15 13:55:43 +04:00
rigormorrtiss
2c40c996ac fix(util): do not check if Message.Content is empty string 2021-08-15 12:43:05 +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
e287066f23 docs: move preview to .github/ 2021-08-15 11:36:31 +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
0ee43018c1 util: default keyring service name 2021-08-14 13:45:27 +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
2954597ed8 assets: update README preview to latest 2021-08-12 23:09:07 +04:00
rigormorrtiss
1f78c6dac8 util: parse message mentions 2021-08-12 23:04:46 +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
852e5bbd03 util: prefix attachment name to attachment url 2021-08-11 16:08:02 +04:00
rigormorrtiss
4b61790a71 ui: incorporate message InputField done handler in input capture handler 2021-08-11 10:29:51 +04:00
rigormorrtiss
27ae179fa3 main: goroutinize retrieval and rendering of channel messages 2021-08-10 23:23:32 +04:00
rigormorrtiss
12ac9072b3 ui: inline onMessageTextViewChanged handler 2021-08-10 23:20:37 +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
a262e933e2 chore: remove .gitignore 2021-08-10 00:28:55 +04:00
rigormorrtiss
342adf1461 ci: setup build workflow (#23)
* ci: setup build workflow

* ci: specify go-version field

* ci: remove "Print Go version" step
2021-08-09 21:22:39 +04:00
rigormorrtiss
b7355f2b49 main: set gateway.DefaultIdentity.Device to "" 2021-08-09 13:21:46 +04:00
rigormorrtiss
a06a25f63c Append from clipboard instead of replace (#22) 2021-08-09 00:27:35 +04:00
rigormorrtiss
946e164564 Remove *Foreground configuration 2021-08-09 00:08:11 +04:00
rigormorrtiss
e2b144d3a6 Add clipboard support (#21)
* Add clipboard support

* Add "Clipboard" heading to "Getting Started" sect.
2021-08-08 22:31:49 +04:00