Commit Graph

144 Commits

Author SHA1 Message Date
Adam Brown 623639d2ec adding directory use case test 2022-11-05 11:42:31 +00:00
Adam Brown 9048f9fb0c adding test for invites use case 2022-11-05 11:04:04 +00:00
Adam Brown 0d0c3d55fe ignore unsupported events 2022-11-05 10:11:09 +00:00
Adam Brown c9a29b0b25 add support for more types of html tags and nesting 2022-11-05 09:39:12 +00:00
Adam Brown 4d853f0338 porting to flow concat for the initial sync state read 2022-11-04 11:16:10 +00:00
Adam Brown d3070d578a removing manual redacted text fallback and using empty instead 2022-11-04 09:15:02 +00:00
Adam Brown 7a426ab1e7 add dedicated redacted message type in order to render it separately 2022-11-04 09:10:48 +00:00
Adam Brown 49937beb9a fix edits changing message order
- was caused by the edited event timestamp replacing the original message, which in turn caused the message to be ordered as the latest message
2022-11-03 17:47:39 +00:00
Adam Brown 718fb681c3 replacing & html entity with & 2022-11-03 17:17:21 +00:00
Adam Brown 68674aeaab update tests to reflect muting 2022-11-02 14:42:35 +00:00
Adam Brown 34aa7f9502 observe unread events for notifications from rooms which are not muted 2022-11-02 14:28:04 +00:00
Adam Brown 92639beb73 binding muted state to a icon within the room ist 2022-11-02 14:03:16 +00:00
Adam Brown dc5a46e0cd lifts room muting to the chat engine 2022-11-02 11:48:59 +00:00
Adam Brown 1bfc2fd670 handle apos; html entity 2022-11-01 10:37:31 +00:00
Adam Brown 0fbef88c2d adding support for blockquotes 2022-10-31 18:25:38 +00:00
Adam Brown a0e56b349c fix images using wrong width/height
- takes the exit rotation into account as the bitmap can provide misleading values
2022-10-30 18:40:50 +00:00
Adam Brown 918f186560 allowing duplicate text content and handling header line breaks 2022-10-29 13:59:29 +01:00
Adam Brown 2fab30060f reduce duplication 2022-10-29 12:51:56 +01:00
Adam Brown 23b004ff02 supporting nested tags within a paragraph 2022-10-29 12:24:32 +01:00
Adam Brown 446d729981 adding basic list support 2022-10-29 11:23:44 +01:00
Adam Brown 7016f7c4ee handle headers as bold text 2022-10-29 10:33:56 +01:00
Adam Brown 55745b9c41 more robust url parsing 2022-10-29 10:12:32 +01:00
Adam Brown 8e36efe0c2 message parsing refactor 2022-10-28 22:19:16 +01:00
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 45962157f0 ensuring all rich text usages use asString exit 2022-10-28 16:24:53 +01:00
Adam Brown eeb13b3f6c adding missing rich text test usages 2022-10-24 22:56:17 +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 0536364121 extract member cache sizes to vars 2022-10-22 11:52:16 +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 0b02e6d028 porting pushes to chat engine 2022-10-09 21:22:43 +01:00
Adam Brown 8bbf7258be porting media decryption to the chat engine 2022-10-09 19:38:33 +01:00
Adam Brown 3a8c4c11ce adding dedicated error for missing room keys cipher 2022-10-09 15:09:56 +01:00
Adam Brown 0e4f6d6ac2 lifting hidden/private read receipt option to the view model 2022-10-08 11:09:08 +01:00
Adam Brown 0a982ff53f stripping out more html tags from text 2022-10-04 20:51:57 +01:00
Adam Brown 4a4fad3cc0 providing a custom initial device display name
- Uses SmallTalk Android with a 4 character random
2022-10-03 20:08:03 +01:00
Adam Brown 011c7aebf9 updating sync service fake to reflect events by roomid change 2022-10-03 20:08:03 +01:00