Commit Graph

430 Commits

Author SHA1 Message Date
bmarty 46acf414c1 Sync Strings from Localazy 2025-03-03 00:29:16 +00:00
Benoit Marty 420b6135d2 Change CompoundIcons.VoiceCall to CompoundIcons.VoiceCallSolid 2025-02-26 18:49:22 +01:00
Benoit Marty 1bbcedfa38 Merge pull request #4312 from element-hq/feature/bma/fixMultipleNtfy
Fix issues due to multiple ntfy applications with the same name.
2025-02-26 17:21:51 +01:00
Benoit Marty d746f59352 Merge pull request #4301 from element-hq/feature/bma/preloadAccountURL
Preload account urls
2025-02-26 15:54:20 +01:00
Benoit Marty deb8345f85 Do not rely only on distributor name but consider value (appId) as well.
This will fix issue when multiple UnifiedPush distributor with the same friendly name are available on the phone.
Fixes #4306
2025-02-26 10:55:33 +01:00
Jorge Martin Espinosa dbb1de146b Upgrade SDK version to 25.02.26 (#4305)
* Upgrade SDK version to 25.02.26

* Remove OIDC URL result from logout, the SDK no longer provides it

* Handle room creation and destruction in a better way

* Remove `onSuccessLogout`
2025-02-26 09:04:49 +00:00
Benoit Marty 941dfa7d38 Add tests. 2025-02-25 15:45:06 +01:00
renovate[bot] beffba11b6 fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25 (#4273)
* fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25

* Adapt to SDK changes:

- Remove logic related to sliding sync proxy, leaving just the minimum needed to detect its usage on the current session data.
- Remove code associated with the opt-in migration to native sliding sync, since it's now mandatory.
- Remove toggle between proxy/native sliding sync.
- Some fixes to session verification API breaks.

* Update forced logout dialog message, remove `NativeSlidingSyncMigrationBanner`

* Update screenshots

* Update all strings

* Remove `SuccessfulLogoutPendingAction`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <android@element.io>
2025-02-18 18:07:47 +01:00
bmarty f549e7bba2 Sync Strings from Localazy 2025-02-17 00:30:17 +00:00
Benoit Marty 5456f0e38e Merge pull request #4226 from element-hq/feature/bma/themeOverride
Theme override
2025-02-06 16:48:16 +01:00
Jorge Martin Espinosa 3c87fb05b2 Create SyncOrchestrator (#4176)
* Create `SyncOrchestrator` to centralise the sync start/stop flow through the whole app: the decision is based on several inputs: sync state, network available, app in foreground, app in call, app needing to sync an event for a notification.

* Make network monitor return network connectivity status, not internet connectivity

* Don't stop the `SyncService` when network connection is lost, let it fail instead. This prevents an issue when using the offline mode of the SDK, which made the wrong UI states to be shown when the `SyncState` is `Idle` (that is, after the service being manually stopped).

* Rename `NetworkStatus.Online/Offline` to `Connected/Disconnected` so they're not easily mistaken with internet connectivity instead
2025-02-06 16:36:57 +01:00
Benoit Marty cc7fd55269 Use color from ElementTheme. 2025-02-06 15:10:15 +01:00
bmarty be91da966a Sync Strings from Localazy 2025-02-03 00:29:01 +00:00
ganfra 7d27e6581b change(tracing) : change how tracing is configured (ui and logic) 2025-01-17 09:52:32 +01:00
ganfra b8c0e5257b change(design) : replace DialogLikeBannerMolecule by Announcement component 2025-01-14 16:35:37 +01:00
bmarty bd1165179b Sync Strings from Localazy 2025-01-13 00:30:35 +00:00
Benoit Marty 97f3be3dc5 Apply dual licenses: AGPL + Element Commercial to file headers.
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01:00
Benoit Marty 0648cf36f9 Merge pull request #4056 from element-hq/feature/bma/messageActionList
Update message action list
2024-12-18 16:47:51 +01:00
ganfra 34b81435fc test(settings) : try to fix flakiness 2024-12-18 15:21:19 +01:00
Benoit Marty 865f877bb7 Fix flaky test by using CompletableDeferred 2024-12-17 15:42:50 +01:00
Benoit Marty df400a531f Replace ic_developer_options.xml by the icon from Compound. 2024-12-17 14:35:19 +01:00
bmarty e8218b3a7c Sync Strings from Localazy 2024-12-09 00:30:45 +00:00
bmarty 5f8007d6f1 Sync Strings from Localazy 2024-12-02 00:30:02 +00:00
ElementBot d9f8e9ce58 Sync Strings (#3936)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-11-25 09:06:57 +00:00
ElementBot bc59a70043 Sync Strings - add translations to Finnish (#3883)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-11-18 11:37:17 +00:00
Benoit Marty f0aca004ba Change signature of getCurrentDistributor. 2024-11-15 15:18:28 +01:00
ganfra cffd2da10b Merge pull request #3834 from element-hq/feature/fga/design_system_text_field
Design system : implement new TextField
2024-11-12 11:18:07 +01:00
ElementBot 156e27a761 Sync Strings (#3852)
* Sync Strings from Localazy

* Fix tests

---------

Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-11-11 13:09:30 +01:00
ganfra 3910c42855 design : TextField2 is now TextField 2024-11-08 15:37:10 +01:00
ganfra e378b20868 design : removes usage of OutlinedTextField 2024-11-08 15:15:08 +01:00
Benoit Marty 8dfe5300b8 Rename parameter. 2024-11-08 10:11:06 +01:00
Benoit Marty 585b6a94f3 Delete temporary created files. 2024-11-08 10:11:06 +01:00
Benoit Marty 13ec1838c0 MediaPreProcessor: remove default value of parameter deleteOriginal. No functional change here. 2024-11-08 10:11:06 +01:00
Benoit Marty af78197a8f Merge pull request #3798 from element-hq/sync-localazy
Sync Strings
2024-11-04 09:59:03 +01:00
bmarty 0b609db1db Sync Strings from Localazy 2024-11-04 00:27:46 +00:00
Benoit Marty c0a77e819b Optimize media: enabled by default. 2024-10-31 10:43:09 +01:00
Benoit Marty 0a64dd173d Optimize media: update wording. 2024-10-31 10:40:14 +01:00
Benoit Marty 1c020bcf26 Merge pull request #3750 from element-hq/feature/bma/cryptoIteration
UI iteration on the encryption settings
2024-10-30 11:11:35 +01:00
Benoit Marty 1e0c212459 Crypto: iterate on wording, UI and UX.
Change wording of setup recovery key banner and change target to root.
Iterate on wording of encryption screen.
Change button to Switch.
Iterate on wording to delete key storage.
Iterate on wording and icon on the root setting.
Remove confirmation dialog when disabling backup.
Add subtitle to change recovery key action.
Enable key storage directly, remove quite empty screen to setup the backup.
Disable recovery action if key backup is disabled.
2024-10-29 14:54:59 +01:00
Benoit Marty 846dbc2b18 Add media upload setting.
Compress media regarding the settings.
Image compression change quality to 78%
Video compression change size to 720 x 48
2024-10-28 10:56:58 +01:00
bmarty 1856363964 Sync Strings from Localazy 2024-10-28 00:27:09 +00:00
Benoit Marty 9eabc830c0 Fix flaky tests. 2024-10-21 22:43:49 +02:00
bmarty b179518962 Sync Strings from Localazy 2024-10-21 00:27:20 +00:00
Benoit Marty 6e27266988 Rename some classes which implement PreviewParameterProvider according to the new naming convention.
`Provider` suffix is enough and more used than `PreviewProvider`, so let's make the codebase more consistent.
2024-10-16 11:17:46 +02:00
Benoit Marty 269551366c Let FakeKnockRoom and FakeLogoutUseCase use simulateLongTask 2024-10-16 10:03:19 +02:00
Benoit Marty d5bf8ae42f Safer code. 2024-10-16 10:03:19 +02:00
Benoit Marty fb52657b12 Let AsyncAction.Confirming be an interface, with a AsyncAction.ConfirmingNoParams data object.
This will allow inheritance of `AsyncAction.Confirming` with parameter(s).
2024-10-14 10:49:55 +02:00
bmarty 851a547b89 Sync Strings from Localazy 2024-10-14 00:27:28 +00:00
ganfra eeb6b6f4bf misc : remove direct usage of RoomSummary in UI and let RoomSummary use RoomInfo. 2024-10-08 21:34:34 +02:00
Benoit Marty 8db9c22f97 Remove dependencies to other presenters to AnalyticsPreferencesPresenter. 2024-10-07 17:45:18 +02:00