Commit Graph

78 Commits

Author SHA1 Message Date
Midgard 41276481a6
Support new multiple_channels_viewed event 2023-11-08 14:40:28 +01:00
Midgard 916a9b1839
Update compose field height after sending message 2022-06-22 15:34:19 +02:00
Midgard dcb0c789d2
Recognize 👍 2022-06-20 14:16:35 +02:00
Midgard 6e8e33f2c5
Move update_emoji.py to etc/ 2022-06-18 22:09:34 +02:00
Midgard 4b235563d4
Cache CORS requests in proxy 2022-06-18 22:08:52 +02:00
Midgard e1e99bf1eb
Handle network errors 2022-06-18 17:52:10 +02:00
Midgard 60f047c0fd
Add DMs; update channel list when new channel arrives 2022-06-17 23:43:16 +02:00
Midgard 245cfae68a
Sort channels by last used 2022-06-17 23:26:43 +02:00
Midgard c3a24ee300
Add channel store 2022-06-17 23:04:16 +02:00
Midgard e63d8f0305
Handle user changes 2022-06-17 14:20:42 +02:00
Midgard 68f87f4048
Fix "not scrolled to bottom" glow when zoomed
Allow 1px difference in isScrolledToBottom to allow for small
differences that can occur when the page zoom has been set to e.g. 110%
2022-06-17 14:03:27 +02:00
Midgard 2ec4e9384d
Break long messages 2022-06-11 18:16:49 +02:00
Midgard f7344dc63f
Improve when time is shown and improve post UI
This commit introduces a heuristic for when to show time, introduces a
date separator and tweaks the margins of posts.
2022-06-11 18:15:31 +02:00
Midgard 8d0d0dd3a7
Update emoji 2022-06-09 16:23:49 +02:00
Midgard c62f9c0ddc
Use timezone preference 2022-06-09 15:27:50 +02:00
Midgard bf5798c4e5
Improve API start procedure 2022-06-09 15:26:44 +02:00
Midgard 0f8559f22a
Mark incoming messages in current channel as read
but only if tab is focused. When tab gets focus, mark channel as read.
2022-06-09 15:25:55 +02:00
Midgard ff96822f67
Remove debug messages 2022-06-09 15:00:46 +02:00
Midgard f6c45894a6
Remove unnecessary call to getUsers
Already done when client object is constructed
2022-06-09 14:57:58 +02:00
Midgard a7bd5f7dc7
Handle incoming channel read events 2022-06-09 14:57:58 +02:00
Midgard 64285bdf71
Rename function to better reflect effect 2022-06-09 14:57:57 +02:00
Midgard 4480477e49
Convert manual className editing to addClass and removeClass 2022-06-09 00:48:59 +02:00
Midgard 240745a404
Add support for slash commands 2022-06-09 00:29:24 +02:00
Midgard 0cc0cb1c13
Add support for channel read status 2022-06-09 00:01:43 +02:00
Midgard 38b4e49dfb
Rename data field to "server" for consistency 2022-06-08 23:27:31 +02:00
Midgard 283aa5513c
Also check endpoint in channel equality checks 2022-06-08 23:27:31 +02:00
Midgard 89fd513be0
Add help text for rundev.sh 2022-06-08 23:27:31 +02:00
Midgard 9a0f30edfb
Remove unused line 2022-06-08 23:27:31 +02:00
Midgard f86299f776
Split view.js into messages and sidebar 2022-06-08 23:27:30 +02:00
Midgard 38a3bec0a4
Improve error when login fails 2022-06-08 17:33:16 +02:00
Midgard bfe52fbbca
Fix bug in login function
Because of changed function signature
2022-06-08 17:32:38 +02:00
Midgard 5864884f97
Remove trailing slashes instead of complaining 2022-06-08 17:30:27 +02:00
Midgard 1760661c5b
Update to new MITM API function 2022-06-08 17:27:56 +02:00
Midgard ca00ad6792
Add typing 2022-06-08 17:27:50 +02:00
Midgard 66092b7bc8
Improve margin around post 2022-06-08 17:26:56 +02:00
Midgard 5acd0a6760
Improve README 2021-09-15 14:37:55 +02:00
Midgard 4322f824ff
Improve emoji support: no commas 2021-04-26 17:40:07 +02:00
Midgard 72f6a3e201
Add emoji support 2021-02-17 21:58:06 +01:00
Midgard 8983e0e504
Support writing messages 2021-02-17 18:15:57 +01:00
Midgard 26ebbcc190
Avoid sidebar resizing based on channel contents 2021-02-17 17:42:02 +01:00
Midgard 745af7af5d
Add websocket support, messages appear in realtime now 2021-02-17 17:13:28 +01:00
Midgard 023d95d725
Fix logout 2021-02-17 17:13:15 +01:00
Midgard 422b4a6312
Spoof origin to allow websocket creation 2021-02-17 16:54:40 +01:00
Midgard de201dca56
Add pubsub for new message, no websocket though yet 2021-02-17 16:07:15 +01:00
Midgard 1419b44acf
Correct author ellipsis and improve 2021-02-08 15:16:56 +01:00
Midgard 0349d9abe7
Improve name and date display 2021-02-07 21:47:59 +01:00
Midgard 84eaae9fa9
Add attachments and author names 2021-02-07 21:10:36 +01:00
Midgard c0fbb51ddf
Move for less subdirs 2020-08-25 12:52:38 +02:00
Midgard b76a01f760
Avoid inline CSS 2020-04-03 17:24:35 +02:00
Midgard 596cd63fb5
Make Client remember its token, add ID form checks
Refactor MattermostClient, deduplicating code and making it remember its token.

Make functions that ask for a Mattermost ID check that they get
something of the correct form.
2020-03-31 18:13:02 +02:00