Commit Graph

6573 Commits

Author SHA1 Message Date
Benoit Marty dba8f1b276 Merge pull request #7577 from element-hq/feature/bma/explorePushRules
Add a "Push rules" entry in the developer options
2026-08-26 13:54:07 +02:00
Benoit Marty 2fcf806f59 Pretty print the push rules content before displaying it
The raw push rules returned by the SDK are a single long line of json, which is
hard to read on a phone. Re-encode the content with a pretty printer using a two
space indentation before handing it to the file viewer.

Parsing to a JsonElement and re-encoding preserves the order of the keys, so the
rules are still listed in the order the server returned them. Content which
cannot be parsed is passed through unchanged, so that a malformed payload remains
viewable.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-26 12:55:07 +02:00
Benoit Marty 373d2f1eb5 Add a Push rules entry to the developer options
Add a "Push rules" item in the Notifications section of the developer options,
above "Push history". It displays the raw push rules of the account, which were
only available as a rageshake attachment so far.

The content is read using NotificationSettingsService.getRawPushRules(), then
rendered by the new FileViewerEntryPoint, so that the screen looks like the media
viewer rendering a file, with Share and Download actions on a
push_rules<userId>.json file. The user id contains a colon, which is not a valid
file name character on all the file systems, so it is replaced by an underscore.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-26 12:11:16 +02:00
Benoit Marty c9da3ab490 Merge pull request #7520 from element-hq/feature/bma/updateFonts
Update fonts on the headings
2026-08-26 09:51:50 +02:00
Benoit Marty af7e765599 Fixing compilation issue after merging develop 2026-08-25 13:32:11 +02:00
Benoit Marty 4b4ceebdb1 Merge branch 'develop' into fix/1270-verification-request-timeout 2026-08-25 13:30:57 +02:00
Benoit Marty 872319c8ea Merge pull request #7521 from element-hq/fix/account-provider-supporting-text-clipped
Make the account provider screen scrollable so its description is not clipped by the keyboard
2026-08-25 13:29:23 +02:00
Benoit Marty 0634cadc9c Ensure translation of "Chats" does not render in big font when displayed on 2 lines. They can add the end be displayed on one line using the small font. 2026-08-25 11:54:15 +02:00
Benoit Marty 0a9a25d940 Update Konsist test and fix existing issue. 2026-08-25 11:21:10 +02:00
Benoit Marty d7310b6941 Split code into several files. 2026-08-25 10:55:38 +02:00
Benoit Marty 217ccb75ed BatteryOptimizationEvents -> BatteryOptimizationEvent 2026-08-25 10:32:34 +02:00
Benoit Marty cb8c462bad FullScreenIntentPermissionsEvents -> FullScreenIntentPermissionsEvent 2026-08-25 10:31:51 +02:00
Benoit Marty 2b55ff097f ViewFileEvents -> ViewFileEvent 2026-08-25 10:31:09 +02:00
Benoit Marty 328d2d1260 OutgoingVerificationViewEvents -> OutgoingVerificationViewEvent 2026-08-25 10:30:19 +02:00
Benoit Marty 2dda3b807d IncomingVerificationViewEvents -> IncomingVerificationViewEvent 2026-08-25 10:29:30 +02:00
Benoit Marty 650f20d6ba UserProfileEvents -> UserProfileEvent 2026-08-25 10:28:49 +02:00
Benoit Marty 51a4704854 UserListEvents -> UserListEvent 2026-08-25 10:28:07 +02:00
Benoit Marty cf7d5ab4b4 StartChatEvents -> StartChatEvent 2026-08-25 10:27:26 +02:00
Benoit Marty 771840884a SpaceSettingsEvents -> SpaceSettingsEvent 2026-08-25 10:26:43 +02:00
Benoit Marty d07eba9a20 SpaceEvents -> SpaceEvent 2026-08-25 10:26:02 +02:00
Benoit Marty 15cdd85357 LeaveSpaceEvents -> LeaveSpaceEvent 2026-08-25 10:25:19 +02:00
Benoit Marty a2c3ddab02 SignedOutEvents -> SignedOutEvent 2026-08-25 10:24:37 +02:00
Benoit Marty 739fc452dd ShareEvents -> ShareEvent 2026-08-25 10:23:51 +02:00
Benoit Marty deb08a3a6c EditRoomAddressEvents -> EditRoomAddressEvent 2026-08-25 10:23:12 +02:00
Benoit Marty 47f4e136dd Use fontHeadingMdBold for empty space title. 2026-08-25 10:22:31 +02:00
Benoit Marty b8b6dc1df6 SecureBackupSetupEvents -> SecureBackupSetupEvent 2026-08-25 10:22:22 +02:00
Benoit Marty 28c19e38ce SecureBackupRootEvents -> SecureBackupRootEvent 2026-08-25 10:21:36 +02:00
Benoit Marty 2d611475da SecureBackupEnterRecoveryKeyEvents -> SecureBackupEnterRecoveryKeyEvent 2026-08-25 10:20:48 +02:00
Benoit Marty c8c579ed7e SecureBackupDisableEvents -> SecureBackupDisableEvent 2026-08-25 10:19:58 +02:00
Benoit Marty 4981a04519 InternalRoomMemberModerationEvents -> InternalRoomMemberModerationEvent 2026-08-25 10:19:06 +02:00
Benoit Marty 17213ac93e RoomMemberModerationEvents -> RoomMemberModerationEvent 2026-08-25 10:18:21 +02:00
Benoit Marty 4e9ec1b631 RoomDirectoryEvents -> RoomDirectoryEvent 2026-08-25 10:17:21 +02:00
Benoit Marty 15569ef3e8 RoomAliasResolverEvents -> RoomAliasResolverEvent 2026-08-25 10:16:32 +02:00
Benoit Marty 4e2d99c968 RolesAndPermissionsEvents -> RolesAndPermissionsEvent 2026-08-25 10:15:35 +02:00
Benoit Marty fc8d3b3065 ReportRoomEvents -> ReportRoomEvent 2026-08-25 10:14:32 +02:00
Benoit Marty 859b0e1b60 BugReportEvents -> BugReportEvent 2026-08-25 10:13:33 +02:00
Benoit Marty 5d8ca663df EditDefaultNotificationSettingStateEvents -> EditDefaultNotificationSettingStateEvent 2026-08-25 10:12:06 +02:00
Benoit Marty 8a02b50c98 NotificationSettingsEvents -> NotificationSettingsEvent 2026-08-25 10:11:07 +02:00
Benoit Marty a113d44558 LabsEvents -> LabsEvent 2026-08-25 10:10:11 +02:00
Benoit Marty 7952721ffe DeveloperSettingsEvents -> DeveloperSettingsEvent 2026-08-25 10:09:09 +02:00
Benoit Marty d8e7031709 BlockedUsersEvents -> BlockedUsersEvent 2026-08-25 10:08:17 +02:00
Benoit Marty e6be199d4a AdvancedSettingsEvents -> AdvancedSettingsEvent 2026-08-25 10:07:35 +02:00
Benoit Marty 87af3b85b3 PollHistoryEvents -> PollHistoryEvent 2026-08-25 10:06:58 +02:00
Benoit Marty d42a93100d ThreadsListEvents -> ThreadsListEvent 2026-08-25 10:06:20 +02:00
Benoit Marty 116897d64c LogoutEvents -> LogoutEvent 2026-08-25 10:05:38 +02:00
Benoit Marty 93efe3348f DirectLogoutEvents -> DirectLogoutEvent 2026-08-25 10:05:04 +02:00
Benoit Marty a039fcd655 QrCodeScanEvents -> QrCodeScanEvent 2026-08-25 10:04:23 +02:00
Benoit Marty 0bf671a305 QrCodeIntroEvents -> QrCodeIntroEvent 2026-08-25 10:03:42 +02:00
Benoit Marty b75d8bb6c1 OnBoardingEvents -> OnBoardingEvent 2026-08-25 10:03:05 +02:00
Benoit Marty 835690a1c2 LoginPasswordEvents -> LoginPasswordEvent 2026-08-25 10:02:25 +02:00