Commit graph

12473 commits

Author SHA1 Message Date
Benoit Marty
d3339872ff Ensure that disabling (resp. enabling) notification unregisters (resp. registers) the pusher 2025-11-13 17:50:21 +01:00
Benoit Marty
c7d4689473 Add missing test. 2025-11-13 15:39:20 +01:00
Benoit Marty
c453d2adac Add unit test on DefaultUnifiedPushRemovedGatewayHandler 2025-11-13 15:34:33 +01:00
Benoit Marty
0dcd63c7f9 Add unit test on DefaultServiceUnregisteredHandler 2025-11-13 15:13:05 +01:00
Benoit Marty
71e8df2628 Rename val 2025-11-13 14:58:44 +01:00
Benoit Marty
f9c0b9e8bb 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
6b7e8f72f5 Improve logs 2025-11-13 12:26:46 +01:00
Benoit Marty
e706e5fa0e Unregister the pusher when the topic is deleted (unregistered) 2025-11-13 12:26:35 +01:00
Benoit Marty
3a3ab4e696 Cleanup NotificationCreator. 2025-11-13 11:59:58 +01:00
Benoit Marty
8c6a7ccac5 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
8638c06207
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
04589ec091 Fix package name 2025-11-12 12:24:46 +01:00
renovate[bot]
7b7c42915a
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]
bf88382fc4
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]
fe6cf5a253
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]
f2a7a2a3ce
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
38c03d6453
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
573767aca1 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]
e7e2f38c3c
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
6416c79925
Fix rendering notifications if event ID is duplicated (#5711) 2025-11-10 21:54:09 +01:00
Benoit Marty
30cc45c089 Ensure bottom sheet is collapsed when leaving RTE mode. Closes #5635 2025-11-10 16:59:36 +01:00
Benoit Marty
8149cc06f1 Format - no other change. 2025-11-10 16:59:00 +01:00
Benoit Marty
24c213901e Rename MessageComposerEvents to MessageComposerEvent 2025-11-10 16:29:30 +01:00
Benoit Marty
8603d54778
Merge pull request #5706 from element-hq/feature/bma/copyright2025
Update copyright holders
2025-11-10 13:34:19 +01:00
Benoit Marty
036391adab Copyright: update enterprise template. 2025-11-10 11:33:51 +01:00
Benoit Marty
c3875e4d95 Copyright: update test 2025-11-10 11:25:37 +01:00
Benoit Marty
336e35da2e Copyright: update enterprise code. 2025-11-10 11:23:26 +01:00
Benoit Marty
57e9153a0e Copyright: Add missing headers 2025-11-10 11:05:31 +01:00
Benoit Marty
8ecb4fbb9b Copyright: Update template 2025-11-10 11:05:30 +01:00
Benoit Marty
f16040a64d Copyright: Update Konsist test 2025-11-10 11:05:28 +01:00
Benoit Marty
eb31505dc7 Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
Benoit Marty
f86431e663 Copyright: Add final period 2025-11-10 10:13:41 +01:00
Benoit Marty
c4e0370f41 Copyright: run command uv run license-editor --repository ../element-x-android 2025-11-10 10:09:26 +01:00
Benoit Marty
d211e445cf Copyright: update README.md 2025-11-10 10:06:22 +01:00
Benoit Marty
cbbd0ff079 Fix typo 2025-11-10 09:37:01 +01:00
Benoit Marty
8769b98862
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
3b6af9d25d
Merge pull request #5701 from element-hq/feature/bma/improveComposerAlertMolecule
Improve composer alert molecule
2025-11-10 09:22:26 +01:00
ElementBot
967f250e4b
Sync Strings from Localazy (#5704)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-11-10 09:21:00 +01:00
ElementBot
d296e19cd2 Update screenshots 2025-11-08 13:40:32 +00:00
Benoit Marty
39aa79335b
Merge pull request #5691 from kaylendog/kaylendog/history-sharing/alert
Convert `ComposerAlertMolecule` to use alert levels.
2025-11-08 14:26:03 +01:00
Benoit Marty
9efa5aa4cf
Merge pull request #5693 from element-hq/feature/bma/loginLinkPassword
Fix password flow when using a login link
2025-11-07 17:28:04 +01:00
Skye Elliot
b3812544cb
chore: Remove .idea/markdown.xml and add to .gitignore. 2025-11-07 16:08:17 +00:00
Benoit Marty
87e7c64d34 Fix test 2025-11-07 16:53:53 +01:00
Benoit Marty
f280b8962b Improve API of LoginHelper and AccountProviderDataSource 2025-11-07 16:53:52 +01:00
Benoit Marty
5e8f06221f Rename API 2025-11-07 16:53:51 +01:00
Benoit Marty
bd43d86ec5 Ensure that the current account provider is set when using a login deeplink. Fixes #5004 2025-11-07 16:53:50 +01:00
Benoit Marty
77bc9b811a
Merge pull request #5692 from element-hq/feature/bma/loginFlow
Improve account provider selection during the login flow
2025-11-07 16:48:03 +01:00
Skye Elliot
d4dba4b0fc
chore: Remove unused import. 2025-11-07 15:24:24 +00:00
Skye Elliot
7595a0be35
fix: Use Icon(imageVector = icon) over rememberVectorPainter(icon) 2025-11-07 15:18:08 +00:00
Skye Elliot
b163959241
refactor: Extract ComposerAlertMoleculeParamsProvider to new file. 2025-11-07 15:15:00 +00:00