Commit Graph

107 Commits

Author SHA1 Message Date
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
Adam Brown 74dff9ccf2 avoiding sync event updates from other rooms 2022-10-03 20:08:03 +01:00
Adam Brown 03cb954ea8 computing the image size before sending to allow it to be used in local echos
- fixes local echo images changing size
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 933197dfd7 supporting local echos for text replies 2022-10-03 20:08:03 +01:00
Adam Brown 7a8b91a376 replacing sealed class with interface 2022-10-03 20:08:03 +01:00
Adam Brown fa177de185 removing redundant serializable 2022-10-03 20:08:03 +01:00
Adam Brown b8d9572bf3 removing unused field 2022-10-03 20:08:03 +01:00
Adam Brown aa277615e5 adding support for sending replies 2022-10-03 20:08:03 +01:00
Adam Brown 6532478fc8 extracting me fetching logic to its own usecase and testing 2022-10-03 20:08:03 +01:00
Adam Brown 1d1aff0ca9 allowing the profile call to continue when receiving a 404 instead of crashing
- this case is known by the spec for when a profile doesn't exist yet
- 403s still crash as fetching your own profile information should never result in access denied
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 bd9c247ee8 fixing bridge images not showing up
- caused by a missing mimetype field in the message request
2022-09-29 17:03:08 +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 ccdeed24ef using separate content provider query to find image file size rather than collect the content of the image itself into memory, should be much more effecient! 2022-09-21 23:29:01 +01:00
Adam Brown 02e76548e3 adding separate image for encrypted image test and re-enabling clear image test 2022-09-21 22:51:07 +01:00
Adam Brown 3c865179d7 improving image decrypting pipeline to use one less copy and adding smoke test to sending encrypted images 2022-09-21 22:42:04 +01:00
Adam Brown 2635a5f3e5 making the image fectching factory part of the dagger graph 2022-09-21 22:11:35 +01:00
Adam Brown 9d6e72303a moving the media encrypting to the crypto module and exposing as part of the service 2022-09-21 21:24:45 +01:00
Adam Brown f6ef073689 adding support for sending encrypted images 2022-09-21 20:35:39 +01:00
Adam Brown 06947301ac lifting the message contents jsonising to the message usecase 2022-09-21 20:07:03 +01:00
Adam Brown 94ad1cb595 moving the ApiMessage to the message module 2022-09-21 19:55:41 +01:00
Adam Brown 3c2a226555 extracting a dedicated media decrypter 2022-09-20 20:54:35 +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 577e692e32 removing invites from the database after rejecting them and allowing them to fail with 403 (if the user no longer has access) 2022-09-10 19:50:19 +01:00
Adam Brown f973e01a4e fixing broken settings view model tests and handling file opening errors 2022-09-04 14:13:36 +01:00
Adam Brown ef2a2c5624 logging the room import time taken 2022-09-04 14:01:07 +01:00
Adam Brown 71af573d06 using the import result directly in the UI, will allow separate error displays per reason 2022-09-04 13:36:48 +01:00
Adam Brown 6a3c594481 extracting the json accumulation to its own class 2022-09-04 13:03:54 +01:00
Adam Brown 5b2243cfa9 providing progress during room key imports by switching to a flow 2022-09-04 12:43:03 +01:00