Commit Graph

12483 Commits

Author SHA1 Message Date
Benoit Marty
7f199db5ef Update notification content 2025-11-14 15:40:31 +01:00
Benoit Marty
2789c8614d Improve code readability and documentation. 2025-11-14 15:10:24 +01:00
Benoit Marty
828092c87a Update KDoc 2025-11-14 14:23:29 +01:00
Benoit Marty
a172f1324b Fix warning 2025-11-14 09:39:55 +01:00
Benoit Marty
265b611c8a No need for an id, can use ordinal. 2025-11-14 09:38:31 +01:00
Benoit Marty
70d30c43a5 Small cleanup 2025-11-14 09:33:40 +01:00
Benoit Marty
35cebfca7d No need to use apply setContentText accept null parameter. 2025-11-14 09:24:41 +01:00
Benoit Marty
ced5af18d0 Do not attempt to restore the pusher after 2 removal in a short time. 2025-11-13 23:15:00 +01:00
Benoit Marty
f5ca009887 Restore deleted code 2025-11-13 18:11:39 +01:00
Benoit Marty
0a7e6629d3 Update comment 2025-11-13 18:06:27 +01:00
Benoit Marty
13854bb2c7 Ensure that disabling (resp. enabling) notification unregisters (resp. registers) the pusher 2025-11-13 17:50:21 +01:00
Benoit Marty
92c02fdd68 Add missing test. 2025-11-13 15:39:20 +01:00
Benoit Marty
eff4766693 Add unit test on DefaultUnifiedPushRemovedGatewayHandler 2025-11-13 15:34:33 +01:00
Benoit Marty
99485fb541 Add unit test on DefaultServiceUnregisteredHandler 2025-11-13 15:13:05 +01:00
Benoit Marty
97a288812e Rename val 2025-11-13 14:58:44 +01:00
Benoit Marty
2b4d80df01 UnifiedPush: emit error when registration fails.
Note that I did not manage to have the method `onRegistrationFailed` invoked. If the network is not available for instance, unregistering the previous pusher will fail first.
2025-11-13 14:56:20 +01:00
Benoit Marty
823a35231d Improve logs 2025-11-13 12:26:46 +01:00
Benoit Marty
5864c055d5 Unregister the pusher when the topic is deleted (unregistered) 2025-11-13 12:26:35 +01:00
Benoit Marty
29889ad9ec Cleanup NotificationCreator. 2025-11-13 11:59:58 +01:00
Benoit Marty
f0ec0164ef Use the method setLargeIcon(Bitmap?) instead of setLargeIcon(Icon?) because it may scale the Bitmap on versions before API 27. Starting in API 27, the framework does this automatically. 2025-11-13 11:41:11 +01:00
Benoit Marty
8878c9595a Merge pull request #5721 from element-hq/feature/bma/matrixUiModules
Let notifications use avatar fallback.
2025-11-13 10:22:39 +01:00
Benoit Marty
1025cbbcfe Fix package name 2025-11-12 12:24:46 +01:00
renovate[bot]
9da8c689ea Update dependency io.sentry:sentry-android to v8.26.0 (#5720)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-12 10:44:10 +00:00
renovate[bot]
dfce9ec242 Update dependency org.maplibre.gl:android-sdk to v12.1.0 (#5714)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-12 11:32:54 +01:00
renovate[bot]
a1274e6036 Update plugin dependencycheck to v12.1.9 (#5717)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-12 11:32:29 +01:00
renovate[bot]
86ebed081f Update plugin ktlint to v14 (#5713)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-12 11:32:05 +01:00
Benoit Marty
1bc2e9f2ab Merge pull request #5710 from element-hq/feature/bma/textComposerLayout
Fix layout issue in text composer
2025-11-12 11:29:57 +01:00
Benoit Marty
185d4fadde Let notifications use avatar fallback.
Extract code which handles Matrix image to its own api / impl / test modules.
2025-11-12 11:28:42 +01:00
renovate[bot]
dda1ef7df8 Update dependency org.matrix.rustcomponents:sdk-android to v25.11.11 (#5716)
* Update dependency org.matrix.rustcomponents:sdk-android to v25.11.11

* Fix API breaks:
  - `Client.loginWithQrCode` is now `Client.newLoginWithQrCodeHandler`.
  - Rust's `OtherState` can now have `RoomCreate` and `RoomHistoryVisibility` values.
  - Fix fixtures

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-11-11 15:29:37 +00:00
SpiritCroc
4074556b6f Fix rendering notifications if event ID is duplicated (#5711) 2025-11-10 21:54:09 +01:00
Benoit Marty
30d39a3290 Ensure bottom sheet is collapsed when leaving RTE mode. Closes #5635 2025-11-10 16:59:36 +01:00
Benoit Marty
c62f834917 Format - no other change. 2025-11-10 16:59:00 +01:00
Benoit Marty
a902533247 Rename MessageComposerEvents to MessageComposerEvent 2025-11-10 16:29:30 +01:00
Benoit Marty
4fa950b25e Merge pull request #5706 from element-hq/feature/bma/copyright2025
Update copyright holders
2025-11-10 13:34:19 +01:00
Benoit Marty
896917655a Copyright: update enterprise template. 2025-11-10 11:33:51 +01:00
Benoit Marty
2667b3e5f8 Copyright: update test 2025-11-10 11:25:37 +01:00
Benoit Marty
d103382993 Copyright: update enterprise code. 2025-11-10 11:23:26 +01:00
Benoit Marty
5157d3e532 Copyright: Add missing headers 2025-11-10 11:05:31 +01:00
Benoit Marty
9c02075305 Copyright: Update template 2025-11-10 11:05:30 +01:00
Benoit Marty
f5f1cee53b Copyright: Update Konsist test 2025-11-10 11:05:28 +01:00
Benoit Marty
1292da2a72 Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
Benoit Marty
b748fcc631 Copyright: Add final period 2025-11-10 10:13:41 +01:00
Benoit Marty
0a0224b586 Copyright: run command uv run license-editor --repository ../element-x-android 2025-11-10 10:09:26 +01:00
Benoit Marty
0999c82a38 Copyright: update README.md 2025-11-10 10:06:22 +01:00
Benoit Marty
2641113e2e Fix typo 2025-11-10 09:37:01 +01:00
Benoit Marty
f32e893361 Merge pull request #5698 from element-hq/feature/bma/handleEvent
Code consistency around view event handling
2025-11-10 09:36:04 +01:00
Benoit Marty
a7fecf74b4 Merge pull request #5701 from element-hq/feature/bma/improveComposerAlertMolecule
Improve composer alert molecule
2025-11-10 09:22:26 +01:00
ElementBot
43aa4c0e1f Sync Strings from Localazy (#5704)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-11-10 09:21:00 +01:00
ElementBot
718f7ff43c Update screenshots 2025-11-08 13:40:32 +00:00
Benoit Marty
bdc72f40ec Merge pull request #5691 from kaylendog/kaylendog/history-sharing/alert
Convert `ComposerAlertMolecule` to use alert levels.
2025-11-08 14:26:03 +01:00