Commit Graph

367 Commits

Author SHA1 Message Date
Adam Brown c698e41573
Merge pull request #42 from ouchadam/dependabot/gradle/org.jetbrains.kotlinx-kotlinx-serialization-json-1.3.3
Bump kotlinx-serialization-json from 1.3.2 to 1.3.3
2022-05-23 08:54:37 +01:00
dependabot[bot] dc7493c40d
Bump kotlinx-serialization-json from 1.3.2 to 1.3.3
Bumps [kotlinx-serialization-json](https://github.com/Kotlin/kotlinx.serialization) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Kotlin/kotlinx.serialization/compare/v1.3.2...v1.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 05:32:31 +00:00
dependabot[bot] 20bbf871ed
Bump mockk from 1.12.3 to 1.12.4
Bumps [mockk](https://github.com/mockk/mockk) from 1.12.3 to 1.12.4.
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.12.3...1.12.4)

---
updated-dependencies:
- dependency-name: io.mockk:mockk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 05:32:27 +00:00
Adam Brown c5f3300b6d
Merge pull request #40 from ouchadam/dependabot/gradle/com.google.accompanist-accompanist-systemuicontroller-0.24.9-beta
Bump accompanist-systemuicontroller from 0.24.7-alpha to 0.24.9-beta
2022-05-21 13:03:41 +01:00
dependabot[bot] 973702d565
Bump accompanist-systemuicontroller from 0.24.7-alpha to 0.24.9-beta
Bumps [accompanist-systemuicontroller](https://github.com/google/accompanist) from 0.24.7-alpha to 0.24.9-beta.
- [Release notes](https://github.com/google/accompanist/releases)
- [Commits](https://github.com/google/accompanist/compare/v0.24.7-alpha...v0.24.9-beta)

---
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-05-21 11:58:37 +00:00
Adam Brown 0246ee7892
Merge pull request #39 from ouchadam/dependabot/gradle/io.coil-kt-coil-compose-2.1.0
Bump coil-compose from 1.4.0 to 2.1.0
2022-05-21 12:57:59 +01:00
Adam Brown 165241f412 updating to coil 2 2022-05-21 12:38:28 +01:00
dependabot[bot] e445458009 Bump coil-compose from 1.4.0 to 2.1.0
Bumps [coil-compose](https://github.com/coil-kt/coil) from 1.4.0 to 2.1.0.
- [Release notes](https://github.com/coil-kt/coil/releases)
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md)
- [Commits](https://github.com/coil-kt/coil/compare/1.4.0...2.1.0)

---
updated-dependencies:
- dependency-name: io.coil-kt:coil-compose
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-21 12:20:00 +01:00
Adam Brown 4d0f786fb3 Merge branch 'main' of github.com:ouchadam/helium 2022-05-21 12:18:37 +01:00
Adam Brown f3b1600d58 proccessing notifications so they correctly alert on changes and only display upon new messages 2022-05-21 12:18:25 +01:00
Adam Brown 7a10ae3232 fixing reading notification on other session not always being taken into account
- the sync wasn't being triggered for long enough, now we're waiting for 60 seconds or until the unread change
2022-05-21 11:47:42 +01:00
Adam Brown 6e2e377e51 including replies and image emoji in notifications and summaries 2022-05-16 22:55:31 +01:00
Adam Brown ffa8fad2b0 only notifying message notifications when they're new 2022-05-16 22:43:55 +01:00
Adam Brown 2c4eebccac
Merge pull request #36 from ouchadam/dependabot/gradle/org.matrix.android-olm-sdk-3.2.11
Bump olm-sdk from 3.2.10 to 3.2.11
2022-05-10 11:06:00 +01:00
dependabot[bot] c6b4c9614e
Bump olm-sdk from 3.2.10 to 3.2.11
Bumps olm-sdk from 3.2.10 to 3.2.11.

---
updated-dependencies:
- dependency-name: org.matrix.android:olm-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-10 05:33:35 +00: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
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