Commit graph

149 commits

Author SHA1 Message Date
2e91ff8ff2
Recognise image spoilers (based on "body")
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-28 18:45:08 +13:00
a004e84adc
Add spoilers 2020-11-28 17:17:50 +13:00
b4dfefbac9
Render ban events 2020-11-28 17:07:54 +13:00
e6fc1de276
Greatly improved membership event display
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-27 02:48:30 +13:00
70cae25aa7
Update readme
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-26 17:57:05 +13:00
6e209bafd6
Add extremely janky unread messages banner
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-26 16:38:12 +13:00
bc861125d8
Revert. Don't use minified discord-markdown.
All checks were successful
continuous-integration/drone/push Build is passing
It doesn't seem like it exposes any exports for use with `require`.
2020-11-26 14:01:05 +13:00
6297350418
Use minified discord-markdown
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-26 01:55:49 +13:00
Bad
69a9e2ed2f 💚 Fix drone build due to missing git
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-25 08:18:46 +01:00
b7905bc3be
Read marker lines in chat, badges on groups
Some checks failed
continuous-integration/drone/push Build is failing
Also fixed stopping typing after sending a message.
2020-11-25 19:54:09 +13:00
babd098d18
Remove console.log
Some checks failed
continuous-integration/drone/push Build is failing
2020-11-25 01:56:49 +13:00
229e6903fd
Display unread/notification counters on rooms
Some checks failed
continuous-integration/drone/push Build is failing
2020-11-25 01:28:04 +13:00
e90a2c7da8
Rename property to message namespace 2020-11-24 20:00:45 +13:00
03c7501bf1
Formatting for sent messages
Some checks failed
continuous-integration/drone/push Build is failing
2020-11-24 18:58:27 +13:00
0960ca7e97
Code highlighting fixes:
All checks were successful
continuous-integration/drone/push Build is passing
- Fix pre+code element moving
- Do not highlight if pre is already formatted
2020-11-14 17:27:13 +13:00
c0c7278279
Support Construct homeserver
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-12 17:29:46 +13:00
9f6c955b63
Update progress in readme
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-09 01:12:09 +13:00
f4b13dbde4
Send own typing status 2020-11-09 01:11:28 +13:00
c87b6dcaa7
Display typing notifications
All checks were successful
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
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-08 01:11:31 +13:00
4acd806e66
Render image messages
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-08 01:04:42 +13:00
327290e971
Autolink URLs in messages
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-08 00:49:12 +13:00
d6be694d3b
Style blockquotes
All checks were successful
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
All checks were successful
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
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-11-07 23:45:20 +13:00
bad
6583c192ce Merge branch 'princess' into rich-messages
Some checks failed
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
Some checks failed
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
Some checks failed
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
All checks were successful
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
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-05 16:23:40 +13:00
Bad
1bf1712684 Fix dynamic import with relative paths
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-31 18:24:05 +01:00
Bad
0738ce4cb1 Rename dateFormatter.js to date-formatter.js
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-10-31 18:21:04 +01:00
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