Commit Graph

114 Commits

Author SHA1 Message Date
Kasper Seweryn
56256b8937
Fix mangled comment newlines in code blocks (#214)
Fixes #120
2020-09-04 18:09:41 +03:00
Tulir Asokan
15ed2a75b5
Fix minor code style details 2020-08-18 18:01:19 +03:00
ReK2
3439b94e0e fix changes requested 2020-08-17 21:03:28 +02:00
ReK2
0f77c17e9c enable to show html as plain text if enabled and the url and text is not the same or nor contains data-mautrix-no-link 2020-08-17 20:51:20 +02:00
ReK2
2a1329d981 first changes to show urls 2020-08-15 06:59:02 +02:00
Tulir Asokan
ecdd4f08cb Support edits without m.new_content 2020-07-05 17:54:05 +03:00
Tulir Asokan
ceedeb7a41 Fix rendering displayname change events 2020-06-24 22:59:47 +03:00
Tulir Asokan
68956c4c63 Check if PrevContent is nil before using. Fixes #181 2020-06-24 22:54:41 +03:00
Tulir Asokan
646a8637ff Show decryption errors more accurately. Fixes #174 2020-06-23 22:28:28 +03:00
Tulir Asokan
376a2e5d84 Update mautrix-go 2020-06-23 21:43:25 +03:00
Tulir Asokan
38d5ef5603 Add alias management command and alt_aliases rendering
* /alias command can be used to create and remove local aliases
* Changes to the alt_aliases are now rendered properly
2020-06-17 14:15:22 +03:00
Tulir Asokan
0988b0590c Make e2ee optional 2020-05-05 20:38:58 +03:00
Tulir Asokan
22681875f3 Update mautrix-go and give crypto module access to state store 2020-05-05 18:39:28 +03:00
Tulir Asokan
a9dff6da73 Add support for encrypted files 2020-04-29 02:45:54 +03:00
Tulir Asokan
0943374892 Update copyright year 2020-04-19 18:10:14 +03:00
Tulir Asokan
5ee6aa72db Update mautrix-go content stuff 2020-04-19 15:01:16 +03:00
Tulir Asokan
815190be14 Update stuff and move pushrules to mautrix-go 2020-04-19 15:01:16 +03:00
Tulir Asokan
a6f6fb3ef2 Display thumbnail for all files and add commands to download and open files 2020-04-08 15:30:29 +03:00
Simon Magnin-Feysot
41e7b018c1 command toggle downloads 2020-04-07 19:06:10 +02:00
Simon Magnin-Feysot
8b68140dc9 refactor to allow every file message to be downloaded 2020-04-07 18:20:06 +02:00
smagnin
f0e5e0022f add text for video message 2020-04-07 01:26:02 +02:00
Tulir Asokan
3c21281ada Implement selecting message to reply/react to with keyboard 2020-03-01 17:11:56 +02:00
Tulir Asokan
9d132d328b Add support for replying and reacting to messages 2020-03-01 00:33:37 +02:00
Tulir Asokan
58fff45d69 Add separate messages for invite reject/accept 2020-02-22 02:59:28 +02:00
Tulir Asokan
032a83d70b Add initial message selecting stuff 2020-02-21 00:29:29 +02:00
Tulir Asokan
852023c611 Fix compilation error 2020-02-20 22:42:53 +02:00
Tulir Asokan
fa8147f07a Add background color for reactions 2020-02-20 22:11:09 +02:00
Tulir Asokan
db1424a06d Add support for displaying reactions 2020-02-20 21:56:03 +02:00
Tulir Asokan
15e1d3f87c Fix rendering formatted m.emotes 2020-02-19 21:54:53 +02:00
Tulir Asokan
d02abd079f Add support for editing messages 2020-02-19 01:14:02 +02:00
Tulir Asokan
b76c301145 Add initial support for rendering replies 2019-06-17 13:46:02 +03:00
Tulir Asokan
fe439f076a Wrap events in custom struct to add gomuks-specific fields 2019-06-17 12:27:31 +03:00
Tulir Asokan
d1d129f6cf Add support for redactions. Fixes #19 2019-06-16 20:42:36 +03:00
Tulir Asokan
967db30762 Fix message text color. Fixes #82 2019-06-16 17:14:17 +03:00
Tulir Asokan
242d3a00d9 Merge remote-tracking branch 'jrswab/imageResize' 2019-06-16 15:21:01 +03:00
Tulir Asokan
b019266062 Re-enable downloading images 2019-06-16 15:19:42 +03:00
Tulir Asokan
2b7d5d5401 Fix reply rendering infinite loop bug 2019-06-16 14:54:12 +03:00
Jaron Swab
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
Tulir Asokan
a55ea42d7f Unbreak things 2019-06-15 01:11:54 +03:00
Tulir Asokan
4bcdcd1ccd Fix go 1.11 and go get compatibility 2019-05-12 17:34:47 +03:00
Tulir Asokan
60e3fe3927 Stop replacing text of event links 2019-04-15 00:34:48 +03:00
Tulir Asokan
98a8b52862 Minor UI changes 2019-04-13 17:04:52 +03:00
Tulir Asokan
43a7bdab72 Add better stringification for UI message types for debugging 2019-04-13 00:51:58 +03:00
Tulir Asokan
abd21affc4 Fix code block rendering 2019-04-10 22:59:37 +03:00
Tulir Asokan
a9199dd9f2 Split container/text HTML entities and add support for <hr> 2019-04-10 22:49:33 +03:00
Tulir Asokan
db0e24ccc2 Use already parsed events for replies if possible 2019-04-10 21:06:19 +03:00
Tulir Asokan
7e0278c571 Fix m.emote rendering 2019-04-10 17:08:39 +03:00
Tulir Asokan
099eebfa67 Misc changes 2019-04-10 02:28:24 +03:00
Tulir Asokan
005c51c3b5 Re-add reply rendering 2019-04-10 02:19:38 +03:00
Tulir Asokan
06c306bee9 Fix date change messages and input submit handling 2019-04-10 01:42:27 +03:00