Commit Graph

900 Commits

Author SHA1 Message Date
Adam Brown e85d7a5ede adding an lru cache and making use of it in the room member cache
- keeps 25 members from 12 rooms in memory to avoid the cache growing infinitely
2022-05-08 18:50:14 +01:00
Adam Brown cd0b3f567b using single instance of the clock to avoid recomposition lookups 2022-05-08 14:37:12 +01:00
Adam Brown ea2a960a3d avoiding extra bitmap allocations when loading notification avatars 2022-05-08 14:21:44 +01:00
Adam Brown d78000061e reducing native memory footprint by releasing crypto instances after using them
- they're being recreated via olmStore.read
2022-05-08 13:22:10 +01:00
Adam Brown 5fae38aac7 allowing the joined member display name to be null 2022-05-08 13:06:06 +01:00
Adam Brown 73331b3d1e launching the app when tapping the summary notification 2022-05-08 12:49:16 +01:00
Adam Brown 995377343b adding summary notification title and ensuring that it updates without pinging when the counts change 2022-05-08 12:36:53 +01:00
Adam Brown f2be4b8b95 forcing the notification rendering to occur on the main thread
- hopefully reduce the amount of individual notification popups when a collection of messages are received
2022-05-08 12:23:13 +01:00
Adam Brown cf35d382c6
Merge pull request #35 from ouchadam/dependabot/gradle/app.cash.turbine-turbine-0.8.0
Bump turbine from 0.7.0 to 0.8.0
2022-05-08 11:15:34 +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 59afb61c7b
Merge pull request #34 from ouchadam/dependabot/gradle/ktorVer-2.0.1
Bump ktorVer from 2.0.0 to 2.0.1
2022-05-02 16:45:07 +01:00
dependabot[bot] 232078ab54
Bump ktorVer from 2.0.0 to 2.0.1
Bumps `ktorVer` from 2.0.0 to 2.0.1.

Updates `ktor-client-android` from 2.0.0 to 2.0.1
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.0.0...2.0.1)

Updates `ktor-client-core` from 2.0.0 to 2.0.1
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.0.0...2.0.1)

Updates `ktor-client-serialization` from 2.0.0 to 2.0.1
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.0.0...2.0.1)

Updates `ktor-client-logging-jvm` from 2.0.0 to 2.0.1
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.0.0...2.0.1)

Updates `ktor-client-java` from 2.0.0 to 2.0.1
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.0.0...2.0.1)

---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.ktor:ktor-client-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.ktor:ktor-client-serialization
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.ktor:ktor-client-logging-jvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.ktor:ktor-client-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 05:42:36 +00:00
Adam Brown a10f51aa08 adding an empty state to messages list 2022-04-26 22:16:07 +01:00
Adam Brown 42914ffe53 only notifying the summary notification if we've added new messages, avoids renotifying when marking rooms as read 2022-04-26 22:06:02 +01:00
Adam Brown f3f256e0d3 fixing notifications being dismissed early when there's only 1 left and fixes wrong room being opened when tapping notification 2022-04-26 21:57:56 +01:00
Adam Brown f71f7e9099 cancelling existing notification intents to reset the room id extra 2022-04-25 23:21:57 +01:00
Adam Brown 77bdfb4cd3 cleaning up dependency entries 2022-04-25 23:09:35 +01:00
Adam Brown 21be4a4b1d gracefully handling errors within the profile screen 2022-04-25 23:09:20 +01:00
Adam Brown 347074b10f allowing the image info to be missing and reusing scaling logic for other image messge types 2022-04-25 22:38:44 +01:00
Adam Brown 53f3fc01de Merge branch 'main' of github.com:ouchadam/helium 2022-04-25 13:07:48 +01:00
Adam Brown d93e65d215 adding username/password autofill
- pulled in from  https://bryanherbst.com/2021/04/13/compose-autofill/
2022-04-25 13:07:34 +01:00
Adam Brown 8f0c4c9b9a
Merge pull request #29 from ouchadam/dependabot/gradle/com.google.accompanist-accompanist-systemuicontroller-0.24.7-alpha
Bump accompanist-systemuicontroller from 0.24.6-alpha to 0.24.7-alpha
2022-04-25 11:59:15 +01:00
Adam Brown 9d6b1c1cb4
Merge branch 'main' into dependabot/gradle/com.google.accompanist-accompanist-systemuicontroller-0.24.7-alpha 2022-04-25 11:54:55 +01:00
Adam Brown 61d37dfa8c
Merge pull request #30 from ouchadam/dependabot/gradle/com.squareup.leakcanary-leakcanary-android-2.9.1
Bump leakcanary-android from 2.8.1 to 2.9.1
2022-04-25 11:54:45 +01:00
Adam Brown 05a41c7ddf add support for unencrypted images 2022-04-25 11:25:11 +01:00
Adam Brown e1411ed115 applying image message scaling 2022-04-25 10:58:45 +01:00
dependabot[bot] d455366ecb
Bump leakcanary-android from 2.8.1 to 2.9.1
Bumps [leakcanary-android](https://github.com/square/leakcanary) from 2.8.1 to 2.9.1.
- [Release notes](https://github.com/square/leakcanary/releases)
- [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md)
- [Commits](https://github.com/square/leakcanary/compare/v2.8.1...v2.9.1)

---
updated-dependencies:
- dependency-name: com.squareup.leakcanary:leakcanary-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-21 05:26:38 +00:00
dependabot[bot] d7cd39d7e0
Bump accompanist-systemuicontroller from 0.24.6-alpha to 0.24.7-alpha
Bumps [accompanist-systemuicontroller](https://github.com/google/accompanist) from 0.24.6-alpha to 0.24.7-alpha.
- [Release notes](https://github.com/google/accompanist/releases)
- [Commits](https://github.com/google/accompanist/compare/v0.24.6-alpha...v0.24.7-alpha)

---
updated-dependencies:
- dependency-name: com.google.accompanist:accompanist-systemuicontroller
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-21 05:26:35 +00:00
Adam Brown aa78bcd439 extracting the room members caching to its own class - need an upper limit to be set 2022-04-13 21:52:37 +01:00
Adam Brown dccf8cc206 scrolling to top when select directory icon again 2022-04-13 21:33:16 +01:00
Adam Brown 352501fb9b extracting inner classes from the graph creation 2022-04-13 21:22:50 +01:00
Adam Brown 21002fb9b7 removing debug logs 2022-04-13 21:20:24 +01:00
Adam Brown e1fd79de02 adding support for signing in to homeservers without wellknown setup 2022-04-13 21:05:08 +01:00
Adam Brown 32494b961b closing keyboard after entering imported rooms keys passphrase 2022-04-12 22:52:00 +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 ded1d9b5da
Merge pull request #26 from ouchadam/dependabot/gradle/ktorVer-2.0.0
Bump ktorVer from 1.6.8 to 2.0.0
2022-04-12 22:36:22 +01:00
Adam Brown cec21f2c6e fixing 2.0 compile errors 2022-04-12 22:27:05 +01:00
Adam Brown e8d4fbbc69
Merge pull request #25 from ouchadam/dependabot/gradle/com.google.accompanist-accompanist-systemuicontroller-0.24.6-alpha
Bump accompanist-systemuicontroller from 0.24.5-alpha to 0.24.6-alpha
2022-04-12 22:04:41 +01:00
dependabot[bot] 05a74b1270
Bump ktorVer from 1.6.8 to 2.0.0
Bumps `ktorVer` from 1.6.8 to 2.0.0.

Updates `ktor-client-android` from 1.6.8 to 2.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/1.6.8...2.0.0)

Updates `ktor-client-core` from 1.6.8 to 2.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/1.6.8...2.0.0)

Updates `ktor-client-serialization` from 1.6.8 to 2.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/1.6.8...2.0.0)

Updates `ktor-client-logging-jvm` from 1.6.8 to 2.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/1.6.8...2.0.0)

Updates `ktor-client-java` from 1.6.8 to 2.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/1.6.8...2.0.0)

---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-android
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-core
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-serialization
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-logging-jvm
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 05:28:34 +00:00
dependabot[bot] 729b1e80ed
Bump accompanist-systemuicontroller from 0.24.5-alpha to 0.24.6-alpha
Bumps [accompanist-systemuicontroller](https://github.com/google/accompanist) from 0.24.5-alpha to 0.24.6-alpha.
- [Release notes](https://github.com/google/accompanist/releases)
- [Commits](https://github.com/google/accompanist/compare/v0.24.5-alpha...v0.24.6-alpha)

---
updated-dependencies:
- dependency-name: com.google.accompanist:accompanist-systemuicontroller
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 05:31:50 +00:00
Adam Brown 354b588aa8 Merge branch 'main' of github.com:ouchadam/helium 2022-04-05 22:40:22 +01:00
Adam Brown e17dd6ed3f fixing crash when sending messages, updating version for store release 2022-04-05 22:40:06 +01:00
Adam Brown af5cb5c35b
Merge pull request #23 from ouchadam/dependabot/gradle/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.6.1
Bump kotlinx-coroutines-core from 1.6.0 to 1.6.1
2022-04-05 18:14:43 +01:00
Adam Brown 915d5e8ba5
Merge pull request #22 from ouchadam/dependabot/gradle/org.jetbrains.kotlinx-kotlinx-coroutines-test-1.6.1
Bump kotlinx-coroutines-test from 1.6.0 to 1.6.1
2022-04-05 18:14:37 +01:00
dependabot[bot] 39b4fa76f6
Bump kotlinx-coroutines-core from 1.6.0 to 1.6.1
Bumps [kotlinx-coroutines-core](https://github.com/Kotlin/kotlinx.coroutines) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.0...1.6.1)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05 05:27:48 +00:00
dependabot[bot] 32645aadce
Bump kotlinx-coroutines-test from 1.6.0 to 1.6.1
Bumps [kotlinx-coroutines-test](https://github.com/Kotlin/kotlinx.coroutines) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.0...1.6.1)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-test
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05 05:27:44 +00:00
Adam Brown 81d88b51fc setting push token via background scheduler which will automatically retry 2022-04-04 20:47:05 +01:00
Adam Brown 0aa157b5df adding beta dialog to mentioning clearing cache on upgrades 2022-04-03 22:46:36 +01:00
Adam Brown 9aa2fc0a0f adding a collapsable header to main conversation list 2022-04-03 00:04:12 +01:00
Adam Brown ee2643c003 catching errors when attempting to mark the current room as read
- fixes crash whilst offline
2022-04-02 22:58:06 +01:00