Commit graph

242 commits

Author SHA1 Message Date
ayntgl
88674c5f4d refactor: rename mainTreeView to channelsTree 2021-09-27 11:29:00 +04:00
ayntgl
90751d4c39 build: update module path 2021-09-27 09:58:11 +04:00
ayntgl
b2c15c1b47 Merge branch 'main' of https://github.com/ayntgl/discordo 2021-09-25 18:43:38 +04:00
ayntgl
53f3760dc6 Update README.md 2021-09-25 14:05:06 +04:00
ayntgl
359e22318a refactor: use genChannelRepr() for text channels 2021-09-25 13:18:14 +04:00
ayntgl
a91c1a35b4 refactor: move findByMessageID() to util.go 2021-09-25 13:12:56 +04:00
ayntgl
cbfd15ade8 feat: add DM channels functionality (#58)
* feat: add DM channels functionality

* fix: remove main TreeView title
2021-09-25 12:52:15 +04:00
ayntgl
7ea5aab4f5 build: update tview to latest 2021-09-24 21:37:40 +04:00
ayntgl
f84c232aab Move global variables declaration to pertinent file 2021-09-24 19:16:21 +04:00
ayntgl
d6c4fbb903 fix: envelop rune r & R with Rune[*] (#55) 2021-09-24 15:57:25 +04:00
ayntgl
222a1c09f0 Merge config package into main 2021-09-24 14:08:58 +04:00
ayntgl
bd86ce14f7 Mark discordo-git AUR package as unofficial 2021-09-24 12:08:43 +04:00
ayntgl
6140d67250 Create config dir if does not exist (#54)
Closes #53
2021-09-24 11:53:43 +04:00
ayntgl
e43a631950 Directly use *discordgo.Session from global state 2021-09-23 21:57:53 +04:00
ayntgl
2dde45cc95 Merge branch 'main' of https://github.com/ayntgl/discordo 2021-09-23 15:26:13 +04:00
ayntgl
4d1b0bbd84 Update git clone URL 2021-09-23 15:24:06 +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
11cb3539f6 Unexport the service constant 2021-09-21 21:42:12 +04:00
ayntgl
32254547a6 Unexport the Service constant 2021-09-21 21:41:29 +04:00
ayntgl
c858cc5c41 Segregate config.go to util package 2021-09-21 21:40:07 +04:00
ayntgl
d262054baf Implement custom keybindings (#52) 2021-09-20 22:11:41 +04:00
ayntgl
5c64b0fb8b Remove field tags from config struct for consistency (#51) 2021-09-20 20:04:18 +04:00
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