Releases: Bios-Marcel/cordless
2020-11-22
Rest in piece cordless
2020-10-24
c8868f0 Bump cordless versionnumber to version 2020-10-24
f721c4a Release script doesn't attempt pushing scoop package file anymore
7a0b89a Add scoop json to git ignore
acb148b remove scoop json from repository
a4c7af0 Selected node in treeview now preserves color on Non-Vtxxx terminals
e05ac94 Add missing test util method to bottombar
8e361fd Remove potentially unnecessary QueueUpdateDraw
a512146 Selection in treeviews was displayed incorrectly. It now uses Reverse only
dbe352c Userlist wasn't focusable in DMs
7502b76 Remove useless Window#ForceRedraw calls
52ee681 Update to tcell v2.0.0 (#358)
62946ab Attempt 2 at enabling UTF8 by default on new WT
f05eccf UTF8 should now be enabled by default in the new windows terminal
743b358 Channels weren't correctly marked as read when other clients read a message and cordless crashed when no channel was selected
0ff0f3e Fixes #246
315eda9 Improve user tree usage
78e4d6c Remove unnecessary forcedraw from RefreshLayout
7c46594 Fix bug, where announcement channels wouldn't have a chatheader
601c232 Update changelog
835aaa6 Move code used for sending a file from a file URI into discordutil
49ef544 Add tab/backtab to dialogs shown by window.go
5a22b33 Improve docs in discordutil.GetPrivateChannelName and split method into tview specific and unspecific one
d9d8cff Remove debug code to show a dialog from master
113fb9e command output in baremode doesn't have left and right borders anymore
767d19a Readstate now treats temporarily muted correctly
83c0ee7 Buttons now return event nil when the default events are handled
6bef24a Update gitignore
562a7ae Improve editor event handling
88629aa Mention indicator now properly removed on guilds
7be90c4 Fixes several focus issues
1485a88 Focus and key handling changed
1bd0717 Chatview is now a bit more generous with memory to avoid multiple allocations
852b98c Update changelog
1ac2aef IsCursorInsideBlock is now a bit less wasteful
2a3d783 Guild leaving / deleting didn't clean up properly
6eab4ff Improve some inline-docs and replace some loops with tviewutil.GetNodeByReference
4310b8e Make ChannelTree methods only available for ChannelTree struct
f1d56c0 Channel names weren't escaped
8cfac95 Mention indicator wasn't removed when loading other channel
a4980f0 Fixed inability to jump to mentioned channel by name
265c001 VTxxx check not part of utils and Prefixes for TreeNodes improved
e1276b0 Fixed potential deadlock during channel loading
dcab2d1 Add new method for opening direct message
7e60fe6 Refactor channel loading
34783d3 Introduce workaround for panic caused by the commit that removed node references from the window struct
0f4e1b1 Simplify and comment message.go#LoadMessages
2bfe344 Improve docs on message loader and supplier
159d9d1 Improve docs for JS engine slightly
75a9dea Remove tview.TreeNode references from ui/window.go
9bffea0 Focus refactor (#354)
7b8bd77 Add snap deprecation to bug issue template
fa7f634 Duplicated download function has been moved to local variable
5247123 Add mark as read for categories
6c4ee30 Last commit broke file downloading completly.
d8830f9 Delete logger output that slipped into commit
47f3bf8 Fixes #352
0e0052f Refactor some code and update changelog
6927e36 Allow creating DMs
939d35f Fixes #347
538a786 Add another safeguard to avoid unnecessarily sending read states to discord when hitting ctrl+r
8e750b6 Filepaths in a message are now resolved and sent as a file
e750fc5 Update changelog
b1d1f4d Add Ctrl+R to mark channels or guilds as unread
a299c1e Login screen now uses the exit application shortcut instead of CtrlC
07249c0 Log parameter can now be left empty
ea5a2ce Add --log option to add a logfile
b5c8f4a Add nullcheck to session after login attempt
9cf2252 Mentions are now displayed in the guildlist
fe49d6c Fixed bug that didn't allow to do @everyone
542973e Config loading error was checked too late
1f58c5f Fixes 240
6b07206 Fixes #260
dc6f73f Add top padding to shortcut description in shortcuts dialog
59842d1 Rid everything of snap
ea2a040 Improve docs and coverage of GenerateQuote
1770f61 Cancelling with folders involved, but withour -r flag didn't work
21a93cb Improve bugreport template.
77c29d2 Remove already completed TODO
c66351b Updated / Added some comments
c84561e Add simple test for bottombar
1a80834 Bottombar now more abstract and thread-safe
b704c91 Fix #335
710475b focus shifting shortcuts are now configurable
2871c80 Add new aliases for file-send
b2fb05d Change build instructions to a more manual but less errorprone approach. Fixes #333
b527ab8 Remove unused fields and functions
e0a10a6 Update changelog
7a55188 Fix #332
ecd18e3 Split handleNotifications into isElligible and handle
5c3523a Notifications for blocked users don't show anymore. Fixes #331
2143a56 Prevent unnecessary spawning of go-routines on message create and delete events too.
6d20e69 Fix potentially incorrect chat view locking on message edit events and prevent unnecessary spawning of go-routines.
52c2bee Already rendered messages that contain a link will not disappear anymore.
8210a69 Added chat seperator between Message Author and Message Body (#330)
b44cb95 Improve build-instructions; Adresses #326
e483d9e Remove unnecessarily drawn space between items in bottombar
485759f Correct snap config home for cordless
2020-08-30
24aad07 Bump scoop package to version 2020-08-30
e726adc Bump cordless versionnumber to version 2020-08-30
ffad926 I yet again give up on multiarch snaps
d6173a2 Downgrade chroma, as the update introduced breaking changes.
f9b5a90 Update changelog
f26b0c7 Replace bottombar with custom component
272e29f Remove code that keeps transparent background from working
7b0261d Tidy modules file
584da37 Correctly call tviewutil.Escape insteadof tview.Escape. Attempt fixing #270
2395489 Move ensureDirectory into files-util
975087a Files can now be downloaded with the d key by default.
f913359 Loading the last unread guildchannel will now correctly reduce the unread guilds count
93b7a99 The overall nbumber of unread private chats are now updated insantly when loading a private chat
a4aa027 There's now a --account parameter to define which account to access on startup
4b87476 flags for setting files and dirs aren't ignored anymore when opening the shortcut dialog directly
1632296 Merge branch 'file_open'
da96c18 Commandview now hides when entering baremode
cf6c750 Borders on message input in baremode now show on all sides, as it's cleaner and more obvious where the focus is.
cf3c172 Update go.sum
b1aeca4 Baremode now shows the editor as well
7b08c0a Mouse is now disabled by default
c1b1c94 Box borders left and right are now drawn on components of height one
ef11579 Boxes now have getters for seperate for all border sides
d6ae703 Update changelog
64c7d65 Don't ignore embed-only message edits anymore
5d95995 window.currentContainer has been removed
a6bbe74 Tview application now has a GetRoot function
85d0125 Retructure some code
14530d9 Refactor emojiSequenceInexes
7b06668 Fixes #311
5743641 Extend documentation regarding configuration parameters
38c085d Update readme
2e28bcb Add catch-all handler for not further specified extensions.
c015266 More improvements to fileopening
4db341e More improvements to file-open
c19ca4a Remove some useless stuff from the readme.
95ccf56 Add seperate logout command that account-logout now links to
ee0d80d Make nicknames optional.
a764153 Add friend as alias to friends
12677f5 Add Dockerfile for building a Docker image
06de47a Whitespace
ee1d67b Use my secret 6th brain cell to configure colors correctly
28f2ec8 Use configured Theme AttentionColor for highlighted account
1a55906 Highlight current account(s) in account list
7ca5424 openFile now accesses cache.
98fe7d4 Initial version of improved file opening
8d4271a Snaps should now be released for amd64, armhf and arm64
58abe84 Fixes #321
2020-08-11
22a929d Bump scoop package to version 2020-08-11
752e2d7 Bump cordless versionnumber to version 2020-08-11
579390a Update Changelog
e762c3c Remove donation information. I don't want money anymore :P
4161b59 Welp, no snap builds for now
1f5f4f2 Fixes #316
84fe3d8 Fix changelog typo
d5e2ea8 Fix typo in README.md
c1cfe87 Forgot adding a file for the previous commit
4982cff Usernames can now be displayed with their respective role colors
8644c42 Update go-runewidth
51f997c Update friends.go
9251a98 Update changelog
def0b5e Update demo screenshot
147d368 Delete unused femto code
4baa681 Avoid flickering and switching multiple times when clicking guild list or dms
60ebb55 Merge tview and femto into cordless, keeping their respective license
9561446 Instead of lowercasing before string comparison, use equal fold
2a1f100 Format
3a350a9 Fix small bugs, replace deprecated usages and sort imports
98dac29 Fix shitload of typos
1053bad Replace deprectaed flag in HasReadMessagesPermission
ebc3acc Reduce chance of false positive in regarding read-states
21d97bc Notifications will now show up more often
f87909f Correctly refresh user active state on shortcut input
bd9a9b0 fix typo
8126205 The header rows of the DMs and Servers now display amount of notifications. 'Show PMs/Guilds' button is now gone, instead the containers are always visible and clickable
d7ba175 Simplify readme a bit
4814445 Embeds are now rendered with whatever color was set for the embed.
2e84241 Fix some typos
ec06d55 No arm builds for now, snapcraft borked
16832ad Update changelog
036bd2a Lazy boost message impl
e08c936 Simplify some code
daa4e6a We can now render embeds! Fixes #124
bde6b16 Remove free-bsd build task
88e8f3a Add info about GO111MODULE env var for self-compiling
4466847 Fix link to wiki for tokens
e8c3ce6 Remove default shortcuts for focusing command input and output
4a96fbe add windows binaries to gitignore
197da26 Update Bug_report.md
5400106 Fix Architecture typo / add Go version to OS info
1758faf Update discordgo. Fixes #292
a6f74d2 Update changelog
2020-06-26
f4debc5 Bump scoop package to version 2020-06-26
1ceb19b Bump cordless versionnumber to version 2020-06-26
bce74ea Snaps should now be released for amd64, armhf and arm64
8a40e27 Make sure links are only shortened if they'd actually turn out shorter
a50b1b5 Messages in edit mode can now be cycled through
5391a14 fix #289 (#290)
e480521 Reduce intents for bots by default. Fixes #288
1d189dc Extend changelog
7c33aad Add the extension to shortened urls (#283)
2aa46bd Fix typo
1595ef2 Fix the message deletion shortcut
142f7ca Update discordgo
f7ad359 Add command to create a server
53be27a Trying to leave a server you own now shows a properly formed error instead.
3b764ac Make image viewer user-configurable
6382137 Add image viewing
83711a4 Spoiler keyboard shortcut wasn't customizable
ea536bf The chatview now initially shows a welcome text that includes information about the current version and shows changelogs
d2ee2c2 The chatview ininitially shows a changelog now.
7c149ea Fix syntax of some man pages
ab585ec Manual command now searches contents of other pages if no direct match was found
67fa07b Update tcell, tview and femto
f5c1134 Update github library
415201d Update discordgo
fce7446 Snap releases are now for arm and amd64
13cea08 Code for color was part of the documentation plaintext
34203c9 Help of version command printed to stdout instead of commandview
e17148e Fix custom emojis not being usable by nitro users
4a8ab2a Using the tfa command with a space between the main and subcommand caused a panic
f580546 Small cleanup
74845bd Reorder topics and rewrite some stuff to make it more straightforward
0f3468c Now properly returning nil when appropriate.
0f7c12c Config dir is now created on first run.
ee3ba51 Fixed a simple spelling mistake
8f48699 Committer: drunkfromcoffee drunkfromcoffee@acer On branch fix-typo Changes to be committed: modified: user.go
7ae9d64 Bump cordless versionnumber to version 2020-01-05
bc5e2ef Bump scoop package to version 2020-01-05
03c2faa Merge branch 'BigHeadGeorge-custom-status' into dev
629cf25 Merge branch 'custom-status' of git://github.com/BigHeadGeorge/cordless into BigHeadGeorge-custom-status
5bd409e small go vet fix
0c68c6e show custom status with status-get
cd9180d let discordgo handle custom status updating
6d2e2d6 omit expire time by default in status-set-custom
a552821 fix expiry time in status-set-custom
cd16f09 add custom status command
7b26748 Update to VT320 ready femto
3e7f8cd Update to femto without syntax highlighting
0ea7487 Builds now use go 1.13
f01d32b Update to new tview
0b2f2cd DEC VT dumb terminals support
f85773f Update femto
5acc591 Update README.md
fc02381 Quoted messages now contain attachment URLs
30c908c Add windows binaries for x86 for both scoop and github releases. Fixes #216
439b56a Implement Ctrl-W for deleting word left. Fixes #225
fcb4fe8 Announcement channels are now added to the tree.
7cf81de Move profiling util into debug main file
c790d12 Badges now take less space and have a customized look
dbfbebe usertree now lazy
4b03562 fixes #189 (#201)
755f269 Fixes #221
69cbd49 Prevent unnecessarily caching usercolors if randomcolors are disabled or there are not more than one color
bbaff56 Remove unnecessary paranthesis when getting user colors
7fee6bf Add initilization function
a26fbf9 Fixes #218
5362f22 Improve build instructions
1129661 There's now an additional space between the autocompleted value and the cursor
6140445 Autocompleting has been completly rewritten.
4719b5d Update dependencies
e7f1233 Bump scoop package to version 2019-11-19
8495ddf Bump cordless versionnumber to version 2019-11-19
9e15fd3 Update goclipimg again
c69c0fa Update build notes[skip ci]
af73815 Tidy go.mod and update goclipimg. It now supports wayland
9d2b296 change cli focus input shortcut to ctrl-t
aba80ae Remove github workflows, I ain't paying for that ;) [skip ci]
df741fa Generation of TOTP secret now uses crypto/rand instead of math/rand and is unit-tested
7334b3a Fix crash when adding message to empty chat and Reprint now uses stringbuilder
490aa90 Make chatView#refreshSelectionAndScrollToSelection more concise
af54fbe Preallocate messages array on SetMessages
773acd4 Add some comments to some stuff in window.go [skip ci]
83b43c2 Implement Bare mode on Ctrl+B by default. Fixes #213
62a678e Update tview
16737f5 Make bottombar optional and enabled by default
93bbf71 * Shortcut dialog now opened on Ctrl+K, since the previous shortcut didn't always work * Helpbar at the bottom that shows active user and how to open shortcuts dialog
b8ae382 Remove config.GetConfig()
0b81e64 Write tests for custom duration
90b0cf8 Add marshallable duration
744916e Editor#SetText now upts cursor to the end
d05f8c2 Fix crash due to SetText not refreshing the cursor and the selection.
ab61716 Mention handler cleared commandview output for some reason
eac44cf * Editor#applyBuffer could throw panic due to the fact that select all didn't move the cursor correctly * New methods and shortcuts: * MoveCursorToStartOfLine * MoveCursorToEndOfLine * MoveCursorToStartOfText * MoveCursorToEndOfText * SelectToStartOfLine * SelectToEndOfLine * SelectToEndOfText * SelectToEndOfText
e464ff2 Editor#applyBuffer now does tview escaping
9339207 Pasting now causes a height request check
ed2394a Completly revamped the editor.
72959f8 Usage of the JS-Scripting engine in ui/window is now implementation agnostic
f9a93fa Move FindEmojiInGuild into util file
2f94520 Rename findMatchInGuild to findEmojiInGuild
87ae580 Remove print statement that i forgot [skip ci]
ee67452 gofmt -s the whole project [skip ci]
ac2de80 Token validation is now performed by attempting to make a socket connection
44cdca9 Fix #208
f46cb3a Unit tests for custom emoji rendering were incorrect
f499ccf Make emoji code parsing more lax
128d7f1 Add spaces in around custom emoji URL in order to allow easy parsing by terminals
cad3ff1 emoji sequence finder didn't support emojis with underscores
0dfcfd8 Update user-set doc. info for new-password parameter was incorrect
573a6a9 Update README.md
9a6353a Update README.md
1c48735 Custom emoji's are now rendered in markdown link format
7a6f1f4 Improve documentation and fix typos
f097db5 Add unit test for parsing potential indexes of emoji sequences
b6ab5b4 For sending messages, the emoji parsing doesn't use regex anymore and custom emojis and normal emojis are handled together. #Fixes 197
ebde7f8 Increase QR-Code quiet zone to 2
a3388f3 enable arrow key navigation of login input fields (#198)
915b77f Instructions now also contain the 2FA secret for manual entry
de72ca5 totp url doesn't have unncessary Discord:
in front of the mail anymore
42c088b QR-Code now also works on lighttheme.
7b11eda 2FA secret now seeds random to dupes
5ae7ab9 Render custom emojim as links
545f7d8 Server parent command doesn't duplicate aliases anymore
80a8976 TFA commands now have a parent command and documentation
8d6bb47 MFA state now correctly initialized
da93570 TFA-Disable didn't work, as it used an incorrect MFA-Check
602b84f * Implement enabling / disabling of two factor authentication * Implement retrieval / resetting of two factor authentication
97a3b31 Tokeninput wasn't masked in token login.
0462fb2 Fix incorrect size of layout component in login
91b065c Fix small typos in command docs
1627ddf Remove login button, it was buggy anyway and who needs buttons.
c207d6c Write test for user#IsBlocked
e3012a3 Seperate IsChannelMuted into seperate methods for private and guild channels. IsChannelMute
is now only used internally.
04982e9 Remove unnecessary dummy lookup for validatin the session when logging in using email and password
982d7f2 Strip 2fa code from spaces
6eabf2c Add support for mail / password login including 2fa support.
79dd3af Fix typo [skip ci]
1701b8d * Move non-GUI code of sendMessageAsFile
into message.go * Move non-GUI / offline code of insertQuoteOfMessage
into message.go and write unit test
6d67c34 * Move shortcut dialog into util class * Add parameter shortcut-dialog
for opening the shortcut-dialog directly
30325ba Nick-set now allows to clear the nickname
c8ce5fa Update README.md
6020a4c Update README.md
84a49e4 channel loading has been moved into utility object
f8c4dca Nick set now trims spaces and resolves emoji codes
379892e user-set now resolves emojis
2020-01-05
058d48b Bump scoop package to version 2020-01-05
695131d Bump cordless versionnumber to version 2020-01-05
7b26748 Update to VT320 ready femto
3e7f8cd Update to femto without syntax highlighting
0ea7487 Builds now use go 1.13
f01d32b Update to new tview
0b2f2cd DEC VT dumb terminals support
f85773f Update femto
5acc591 Update README.md
fc02381 Quoted messages now contain attachment URLs
30c908c Add windows binaries for x86 for both scoop and github releases. Fixes #216
439b56a Implement Ctrl-W for deleting word left. Fixes #225
fcb4fe8 Announcement channels are now added to the tree.
7cf81de Move profiling util into debug main file
c790d12 Badges now take less space and have a customized look
dbfbebe usertree now lazy
4b03562 fixes #189 (#201)
755f269 Fixes #221
69cbd49 Prevent unnecessarily caching usercolors if randomcolors are disabled or there are not more than one color
bbaff56 Remove unnecessary paranthesis when getting user colors
7fee6bf Add initilization function
a26fbf9 Fixes #218
5362f22 Improve build instructions
1129661 There's now an additional space between the autocompleted value and the cursor
6140445 Autocompleting has been completly rewritten.
4719b5d Update dependencies
e7f1233 Bump scoop package to version 2019-11-19
8495ddf Bump cordless versionnumber to version 2019-11-19
9e15fd3 Update goclipimg again
c69c0fa Update build notes[skip ci]
af73815 Tidy go.mod and update goclipimg. It now supports wayland
9d2b296 change cli focus input shortcut to ctrl-t
aba80ae Remove github workflows, I ain't paying for that ;) [skip ci]
df741fa Generation of TOTP secret now uses crypto/rand instead of math/rand and is unit-tested
7334b3a Fix crash when adding message to empty chat and Reprint now uses stringbuilder
490aa90 Make chatView#refreshSelectionAndScrollToSelection more concise
af54fbe Preallocate messages array on SetMessages
773acd4 Add some comments to some stuff in window.go [skip ci]
83b43c2 Implement Bare mode on Ctrl+B by default. Fixes #213
62a678e Update tview
16737f5 Make bottombar optional and enabled by default
93bbf71 * Shortcut dialog now opened on Ctrl+K, since the previous shortcut didn't always work * Helpbar at the bottom that shows active user and how to open shortcuts dialog
b8ae382 Remove config.GetConfig()
0b81e64 Write tests for custom duration
90b0cf8 Add marshallable duration
744916e Editor#SetText now upts cursor to the end
d05f8c2 Fix crash due to SetText not refreshing the cursor and the selection.
ab61716 Mention handler cleared commandview output for some reason
eac44cf * Editor#applyBuffer could throw panic due to the fact that select all didn't move the cursor correctly * New methods and shortcuts: * MoveCursorToStartOfLine * MoveCursorToEndOfLine * MoveCursorToStartOfText * MoveCursorToEndOfText * SelectToStartOfLine * SelectToEndOfLine * SelectToEndOfText * SelectToEndOfText
e464ff2 Editor#applyBuffer now does tview escaping
9339207 Pasting now causes a height request check
ed2394a Completly revamped the editor.
72959f8 Usage of the JS-Scripting engine in ui/window is now implementation agnostic
f9a93fa Move FindEmojiInGuild into util file
2f94520 Rename findMatchInGuild to findEmojiInGuild
87ae580 Remove print statement that i forgot [skip ci]
ee67452 gofmt -s the whole project [skip ci]
ac2de80 Token validation is now performed by attempting to make a socket connection
44cdca9 Fix #208
f46cb3a Unit tests for custom emoji rendering were incorrect
f499ccf Make emoji code parsing more lax
128d7f1 Add spaces in around custom emoji URL in order to allow easy parsing by terminals
cad3ff1 emoji sequence finder didn't support emojis with underscores
0dfcfd8 Update user-set doc. info for new-password parameter was incorrect
573a6a9 Update README.md
9a6353a Update README.md
1c48735 Custom emoji's are now rendered in markdown link format
7a6f1f4 Improve documentation and fix typos
f097db5 Add unit test for parsing potential indexes of emoji sequences
b6ab5b4 For sending messages, the emoji parsing doesn't use regex anymore and custom emojis and normal emojis are handled together. #Fixes 197
ebde7f8 Increase QR-Code quiet zone to 2
a3388f3 enable arrow key navigation of login input fields (#198)
915b77f Instructions now also contain the 2FA secret for manual entry
de72ca5 totp url doesn't have unncessary Discord:
in front of the mail anymore
42c088b QR-Code now also works on lighttheme.
7b11eda 2FA secret now seeds random to dupes
5ae7ab9 Render custom emojim as links
545f7d8 Server parent command doesn't duplicate aliases anymore
80a8976 TFA commands now have a parent command and documentation
8d6bb47 MFA state now correctly initialized
da93570 TFA-Disable didn't work, as it used an incorrect MFA-Check
602b84f * Implement enabling / disabling of two factor authentication * Implement retrieval / resetting of two factor authentication
97a3b31 Tokeninput wasn't masked in token login.
0462fb2 Fix incorrect size of layout component in login
91b065c Fix small typos in command docs
1627ddf Remove login button, it was buggy anyway and who needs buttons.
c207d6c Write test for user#IsBlocked
e3012a3 Seperate IsChannelMuted into seperate methods for private and guild channels. IsChannelMute
is now only used internally.
04982e9 Remove unnecessary dummy lookup for validatin the session when logging in using email and password
982d7f2 Strip 2fa code from spaces
6eabf2c Add support for mail / password login including 2fa support.
79dd3af Fix typo [skip ci]
1701b8d * Move non-GUI code of sendMessageAsFile
into message.go * Move non-GUI / offline code of insertQuoteOfMessage
into message.go and write unit test
6d67c34 * Move shortcut dialog into util class * Add parameter shortcut-dialog
for opening the shortcut-dialog directly
30325ba Nick-set now allows to clear the nickname
c8ce5fa Update README.md
6020a4c Update README.md
84a49e4 channel loading has been moved into utility object
f8c4dca Nick set now trims spaces and resolves emoji codes
379892e user-set now resolves emojis
2019-11-19
6b3fdb3 Bump scoop package to version 2019-11-19
6bd2c99 Bump cordless versionnumber to version 2019-11-19
9e15fd3 Update goclipimg again
c69c0fa Update build notes[skip ci]
af73815 Tidy go.mod and update goclipimg. It now supports wayland
9d2b296 change cli focus input shortcut to ctrl-t
aba80ae Remove github workflows, I ain't paying for that ;) [skip ci]
df741fa Generation of TOTP secret now uses crypto/rand instead of math/rand and is unit-tested
7334b3a Fix crash when adding message to empty chat and Reprint now uses stringbuilder
490aa90 Make chatView#refreshSelectionAndScrollToSelection more concise
af54fbe Preallocate messages array on SetMessages
773acd4 Add some comments to some stuff in window.go [skip ci]
83b43c2 Implement Bare mode on Ctrl+B by default. Fixes #213
62a678e Update tview
16737f5 Make bottombar optional and enabled by default
93bbf71 * Shortcut dialog now opened on Ctrl+K, since the previous shortcut didn't always work * Helpbar at the bottom that shows active user and how to open shortcuts dialog
b8ae382 Remove config.GetConfig()
0b81e64 Write tests for custom duration
90b0cf8 Add marshallable duration
744916e Editor#SetText now upts cursor to the end
d05f8c2 Fix crash due to SetText not refreshing the cursor and the selection.
ab61716 Mention handler cleared commandview output for some reason
eac44cf * Editor#applyBuffer could throw panic due to the fact that select all didn't move the cursor correctly * New methods and shortcuts: * MoveCursorToStartOfLine * MoveCursorToEndOfLine * MoveCursorToStartOfText * MoveCursorToEndOfText * SelectToStartOfLine * SelectToEndOfLine * SelectToEndOfText * SelectToEndOfText
e464ff2 Editor#applyBuffer now does tview escaping
9339207 Pasting now causes a height request check
ed2394a Completly revamped the editor.
72959f8 Usage of the JS-Scripting engine in ui/window is now implementation agnostic
f9a93fa Move FindEmojiInGuild into util file
2f94520 Rename findMatchInGuild to findEmojiInGuild
87ae580 Remove print statement that i forgot [skip ci]
ee67452 gofmt -s the whole project [skip ci]
ac2de80 Token validation is now performed by attempting to make a socket connection
44cdca9 Fix #208
f46cb3a Unit tests for custom emoji rendering were incorrect
f499ccf Make emoji code parsing more lax
128d7f1 Add spaces in around custom emoji URL in order to allow easy parsing by terminals
cad3ff1 emoji sequence finder didn't support emojis with underscores
0dfcfd8 Update user-set doc. info for new-password parameter was incorrect
573a6a9 Update README.md
9a6353a Update README.md
1c48735 Custom emoji's are now rendered in markdown link format
7a6f1f4 Improve documentation and fix typos
f097db5 Add unit test for parsing potential indexes of emoji sequences
b6ab5b4 For sending messages, the emoji parsing doesn't use regex anymore and custom emojis and normal emojis are handled together. #Fixes 197
ebde7f8 Increase QR-Code quiet zone to 2
a3388f3 enable arrow key navigation of login input fields (#198)
915b77f Instructions now also contain the 2FA secret for manual entry
de72ca5 totp url doesn't have unncessary Discord:
in front of the mail anymore
42c088b QR-Code now also works on lighttheme.
7b11eda 2FA secret now seeds random to dupes
5ae7ab9 Render custom emojim as links
545f7d8 Server parent command doesn't duplicate aliases anymore
80a8976 TFA commands now have a parent command and documentation
8d6bb47 MFA state now correctly initialized
da93570 TFA-Disable didn't work, as it used an incorrect MFA-Check
602b84f * Implement enabling / disabling of two factor authentication * Implement retrieval / resetting of two factor authentication
97a3b31 Tokeninput wasn't masked in token login.
0462fb2 Fix incorrect size of layout component in login
91b065c Fix small typos in command docs
1627ddf Remove login button, it was buggy anyway and who needs buttons.
c207d6c Write test for user#IsBlocked
e3012a3 Seperate IsChannelMuted into seperate methods for private and guild channels. IsChannelMute
is now only used internally.
04982e9 Remove unnecessary dummy lookup for validatin the session when logging in using email and password
982d7f2 Strip 2fa code from spaces
6eabf2c Add support for mail / password login including 2fa support.
79dd3af Fix typo [skip ci]
1701b8d * Move non-GUI code of sendMessageAsFile
into message.go * Move non-GUI / offline code of insertQuoteOfMessage
into message.go and write unit test
6d67c34 * Move shortcut dialog into util class * Add parameter shortcut-dialog
for opening the shortcut-dialog directly
30325ba Nick-set now allows to clear the nickname
c8ce5fa Update README.md
6020a4c Update README.md
84a49e4 channel loading has been moved into utility object
f8c4dca Nick set now trims spaces and resolves emoji codes
379892e user-set now resolves emojis
2019-10-27
3a75f31 Bump scoop package to version 2019-10-27
05a2a92 Bump cordless versionnumber to version 2019-10-27
bb7b39e The rendering on windows should be much more pleasant now. You can go back to UTF-8 support by adding --disable-UTF8=false to your CLI paramters
c6bd8fc Too long textmessages can now be sent as a file instead
c555e36 Avoid chatview unnecessarily reprinting
f9c061a Javascript engine now uses locking and avoids unnecessary duplicated calls to otto-vms. Fixes #190
45505f8 Add OnMessageEdit to JS API
06805b4 Fix bug that caused messages sent while a channel wasn't loaded yet to be lost
133ea49 Forgot commiting the interfacing file
225cdf2 Add halfassed implementation of nick-set command
36ff4ad Fix typo in user-set docs
0b63c07 Cache is now accessed less often and not being cleared every time a message is received
c40900b Refer readme part for extensions to wiki [skip ci]
e2d270f Make printToConsole JS function use fmt.print instead of log.print
42d3d58 Extended the scripting interface. Fixes #153
df6fa53 Small style fix with gofmt.
28a7b83 Add paste on Ctrl+V for login. Fixes #187
4dc51d2 Update tview
7069da8 Rename updateHighlights to something more sensicall
a3f057d Fix bug that bot accounts don't have a guild selected initially. THis was due to the fact that guilds on bots are loaded lazy
2a84b58 Adds padlock as channel prefix to text channels with denied read permission on the everyone group (#185)
ec86960 Forgot to commit go.sum and ui/window.go when moving maths package
788268b * day delimtier is now always the full width of the chatview
afde249 Move math utils into utils folder
7361e25 Add tests for times.AreDatesTheSameDay
5c05ec5 Simplify ReturnDateDelimiter
d63aca9 Rename compare message dates to a more correct name; The method isn't message related anyway.
575c54f Improve login message a bit
57ffa7b ChatView Day delimiters between chats (#181)
9c61021 Added masking to token input (#183)
c856f74 switch account won't clear the token anymore if a nonexistent account is supplied
191be85 Add util method to commands file that prints an error in a specific format
2019-10-13
50e0ae3 Bump scoop package to version 2019-10-13
ed899ca Bump cordless versionnumber to version 2019-10-13
40e493c Fix deadlocks when swapping the channel and receiving a message at the same time
1e4ae10 Fix typo [skip ci]
34a7383 fix unit tests; windows spits out backward slashes
05be497 You can now add friends that aren't in your cache by using username#discriminator
6ee05ba File send uses file utility now. Fixes #180
017f5e1 Add file utility:
da72f30 JS Engines OnMessageSend is now evaluated in prepareMessage before almost everything else
c9495b4 Write tests for version checks
c1c0a71 Fix releasescript, the version numbers were given incorrectly
370ae19 Add test for escaping certain markup characters
ffa7c92 Prevent chat input from growing too big and use half of the message container as the max height
f0f8855 dont ignore brew file before update anymore, since it doesn't matter and is error prone [skip ci]
2019-10-12
9750d37 Bump cordless versionnumber to version 2019-10-12
87b7b0a Bump scoop package to version 2019-10-12
125974b Remove escape cahracter from quoted backticks
85752e7 Update tview and enable overflow indicators on all containers
f2216ea Fixes #162
97b9068 Synchronize the QueueUpdateDraw calls where locking was required. Fixes #175
c2d37d2 Fix small typo [skip ci]
b1c8fad Fix #171
b08bcf0 Preallocate array for Recipients in private channels
dbb13fa The NSFW icon of channels is now not part of the node text anymore. Therefore you can now jump to nsfw channels by typing again.
bc9aa9f Update tview
02fa70f * Update discordgo in order to be able to access Nitro-State * Nitro users can now send any custom emoji * Non-nitro users can now send all local custom emojis and all GW ones
419315b Fixed bug with MoveCursorToIndex.
6d765cb Made a work-around for selection char.
87b3f2c Fixed an edge case fuzzy matching bug.
183b5ae Fix small typo [skip ci]
30ae4cb Ensuring index of cursor is properly bounded.
8bebf29 Mention results only search from the @ symbol to the cursor.
3afd623 Fixed mention results order bug.
3d1afdf Changed mention results sorting.
01a0201 Fixed a bug with excess letters not invalidating search queries.
da4c8f2 Nicknames are converted into proper mention strings when selected.
ad067dd Searching is case-insensitive unless capital letters are used.
86abfda Alphabetic sorting now ignores cases.
d2c8529 Increased fuzzy accuracy.
5f8662a Username and nicknames are now both displayed.
f8e74cf Add docs for message.go [skip ci]
eeaa955 Fixes #166
ef30c11 Fixes pr #167
3c1df50 Fixes #130
83b8533 Fix crash when receiving a message if no guild is selected
2a0a45a gofmt -s version template [skip ci]
87f2c6c gofmt -s all code
9fb71f9 Format code and remove unreachable break statement
5895df1 Remove unnecessary rerender on relationship removes in case the relationship can't be found in the UI
13be374 Cleanup message receive code in order to make it more concise and faster
be67e5a Add dialog that notifies you if an update is available. Fixes #76
a4f91fd Update tview and tcell