Tulir Asokan
af99c76d46
Add support for editing /me
2020-02-19 21:32:13 +02:00
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
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
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
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
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
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
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
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
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
08d99d776d
Fix potential deadlock in room switching
2019-04-27 15:11:38 +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
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
e5264a242d
Fix user list
2019-04-13 14:27:50 +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
45a68c7fb5
Fix tests
2019-04-10 02:47:47 +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
20d3f8232d
Remove commented code
2019-04-10 01:44:45 +03:00
Tulir Asokan
06c306bee9
Fix date change messages and input submit handling
2019-04-10 01:42:27 +03:00
Tulir Asokan
bbde121947
It compiles. Ship it!
2019-04-10 01:04:39 +03:00
Tulir Asokan
dbee49476d
Start refactoring various things in message rendering and sending
2019-04-09 18:45:41 +03:00
Tulir Asokan
2b6c435e50
Refactor message parsing things
2019-04-09 18:42:49 +03:00
Tulir Asokan
927be9bdcd
Move stripLinebreak to a struct field in the HTML parser
2019-04-09 01:03:17 +03:00
Tulir Asokan
887e2e232a
Fix non-syntax-highlighted code block newline rendering
2019-04-09 00:59:56 +03:00
Tulir Asokan
5d7c1a4caa
Improve handling of multiple linebreaks
2019-04-07 22:54:55 +03:00
Tulir Asokan
e6180c9b6f
Move special list/blockquote prefixing to renderer
2019-04-07 22:25:53 +03:00
Tulir Asokan
cf93671ecd
Add syntax highlighting. Fixes #28
2019-04-07 20:13:23 +03:00
Tulir Asokan
083ae8bd44
Remove commented code
2019-04-07 18:25:13 +03:00
Tulir Asokan
b0c4ef81e9
More changes to do #91
2019-04-07 18:21:38 +03:00
Tulir Asokan
21b81ccb27
Initial changes to do #91
2019-04-07 03:22:51 +03:00
Tulir Asokan
e9cf38a866
Focus username field in login view automatically
2019-04-06 18:03:37 +03:00
Tulir Asokan
7ad2103f8f
Move history storage to matrix package. Fixes #90
2019-04-05 23:44:17 +03:00
Tulir Asokan
535fbbb4f7
Change even more things
2019-03-30 18:51:32 +02:00
Tulir Asokan
1b1cabb360
Even more changes
2019-03-28 23:28:27 +02:00
Tulir Asokan
6a3017888f
Merge remote-tracking branch 'nepugia/nep' into mauview
2019-03-27 01:21:25 +02:00
Tulir Asokan
cc63a197c6
Change more things
2019-03-26 22:09:10 +02:00
Tulir Asokan
c3c7cc9b35
Change things
2019-03-26 19:57:44 +02:00
Tulir Asokan
8aa134b8b2
Start moving to mauview
2019-03-26 00:37:35 +02:00
Pascal Abresch
cefa840c28
adds kick, ban, unban and invite command
2019-03-19 16:06:40 +01:00
Pascal Abresch
c5bf3f894c
fixed send and setstate to allow spaces
2019-03-19 16:06:18 +01:00
Pascal Abresch
e9b76ccfec
adds /msetstate
2019-03-19 15:58:57 +01:00
Pascal Abresch
576de5264e
adds /msend
2019-03-19 15:57:50 +01:00
Tulir Asokan
01523ae8ce
Fix go vet warning
2019-02-12 14:58:12 +02:00
Tulir Asokan
bf2a5e9b34
Update license and sort imports
2019-01-23 00:26:51 +02:00
Tulir Asokan
d624023ca3
Fix potential negative index when getting color from name
2019-01-12 00:44:32 +02:00
Tulir Asokan
331597b9f8
Switch to Go modules and make other changes
2019-01-11 23:28:47 +02:00
Tulir Asokan
a0815a6f3d
Fix named colors and remove HTML from plaintext body when sending
2018-11-14 00:28:53 +02:00
Tulir Asokan
7651e84be9
Merge branch 'master' into update
2018-11-14 00:01:20 +02:00
Tulir Asokan
ba387764ca
Fix things
2018-11-14 00:00:35 +02:00
Ville Ranki
7417df0f3c
Alt-a to jump to next channel with unread messages.
2018-10-18 17:02:38 +03:00
Tulir Asokan
cfb2cc057c
Update to latest gomatrix. Things are broken
2018-09-05 10:55:48 +03:00
Vishnunarayan K I
68db26bcac
Emojify message ( #65 )
2018-07-02 10:00:42 +03:00
Digital
cf3f3e51d1
Add support for more key events ( #64 )
...
In some cases tcell sends Key{Ctrl,Alt}{Up,Down} events instead of
Key{Up,Down} event that have the corresponding modifier mask set.
(these key combinations are used for switching rooms)
2018-06-30 23:28:53 +03:00
Digital
bf84fc09b2
Add option to disable typing notifications ( #63 )
2018-06-30 23:26:40 +03:00
Tulir Asokan
b03a3b6cec
Make /rainbow yellow readable in light-themed clients
2018-06-11 19:52:22 +03:00
Tulir Asokan
5e3994ce2c
Add font tag support and /rainbow command
2018-06-11 19:52:22 +03:00
evan
4962a78e4c
turn off dynamic colors in fuzzy search
2018-06-06 11:56:48 -05:00
Tulir Asokan
b9079e22d2
Gofmt
2018-06-02 00:44:21 +03:00
Tulir Asokan
134604edce
Add ui toggle for image rendering
2018-06-02 00:43:56 +03:00
Tulir Asokan
7868bd90fa
Improve newlines in HTML parser
2018-06-02 00:28:21 +03:00
Tulir Asokan
1da02e3a13
Rewrite HTML parser
2018-05-31 16:59:40 +03:00
Tulir Asokan
e604346211
Add very basic arbitrary message/state event sending commands
2018-05-27 15:30:52 +03:00
Tulir Asokan
094a566189
Split command system from main view
2018-05-27 14:54:07 +03:00
Tulir Asokan
b63c451706
Fix m.emote messages in bare message views
2018-05-27 14:51:16 +03:00
Tulir Asokan
c9e138c5e8
Update tcell and include tcell database in debian package
2018-05-26 00:07:01 +03:00
evan
dd63d32d62
fix room name overwriting unread count
2018-05-25 00:14:05 -05:00
Tulir Asokan
b76c8d0147
Add UI preferences and simplify config save/load (ref #43 )
2018-05-24 23:27:12 +03:00
evan
9f425f9909
switch fuzzysearch to upstream
2018-05-23 10:21:08 -05:00
Tulir Asokan
1d44d3da1a
Add real bare view
2018-05-23 00:44:29 +03:00
Tulir Asokan
14903e0cdc
Add bare mode and fix terminal resize bug. Fixes #48
2018-05-22 22:06:49 +03:00
Tulir Asokan
4849ef08b8
Re-enable coloring of new name in name change events
2018-05-22 21:18:46 +03:00
Tulir Asokan
34359a0599
More cleanup
2018-05-22 18:43:00 +03:00
Tulir Asokan
dc4e831022
Split up TagRoomList.Draw()
2018-05-22 18:40:25 +03:00
Tulir Asokan
f5e07f40db
Move TagRoomList stuff into new file and split RoomList.Draw()
2018-05-22 18:30:25 +03:00
Tulir Asokan
c87097627e
Split up getMembershipEventContent()
2018-05-22 17:36:41 +03:00