Releases: Bios-Marcel/cordless
2019-10-05
b20744e Bump cordless versionnumber to version 2019-10-05
bc8263e Bump scoop package to version 2019-10-05
efdf9d1 Add automating bumping of cordless versionnumber to release file.
196e01f Adds version information to cordless.
0dddacf Shorten build information at top in vertical height
13d8ea6 Hide friends node on bot accounts. Addresses #148
39d1d91 Restrict some commands to human accounts only .
c14a816 Implement new login
a25c471 Solve #143
1f7a871 Polish readme and add credits for free JetBrains licenses
13c90cf * Guild names in the guildtree are now being escaped * Guilds that are incomplete are ignored and later on added by GuildCreate events
1483264 Add utility method that allows using hex strings
8d78c8b Most elements in cordless are now themeable
b557414 The random user colors are now configurable
6955fcf Color tests now use rgb colors, instead of predefined ones.
208eaef * New Theme values for errors and things that require attention * ran gofmt -s on all code
7436e90 Update documentation for file-send
193c1a0 Private chats component now uses the theme specified color for text
f4f4a3b Chatview and ChannelTree now use the textcolor specified in the theme
2ab9fd0 ChannelFollowAdd messages will now be rendered correctly
c96e814 Update discordgo
7692e2e Remove section about pre-built binaries [skip ci]
fc8a30f * Private channels aren't displayed as unread anymore if muted * Tiny optimization to avoid running code on the TUI thread unnecessarily on incomming messages for muted channels
f8b0df7 Fix typo for messages that can't be rendered
8f7cc8a Race condition testing doesn't seem to work on windows currently
30c4fce Adjust all CI service files to run tests using the race flag
ed86908 LoadGuilds from the guild util class is now tested using a mocked guildLoader
2009f75 Write tests for IsBlocked
7d50a23 Add tests for role sorting
d8625a3 Role sorting now preserves sorting if role not found
2019-08-29
5c01475 Bump scoop package to version 2019-08-29
c9282ce * Fix nullpointer when a guild is deleted while you haven't loaded any guild * previosuguild- / channelstate is now reset when the previous guild / channel is deleted * all UI state is now reset if the current guild / channel gets deleted
1d72e59 README: Correct the wording of how to handle Bot tokens
5a19e4a Fixed a bug where selecting the same channel twice was overriding the previous channel.
0c47c48 Fixed error that caused not being able to see the logutput if the window creation fails
8986e6e Remove ability to toggle the chatheader
b655308 Set version of shortnotforlong to 1.0.0
485d4be Refactor the server command to comply with the new command behaviour and documentation format
a764579 Rewrite all topic documentation pages
cfcc6ae Change default for ShowPlaceholderForBlockedMEssages to true
e51d5ee Manual now converts multiple args into args connected with dashes.
1141491 Revert "Mention result ordering (#128)"
9577992 Revert "Fixed a bug with duplicate identifiers."
2cb9cd0 Revert "Tiny performance gains by preallocating arrays"
543833f Comment history index related stuff
5996614 The commandview now has a welcoem message suggesting to run the man command.
dcbed80 Update manpage for the manual command
786ad66 Make prefix of codeblock optional and write regression test
ae4e383 Simplify formatMessageAuthor
0920fe9 Update discordgo
29656bc Remove unused parameter from insertNewLineAtCursor
44f013e Add more tests for codeblocks and spoilers
464230f Tiny performance gains by preallocating arrays
220ac83 Optimize field alignment of ShortcutDataRepresentation
e101c02 Fix subsequent codeblock rendering and remove unnecessary logger output
a83c346 Stop trimming whitespace around codeblocks
81890d3 No more analysing of codeblocks without a language specification
1ac9dd6 Run go mod tidy
7eec841 Release script now cleans up snap.
6efe061 The identifier and names of the shortcuts were flipped. Sadly this will remove all existing custom shortcuts. Sorry!
7bbf710 The newline shortcut default was incorrect, since Shift+Enter doesn't work anyway.
48912c2 Fix unnecessary trailing newlines in codeblocks and write tests for expected behaviour
c45077e Add more tests for codeblocks
f868943 Improve formatting of codeblocks and add more tests
b0a51b5 Fixed a bug with duplicate identifiers.
4aafde8 Add tests for formatMessageText. (Needs more tests still)
427648c Fix wrong task name
e0bf210 Add tests for removeTrailingWhitespaceInCode
e9e6a7c Cleaning up chatview
9babf12 ChatView now needs a discordgo.State instead of a discordgo.Session
9dbac5b Use build matrix instead of having seperate builds for every platform
62979e1 Add builds for windows and macos
0fb589b Github build workflow now uses the default working directories
a434579 Mention result ordering (#128)
339c18b fixed small errors
a38a14c Add boundcheck for command parts when executing a command. Fixes #123
c184ec5 Update bug report issue template [skip ci]
e817b51 Add demo image and remove link to outdated demo video [skip ci]
ebacb04 * Code highlighting where multiple lines use the same color code now works properly * Code blocks won't automatically have newline around them anymore, unless they are the first token in a message
9c8c12e Fix bug in mention handler that prevented mentioning someone when jumping to the beginning of a new line
ddb005e Fix crash when calling window.Shutdown on instance without the linkshortener
2019-08-10
48bffe1 Bump scoop package to version 2019-08-10
423daeb Fix #115
e63f79c Add linux build for github workflows [skip ci]
630ed31 All quotes now use UTC time.
007d94a Fixed a small bug with switching to the previous channel.
d81a481 If the editor doesn't handle an event, it's now forwarded and no unecessarily updates are being triggered
684c709 The editor now allows shortcuts like Alt+Y
0204d51 Editor now overrides selection again when typing
31b2686 Remove symlink resolve in file-send path find
389a07f Now returning nil from the input event handler.
4b90c64 Using built-in method to delete selected text.
f168c71 Pressing enter in a codeblock now deletes selected text.
961cfb9 Added shortcut for newline in a code block.
42911d4 Pressing enter inside a code block now inserts \n.
5ac9b63 Beginning implementation of newlines inside code blocks.
f0bc5f0 Last change to readmarkers caused channels with uninitialized cache to always be read
d8def0d Changed SwitchToPreviousBuffer to not handle voice or guild type channels.
a8e8fba Errors from 'ShowPreviousChannel' are now shown to the user.
901cf70 Added requested changes.
5fa31e2 Fixed a bug when holding alt+l between private and server chats.
7b1e8b0 Now checking state when switching channels/guilds.
f579ac3 Pressing alt-l switches to the previous channel.
df84cc7 HasBeenRead accidently checked for the first message in the channel instead of the last to see whether the current user sent the message or not
1be7142 Log output set to commandwindow almost at start of window creation now
89940d9 Channels now have a no one under 18 emoji instead of the text NSFW for NSFW channels, since it's shorter this way
97b2139 Add test for GetPrivateChannelName
95c57da Escape tview characters for private channel names
4e131de * The help
command has been deleted * The manual
command now has the aliases man
and help
* The commands
topic of the manual
command nwo prints all commands
0285c8a * Ctrl-C can now be rebound to any action * The editor now offers copy selection by default on Shift-Alt-C Fixes #108 * PasteAtSelection in editor can now be rebound as well
3fea485 CopySelectMessageLink shortcut didn't return nil
001bd63 Move SendMessage shortcut to other texteditor shortcuts
4e38529 Message actions are now customizable
5a1c289 * EditMessage and SendMessage now queue an update when clearing the input editor
9f511ae Behaviour when failing to edit or send a message was changed. Instead of just not clearing the message input, you now have the choice to retry, edit or cancel.
566a2e3 Receiving new messages won't change the selection anymore
68db7fd Moved message quoting into own function
ee71792 Quote now uses the currently entered message when creating the quoting text
e52db7f Change the wording at some parts and add info about issuehunt[skip ci]
72e297a Refactor code for sending a message a little bit
4a58b8b * Commands now have aliases and a name * The help command now only lists the commands and not also their aliases. (Fixes ##106)
5e261e1 Add new feature to reset a single shortcut by hitting r
after selecting it.
d9958ee * Adding new shortcuts doesn't require manually adding them to the Shortcuts
array anymore * The defaultEvent
and the Event
of a shortcut now initially point to the same object in memory
6ee35b1 The Restore defaults
button in the shortcuts dialog is now called Restore all defaults
to avoid confusion
48ececb Updated section about installation on Arch Linux.
ace110c Cleaned up code/async calls.
98232e9 Added check for whitespace-only messages.
1e16ef3 Failing to send long messages no longer erases your message.
e440f48 Fix #105
c49c478 Fix a typo in the manual section of the chatview
4c2475e Fix a typo in the usage help of the friends command
345aed2 * Status command has been split into status-get
and status-set
* The status command now allows querying other users as well * Improve documentation for status command
adaea76 Fixed issue single-letter mention issue.
a7d2cd1 Merge branch 'master' into mention-fix
785bf11 Cleaned up existing code a bit.
dd78c70 Usernames with spaces can now be mentioned.
5691d8a Add a fixme
1fa8730 * Fix bug that prevented clearing of a shortcut * Fix crash when trying to render a cleared shortcut
1115ce5 Add missing shortcuts to shortcuts array
f728fc4 Fixed bug where mention window wasn't being hidden.
4f8b414 Fixed another mention handler issue.
76590d7 Fixed mention handler bug.
fc0503f Fixed bug where mention window wasn't being hidden.
1a12c09 Travis on Mac OS should now build with go 1.12
66b0eeb Fixed another mention handler issue.
4e22467 * Quotes now use guild nicknames if available * Quotes are now properly quoting multiline messages
a74956a Fixed mention handler bug.
67e6e06 Shorten the testcode a bit
88c9f88 Add example TUI test for channeltree.
b1f8e46 Add some tiny tests for the user utility
52e2eff Getter for random username colors was using rand/crypto instead of math/rand
0791c42 * Shortcuts of the editor are now customizable * The editor code has been simplified and user actions have been moved into single methods
408d030 The command for closing the application is now customizable. It is CtrlC by default.
532d555 Update discordgo and run go mody tidy
514c49f Fix bug where calling user command with get wouldn't work
fb434c9 userupdate.go renamed to user.go
998097b * Command doesn't have a Name
function anymore, as names are now specified external, easily allowing aliases * There's now the user
command, that allows not only read but also write user information * user-update
is now an alias for user-set
which is a subcommand of user
* Subcommands are now standalone commands that have links in normal commands * Command documentation is now a man-page like syntax * Commands can now be mapped to more than one name
cc0f74f Remove double colon behind printed commandinput
7e9cedc Clean dependencies
de1e3a7 The command input is now printed when running a command
4fbee70 Extend gitignore
2f222ff Remove donate link, got the github sponsor thingy anyway [skip ci]
e375471 Make sure HasBeenRead never returns false when you sent the last message
b7d632d Notifications in future snap packages will now work. Fixes #56
2019-07-17
39f8aa1 Bump scoop package to version 2019-07-17
195c5e1 Snapcraft clean syntax has changed
b113844 Snap now uses go 1.12
f5f37d5 Notifications now show an error if they cant be shown
c71fe44 Guild updates will cause to refresh the name in the GUI now.
965fb9f Guild Creates/removes will now trigger updates in the UI.
080173e Add ability to leave servers
c80fd9c New server
command that allows joining a server
0a625ea Move variable delcaration, error checking ode and update code of the sta<tus command into the correct place
0008341 Muted channels won't get live-unread markers anymore
2847114 Fix dumb typo in readme [skip ci]
b9e06eb Own message aren't shown as unread anymore after switching the guilds
b873622 Add discord server widget and remove text instead. [skip ci]
578f063 Fix crashes when not supplying the correct amount of parameters for some friends subcommands. Fixes #89
2831583 Add link to discord server to readme [skip ci]
f038066 Guilds and channels readstate now checks the muted state first. Notifications and the readstate in private channels are still shown.
88e875d Fix bug where the mention text was still on a read channel
9b23cbb Rewrite some parts of the readme and add token retrieval section to the wiki instead.[skip ci]
75988cd Fix kofi link [skip ci]
9bb541e Readstate now properly synced between devices
4019ee5 Set command componnt as log output
95706d1 Add more tests for commandparser
7dc064e Fix typo in comment [skip ci]
3e82234 Prevent unnecessary recomputations of highlights when the selection hasn't actually changed
d67deb3 Mouse support is now optional but activated by default. Solves #87
442d5d1 Update to latest tview
9ff986b Second level channels and categories are now properly filtered.
64b15f7 Now checking if the user has permissions to read channel messages.
b8e42a8 add tools for creating shortcuts
e2d5768 Delete shortcuts demo
0c4f024 Resolve #80
91a7c89 Add little tool to print keyevents for creating new shortcuts
c11c8b8 Run go mod tidy
7a2f0f7 Fix test for sorting guilds
4603f65 deleting a channel now clears the readstate
c0b47f9 * The ready event is now passed to the ui.NewWindow call * Guilds aren't manually requested anymore * Startup time improved * Message acknowledgements are now not local anymore * Message acknowledgement now using a buffered queue for the current channel
4e8125a Fix bug that caused a crash when loading a server channel
7c39c5e Merge pull request #83 from Bios-Marcel/readmarkers
bc41f0e Unread markers now also work for servers
21c85c9 Private chats and guild channels are now being marked as unread if there are unread messages. This feature doesn't work for edited messages nor is it 100% bulletproof as only the message IDs are compared with each other due to API limitations. Servers won't be marked as red yet.
9bde724 * LastMessageID of guild channels is now also updated
5982f9a hiding the user tree won't steal focus of other components anymore
b11b63a Add command that allows sending of files to the current channel
2ac951c Update to discordgo latest commit
e0c701c Update go image to 1.12
89cd62b Apparently I have been mistyping whether as wether all the time
1d86c25 Add commandwindow to focus cycle
3ea64dc Fix two mistakes in the README (those had already been fixed, but I accidently dropped the commits) [skip ci]
a3a1774 Make go1.12 the minimal go version in order to avoid unecpected behaviour
f6625d9 Update dependencies
8b63f31 Add dependency information to readme [skip ci]
be2b9f3 Update buildinstructions [skip ci]
1c352ad * Fix mention rendering for edited messages * Fix that mentions weren't parsed correctly if the window.selectedGuild was nil
4093eb8 Update readme regarding scoop installation
2019-06-13
87f3725 Bump scoop package to version 2019-06-13
454f707 Add additionla step to build, that creates the homebrew file.
ab9bdb2 Create FUNDING.yml
aca9bd5 Update tview again, pasting now works properly
9f2e775 Add vscode folder to gitignore
38cfcd6 Fix linter error
c83fcd6 Custom emojis aren't being replaced multiple times anymore when editing a message and you can send more than one emojo in one message.
a93cbcf Merge branch 'theme_wip'
9b70a71 Add super basic theming support
de8f89c Add codecov badge to readme, as a reminder how bad the coverage is [skip ci]
6e5330e Add code coverage
4fe5440 Removed unnecessary whitespace from the splash text
5b26488 Messages will now be properly formatted when sending a message in combination with an image. (The js engine is being skipped for now)
5bdee16 Add tests for guild sorting depending on user settings.
e43130c Extend tests for the command parser
c29a317 if statement was reverted
63c60cb WIP Theming
fb31fe4 Removed unnecessary whitespace from the splash text
3e9f52c Messages will now be properly formatted when sending a message in combination with an image. (The js engine is being skipped for now)
1b9dc60 Add tests for guild sorting depending on user settings.
9e6dc11 Create new isBlocked method as util method
22e258d Add test for calculating necessary for text with a given container width
2019-05-24
cd6f68f Bump scoop package to version 2019-05-24
2c0f989 * Binaries are now being built without debug symbols * Add info about how pre-built binaries are being built into the readme
5f0813d Add info about usage of bot tokens and sections why to use the project or not
6b78e12 Sending a message in a private chat will now cause a reordering of the chat list.
1696102 Minor performance optimizations
cb1c58a Add some documentation for the configuration topic
f2d7da7 Merge branch 'wip_user_update'
6e80b31 Finish implementing user-update command
cce9c5b Add first versiom of user-update
ac30ad6 The mention window now doesn't depend on the guild selection state, instead it uses the channels data. This isn't good, since it is just a workaround, but better more proof anyway.
66c1fc4 Exgend documentation about commands and navigation
45fa18f * The account command now prints something when you use an unknown subcommand * There is now a logout
subcommand
cbfde93 * Updated tview to the latest version * the edit mode of the editor won't color the background anymore, instead it will now color the border of the component.
de433e3 Remove unneccessary code from deletion dialog
2019-05-14
eeade55 Bump scoop package to version 2019-05-14
f621b9a Merge pull request #73 from spacemud/readme-update
4006c3e Fix link
f2ac38e Update README with Homebrew instructions
0d0c230 Forgot to commit this as pat of the arrowkey navigation implementation
f0eed6c chatview wasn't focusable with alt+left when user container was hidden
74e6edb Implement Alt+ArrowKey navigation. The code is horrible, but I guess it's worth it ... and its laggy sometimes, don't know why though.
36150f3 Fix typos in docs
31c3ac7 Add new friend commands: * remove
a friend * search
for a friend * list
akk friends
7d941b5 Add donation blah blah
505e072 Add more infos to failure output
91f8a3f You can now list open requests and add friends.
d2c402f Fix crash when people delete you as a friend
21801c1 Update to latest discordgo
6471e8d Fix login that broke due to the last commit
18208e0 Fix printing to wrong writer
974a197 Switch appveyor build to be using go 1.12
8901d89 Add friends command (W.I.P)
0ae171f The app is now using a fake user-agent in order to prevent being taken for a bot
9a26244 Fixed crash when someone removes you as a friend
6772587 Update to latest tview version
76996d6 Make code highlighting look less agressive
36fdd55 Codeblocks now remove useless leading whitespace. This supports tabs and spaces
108d09e After pasting, the editor will now recalculate its necessary height.
175ad94 Codeblocks don't have an empty line in the end anymore
9db8f54 codeblocks without a Language are now rendered as well
b70a716 if statement in release file was flipped
2019-04-17
57f6d24 Bump scoop package to version 2019-04-17
fd6410e Update to latest version of goclipimg for image pasting support on windows.
f71689b basic custom emoji support
debe418 * Now checks whether a github release already exists and edits the existing one.
45c7c6f Release script now creates a new github release instead of editing an existing release.
2019-04-14
fe0ccd4 Bump scoop package to version 2019-04-14
2bde13b Fix typo in release file
d58f867 The layout order was wrong in non-fixed mode.
aae4229 Attachments are now not seperated by newlines anymore.
27aa0bf * reduce buffer size * improve rerender performance * clarify code
6f04392 Bug fixed, where the one and only sent message couldn't be edited by hitting KeyArrowUp
d44ccf0 * Remove optional application border and title completely.
4987867 Dialog buttons are now smaller and alligned left
7e2dcf8 Fixed potentional nilptr access in sortuserroles
173b43f * the dialog replacement now calculates its neccessary height
5f0377d * Modal dialogs are now replaced with a textview and buttons at the bottom of the application
77fdad1 Update tview
91489e5 Update discordemojimap
baa0ec2 * Blocked Messages can now be shown as a placeholder
0e83e8b * Effectless message updates don't trigger a rerender anymore * blocked messages are now completely ignored by the chatview
6cb59cb Udate go.mod and go.sum
e5314da Update version of discordgo
00c9c49 Messages shouldn't appear in the wrong channel anymore. This problem was caused due to variable borrowing in a forloop.
259f320 Extend arch installation section
ceb39c4 Use go modules
050178d Add information about arch linux installation to readme
971dbf1 Remove internal package in order to make life more simple
5897946 Notifications now show the server that the message was sent on
acb2f66 Add buttons for closing the shortcuts table and reseting all shortcuts
55f55a2 There was a typo in the scoop manifests download path
928ca73 Fix those typos! [skip ci]
b8fa508 Rename package discordgolus to discordutil
c32aa62 add test for a string argument containing a newline
2323704 Improve a comment
139e90b Add small demo class for printing key event contents
f411492 Add custom shortcuts for inputting new lines and sending a message
90b14f0 Fix release script. The hash and version are now set and substituted correctly
8cb4f13 Manually fix scoop manifest, since there was a bug in the release script
7c916d7 * the binary names are now a variable, so they can be reused later * the script now updates the body of the release in github, using the output of git log between the last two tags * the binaries are now automatically added to the github release
76d9ecb Simplify channel event handler guards
b68a26f Make code for adding a new message easier to understand
2019-03-26
1c6aeb3 Bump scoop package to version 2019-03-26
41ace88 Add clean step before building snap
16cf40f UserChannels can now be created and loaded properly and without crashes. Fixes #68
d2794cb Unexport ParseBoldAndUnderline
d182167 Change default user color in chat
91bd983 Fix color theme for syntax highlighting
fa3d96d the configuration folder is now created with the correct permissions
e2cdccd * Rename AddMessageHandler method * Fix bug which caused the user contaner to be shown in private chats. Fixed #69
8b03268 Showing and hiding the user list depending on the current state works again.
2ecbc79 Minor cleanup and improvements
828738f Fix release script and improve docs
2a4dff0 Add git log between latest and previous tag
6d63b16 Add small utility script for releasing a new version of cordless.
952239c bump to version 2019-03-19