Commit Graph

906 Commits

Author SHA1 Message Date
Adam Brown 8261d53460 splitting core into core and compose core to allow for more modules to avoid the android plugin 2022-06-11 14:10:17 +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 a06c00eea4 Merge branch 'main' into feature/share-images-via-small-talk 2022-06-11 11:13:03 +01:00
Adam Brown 716790712b
Merge pull request #50 from ouchadam/dependabot/gradle/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.6.2
Bump kotlinx-coroutines-core from 1.6.1 to 1.6.2
2022-06-11 11:12:21 +01:00
Adam Brown f80c829010
Merge pull request #48 from ouchadam/dependabot/gradle/ktorVer-2.0.2
Bump ktorVer from 2.0.1 to 2.0.2
2022-06-11 11:12:12 +01:00
Adam Brown fbfc349b2e forcing raw response type for the wellknown as some servers may not correctly set the content-type
- migrates to the content negotiation api
2022-06-11 11:07:36 +01:00
Adam Brown 3fc28bd949
Merge branch 'main' into dependabot/gradle/ktorVer-2.0.2 2022-06-11 10:37:16 +01:00
dependabot[bot] d0871b1fa7
Bump kotlinx-coroutines-core from 1.6.1 to 1.6.2
Bumps [kotlinx-coroutines-core](https://github.com/Kotlin/kotlinx.coroutines) from 1.6.1 to 1.6.2.
- [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.1...1.6.2)

---
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-06-11 09:37:09 +00:00
Adam Brown 7415b278cd Merge branch 'main' into feature/share-images-via-small-talk 2022-06-11 10:35:51 +01:00
Adam Brown 764c0d1853 ignoring the roomevent json models until serializationx marks the code as generated 2022-06-11 10:25:21 +01:00
Adam Brown 65bf8c0d64 improved notification testing 2022-06-11 10:21:51 +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 92ad630e45 Merge branch 'main' into feature/share-images-via-small-talk 2022-06-08 19:25:59 +01:00
Adam Brown bb47fcd9d6 adding tests around the notification usecase entry point 2022-06-08 19:21:20 +01:00
Adam Brown 8743052899 fixing replies and image messages jumping to the wrong position 2022-06-08 18:51:59 +01:00
Adam Brown e3ac2586ad fixing flickering images when typing 2022-06-08 18:41:23 +01:00
Adam Brown 2f71a0163a Merge branch 'main' into feature/share-images-via-small-talk 2022-06-07 20:05:56 +01:00
Adam Brown 16185e2d94
Merge branch 'main' into dependabot/gradle/ktorVer-2.0.2 2022-06-07 20:02:30 +01:00
Adam Brown c2c6296e9a fixing missing nested replies/images 2022-06-07 19:58:58 +01:00
Adam Brown e6bd0f80dc fetching rooms and displaying when starting a share flow 2022-05-30 19:16:16 +01:00
Adam Brown 2db9ff3baf Merge branch 'main' into feature/share-images-via-small-talk 2022-05-30 18:11:06 +01:00
Adam Brown 83c18a3715 Merge branch 'main' of github.com:ouchadam/helium 2022-05-30 18:10:12 +01:00
Adam Brown a6fa7487f3 supporting images and replies in the room list 2022-05-30 18:06:11 +01:00
Adam Brown 8ba66b3943 supporting images and replies in the room list 2022-05-30 18:05:45 +01:00
Adam Brown 84d7107518
Merge pull request #49 from ouchadam/dependabot/gradle/org.jetbrains.kotlinx-kotlinx-coroutines-test-1.6.2
Bump kotlinx-coroutines-test from 1.6.1 to 1.6.2
2022-05-30 08:39:44 +01:00
dependabot[bot] 7a05bd7fb5
Bump kotlinx-coroutines-test from 1.6.1 to 1.6.2
Bumps [kotlinx-coroutines-test](https://github.com/Kotlin/kotlinx.coroutines) from 1.6.1 to 1.6.2.
- [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.1...1.6.2)

---
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-05-30 05:36:12 +00:00
dependabot[bot] 6794d21f78
Bump ktorVer from 2.0.1 to 2.0.2
Bumps `ktorVer` from 2.0.1 to 2.0.2.

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

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

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

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

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

---
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-30 05:36:09 +00:00
Adam Brown 33ee1825cf adding smalltalk to the targetted share menu 2022-05-29 21:52:54 +01:00
Adam Brown 2ca96f21d2 adding barebones send intent handler activity 2022-05-29 19:53:45 +01:00
Adam Brown e1029dc497 adding tests around notification rendering 2022-05-29 16:10:00 +01:00
Adam Brown 4861c44e9c auto capitalising message entry 2022-05-26 19:14:54 +01:00
Adam Brown 94c26a0375 fixing wrong message content in summary along with message order
- also ensures alerts for the first new message in a room when other rooms with messages are already displayed
2022-05-23 22:52:32 +01:00
Adam Brown 142e85e073 Merge branch 'main' of github.com:ouchadam/helium 2022-05-23 20:41:54 +01:00
Adam Brown 30453e695d fixing the summary notification displaying when marking rooms as read and no other notifications are showing 2022-05-23 20:41:32 +01:00
Adam Brown 64bce44a12 extracting notification logic to its own class with unit tests 2022-05-23 20:28:02 +01:00
Adam Brown ea58acf627
Merge pull request #41 from ouchadam/dependabot/gradle/io.mockk-mockk-1.12.4
Bump mockk from 1.12.3 to 1.12.4
2022-05-23 08:54:59 +01:00
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