Commit graph

66 commits

Author SHA1 Message Date
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
Midgard 88876414bc
Move JavaScript to js/ 2020-03-31 16:56:06 +02:00
Midgard e7f7627c64
Use form for login to enable enter 2020-03-31 16:55:25 +02:00
Midgard 81751369a1
Fix mitmproxy script to deal with multiple origins 2020-03-31 13:27:08 +02:00
Midgard 4db66bb8c0
Start transitioning to MVC 2020-03-31 12:09:33 +02:00
Midgard 77b1d465a3
Improve login form layout 2020-03-31 11:30:35 +02:00
Midgard 1fcb86cf06
Improve compose textarea styling 2020-03-30 17:29:43 +02:00
Midgard d6b0e5acda
Add glow when not at bottom 2020-03-30 17:12:07 +02:00
Midgard 3069c012a1
Add icons back in 2020-03-29 19:04:46 +02:00
Midgard ee96bac928
Add chat webapp layout 2020-03-29 18:57:48 +02:00
Midgard 0d1771cbca
Fix logo path in README 2020-03-29 00:46:53 +01:00
Midgard 49bc51175a
Add channel viewing 2020-03-29 00:40:47 +01:00
Midgard 4ce30be711
Complete server manager and load channel list 2020-03-26 23:26:01 +01:00