Commit graph

42 commits

Author SHA1 Message Date
Tulir Asokan
9e63da1b6b all: add FCM push support 2025-01-12 23:26:29 +02:00
Tulir Asokan
39cb5f28a0 hicli/database: store DM user ID in database 2025-01-02 23:23:30 +02:00
Tulir Asokan
572ef41b80 hicli/sync: fix processing space events 2024-12-30 22:33:02 +02:00
Tulir Asokan
326b06c702 hicli/database: store spaces edges 2024-12-29 19:59:58 +02:00
Tulir Asokan
132a7dce15 dependencies: update mautrix-go 2024-12-22 15:01:00 +02:00
Sumner Evans
cf857e459e
hicli/sync: fix caching media edits in encrypted rooms
Signed-off-by: Sumner Evans <me@sumnerevans.com>
2024-12-21 13:30:11 -07:00
Sumner Evans
4c4744eba8
web/timeline: render MSC4095 URL previews
This commit implements rending of MSC4095[1] bundled URL previews and
includes a preference for disabling rendering of the previews.

[1]: https://github.com/matrix-org/matrix-spec-proposals/pull/4095

Signed-off-by: Sumner Evans <me@sumnerevans.com>
2024-12-21 10:38:44 -07:00
Tulir Asokan
42fa6ac465 hicli/sync: include replied-to events in sync and pagination
Should mostly fix #496
2024-12-21 16:04:39 +02:00
Tulir Asokan
da7eb6c583 hicli,web: add support for joining rooms
Fixes #503
2024-12-20 16:37:10 +02:00
Tulir Asokan
0fbf76af98 hicli,web: add support for read receipts
Fixes #514
2024-12-18 03:34:27 +02:00
Tulir Asokan
aa8148f5af hicli/database: add flag for events that had reply fallbacks removed 2024-12-18 00:46:59 +02:00
Tulir Asokan
29b787f94a hicli/sync: don't fail sync if database is locked 2024-12-17 22:34:54 +02:00
Sumner Evans
2551540e99
web/timeline: highlight inline code (#524) 2024-11-21 01:05:28 +02:00
Tulir Asokan
f3717505bf hicli/sync,web/mainscreen: add sync status indicator
Fixes #500
2024-11-21 00:49:03 +02:00
Tulir Asokan
80f9a8bb6b hicli/database,web/roomlist: show marked unread status 2024-11-16 23:51:19 +02:00
Tulir Asokan
d3b93327f2 hicli/paginate: optimize storing members in massive rooms 2024-11-12 23:35:11 +02:00
Tulir Asokan
540e8fa43e hicli/html: fix extra newlines when copying code blocks 2024-11-08 09:39:58 +01:00
Tulir Asokan
8f891b066c hicli/sync: don't send notifications on first sync 2024-11-04 11:52:51 +01:00
Tulir Asokan
5832a935cf all: use markdown for custom emojis, improve editing
Edits will now use a different HTML -> markdown converter than what is
used to generate the body. This allows the plaintext body to have a
plain shortcode for custom emojis, while still having the raw data for
edits.

Additionally, for sent events, the raw input is saved locally, which
allows preserving commands and other such things. A future extension
may store the raw input in a custom field in the Matrix event to allow
lossless edits of messages sent from other clients.
2024-11-02 14:00:21 +02:00
Tulir Asokan
214d4fde53 hicli/html,web/timeline: add support for LaTeX rendering 2024-11-02 02:51:00 +02:00
Tulir Asokan
497e507783 hicli/sync: create implicit read receipts for own events 2024-10-27 23:38:24 +02:00
Tulir Asokan
976d1ae9cb web/timeline: add big emojis 2024-10-27 18:40:43 +02:00
Tulir Asokan
ca76182b81 hicli/html: fix extra </>'s in sanitized HTML 2024-10-27 01:40:42 +03:00
Tulir Asokan
15d696ae09 hicli/sync: skip linkifying for messages with no special characters 2024-10-25 23:43:12 +03:00
Tulir Asokan
8a34618a70 hicli/html: preallocate space for html sanitization buffer 2024-10-25 23:33:32 +03:00
Tulir Asokan
72e1bd428e hicli/sync: send account data to frontend 2024-10-25 19:15:22 +03:00
Tulir Asokan
abc5327041 hicli: delete room data on leave 2024-10-24 02:14:46 +03:00
Tulir Asokan
5189f86f81 hicli: lower http header timeout after first sync 2024-10-23 20:29:53 +03:00
Tulir Asokan
27f1d0f3e4 hicli/sync: allow reprocessing encrypted event html 2024-10-22 01:15:45 +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
afa6d3aa4b hicli/html,web/timeline: add syntax highlighting for code blocks 2024-10-20 15:55:14 +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
4b9e28c644 hicli/database: store tombstone content in room table 2024-10-20 12:28:09 +03:00
Tulir Asokan
f38946b96e hicli/sync: make sorting timestamps more sensible on init sync 2024-10-20 01:20:35 +03:00
Tulir Asokan
d3decc5255 hicli/pushrules: add todo for saving mute flag in rooms 2024-10-19 02:35:15 +03:00
Tulir Asokan
3dd7f9a4bd web/timeline: fix newlines in plaintext messages 2024-10-18 12:56:38 +03:00
Tulir Asokan
8d201642c8 hicli/html: fix closing font tags in html sanitizer 2024-10-18 12:27:16 +03:00
Tulir Asokan
2179fb2c18 hicli/sync: recalculate unreads on redaction 2024-10-18 00:57:27 +03:00
Tulir Asokan
9254461795 hicli/sync: always send room in sync if own receipts change 2024-10-17 23:22:29 +03:00
Tulir Asokan
0455ff3d24 hicli: calculate unreads locally 2024-10-17 21:49:57 +03:00
Tulir Asokan
1db1d2db5c all: move hicli from mautrix-go and add more features 2024-10-17 20:31:03 +03:00