Commit graph

407 commits

Author SHA1 Message Date
Benoit Marty
a70249769d Migrate to coil3 2025-03-03 12:30:26 +01:00
bmarty
46acf414c1 Sync Strings from Localazy 2025-03-03 00:29:16 +00:00
Jorge Martin Espinosa
f029c4dd09
Use Settings.System.DEFAULT_RINGTONE_URI for ringing notifications (#4310)
* Use `Settings.System.DEFAULT_RINGTONE_URI` for ringing notifications

This replaces `RingtoneManager.getActualDefaultRingtoneUri`, it should get the same audio file and avoid some reported issues about not having permission to load the audio file.
2025-02-27 12:57:43 +00:00
Benoit Marty
43ee582213 Sync strings again.
Revert wrong change on Hungarian plurals.
2025-02-17 11:29:49 +01:00
bmarty
f549e7bba2 Sync Strings from Localazy 2025-02-17 00:30:17 +00: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
7878f97453 Update incoming call notification content to "📹 Incoming call" 2025-02-04 16:20:53 +01:00
Benoit Marty
f84aa03605 Enable Offline mode of the SyncService, so that the sync starts automatically when the network is back.
Also rely on the sync state to render the "Offline" banner.
2025-02-03 18:27:32 +01:00
Benoit Marty
610bd06f12 Fix incoming call notification content (related to #4225) 2025-02-03 15:21:58 +01:00
bmarty
be91da966a Sync Strings from Localazy 2025-02-03 00:29:01 +00: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
bmarty
45db2a97ad Sync Strings from Localazy 2024-12-23 00:16:39 +00: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
Benoit Marty
8d26af5b26
Merge pull request #3916 from element-hq/feature/bma/notificationActions
Enable all notification actions: quick reply, accept/decline invite, mark as read from notification.
2024-11-26 18:01:37 +01:00
Benoit Marty
031ed226bf Ensure that the SDK is syncing during an incoming call so that the application can detect if the call has been answered on another session.
This is dealing with the case the application is not in foreground.
2024-11-22 19:46:57 +01:00
Benoit Marty
b271dc550a naming convention 2024-11-22 15:45:41 +01:00
Benoit Marty
abbdc934dc Check that action to accept or reject an invitation is added to the notification. 2024-11-22 14:51:07 +01:00
Benoit Marty
99da8959ac Code iteration for parity with other Factories. 2024-11-22 14:05:48 +01:00
Benoit Marty
ab6f4d5b0e Rename const for clarity and convention 2024-11-22 14:04:27 +01:00
Benoit Marty
f01a15d54a Change wording of quick action for invitations. 2024-11-22 14:00:34 +01:00
Benoit Marty
40a0427abd Fix test 2024-11-21 21:51:19 +01: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
Benoit Marty
500659d4e1 Change signature of selectPushProvider and add missing unit test. 2024-11-15 15:13:24 +01:00
Benoit Marty
d97d561b13 Add missing test for DefaultPushService 2024-11-15 15:04:47 +01:00
Benoit Marty
7a7b5d2dd0 Properly unregister from the ntfy app when the user logs out. 2024-11-15 12:43:57 +01:00
Benoit Marty
64e75fb08b Update the strings for unsupported calls 2024-11-12 10:20:21 +01:00
Benoit Marty
64b189c48a Notification with image: provide the mimetype if available. 2024-11-06 11:07:59 +01:00
Benoit Marty
cd481d3ca9 Add a message in the notification for the caption. Fixes #2602 2024-11-06 11:07:59 +01:00
bmarty
0b609db1db Sync Strings from Localazy 2024-11-04 00:27:46 +00:00
Benoit Marty
6bde224695 Add quick fix in notification troubleshot test to perform a Firebase token rotation 2024-10-30 11:54:10 +01:00
bmarty
1856363964 Sync Strings from Localazy 2024-10-28 00:27:09 +00:00
Benoit Marty
c1c9f53015 Fix other API change: body renamed to filename 2024-10-16 16:09:32 +02:00
Benoit Marty
7ece687740
Merge pull request #3574 from element-hq/feature/bma/improveMediaModel
Clarify model for Event with attachment
2024-10-16 14:57:05 +02:00
bmarty
851a547b89 Sync Strings from Localazy 2024-10-14 00:27:28 +00:00
ganfra
2e631b1ae5 misc : makes sure to always use the same size for fetching avatar thumbnail so caching works properly. 2024-10-10 14:09:49 +02:00
Benoit Marty
920dc2b0d7 Improve mapping regarding filename, caption and formattedCaption 2024-10-08 17:12:48 +02:00
Benoit Marty
d390b4fc2b Remove unused import. 2024-10-07 18:08:51 +02:00
Benoit Marty
b60d7ba54a Use backgroundScope 2024-10-07 17:46:19 +02:00
bmarty
e25ba65170 Sync Strings from Localazy 2024-10-07 00:28:33 +00:00
Benoit Marty
f544f31761 Do not render images in notification if the setting to hide image is enabled. 2024-10-04 17:01:52 +02:00
Benoit Marty
fd142c16d9 Improve extension to fix a copy paste issue. 2024-10-04 17:01:52 +02:00
Jorge Martin Espinosa
eeec7cc785
Centralise the DI code generation logic (#3562)
* Create Anvil extension helper

* Use the helper everywhere
2024-09-30 12:20:28 +00:00
bmarty
86373ad1f7 Sync Strings from Localazy 2024-09-30 00:26:52 +00:00
Benoit Marty
12fa376649
Merge pull request #3503 from element-hq/bma/invitationWithSender
Include inviter in the notification for invitation
2024-09-24 09:40:07 +02:00
bmarty
609e1b4ac5 Sync Strings from Localazy 2024-09-23 08:23:52 +00:00
bmarty
1768f24fd0 Sync Strings from Localazy 2024-09-23 00:23:49 +00:00
Benoit Marty
6fc801ede6 Use aNotificationData and aNotifiableMessageEvent
And cleanup existing tests.
2024-09-20 12:38:49 +02:00