c87b6dcaa7
Display typing notifications
continuous-integration/drone/push Build is passing
2020-11-09 00:19:56 +13:00
eb573fc17c
Update readme feature list
2020-11-08 01:20:58 +13:00
f188d66645
Fix fullwidth layout
continuous-integration/drone/push Build is passing
2020-11-08 01:11:31 +13:00
4acd806e66
Render image messages
continuous-integration/drone/push Build is passing
2020-11-08 01:04:42 +13:00
327290e971
Autolink URLs in messages
continuous-integration/drone/push Build is passing
2020-11-08 00:49:12 +13:00
d6be694d3b
Style blockquotes
continuous-integration/drone/push Build is passing
2020-11-08 00:11:32 +13:00
f6b95b2ebd
Merge pull request 'Rich message rendering' ( #24 ) from rich-messages into princess
...
continuous-integration/drone/push Build is passing
Reviewed-on: #24
2020-11-07 10:46:47 +00:00
951a46d8ec
Add back highlight.js for SCSS imports
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-11-07 23:45:20 +13:00
6583c192ce
Merge branch 'princess' into rich-messages
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2020-11-05 17:05:09 +00:00
34af1be7d1
Use dependencies instead of devDependencies
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2020-11-05 18:14:17 +13:00
1fa7da9ebb
Use JSDelivr CDN for highlight.js
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
- downside: is somebody else's CDN
- upside: changes hljs download size from >1MB to 33k
Feel free to debate this.
2020-11-05 18:03:25 +13:00
b74f0cc0dd
Don't highlight very short code blocks
2020-11-05 17:57:27 +13:00
1aebc2c100
Only hint modules once
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-11-05 17:48:13 +13:00
017f30be65
Also format m.notice
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-11-05 17:39:21 +13:00
a7165fe633
Fix purify and highlight
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
- purify: apply target=_blank to links
- purify: remove ALLOWED_URI_REGEXP - this breaks external links in
anchor elements
- purify: return a DOM fragment instead of a string
- postprocess: only highlight pre
- postprocess: remove nested code inside pre
- better style messages with css
2020-11-05 17:37:00 +13:00
8ba9d73b33
Small refactors
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
- "event" -> "eventData"
- create renderText method
- italics
2020-11-05 16:44:22 +13:00
9cf0952d3a
Change files to kebab-case
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2020-11-05 16:34:10 +13:00
714147b980
Fix lazy loading cache
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-11-05 16:32:42 +13:00
ebf6e7ea78
Show proper user data in room list
continuous-integration/drone/push Build is passing
2020-11-05 16:23:40 +13:00
1bf1712684
Fix dynamic import with relative paths
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-31 18:24:05 +01:00
0738ce4cb1
Rename dateFormatter.js to date-formatter.js
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-31 18:21:04 +01:00
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
4d59b1a9ac
Merge branch 'princess' into rich-messages
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-30 23:06:34 +01:00
5a41a2c943
Push build artifacts to dev.carbon.chat
continuous-integration/drone/push Build is passing
2020-10-30 23:00:49 +01:00
20bacce068
Remove the simple event shorthand
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-29 11:31:08 +01:00
f80bf36991
Style fixes
2020-10-29 11:09:15 +01:00
217a815750
Merge branch 'princess' into rich-messages
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-29 11:02:51 +01:00
bd9623578f
Add hljs and improve sanitization
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2020-10-29 10:42:17 +01:00
c144d75c99
Remove debug console.logs
2020-10-29 10:38:12 +01:00
66ecf44048
Remove console.log from membership
2020-10-29 10:36:38 +01:00
ff196a64bb
Improve message sender rendering
...
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
e08b895694
Create a simple event shorthand
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-26 23:16:47 +01:00
d983385e16
Fix compiler warnings
2020-10-26 22:58:38 +01:00
f46f9abe6e
Improve rich text rendering to more closely match the recommendations from the spec
2020-10-26 22:55:54 +01:00
1a8427925c
Add unknown memberships
2020-10-26 22:55:27 +01:00
a
098ea88f5d
Rebase rich-messages on princess
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
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
...
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
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
...
continuous-integration/drone/push Build is passing
Reviewed-on: #19
2020-10-26 09:33:51 +00:00
08a0990bc8
Add back jshint; format
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
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
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
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
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
...
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
79aa423ebb
Merge branch 'princess' into fix/gitignore
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-23 11:05:54 +00:00