Commit graph

16902 commits

Author SHA1 Message Date
Adam Brown
4200b4b5e9 taking into account the servers ability to sign out all devices 2022-06-27 12:55:50 +01:00
Adam Brown
7a4a6030db adding a password entry confirmation page for the reset password flow 2022-06-27 12:54:32 +01:00
Adam Brown
9abf6e37d1 adding updated forgot password email input and breaker screens 2022-06-27 12:43:54 +01:00
Adam Brown
dcffc35041 adding forgot password button to login screen 2022-06-27 12:28:54 +01:00
Adam Brown
ccb4f2d1dd
Merge pull request #6207 from vector-im/feature/adm/sdk-signout-all-devices
SDK - Logout all devices
2022-06-27 08:30:04 +01:00
Adam Brown
e655a54064 removing duplicate fake method 2022-06-24 15:08:48 +01:00
Adam Brown
c6ef972e3c adding missing fullstop and removing unused import 2022-06-24 15:08:48 +01:00
Adam Brown
7ac46a2fd1 using consistent parameter name 2022-06-24 15:08:48 +01:00
Adam Brown
4f09160697 adding logout_devices parameter to the password change sdk api, matching reset password 2022-06-24 15:08:48 +01:00
Adam Brown
d9fd627bb1 passing the control of logout devices to the homeserver capabilities model from the entity 2022-06-24 15:08:48 +01:00
Adam Brown
6e3283cb34 moving homeserver feature for logout all devices to the selected homeserver state via the LoginFlowResult 2022-06-24 15:08:48 +01:00
Adam Brown
2d44e47e6a adding can control sign out homeserver version flag to the HomeserverCapabilities
- Includes DB version update and HomeserverCapability migration
2022-06-24 15:08:47 +01:00
Adam Brown
62e8394218 adding changelog entry 2022-06-24 15:05:18 +01:00
Adam Brown
a2646c56cf adding the logout all devices state to the reset state in preparation for the UI to take it into account 2022-06-24 15:05:18 +01:00
Adam Brown
f21e30f7c7 passing the logout devices parameters to the account/password endpoint 2022-06-24 15:05:18 +01:00
Adam Brown
c10254dbfa exposing if the homeserver supports signing out all devices when starting the reset process 2022-06-24 15:05:18 +01:00
Adam Brown
924e668023 adding missing loading state when confirming password reset
- adds reset test cases to the onboarding view model
2022-06-24 15:05:18 +01:00
Adam Brown
6b75e2c993
Merge pull request #6370 from vector-im/bugfix/adm/ci-tasks-crashing
Fix CI lint tasks unexpectedly crashing
2022-06-24 13:20:55 +01:00
Adam Brown
c7881fc55e
Merge pull request #6372 from vector-im/bugfix/adm/wrong-error-on-sign-in
Fixing wrong error message when signing in with wrong credentials
2022-06-24 13:15:31 +01:00
Adam Brown
cd72563d8b
Merge pull request #6374 from vector-im/dependabot/gradle/com.autonomousapps.dependency-analysis-1.8.0
Bump com.autonomousapps.dependency-analysis from 1.7.0 to 1.8.0
2022-06-24 08:57:24 +01:00
dependabot[bot]
bd4263861e
Bump com.autonomousapps.dependency-analysis from 1.7.0 to 1.8.0
Bumps com.autonomousapps.dependency-analysis from 1.7.0 to 1.8.0.

---
updated-dependencies:
- dependency-name: com.autonomousapps.dependency-analysis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-23 23:09:46 +00:00
Adam Brown
84ece3b575 ignoring inferred registration disabled when going through the sign in flow 2022-06-23 18:17:33 +01:00
Adam Brown
eef904b3d5 applying jvm memory settings to CI linting tasks
- should stop the task crashing on the CI
2022-06-23 16:35:37 +01:00
Adam Brown
2ab2af90e9
Merge pull request #6294 from vector-im/dependabot/gradle/org.owasp-dependency-check-gradle-7.1.1
Bump dependency-check-gradle from 7.1.0.1 to 7.1.1
2022-06-23 09:32:46 +01:00
Adam Brown
1cfcc18407
Merge pull request #6322 from vector-im/dependabot/gradle/androidx.annotation-annotation-1.4.0
Bump annotation from 1.3.0 to 1.4.0
2022-06-23 09:31:59 +01:00
Adam Brown
4779b78616
Merge pull request #6274 from vector-im/dependabot/gradle/mavericks-2.7.0
Bump mavericks from 2.6.1 to 2.7.0
2022-06-23 09:31:26 +01:00
Adam Brown
1a898a8ad5
Merge pull request #6343 from vector-im/dependabot/gradle/com.facebook.flipper-flipper-0.150.0
Bump flipper from 0.149.0 to 0.150.0
2022-06-23 09:30:10 +01:00
Adam Brown
d6abd176fc
Merge pull request #6354 from vector-im/dependabot/gradle/kotlinCoroutines-1.6.3
Bump kotlinCoroutines from 1.6.2 to 1.6.3
2022-06-23 09:29:39 +01:00
dependabot[bot]
4e6e5041d8
Bump flipper from 0.149.0 to 0.150.0
Bumps [flipper](https://github.com/facebook/flipper) from 0.149.0 to 0.150.0.
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.149.0...v0.150.0)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-22 13:04:17 +00:00
Benoit Marty
29d4916a2e
Cleanup of #5187 (#6326)
Update design and behaviour on widget permission bottom sheet
2022-06-22 15:04:02 +02:00
Benoit Marty
c4e578a653
Merge pull request #6344 from vector-im/dependabot/gradle/com.facebook.flipper-flipper-network-plugin-0.150.0
Bump flipper-network-plugin from 0.149.0 to 0.150.0
2022-06-22 15:02:46 +02:00
Benoit Marty
37371ac024
Merge pull request #6360 from vector-im/dependabot/gradle/com.autonomousapps.dependency-analysis-1.7.0
Bump com.autonomousapps.dependency-analysis from 1.5.0 to 1.7.0
2022-06-22 15:01:25 +02:00
Adam Brown
9925cf9996
Merge pull request #6362 from vector-im/bugfix/adm/dispatch-to-crash
Fixing concurrent `dispatchTo` crash
2022-06-22 14:00:20 +01:00
Benoit Marty
03d6ace3ae
Merge pull request #6359 from vector-im/dependabot/gradle/com.kgurgul.flipper-flipper-realm-android-2.2.0
Bump flipper-realm-android from 2.1.0 to 2.2.0
2022-06-22 14:54:52 +02:00
Adam Brown
0aacde9d9d updating version for next development cycle
- also fixes wrong version in changes doc
2022-06-22 13:48:56 +01:00
Adam Brown
dff0f9d1bc Merge branch 'main' into develop 2022-06-22 13:47:31 +01:00
Adam Brown
8ada26529a updating version for 1.4.24 hotfix
- is a hotfix for 1.4.22
2022-06-22 12:37:17 +01:00
Adam Brown
23cd6dae42 fixing concurrent dispatch crash by using copy on write set
- whilst closing the session, we iterate through all the listeners calling onSessionStopped however some implementations also use this callback to remove themselves from the listeners, causing the concurrent modification crash
2022-06-22 12:19:06 +01:00
Benoit Marty
a525ede25d Fix migration to 30. Seems that isNull with long path is not working correctly. 2022-06-22 11:50:43 +01:00
Adam Brown
4e42bedde9
Fix migration to 30. Seems that isNull with long path is not working correctly. (#6361) 2022-06-22 11:49:38 +01:00
Benoit Marty
8bea64bc0c Fix migration to 30. Seems that isNull with long path is not working correctly. 2022-06-22 11:56:54 +02:00
Adam Brown
a8cd6ca497 Merge branch 'main' into develop 2022-06-22 08:49:48 +01:00
dependabot[bot]
f1056898ed
Bump com.autonomousapps.dependency-analysis from 1.5.0 to 1.7.0
Bumps [com.autonomousapps.dependency-analysis](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin) from 1.5.0 to 1.7.0.
- [Release notes](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/releases)
- [Changelog](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/blob/main/CHANGELOG.md)
- [Commits](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/compare/v1.5.0...v1.7.0)

---
updated-dependencies:
- dependency-name: com.autonomousapps.dependency-analysis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 23:43:06 +00:00
dependabot[bot]
c81866f34e
Bump flipper-realm-android from 2.1.0 to 2.2.0
Bumps [flipper-realm-android](https://github.com/kamgurgul/Flipper-Realm) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/kamgurgul/Flipper-Realm/releases)
- [Commits](https://github.com/kamgurgul/Flipper-Realm/compare/2.1.0...2.2.0)

---
updated-dependencies:
- dependency-name: com.kgurgul.flipper:flipper-realm-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 23:41:39 +00:00
Adam Brown
9ddded4996 generating 1.4.23 changelog 2022-06-21 14:56:33 +01:00
Adam Brown
f56703abc4 updating version for hotfix release 2022-06-21 14:48:14 +01:00
ganfra
0f29f7848b Feature/fga/simplify timeline logic (#6318)
* Sync: delete all previous chunks in case of gappy sync

* Chunk: dont link chunks if we find existing timeline event (keep multiple timeline events in db)

* Timeline : remove some unused code

* Clean and add changelog

* Timeline: set named argument

* Timeline: avoid restarting the timeline when there is a CancellationException due to permalink

* Timeline: add migration to clean up old (broken) chunks

* Update matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/migration/MigrateSessionTo030.kt

Co-authored-by: Benoit Marty <benoitm@matrix.org>

* Timeline: try to fix test

* ignoring broken instrumentation test in order to release

Co-authored-by: ganfra <francoisg@element.io>
Co-authored-by: Benoit Marty <benoitm@matrix.org>
Co-authored-by: Adam Brown <adampsbrown@gmail.com>
2022-06-21 14:47:13 +01:00
ganfra
b07e0a47e8
Feature/fga/simplify timeline logic (#6318)
* Sync: delete all previous chunks in case of gappy sync

* Chunk: dont link chunks if we find existing timeline event (keep multiple timeline events in db)

* Timeline : remove some unused code

* Clean and add changelog

* Timeline: set named argument

* Timeline: avoid restarting the timeline when there is a CancellationException due to permalink

* Timeline: add migration to clean up old (broken) chunks

* Update matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/migration/MigrateSessionTo030.kt

Co-authored-by: Benoit Marty <benoitm@matrix.org>

* Timeline: try to fix test

* ignoring broken instrumentation test in order to release

Co-authored-by: ganfra <francoisg@element.io>
Co-authored-by: Benoit Marty <benoitm@matrix.org>
Co-authored-by: Adam Brown <adampsbrown@gmail.com>
2022-06-21 14:42:50 +01:00
Adam Brown
41431cd1d2
Merge pull request #6307 from vector-im/feature/adm/ci-test-coverage
Missing unit test coverage
2022-06-21 10:17:42 +01:00
Adam Brown
8754f230d3 removing debug log 2022-06-21 09:15:28 +01:00