68 Commits

Author SHA1 Message Date
Adam Brown
89af610f58 optimise plain text appending to avoid creating extra instances 2022-10-28 18:05:37 +01:00
Adam Brown
f694ffe786 add best guess end to url parsing 2022-10-28 17:35:30 +01:00
Adam Brown
e79c5c9a27 handling edits with rich text (kind of~) 2022-10-24 22:47:35 +01:00
Adam Brown
87f25e6e66 removing previous tag stripping 2022-10-24 22:30:22 +01:00
Adam Brown
9476fc5814 handling more text parsing cases for fallbacks and urls 2022-10-24 22:03:53 +01:00
Adam Brown
fddcdaa50c adding custom html parsing with tag styling 2022-10-23 23:15:46 +01:00
Adam Brown
e13ce95b83 adding super naive html parsing for style options 2022-10-23 20:04:38 +01:00
Adam Brown
1f3c62e9c3 allow state events to be missing/null
- dendrite can omit the state field from the sync response
2022-10-22 20:06:31 +01:00
Adam Brown
4bd75f1bd8 allowing the one time keys count to be optional
- for dendrite the field is provided in later syncs
2022-10-22 19:17:35 +01:00
Adam Brown
6ca4ecce68 using a fallback user when we're unable to find the author
fixes potential crash when failing to lookup a user by id
2022-10-22 12:09:51 +01:00
Adam Brown
c9fb1b102e updating tests 2022-10-17 21:15:21 +01:00
Adam Brown
a3daea199d removing unused time fields 2022-10-17 20:49:04 +01:00
Adam Brown
f47a44063b fixing images causing decryption errors
- introduces a dedicated encrypted room event type
2022-10-17 20:47:04 +01:00
Adam Brown
709d6c0e1f porting notification tests to the engine 2022-10-12 21:05:56 +01:00
Adam Brown
4d033230e4 porting notifications to chat engine 2022-10-12 20:52:02 +01:00
Adam Brown
8f1d8cdcc1 porting messenger tests to the engine module 2022-10-12 19:57:16 +01:00
Adam Brown
6e076e7c9f ensuring the sync emits instantly or after the initial sync 2022-10-10 20:03:53 +01:00
Adam Brown
8bbf7258be porting media decryption to the chat engine 2022-10-09 19:38:33 +01:00
Adam Brown
0a982ff53f stripping out more html tags from text 2022-10-04 20:51:57 +01:00
Adam Brown
011c7aebf9 updating sync service fake to reflect events by roomid change 2022-10-03 20:08:03 +01:00
Adam Brown
74dff9ccf2 avoiding sync event updates from other rooms 2022-10-03 20:08:03 +01:00
Adam Brown
95c95c38ca allowing the canonical alias to be null when parsing the sync response 2022-10-03 20:08:03 +01:00
Adam Brown
0a0f998785 taking into account redactions and updating the message list 2022-09-29 19:00:40 +01:00
Adam Brown
5a67275b89 parsing redacted events 2022-09-29 17:58:45 +01:00
Adam Brown
ef41f13a7b adding entry point for extending services 2022-09-27 21:12:40 +01:00
Adam Brown
1c37667485 using a single sync flow instance to reduce memory and risk of concurrent flows 2022-09-27 19:09:33 +01:00
Adam Brown
3d7730bc32 filtering out spaces from the room overviews 2022-09-19 22:00:31 +01:00
Adam Brown
ff83263619 providing null heroes for fixture 2022-09-19 21:08:01 +01:00
Adam Brown
d30925fd5a taking heroes into account when processing room display name 2022-09-19 20:49:56 +01:00
Adam Brown
355d4a021c taking into account canonical room aliases 2022-09-19 20:17:39 +01:00
Adam Brown
f4007bff76 fixing keys being rotated out when the server returns a 0 key count but we have local keys 2022-09-15 20:27:25 +01:00
Adam Brown
d463f7028b using json instance for decoding json element in custom serializers 2022-08-19 17:36:48 +01:00
Adam Brown
f668a1b8ea adding mimetype and reusing filename image content properties 2022-08-09 21:55:27 +01:00
Adam Brown
0730cd069c adding support for sending clear images 2022-08-09 21:12:43 +01:00
Adam Brown
3859aa7f0b extracting api responses to their own files to improve ide performance 2022-08-06 12:16:47 +01:00
Adam Brown
9c99b6a0a9 Merge branch 'main' of github.com:ouchadam/helium into feature/share-images-via-small-talk 2022-07-28 22:08:44 +01:00
Adam Brown
c7da6c1663 allowing h/w information to be null 2022-07-11 21:07:10 +01:00
Adam Brown
1450a70283 Merge branch 'main' of github.com:ouchadam/helium into feature/share-images-via-small-talk 2022-06-13 19:05:41 +01:00
Adam Brown
173d34a535 updating timeline to take into account start syncing emissions 2022-06-13 18:54:56 +01:00
Adam Brown
b82397d965 emitting events each time the sync completes so that we can know if the first sync is happening 2022-06-11 22:46:41 +01:00
Adam Brown
92ad630e45 Merge branch 'main' into feature/share-images-via-small-talk 2022-06-08 19:25:59 +01:00
Adam Brown
8743052899 fixing replies and image messages jumping to the wrong position 2022-06-08 18:51:59 +01:00
Adam Brown
2f71a0163a Merge branch 'main' into feature/share-images-via-small-talk 2022-06-07 20:05:56 +01:00
Adam Brown
c2c6296e9a fixing missing nested replies/images 2022-06-07 19:58:58 +01:00
Adam Brown
e6bd0f80dc fetching rooms and displaying when starting a share flow 2022-05-30 19:16:16 +01:00
Adam Brown
a6fa7487f3 supporting images and replies in the room list 2022-05-30 18:06:11 +01:00
Adam Brown
8ba66b3943 supporting images and replies in the room list 2022-05-30 18:05:45 +01:00
Adam Brown
64bce44a12 extracting notification logic to its own class with unit tests 2022-05-23 20:28:02 +01:00
Adam Brown
8716500d99 replacing links with their content, in the future this should be a representation with ranges of the formatting within the text 2022-05-09 18:20:42 +01:00
Adam Brown
299c6af27a fixing message starts being cutoff due to expecting a reply tag to exist 2022-05-08 19:02:54 +01:00