Commit Graph

320 Commits

Author SHA1 Message Date
Benoit Marty
7950cfc3b4 Merge pull request #5503 from element-hq/feature/bma/immutableCleanup
Do some cleanup on our immutable annotation usage
2025-10-10 17:42:26 +02:00
Benoit Marty
062bebf030 Rename SaveableCameraPositionState to SaveableCameraPositionData to avoid this class to be checked for stability. 2025-10-10 10:26:39 +02:00
Benoit Marty
d4f750ebae Setting version for the release 25.10.0 2025-10-09 18:24:51 +02:00
Benoit Marty
73a6ba2849 Multi accounts - experimental first implementation (#5285)
* Multi account - Do not reset analytics store on sign out.

Else when 1 of many accounts is removed, the analytics opt in screen is displayed again.

* Multi accounts - first implementation.

* Multi accounts - Prevent user from logging twice with the same account

* Multi accounts - ignore automatic GoBack in case of error.

* Multi accounts - update first view when adding an account.

* Rename method storeData to addSession.

* Multi accounts - handle account switch when coming from a notification

* Multi accounts - handle login link when there is already an account.

* Multi accounts - handle click on push history for not current account.

* Multi accounts - improve layout and add preview.

* Add accountselect modules

* Multi accounts - incoming share with account selection

* Multi accounts - check the feature flag before allowing login using login link.

* Multi accounts - swipe on account icon

* Cleanup

* Multi accounts - fix other implementation of SessionStore

* Multi accounts - fix PreferencesRootPresenterTest

* Multi accounts - Add test on AccountSelectPresenter

* Multi accounts - Fix test on HomePresenter - WIP

* Update database to be able to sort accounts by creation date.

* Add unit test on takeCurrentUserWithNeighbors

* Fix test and improve code.

* Add exception

* Multi accounts - handle permalink

* Code quality

* Multi accounts - localization

* Fix issue after rebase on develop

* Fix issue after rebase on develop

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Update Multi accounts flag details.

* Add missing test on DatabaseSessionStore

* Add missing preview on LoginModeView

* Remove dead code.

* Add missing preview on PushHistoryView

* Document API.

* Rename API and update test.

* Remove MatrixAuthenticationService.loggedInStateFlow()

* Update screenshots

* Remove unused import

* Add exception

* Fix compilation issue after rebase on develop.

* Update screenshots

* Fix test

* Avoid calling getLatestSession() twice

* Rename `matrixUserAndNeighbors` to `currentUserAndNeighbors`

* Extract code to its own class.

* Add comment to clarify the code.

* Init current user profile with what we now have in the database.

It allows having the cached data (user display name and avatar) when starting the application when no network is available.

* Let the RustMatrixClient update the profile in the session database

* Fix test.

* When logging out from Pin code screen, logout from all the sessions.

tom

* Make PushData.clientSecret mandatory.
Also do not restore the last session as a fallback, it can lead to error in a multi account context, or even when a ghost pusher send a Push.

* Change test in RustMatrixAuthenticationServiceTest

* Do not use MatrixAuthenticationService in RootFlowNode, only use SessionStore

* Remove MatrixAuthenticationService.getLatestSessionId()

* Fix compilation issue after merging develop

* Add test on DefaultAccountSelectEntryPoint

* Fix compilation issue after merging develop

* Introduce LoggedInAccountSwitcherNode, to improve animation when switching between accounts.

* Rename Node to follow naming convention.

* Fix navigation issue after login.

* Remove unused import

* Revert "Fix navigation issue after login."

This reverts commit e409630856d7a7e741548016d7afe174ff1b40f7.

* Revert "Rename Node to follow naming convention."

This reverts commit 883b1f37c7207512d9f6605749977ad9045846a1.

* Revert "Introduce LoggedInAccountSwitcherNode, to improve animation when switching between accounts."

This reverts commit 9c698ff8152aceb5fd2b8b5ab5f609d28de64d24.

* Metro now have `@AssistedInject`.

* Update screenshots

* Introduce DelegateTransitionHandler and use it in RootFlowNode

---------

Co-authored-by: ElementBot <android@element.io>
Co-authored-by: ganfra <francoisg@element.io>
2025-09-26 15:45:06 +02:00
Benoit Marty
0c65478159 Setting version for the release 25.09.2 2025-09-24 14:33:47 +02:00
ElementBot
99f956bdc3 Sync Strings from Localazy (#5385)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-09-22 11:19:35 +02:00
Benoit Marty
264472ba36 Avoid using AndroidJUnit4 runner to test Entrypoint implementations. 2025-09-16 14:38:32 +02:00
Benoit Marty
629fc552e5 Use DependencyHandlerScope.testCommonDependencies() 2025-09-16 14:38:31 +02:00
Benoit Marty
ff1d420d87 Introduce DependencyHandlerScope.testCommonDependencies() 2025-09-16 14:38:31 +02:00
Benoit Marty
937d23b6ef Document Versions.kt 2025-09-10 11:58:38 +02:00
Benoit Marty
61f1a04867 Add static checks 2025-09-10 11:47:56 +02:00
Benoit Marty
724086cbb1 Remove obsolete comment. The release script now reads the value from Versions.kt 2025-09-10 11:34:26 +02:00
Benoit Marty
55ee04aab1 Release script: read the build tool version from Versions.kt 2025-09-10 11:33:38 +02:00
Benoit Marty
05ea0a201b Setting version for the release 25.09.1 2025-09-09 18:59:13 +02:00
Benoit Marty
dabc395b5f Cleanup kover config. 2025-09-05 16:54:47 +02:00
Benoit Marty
aee66d6316 Other cleanup 2025-09-05 16:54:45 +02:00
Benoit Marty
4e720cecb1 Rename anvil modules to annotations and codegen 2025-09-05 14:26:27 +02:00
Benoit Marty
606b1d132e Format 2025-09-05 14:03:09 +02:00
bmarty
676d7f6c8f Sync Strings from Localazy 2025-09-05 07:44:19 +00:00
Jorge Martín
dca1c5b516 Remove dagger and anvil dependencies, try to simplify gradle build scripts a bit 2025-09-04 16:49:21 +02:00
Jorge Martín
e06bacbff3 Redo DI gradle setup code 2025-09-04 16:49:20 +02:00
Jorge Martín
60cdf61cf2 Use version 0.6.3 of Metro, with the bugfix we need 2025-09-04 16:49:20 +02:00
Jorge Martín
92a4b8b66b Start migrating Anvil KSP to Metro 2025-09-04 16:48:34 +02:00
Jorge Martín
f98b603af2 Setting version for the release 25.09.0 2025-08-27 10:15:08 +02:00
Jorge Martín
b7a67d4130 Setting version for the release 25.08.4 2025-08-26 15:18:34 +02:00
Benoit Marty
2b42271615 Split module deeplink to api and impl. 2025-08-25 11:36:42 +02:00
Benoit Marty
08f869c6f9 Build release with build tools from SDK 36 and add a not to not forget last time we update the value of COMPILE_SDK 2025-08-14 14:31:22 +02:00
Benoit Marty
facddbf3d5 Setting version for the release 25.08.3 2025-08-14 12:06:32 +02:00
Jorge Martín
4bebd1d2ac Remove libs.showkase entry in composeDependencies
Add it only to the needed library modules.
2025-08-13 11:43:57 +02:00
Benoit Marty
657b8e92a4 Workaround to fix error "No matching variant of com.airbnb.android:showkase:1.0.5 was found".
Replace `implementation` by `debugImplementation` and `releaseImplementation`
2025-08-13 10:23:35 +02:00
Benoit Marty
7f88dd96b9 Compile and target SDK 36. 2025-08-12 09:57:30 +02:00
Benoit Marty
37b50e0139 Merge branch 'develop' into feature/bma/rageshakeConfigStep2 2025-08-11 17:35:06 +02:00
Benoit Marty
7810bf49fd Fix compilation issue 2025-08-08 18:08:30 +02:00
Jorge Martín
ed6b311092 Setting version for the release 25.08.2 2025-08-08 15:42:43 +02:00
Jorge Martín
5367b3102b Setting version for the release 25.08.1 2025-08-06 12:39:51 +02:00
ganfra
48079fec63 Setting version for the release 25.08.0 2025-08-01 13:48:43 +02:00
ganfra
0556d4967b Setting version for the release 25.07.1 2025-07-15 17:01:21 +02:00
Benoit Marty
09ba7a4ff8 Setting version for the release 25.07.0 2025-07-04 16:49:23 +02:00
Benoit Marty
fab744e566 Change minSDK to 33 for Element enterprise. #4905 2025-06-30 17:00:56 +02:00
Benoit Marty
d836c389b2 Introduce MIN_SDK_FOSS and MIN_SDK_ENTERPRISE const. 2025-06-30 17:00:55 +02:00
bmarty
2e8f8ec057 Sync Strings from Localazy 2025-06-30 00:33:54 +00:00
Jorge Martín
362cd96e06 Setting version for the release 25.06.3 2025-06-19 12:30:49 +02:00
ganfra
b10b76c386 Setting version for the release 25.06.2 2025-06-10 20:12:25 +02:00
Jorge Martín
28fa63aa94 Setting version for the release 25.06.1 2025-06-09 12:32:09 +02:00
ganfra
bb52dc0dbe Setting version for the release 25.06.0 2025-06-03 15:41:57 +02:00
ElementBot
498cf15d38 Sync Strings (#4775) 2025-05-30 08:47:39 +00:00
Benoit Marty
c3c21bcfcc Setting version for the release 25.05.4 2025-05-21 17:43:25 +02:00
Benoit Marty
93499910ba Improve audio focus management (#4707)
* Extract Audio focus management to its own modules.

* Request Audio focus when playing a voice message.

* Add missing dependency.
(and remove a duplicated one)

* Request Audio focus when playing a video/audio in the media viewer.

* Pause audio when audio focus is lost.

* Rename class

* Fix tests

* Fix detekt issue.

* Audio focus: let the system handle automatic ducking when playing media.

* Document and update API

* Remove useless space.
2025-05-13 09:54:58 +00:00
Jorge Martín
c6a9d99441 Setting version for the release 25.05.3 2025-05-12 17:10:08 +02:00
Jorge Martín
e58939ce4d Setting version for the release 25.05.2 2025-05-12 16:43:34 +02:00