Commit graph

1143 commits

Author SHA1 Message Date
Tulir Asokan
a7a2fc53f2 web/composer: fix replies to code blocks being too wide 2024-10-23 13:35:20 +03:00
Tulir Asokan
30c579d1d4 web/timeline: add background color for pills 2024-10-23 13:33:38 +03:00
Tulir Asokan
e243593e06 server: add Cache-Control and ETag headers 2024-10-23 02:26:37 +03:00
Tulir Asokan
b24a34ef97 web/timeline: read relates_to from correct content 2024-10-23 01:21:21 +03:00
Tulir Asokan
1f521f8fac web/statestore: fix state subscribers 2024-10-22 22:14:26 +03:00
Tulir Asokan
11e1eef5e2 media,web: add support for fallback avatars 2024-10-22 21:56:08 +03:00
Tulir Asokan
eb68f3da7c web/timeline: fix some bugs with reading content 2024-10-22 21:55:27 +03:00
Tulir Asokan
e2458c7657 web/composer: fix using arrow keys to pick autocomplete results 2024-10-22 20:05:26 +03:00
Tulir Asokan
082e5642aa web/timeline: mark thread replies 2024-10-22 20:00:15 +03:00
Tulir Asokan
c4266fbc22 web/composer: send thread message when replying in thread 2024-10-22 19:53:10 +03:00
Tulir Asokan
014c8c07a8 hicli/database: add temporary hacky fix for reaction aggregations
The aggregations will be redone properly later
2024-10-22 16:36:49 +03:00
Tulir Asokan
0e328c44d3 web/timeline: wrap reactions 2024-10-22 12:57:34 +03:00
Tulir Asokan
65b221d38e web/timeline: add support for rendering custom emoji reactions 2024-10-22 01:34:27 +03:00
Tulir Asokan
27f1d0f3e4 hicli/sync: allow reprocessing encrypted event html 2024-10-22 01:15:45 +03:00
Tulir Asokan
9d96ed1b12 hicli/database: fix FillReactionCounts 2024-10-22 01:09:04 +03:00
Tulir Asokan
728db4d650 ci: build docker image 2024-10-22 01:07:40 +03:00
Tulir Asokan
f5288f4922 web/statestore: also notify state subscribers when fetching whole state 2024-10-21 23:28:41 +03:00
Tulir Asokan
293a6416fc web/timeline: add a bubble around reactions 2024-10-21 23:21:40 +03:00
Tulir Asokan
f5eeb8461a hicli/sync: enable reaction count collection for all events
The reaction aggregation probably needs to be redone to support finding
the entire event (to see senders and other content like shortcodes),
but this is good enough to get reactions rendering.
2024-10-21 23:11:14 +03:00
Tulir Asokan
3296c38454 web/timeline: subscribe to event sender state 2024-10-21 23:04:57 +03:00
Tulir Asokan
ab06dbf5aa web/timeline: don't allow sender to wrap 2024-10-21 23:04:57 +03:00
Tulir Asokan
cc56633732 web/timeline: override code block background color 2024-10-21 22:14:07 +03:00
Tulir Asokan
aae6e7496c web/roomlist,timeline: memoize rooms and messages 2024-10-21 22:10:40 +03:00
Tulir Asokan
52b4e2d6d1 web/timeline: remove unused css rule 2024-10-21 20:57:48 +03:00
Tulir Asokan
f2f89b728f web/timeline: add error boundary for event content rendering 2024-10-21 20:52:59 +03:00
Tulir Asokan
b67095f0fd web/timeline: reorganize components slightly 2024-10-21 20:42:22 +03:00
Tulir Asokan
e1c937849e web/timeline: fix rendering replies to non-message events 2024-10-21 20:35:20 +03:00
Tulir Asokan
d73cf4d863 web/roomview: focus composer on ctrl+a as well 2024-10-21 00:51:29 +03:00
Tulir Asokan
ecd8064adb web/roomlist: use content-visibility auto for room list entries 2024-10-21 00:36:17 +03:00
Tulir Asokan
716f8b9834 web/autocomplete: scroll selected item into view 2024-10-20 22:26:52 +03:00
Tulir Asokan
8ddf5f800d web/composer: add emoji autocompletion 2024-10-20 22:11:49 +03:00
Tulir Asokan
9b1b0426c3 media: allow streaming unencrypted files 2024-10-20 19:48:22 +03:00
Tulir Asokan
0e3f6bdacb web/composer: use relative path for upload endpoint 2024-10-20 18:42:47 +03:00
Tulir Asokan
2744fcf213 web/vite: set relative base path 2024-10-20 18:35:27 +03:00
Tulir Asokan
ef3776f2ce web/main: fix path for websocket request too 2024-10-20 18:30:48 +03:00
Tulir Asokan
732b38490c web/main: disable pinch to zoom on mobile 2024-10-20 18:17:05 +03:00
Tulir Asokan
24eba06330 web/main: fix path for auth request 2024-10-20 18:16:43 +03:00
Tulir Asokan
4abeaf2250 web/timeline: fix code block reply line limit again 2024-10-20 16:09:20 +03:00
Tulir Asokan
afa6d3aa4b hicli/html,web/timeline: add syntax highlighting for code blocks 2024-10-20 15:55:14 +03:00
Tulir Asokan
8cc475e66b hicli/json: add resolve alias command 2024-10-20 14:10:01 +03:00
Tulir Asokan
34346cffec hicli/html: linkify plaintext matrix: and mxc:// URIs 2024-10-20 13:51:55 +03:00
Tulir Asokan
535393d47f hicli/html: add inline images to media references 2024-10-20 13:31:33 +03:00
Tulir Asokan
2c5738f7f2 hicli/database: refactor media cache 2024-10-20 13:21:34 +03:00
Tulir Asokan
0b59b2c733 hicli/pushrules: skip evaluating non-message events in initial sync 2024-10-20 12:52:37 +03:00
Tulir Asokan
251c91490c web/roomlist: lowercase search queries before unhomoglyphing 2024-10-20 12:38:04 +03:00
Tulir Asokan
c0a8deb347 web/html: remove old client-side html sanitizer 2024-10-20 12:34:12 +03:00
Tulir Asokan
e31bb4ebb6 web/roomlist: hide tombstoned rooms and unknown room types 2024-10-20 12:28:31 +03:00
Tulir Asokan
4b9e28c644 hicli/database: store tombstone content in room table 2024-10-20 12:28:09 +03:00
Tulir Asokan
ba30026cdc server: set secure flag for cookie 2024-10-20 12:19:51 +03:00
Tulir Asokan
544b90f3d9 server: set same-site attribute in cookies 2024-10-20 12:18:54 +03:00