Commit Graph

382 Commits

Author SHA1 Message Date
Tulir Asokan
0b0a40f735 Remove duplicate code for finding message to edit 2020-02-19 21:27:37 +02:00
Tulir Asokan
8b02183ab1 Ignore mouse motion events inside MessageView 2020-02-19 15:07:10 +02:00
Tulir Asokan
702592bf89 Update mautrix-go to separate unmarshaling sync response and event content 2020-02-19 01:25:11 +02:00
Tulir Asokan
d02abd079f Add support for editing messages 2020-02-19 01:14:02 +02:00
Tulir Asokan
b4e27723d7 Fix mouse motion not being passed to input areas 2020-02-19 00:05:05 +02:00
Tulir Asokan
2a4755b712 Fix panic when joining new room 2020-02-18 21:41:49 +02:00
Tulir Asokan
2610c2bf9f Update readme a bit and add SSO support 2020-02-18 21:31:28 +02:00
Tulir Asokan
18fa85f4c4 Update deps 2020-02-18 20:38:35 +02:00
Tulir Asokan
7012564d0e Add badge and link for GitLab CI to readme 2019-07-26 01:17:01 +03:00
Tulir Asokan
3fa81fa08a Update tcell 2019-07-25 23:59:14 +03:00
Tulir Asokan
38f823dc0c Add .gitlab-ci.yml 2019-07-25 23:53:45 +03:00
Tulir Asokan
37df8eb454 Update tcell 2019-06-22 21:43:43 +03:00
Tulir Asokan
f8a8905872 Possibly fix displaying displaynames of left users 2019-06-21 23:52:51 +03:00
Tulir Asokan
772f30b2d6 Fix or break some history related things 2019-06-21 23:52:51 +03:00
Tulir Asokan
439d8371db Cache canonical alias in room list so tab completing wouldn't load state from disk 2019-06-18 17:31:55 +03: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
754f8e493d Only ping if displayname has spaces/punctuation characters around it. Fixes #96 2019-06-16 21:25:41 +03:00
Tulir Asokan
c6ca343cd1 Fix panic in redaction handling 2019-06-16 21:24:51 +03:00
Tulir Asokan
d1d129f6cf Add support for redactions. Fixes #19 2019-06-16 20:42:36 +03:00
Tulir Asokan
691708a76e Improve emoji autocompletion when the same emoji has many names 2019-06-16 19:54:54 +03:00
Tulir Asokan
7f917f0271 Add support for editing room tags 2019-06-16 19:32:57 +03:00
Tulir Asokan
6eaee84465 Use https by default if scheme is not provided 2019-06-16 17:14:51 +03:00
Tulir Asokan
967db30762 Fix message text color. Fixes #82 2019-06-16 17:14:17 +03:00
Tulir Asokan
eb2726e8df Somewhat hackily force focus to room view. Fixes #95 2019-06-16 16:52:19 +03:00
Tulir Asokan
859fd6092b Add/change commands 2019-06-16 16:32:56 +03:00
Tulir Asokan
d23c5b1bfc Remove dev replaces and update deps 2019-06-16 15:27:46 +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
8b87809ac1 Merge branch 'break-things-again' 2019-06-16 15:18:25 +03:00
Tulir Asokan
1ea6ba026a Make displayname pushrule check possible without loading room state 2019-06-16 15:15:30 +03:00
Tulir Asokan
2b7d5d5401 Fix reply rendering infinite loop bug 2019-06-16 14:54:12 +03:00
Tulir Asokan
6bb932212c Add call trace command 2019-06-15 19:10:18 +03:00
Tulir Asokan
ef509eb308 Fix infinite recursion 2019-06-15 18:03:28 +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
0f08c49df4 Fix bumping unloaded rooms in room list when receiving messages 2019-06-15 17:51:36 +03:00
Tulir Asokan
160b035c4d Unbreak more things 2019-06-15 17:04:08 +03:00
Tulir Asokan
a55ea42d7f Unbreak things 2019-06-15 01:11:54 +03:00
Tulir Asokan
a4ac699c93 Update deps 2019-06-15 01:11:54 +03:00
Jaron Swab
d3c18788dd Update README.md (#98)
Switch out some links and added the `/create` command to the list of
commands at the bottom.
2019-06-15 01:05:21 +03:00
Tulir Asokan
ae3bb9c7a3 Add pm command 2019-06-14 21:01:24 +03:00
Tulir Asokan
7c39729ada Remove room alias argument and switch to room after creating 2019-06-14 20:56:41 +03:00
Jaron Swab
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
Tulir Asokan
4bcdcd1ccd Fix go 1.11 and go get compatibility 2019-05-12 17:34:47 +03:00
Tulir Asokan
bedbc3d10a Update README 2019-04-27 15:44:11 +03:00
Tulir Asokan
daf238fd71 DOn't print debug init to log file when not logging to file 2019-04-27 15:44:01 +03:00
Tulir Asokan
08d99d776d Fix potential deadlock in room switching 2019-04-27 15:11:38 +03:00
Tulir Asokan
b6b50e8e1d Add message when exiting due to potential deadlock 2019-04-27 15:11:27 +03:00
Tulir Asokan
6f54066c43 Add partial deadlock detection in debug mode 2019-04-27 15:02:52 +03:00
Tulir Asokan
bc7e2d9a1c Add locks and other sync stuff 2019-04-27 15:02:21 +03:00