Commit graph

219 commits

Author SHA1 Message Date
ayntgl
8dad4deec0 Implement inline reply mention functionality (#50) 2021-09-20 11:27:31 +04:00
ayntgl
746909a309 Create constant for keyring Service (discordo) (#49) 2021-09-20 10:39:52 +04:00
ayntgl
f945fbf4f8 Switch to a flat project structure (#48) 2021-09-19 19:56:51 +04:00
ayntgl
8c27d2b138 docs: document input widget keybindings 2021-09-18 16:35:48 +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
522e1fa950 main: handle state errors 2021-09-16 22:44:10 +04:00
ayntgl
a460d68a5c fix: clear highlights on guilds widget selected (#46) 2021-09-16 22:27:33 +04:00
ayntgl
82cf7941b1 refactor(util): rename NewConfig() to LoadConfig() 2021-09-16 08:48:58 +04:00
ayntgl
badcf70953 Update LICENSE copyright holder name 2021-09-16 08:13:08 +04:00
ayntgl
76a9ff1dae fix: return if there are no selected channel messages (#44) 2021-09-15 23:25:56 +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
ayntgl
e46ee22d13 Merge branch 'main' of https://github.com/ayntgl/discordo 2021-09-14 14:33:55 +04:00
ayntgl
7a9d0e066e refactor(ui): pass event handlers in main func 2021-09-14 14:28:29 +04:00
ayntgl
ac79f7a9ff docs(README): update badge repo owner 2021-09-13 20:18:39 +04:00
rigormorrtiss
fa8b590d9c refactor(ui): remove newBaseLoginForm() 2021-09-13 10:23:06 +04:00
rigormorrtiss
07fe2ce28e perf: goroutinize beeep.Alert() 2021-09-10 13:29:46 +04:00
rigormorrtiss
f3aa3c161e docs: add 'Desktop notifications' to features 2021-09-09 22:05:12 +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
1525c40879 docs: update README preview 2021-09-08 19:54:00 +04:00
rigormorrtiss
9c3e390b33 refactor(ui): move *LoginForm to ui/misc.go 2021-09-07 20:45:31 +04:00
rigormorrtiss
58cd88ce7a refactor(ui): update directory structure 2021-09-07 20:27:38 +04:00
rigormorrtiss
ccf3266e36 main: check if message not found in slice 2021-09-03 20:52:37 +04:00
rigormorrtiss
a442103c89 fix(util): end text region with closing region tag 2021-09-01 13:35:32 +04:00
rigormorrtiss
c587082795 docs: update README preview 2021-08-31 19:12:18 +04:00
rigormorrtiss
95af0acb29 feat: cancel message reply with Escape key 2021-08-31 18:26:11 +04:00
rigormorrtiss
693cbd00e4 refactor: append messages by sent order 2021-08-31 18:16:46 +04:00
rigormorrtiss
4ecd386b61 fix: if ModAlt is pressed while InputField is focused, do not handle the event 2021-08-31 17:55:37 +04:00
rigormorrtiss
9f79852e47 refactor: consistently handle key events 2021-08-31 17:47:30 +04:00
rigormorrtiss
effe882849 fix: set selectedMessage & InputField.title as nil and "", respectively 2021-08-31 17:28:58 +04:00
rigormorrtiss
cfff890a63 style: shorten long lines (>80) 2021-08-31 15:58:29 +04:00
rigormorrtiss
23afb2ecef feat: implement reply to selected message functionality (#39)
* feat: implement reply to selected message functionality

* docs: add keybinding for reply
2021-08-31 15:56:03 +04:00
rigormorrtiss
5d19c768fe feat: implement selectable messages (#38)
* feat: implement selectable messages

* style: shorten long lines

* feat: handle key down event for message select functionality

* feat: add handlers for top and bottom navigation

* style: shorten long lines

* docs: add 's' to singular verb

* docs: add missing period

* fix: if selectedChannel is not initialized, do not handle key event

* fix: prepend message to .Messages slice

* fix: if selectedChannel is nil, do not handle events

* feat: better default keybindings

* fix: use != comparison operator
2021-08-31 15:18:02 +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
5656faf2e6 perf: goroutinize session.ChannelMessageSend() 2021-08-31 11:06:28 +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
93a422bc9e feat: merge channels & guilds TreeView for ease-of-use (#37)
* feat: merge channels & guilds TreeView for ease-of-use

* docs: update README preview
2021-08-30 13:57:35 +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
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