Commit graph

110 commits

Author SHA1 Message Date
Bad
20e94f05e7 Lazy load highlight.js
This significantly reduces the bundle size(over 1MiB!) but it also uses
some hacks to dynamically load browserify modules on runtime(see
lazy-load-modules.js
2020-10-31 18:17:34 +01:00
Bad
4d59b1a9ac Merge branch 'princess' into rich-messages
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-30 23:06:34 +01:00
Bad
5a41a2c943 Push build artifacts to dev.carbon.chat
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-30 23:00:49 +01:00
Bad
20bacce068 Remove the simple event shorthand
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-29 11:31:08 +01:00
Bad
f80bf36991 Style fixes 2020-10-29 11:09:15 +01:00
Bad
217a815750 Merge branch 'princess' into rich-messages
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-29 11:02:51 +01:00
Bad
bd9623578f Add hljs and improve sanitization
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2020-10-29 10:42:17 +01:00
Bad
c144d75c99 Remove debug console.logs 2020-10-29 10:38:12 +01:00
Bad
66ecf44048 Remove console.log from membership 2020-10-29 10:36:38 +01:00
ff196a64bb
Improve message sender rendering
All checks were successful
continuous-integration/drone/push Build is passing
- Refactor sender class into parts
- Sender name colour depends on mxid, like Element
  - (colours slightly modified for contrast)
- Display blank avatar if loading fails
- Remove # parts from mxc
- Don't replace member state if loaded state is older
2020-10-29 17:31:25 +13:00
a4c7f29ec9
Emacs files to gitignore 2020-10-29 17:27:38 +13:00
5bfe98bdf4
Stop scrollback at top of timeline 2020-10-29 17:26:34 +13:00
Bad
e08b895694 Create a simple event shorthand
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-26 23:16:47 +01:00
Bad
d983385e16 Fix compiler warnings 2020-10-26 22:58:38 +01:00
Bad
f46f9abe6e Improve rich text rendering to more closely match the recommendations from the spec 2020-10-26 22:55:54 +01:00
Bad
1a8427925c Add unknown memberships 2020-10-26 22:55:27 +01:00
a
098ea88f5d Rebase rich-messages on princess
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-26 21:09:36 +01:00
72b42e7b26 Initial work on rich messages 2020-10-26 21:04:08 +01:00
f4b368ea3e
Better message line breaking
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-26 23:57:00 +13:00
6da9f41519 Merge pull request 'Add scrollback' (#22) from scrollback into princess
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #22
2020-10-26 10:36:43 +00:00
df47c8a88a
Style load more; fix message group order
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-26 23:35:33 +13:00
5ab182e615 Merge pull request 'Bundle with browserify' (#19) from browserify into princess
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #19
2020-10-26 09:33:51 +00:00
08a0990bc8
Add back jshint; format
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-26 22:30:57 +13:00
0348fed18d Initial work on rich messages
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-26 09:10:02 +01:00
c9dffc9d4a Wait for events to load before saving scroll position
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-24 23:01:48 +02:00
6227f6fa84 Add scrollback
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-24 20:56:03 +02:00
51905ab3f2 add browserify
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-23 16:15:14 +02:00
d90be7a0d4 Merge pull request 'Add better .gitignore' (#17) from fix/gitignore into princess
All checks were successful
continuous-integration/drone/push Build is passing
I hate you all and I don't want to waste more time pointlessly discussing this
2020-10-23 11:46:05 +00:00
bad
79aa423ebb Merge branch 'princess' into fix/gitignore
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-23 11:05:54 +00:00
bad
91ac7a6b3e Merge pull request 'Refactor homeserver lookup code' (#12) from refactor-homeserver-lookup into princess
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #12
2020-10-23 08:57:01 +00:00
Bad
aa12cd68e6 Clean up code
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-23 10:53:27 +02:00
bad
4382928a93 Merge branch 'princess' into refactor-homeserver-lookup
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-23 08:48:37 +00:00
2f5955b043
Be able to load past room state (no UI yet)
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-22 23:03:26 +13:00
36f204624f
Refuse to send empty messages
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-22 23:02:50 +13:00
6499cd4ff6 add better .gitignore
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-22 11:46:46 +02:00
e18c8c77ae
Fallback to room name "empty room"
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-22 20:56:27 +13:00
Bad
16de7edd19 Style fixes
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-22 09:14:58 +02:00
Bad
0113024be6 Switch to using .catch(()=>{}) instead of try catch
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-22 07:50:50 +02:00
Bad
1b97351ca0 Switch to using .catch(()=>{}) instead of try catch 2020-10-22 07:46:32 +02:00
dce4fa6303
Merge branch 'princess' into refactor-homeserver-lookup
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
We need the redirection fix from princess in here to accurately test.
2020-10-22 17:41:16 +13:00
2ff43ea801
Style cleanup
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-22 17:35:48 +13:00
9e71336c5b
Update initial login redirect
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-22 17:30:11 +13:00
Bad
61cc4a19f3 Small cosmetic fixes
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2020-10-21 21:19:17 +02:00
Bad
0c3c06bc0a oops
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-21 21:16:45 +02:00
Bad
6f67ddbce5 Refactor homeserver lookup code
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-10-21 21:11:45 +02:00
Bad
f1b75f5e10 Fix login redirecting to an incorrect address
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-21 20:03:34 +02:00
Bad
c8351e8f0c Warn when assuming https
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-21 19:43:21 +02:00
Bad
cf2c691585 Make font feedback red on error 2020-10-21 19:41:19 +02:00
ff427d0354
Update readme - add bug report instructions
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-21 22:53:47 +13:00
a56c42311f
Use sh shell instead of fish for watch script
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-21 22:21:21 +13:00