3ebfb87da2
Scale image message based on the user's text area.
...
Using the "image" package from the standard library the images loaded by
gomuks now scale to one third the size of the text area. The image data
contains both hight and width while the scaling uses only width the
option to scale by hight is possible if passed into `CalculateBuffer()`.
`ansimage.NewScaledFromReader()` now takes the new variable based off
the size of the buffers' width.
This may resolve issue #92
2019-06-15 11:01:05 -04:00
ae3bb9c7a3
Add pm command
2019-06-14 21:01:24 +03:00
7c39729ada
Remove room alias argument and switch to room after creating
2019-06-14 20:56:41 +03:00
fcd44fe63f
Users can now create a new room directly in Gomuks
...
Added the ability to create a room from within gomuks using the now
`/create` command. This comman takes the room name followed by the
alias. Room name may contain spaces but the alias may not as per the
Matrix alias conventions.
Also update `/help` to include the new command.
2019-06-13 21:14:32 -04:00
4bcdcd1ccd
Fix go 1.11 and go get compatibility
2019-05-12 17:34:47 +03:00
bedbc3d10a
Update README
2019-04-27 15:44:11 +03:00
daf238fd71
DOn't print debug init to log file when not logging to file
2019-04-27 15:44:01 +03:00
08d99d776d
Fix potential deadlock in room switching
2019-04-27 15:11:38 +03:00
b6b50e8e1d
Add message when exiting due to potential deadlock
2019-04-27 15:11:27 +03:00
6f54066c43
Add partial deadlock detection in debug mode
2019-04-27 15:02:52 +03:00
bc7e2d9a1c
Add locks and other sync stuff
2019-04-27 15:02:21 +03:00
60e3fe3927
Stop replacing text of event links
2019-04-15 00:34:48 +03:00
98a8b52862
Minor UI changes
2019-04-13 17:04:52 +03:00
e5264a242d
Fix user list
2019-04-13 14:27:50 +03:00
43a7bdab72
Add better stringification for UI message types for debugging
2019-04-13 00:51:58 +03:00
abd21affc4
Fix code block rendering
2019-04-10 22:59:37 +03:00
a9199dd9f2
Split container/text HTML entities and add support for <hr>
2019-04-10 22:49:33 +03:00
db0e24ccc2
Use already parsed events for replies if possible
2019-04-10 21:06:19 +03:00
9132e2b750
Update mautrix-go
2019-04-10 17:18:45 +03:00
7e0278c571
Fix m.emote rendering
2019-04-10 17:08:39 +03:00
45a68c7fb5
Fix tests
2019-04-10 02:47:47 +03:00
c9f731a5ce
Update mautrix-go
2019-04-10 02:30:32 +03:00
099eebfa67
Misc changes
2019-04-10 02:28:24 +03:00
b668c2cdc7
Fix last cached message not showing up when loading history
2019-04-10 02:25:22 +03:00
005c51c3b5
Re-add reply rendering
2019-04-10 02:19:38 +03:00
007b05d54e
Fix Travis CI Go version
2019-04-10 02:19:27 +03:00
20d3f8232d
Remove commented code
2019-04-10 01:44:45 +03:00
06c306bee9
Fix date change messages and input submit handling
2019-04-10 01:42:27 +03:00
bbde121947
It compiles. Ship it!
2019-04-10 01:04:39 +03:00
dbee49476d
Start refactoring various things in message rendering and sending
2019-04-09 18:45:41 +03:00
2b6c435e50
Refactor message parsing things
2019-04-09 18:42:49 +03:00
927be9bdcd
Move stripLinebreak to a struct field in the HTML parser
2019-04-09 01:03:17 +03:00
887e2e232a
Fix non-syntax-highlighted code block newline rendering
2019-04-09 00:59:56 +03:00
d0c0af811e
Fix syncing preferences from account data
2019-04-07 23:21:48 +03:00
e5db799fa3
Merge branch 'deep-message-rendering'
2019-04-07 23:21:11 +03:00
5d7c1a4caa
Improve handling of multiple linebreaks
2019-04-07 22:54:55 +03:00
e6180c9b6f
Move special list/blockquote prefixing to renderer
2019-04-07 22:25:53 +03:00
cf93671ecd
Add syntax highlighting. Fixes #28
2019-04-07 20:13:23 +03:00
083ae8bd44
Remove commented code
2019-04-07 18:25:13 +03:00
b0c4ef81e9
More changes to do #91
2019-04-07 18:21:38 +03:00
21b81ccb27
Initial changes to do #91
2019-04-07 03:22:51 +03:00
b81ba7b631
Add timeout to opening history db
2019-04-07 03:21:46 +03:00
e9cf38a866
Focus username field in login view automatically
2019-04-06 18:03:37 +03:00
d0f55f4a6f
Don't add events from state stream to timeline
2019-04-06 18:03:00 +03:00
625e2049b5
Update dependencies
2019-04-06 18:02:42 +03:00
8c1682b225
Use XDG config and cache home
2019-04-06 10:57:24 +03:00
7ad2103f8f
Move history storage to matrix package. Fixes #90
2019-04-05 23:44:17 +03:00
535fbbb4f7
Change even more things
2019-03-30 18:51:32 +02:00
a8dcdfbaa1
Remove replaces in go.mod
2019-03-28 23:36:23 +02:00
4b7f7b081b
Maybe fix windows
2019-03-28 23:35:50 +02:00