56 Commits

Author SHA1 Message Date
Maciej Gomółka bd10be103e Implement LiquidUnreadButton 2026-05-08 08:54:36 +00:00
Maciej Gomółka 90a69724ce Fix unit tests 2026-04-15 14:21:04 +02:00
Maciej Gomółka 07f980e304 Resolve breaking changes 2026-04-15 13:58:23 +02:00
Maciej Gomółka e813e3bf3f Merge branch 'main' into release/7.8.0
# Conflicts:
#	ProtonPackages/et-protoncore
#	mail-sdk-version
#	project.yml
2026-03-13 11:59:24 +01:00
Maciej Gomółka c505142bc4 Move MMP related code to separate packakge 2026-03-10 16:27:06 +01:00
Maciej Gomółka b59c797c4c Align with latest Rust SDK API 2026-02-18 10:10:52 +01:00
Jacek Krasiukianis d56170a999 refactor(swift-format): Full config 2025-12-16 09:58:19 +01:00
Jacek Krasiukianis 52efbc91cd ET-5165 Rating booster 2025-12-09 10:29:58 +00:00
Jacek Krasiukianis 8ddd5f69da refactor(swift-format): Enable NoEmptyLinesOpeningClosingBraces 2025-11-28 08:40:19 +00:00
Jacek Krasiukianis 1add6c3aaa P1-381 Dedicated error when no sending address is available 2025-11-25 17:20:41 +01:00
Jacek Krasiukianis 3d652bde45 Bump Rust SDK to 0.158.0 2025-11-21 14:35:52 +00:00
Jacek Krasiukianis 7e0d3dd89a Remove unused code 2025-11-21 13:51:23 +00:00
Jacek Krasiukianis 3c6f4d979e swift-format: enable OrderedImports 2025-11-21 11:55:49 +01:00
Maciej Gomółka 7775a020e0 Fix flaky tests in UniversalSchemeHandlerTests suite 2025-11-13 13:02:56 +00:00
Jacek Krasiukianis 83956ab68a Bump Rust SDK to 0.157.2 version 2025-11-07 16:48:13 +01:00
Jacek Krasiukianis b6d5698bc4 Remove unused code 2025-11-04 15:30:48 +01:00
Maciej Gomółka fee551a60c Resolve breaking chnages 2025-10-22 10:10:22 +02:00
Xavi Gil 89b7d1bab0 Merge branch 'main' into release/7.0.2 2025-09-15 16:41:42 +02:00
Mateusz Szklarek 709da11d6d Implement error handling when opening draft fails 2025-09-05 12:26:08 +02:00
Mateusz Szklarek 9a60cb666a Implement new message action in RSVPStateStore 2025-09-04 18:02:29 +02:00
Mateusz Szklarek c5d3513d33 Implement copy address action in RSVP widget 2025-09-04 13:53:31 +02:00
Maciej Gomółka 429866bb87 Observe user settings to decide to turn analytics on or off 2025-08-29 15:15:09 +00:00
Xavi Gil ef975e049f SDK bump to 0.142.7 2025-08-29 17:00:27 +02:00
Xavi Gil 423254c1e8 SDK bump to 0.142.0 2025-08-27 11:32:49 +02:00
Jacek Krasiukianis 87949338fd Format files before build 2025-08-26 10:30:02 +00:00
Mateusz Szklarek 0612852c0b Merge branch 'main' into feat/ET-4374_edit_contact_action
# Conflicts:
#	Modules/InboxContacts/Sources/Screens/ContactDetails/Providers/ContactDetailsProvider.swift
2025-08-23 10:22:01 +02:00
Jacek Krasiukianis e96d520b44 ET-4351 Confirm opening links 2025-08-21 08:24:38 +00:00
Mateusz Szklarek fe2aae2a3c Add dismissing contact popup sheet before presenting composer 2025-08-14 12:01:36 +02:00
Alex Morral af844bd9e1 feat(accountSettings): ET-4070 Add row showing storage quota in Settings screen 2025-08-11 13:52:12 +00:00
Jacek Krasiukianis 127892ede7 ET-3605 Fix notification actions being delayed 2025-08-08 16:38:41 +02:00
Jacek Krasiukianis ac062e361c ET-638 Share extension 2025-08-08 09:58:24 +00:00
Mateusz Szklarek 8e88cc544c Fix all compilations errors after RustSDK bump to 0.120.0 2025-08-07 15:58:48 +02:00
Maciej Gomółka 2fcb51fa95 Fix tests 2025-08-06 11:41:03 +00:00
Mateusz Szklarek dbd476f2a2 Implement open in calendar action 2025-08-05 10:51:57 +02:00
Jacek Krasiukianis 7edb25ed20 Rust SDK 0.114.0 2025-07-31 14:26:26 +00:00
Mateusz Szklarek 06a0abd303 Rename calendarUTC to calendarGMT 2025-07-30 12:34:04 +00:00
Mateusz Szklarek 3a7b9b8fd6 Fix issue with non-deterministic tests
`calendarUTC` was using system locale and because formatters are static
when they were created start using wrong locale instead of hardcoded one
2025-07-30 12:34:04 +00:00
Mateusz Szklarek af6fa4eace Move Date+Fixture helper to InboxTesting module 2025-07-30 12:34:04 +00:00
Jacek Krasiukianis 82b05a7d40 Move MailUserSessionStub to InboxTesting 2025-07-30 11:54:53 +02:00
Jacek Krasiukianis 0a3eb40bf1 ET-630 Print message action 2025-07-21 11:33:01 +00:00
Maciej Gomółka b5f86ccaf2 Refactor after the CR 2025-07-18 12:38:33 +02:00
Mateusz Szklarek f1213eaeb6 Remove no longer needed helper for legacy XCTest's tests 2025-07-17 12:02:02 +01:00
Mateusz Szklarek 37333bf240 Rename fixedCurrentDate to currentDate and simplify traits naming
Add missing docs
2025-07-17 12:01:21 +01:00
Mateusz Szklarek c8c0398844 Fix last failing snapshot tests - use traits with hardcoded calendar/date 2025-07-17 11:56:24 +01:00
Mateusz Szklarek db4d2d1ade Add inline documentation for FixedCalendarTrait helper extension 2025-07-17 11:28:45 +01:00
Mateusz Szklarek c267d76399 Fix snapshot tests that was using system calendar instead of hardcoded one 2025-07-17 11:27:28 +01:00
Mateusz Szklarek e2426ce525 Fix failing tests in MessageDetailsDateFormatterTests 2025-07-16 18:02:18 +02:00
Mateusz Szklarek 38c46c165d Refactor: Replace nonisolated(unsafe) Calendar with @TaskLocal
The `DateEnvironment.calendar` property was previously marked with `nonisolated(unsafe)`,
which disables crucial compiler safety checks for a mutable global variable.
This pattern is unsafe and can lead to data races and unpredictable behavior in
concurrent environments.

This commit replaces `nonisolated(unsafe)` with the modern `@TaskLocal`
property wrapper available in Swift 6.1. This provides a much safer API
for managing context-specific data.

The key benefits of this change are:
- **Thread Safety:** `@TaskLocal` is inherently safe. The property is read-only by default, and modifications are confined to the specific task's scope.
- **Scoped Modifications:** Changes to the calendar are made via the `withValue` function, which guarantees that the modification only applies within a local scope and does not leak, preventing global state pollution.
- **Improved Clarity:** The API now clearly expresses its intent. Consumers must explicitly create a local scope to use a different calendar, making the code more predictable and easier to reason about.
2025-07-16 16:35:40 +02:00
Xavi Gil e7ad40c69e SDK bump 0.99.0 + changes in BackgroundTaskExecutor 2025-07-07 10:17:27 +02:00
Jacek Krasiukianis 2622a6a43f ET-638 Reusable lock screen 2025-07-02 15:48:02 +02:00