Commit Graph

51 Commits

Author SHA1 Message Date
Adam Brown 8bbf7258be porting media decryption to the chat engine 2022-10-09 19:38:33 +01:00
Adam Brown a396712e8e fixing test harness compilation error 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 9dcbd63eae
Merge pull request #163 from ouchadam/bug/various-crypto-fixes
Various crypto fixes
2022-09-27 21:20:49 +01:00
Adam Brown 69e7dfd90a using proxy to allow the encryption tests to wait for keys to be uploaded, re-enabling the 2nd device user tests 2022-09-27 21:13:21 +01:00
Adam Brown 8c8c7f7290
Merge pull request #156 from ouchadam/dependabot/gradle/app.cash.turbine-turbine-0.11.0
Bump turbine from 0.10.0 to 0.11.0
2022-09-27 20:33:12 +01:00
dependabot[bot] 2b5775aa7f
Bump json from 20220320 to 20220924
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20220320 to 20220924.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 05:38:06 +00:00
dependabot[bot] 379c3ebb2b
Bump turbine from 0.10.0 to 0.11.0
Bumps [turbine](https://github.com/cashapp/turbine) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/cashapp/turbine/releases)
- [Changelog](https://github.com/cashapp/turbine/blob/trunk/CHANGELOG.md)
- [Commits](https://github.com/cashapp/turbine/compare/0.10.0...0.11.0)

---
updated-dependencies:
- dependency-name: app.cash.turbine:turbine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 05:42:04 +00: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 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 f8976cc1bc
Merge pull request #145 from ouchadam/feature/synapse-cache-error
Fixing synapse caching breaking encrypted smoke test
2022-09-15 20:40:17 +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 1478f4a7ff replace user ids with names in test logging 2022-09-15 18:54:50 +01:00
dependabot[bot] 5f3511d619
Bump turbine from 0.9.0 to 0.10.0
Bumps [turbine](https://github.com/cashapp/turbine) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/cashapp/turbine/releases)
- [Changelog](https://github.com/cashapp/turbine/blob/trunk/CHANGELOG.md)
- [Commits](https://github.com/cashapp/turbine/compare/0.9.0...0.10.0)

---
updated-dependencies:
- dependency-name: app.cash.turbine:turbine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-15 05:24:33 +00:00
Adam Brown defabfbae5 rendering invites as notification which temporarily open the app on tap 2022-09-11 12:14:20 +01:00
Adam Brown 0c113896c1 adding material you toggle
- meant moving the base preferences to the core module and allowing the activity to recreate itself if the theme congifuration has changed
2022-09-08 20:06:08 +01:00
Adam Brown 38dec9c802 updating smoke test to use flow result 2022-09-04 13:50:04 +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 f07e59c874 Merge branch 'main' of github.com:ouchadam/helium into feature/share-images-via-small-talk 2022-08-06 10:15:55 +01:00
dependabot[bot] d6d3add566
Bump turbine from 0.8.0 to 0.9.0
Bumps [turbine](https://github.com/cashapp/turbine) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/cashapp/turbine/releases)
- [Changelog](https://github.com/cashapp/turbine/blob/trunk/CHANGELOG.md)
- [Commits](https://github.com/cashapp/turbine/compare/0.8.0...0.9.0)

---
updated-dependencies:
- dependency-name: app.cash.turbine:turbine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-02 05:29:26 +00: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 482e5c15b7 using a temporary database for the second device logins, exposing a false positive in the smoke tests 2022-06-11 21:55:03 +01:00
Adam Brown 34423b2d50 Merge branch 'main' into message-tests 2022-06-11 21:44:10 +01:00
Adam Brown e9ad0b4a64 Merge branch 'main' into feature/share-images-via-small-talk 2022-06-11 19:11:45 +01:00
Adam Brown 4a0d2cd42d prepping for kotlin 1.7.0 release, removing compose from modules that don't need it 2022-06-11 13:29:47 +01:00
Adam Brown a9ef2b5190 using uuids instead of timestamps for unique test messages 2022-06-11 13:02:22 +01:00
Adam Brown 4d43b6e31f failing test when the newLogin fails 2022-06-11 12:44:55 +01:00
Adam Brown fe28496cba adding test for clear messaging (in prep for images), which uncovered bad test state 2022-06-11 12:28:18 +01:00
Adam Brown 6fed8a35ce wip, passing the image urls down to the matrix client layer 2022-06-08 20:31:07 +01:00
Adam Brown e6bd0f80dc fetching rooms and displaying when starting a share flow 2022-05-30 19:16:16 +01:00
Adam Brown e1029dc497 adding tests around notification rendering 2022-05-29 16:10:00 +01:00
dependabot[bot] 0636090e51
Bump turbine from 0.7.0 to 0.8.0
Bumps [turbine](https://github.com/cashapp/turbine) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/cashapp/turbine/releases)
- [Changelog](https://github.com/cashapp/turbine/blob/trunk/CHANGELOG.md)
- [Commits](https://github.com/cashapp/turbine/compare/0.7.0...0.8.0)

---
updated-dependencies:
- dependency-name: app.cash.turbine:turbine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-03 05:27:46 +00:00
Adam Brown e1fd79de02 adding support for signing in to homeservers without wellknown setup 2022-04-13 21:05:08 +01:00
Adam Brown 7ea01dd292 using passed base64 instance, fixes android 26 requirement for imports 2022-04-12 22:51:41 +01:00
Adam Brown 91cf19baad fixing sign out not resetting database or inmemory caches 2022-03-28 22:16:45 +01:00
dependabot[bot] 60a8da76da
Bump json from 20211205 to 20220320
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20211205 to 20220320.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 05:29:40 +00:00
Adam Brown 7a025b9d9c extracting base64 in order to provide the android version 2022-03-18 20:52:17 +00:00
Adam Brown 50663f486f caching pip depedencies 2022-03-08 22:40:10 +00:00
Adam Brown 45f9a81e52 using single https synapse instance for test harness 2022-03-08 21:54:29 +00:00
Adam Brown fcfabcda27 adding tests around the messaging view model 2022-03-07 23:18:25 +00:00
Adam Brown 1f96bfbc0f making a start on testing the android side of the project 2022-03-05 19:23:37 +00:00
Adam Brown ecb24ece11 more tests 2022-03-03 20:57:13 +00:00