Commit graph

51 commits

Author SHA1 Message Date
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
Midgard 9c8dc01f18
Add a little bit of styling 2020-03-26 21:29:50 +01:00
Midgard 013ae64b88
Verify token is invalidated and forget it 2020-03-26 17:59:21 +01:00
Midgard 4438a027ec
Put URL in separate config to avoid Git change 2020-03-26 17:55:40 +01:00
Midgard 6b812e849e
Fix logout 2020-03-26 17:46:22 +01:00
Midgard 02a1bad183
Add remote URL in README and change default 2020-03-26 16:47:56 +01:00
Midgard 099762e704
Remove CORS avoidance: CORS is now okay 2020-03-26 16:35:59 +01:00
Midgard 8843f61e06
Rename xhr.js to ajax.js 2020-03-26 16:34:51 +01:00
Midgard 35c8ea0d3c
Improve instructions and change name 2020-03-26 16:32:30 +01:00
Midgard ae525c8904
Improve architecture 2020-03-26 16:01:09 +01:00
Midgard 190663a253
Improve rundev script
Kill server when exiting MITM
2020-03-25 22:28:22 +01:00
Midgard 5fd8101224
Fix token validation 2020-03-25 22:17:24 +01:00
Midgard 87808a3ffe
Fix CORS: make mitmproxy intercept OPTIONS
Mattermost doesn't support OPTIONS so we have to handle it in our proxy.
2020-03-25 22:14:00 +01:00
Midgard 71290cdc02
Avoid CORS in login, add token validation 2020-03-25 18:46:28 +01:00
Midgard fcbb561d62
:x 2020-03-25 17:06:45 +01:00
Midgard f275a03b93
README with some instructions 2020-03-24 22:52:12 +01:00