194 Commits

Author SHA1 Message Date
Rok Oblak 020a31e6de Update tests
MAILANDR-2601: deduplicate labels
2025-05-09 14:47:39 +07:00
Rok Oblak 4a50f01877 Ensure label UI models are distinct
MAILANDR-2601: deduplicate labels
2025-05-09 14:23:51 +07:00
Mateusz Armatys a7e90670e9 feat: Easy device migration (login with a QR code). 2025-04-18 12:05:27 +00:00
Mateusz Armatys e2eef56e6a chore: Update Core libs to 31.0.0.
- Add DB migration.
- Set `compileSdk` to 35.
- Update Sentry.
2025-04-18 07:07:01 +00:00
Stefanija Boshkovska 5da5c2f54c Update the logic for displaying used storage in the settings
MAILANDR-2523
2025-03-06 13:24:45 +00:00
Stefanija Boshkovska d705352701 Update the logic that checks the account storage status
MAILANDR-2523
2025-03-06 13:24:45 +00:00
Niccolò Forlini 3644591b3d Update DynamicPlanInstance UI models + mappers
Pass down the info whether the plan is a promotional plan (e.g. introductory pricing) or not.

MAILANDR-2507
2025-03-06 12:34:18 +00:00
Rob Oblack 3d182a370e Handle reply, reply all, forward actions when last message is collapsed 2025-02-20 16:43:53 +00:00
Stefanija Boshkovska 06a4213140 Add a FF for restricting the web view height and limit the feature to Android 9
MAILANDR-2504
MAILANDR_2151
2025-02-19 13:59:18 +01:00
Rok Oblak 626996f134 Ensure ignoring all drafts works correctly by only filtering out drafts
MAILANDR-2489: trash action condition
2025-02-10 23:04:00 +07:00
Aleksandar Markovic 997243fc80 Handle Exclude Spam/Trash from all mail setting in the app
MAILANDR-2451
2025-01-21 10:12:04 +00:00
Aleksandar Markovic aa2e830124 Add tests
MAILANDR-2438
2025-01-16 10:18:24 +00:00
Aleksandar Markovic f0c55a861f Add code that respects show moved mail setting
MAILANDR-2351
2025-01-13 10:42:03 +00:00
Niccolò Forlini 92d5b60105 Bump kotlinpoet-ksp + use kotlin-compile-testing fork
NOJIRA
2024-12-03 13:44:15 +00:00
Niccolò Forlini b330ad6260 Update error logging
- UploadDraft -> Sync draft failure with no message found is expected when creating a draft anew and Composer has empty/prefilled fields with no changes
- MarkMessageAndConversationReadIfAllMessagesRead -> if all messages are not read in the conversation, it should not return an error
- BaseDaoExtensions#upsertOrError -> not needed anymore as it was firstly introduced for temporary monitoring of errors
- ShowRatingBooster -> from error to debug
- DecryptNotificationContent -> log the actual error and not just the failure
- SendMessage/SendMessageWorker -> some improvements to better determine the origin if a message fails to be sent

MAILANDR-2228
2024-11-28 07:39:26 +00:00
Niccolò Forlini 33c4fd4f7c Align logic to determine the account used storage space
MAILANDR-2350
2024-11-18 18:45:11 +00:00
Adam Jodlowski 53269bc996 Add tests for ObserveAutoDeleteSetting 2024-11-14 17:42:23 +01:00
Adam Jodlowski bec101b820 Add MessageAutoDeleteBanner and display it in Message Details
MAILANDR-2253
2024-11-14 09:17:56 +00:00
Niccolò Forlini a5218dda4b Fix navigation from Sent folder in conversation mode
MAILANDR-2298
2024-11-05 16:01:20 +01:00
Niccolò Forlini e3eae146a5 Move to Gradle version catalogs 2024-10-31 11:47:29 +01:00
Neil Marietta 968d71ae92 chore: Upgraded Core to 29.1.0. 2024-10-31 10:47:12 +01:00
Niccolò Forlini 59b2140fea Handle message headers via HeaderValue
MAILANDR-1531
2024-10-21 12:32:45 +00:00
Niccolò Forlini 1b54586aeb Introduce HeaderValue + Converters
Since the value of the header is only known at runtime and once the value has been fetched, the app needs to handle both JsonLiterals and generic JsonObjects.
A header could then be a Map<String, String> or a Map<String, JsonObject>. The former implementation of the headers assumes that headers can only be Map<String, String>, so in case we get something different, the message fails to open due to a serialization error.

MAILANDR-1531
2024-10-21 12:32:45 +00:00
Stefanija Boshkovska f500c387c1 Create OnboardingUpsellPlanUiModelsMapper
MAILANDR-2185
2024-09-27 11:06:51 +02:00
Niccolò Forlini f8f6dff3c1 Filter out system folders from ObserveExclusiveDestinationMailLabels
MAILANDR-2143
2024-09-17 06:42:36 +00:00
Adam Jodlowski f1562b9781 Add test for sorting Contact suggestions
MAILANDR-1968
2024-08-09 08:58:27 +00:00
Adam Jodlowski 419640f0d3 Bump core to 26.0.0 2024-07-18 21:05:31 +02:00
Neil Marietta fdc38996e1 chore: Upgraded to Core 25.0.1. 2024-06-24 16:30:34 +02:00
Johannes Prueller e4de0c21d5 Revert handling of message actions when draft
MAILANDR-939
2024-05-10 08:18:36 +00:00
Johannes Prueller 4bf02328cd Revert handling of message header actions when draft
MAILANDR-939
2024-05-10 08:18:36 +00:00
Niccolò Forlini 4e49816bb9 Bump Core to 23.0.1
MAILANDR-1794
2024-05-09 10:46:12 +02:00
Niccolò Forlini 78e13634d9 Revert "Fix attachment headers storing logic"
This reverts commit d30a0bae99.
2024-05-08 11:39:34 +02:00
Niccolò Forlini d30a0bae99 Fix attachment headers storing logic
MAILANDR-1531
2024-04-29 09:18:06 +00:00
Niccolò Forlini a5346d70ad Fix missing lint warning
NOJIRA
2024-04-26 10:09:02 +02:00
Niccolò Forlini d7c51ed516 Add upselling test data in the :test module
MAILANDR-1587
2024-04-26 10:09:02 +02:00
Niccolò Forlini e2f9d6f4de Add UC to check if user is Paid without mail subscription
Needed by 1 click upselling logic.

MAILANDR-1587
2024-04-26 10:09:02 +02:00
Niccolò Forlini e767795d55 Hide buttons in conversation mode on drafts
MAILANDR-1670
2024-04-17 13:09:37 +00:00
Stefanija Boshkovska c089bb536e Open the printing view when the Print option is chosen in message mode
MAILANDR-1657
2024-04-15 11:50:48 +02:00
Niccolò Forlini 265ce97cdc Hide header actions when message is a Draft
MAILANDR-1670
2024-04-11 11:59:19 +00:00
Niccolò Forlini b32e2f0dde Add MessageDetailFooterUiModel + Mapper
Start moving the 3 buttons from the MessageBody outside of it.

MAILANDR-998
2024-04-11 11:25:56 +00:00
Niccolò Forlini dd3c2ff40f Filter out unmodifiable labels in ConversationRepository
MAILANDR-1673
2024-04-08 14:50:57 +00:00
Stefanija Boshkovska 6fc0facfd0 Add the WebView theme preference to the MessageBodyUiModel and provide it through the state
MAILANDR-1570
2024-04-05 13:51:03 +00:00
Niccolò Forlini 37ded015b1 Bump Gradle and update kts files
- Gradle to 8.7 for proper Kotlin 1.9.22 support
- Minor tweaks to get rid of warnings

NOJIRA
2024-03-28 16:05:33 +00:00
Niccolò Forlini c53bc1a407 Update existing UI tests
NOJIRA
2024-03-22 11:34:04 +00:00
Niccolò Forlini 243c645999 Add helper UI test component activity
Since Dagger 2.49, instrumented tests that use setContent + internally call hiltViewModel() fail by default due to issues within the hosting Activity.

This additional activity will be the host for those tests, and the relevant changes will be implemented in the following commit.

NOJIRA
2024-03-22 11:34:04 +00:00
Niccolò Forlini de69719af7 Fix detekt issues
A lot of warnings have been raised after bumping versions, making the detekt task fail.

NOJIRA
2024-03-15 13:16:41 +00:00
Neil Marietta 896424ef96 chore: Upgraded Core to 21.0.0. 2024-03-15 13:16:41 +00:00
Neil Marietta 6ba4e44e98 chore: Upgraded Kotlin to 1.9.22 (and needed dependencies). 2024-03-15 13:16:41 +00:00
Adam Jodlowski 86cdd5a62f Preserve VCard KEY property when sanitizing, use regular property instead of extended one 2024-03-08 13:25:59 +00:00
Adam Jodlowski 26ca003430 Use TextUiModel instead of Duration in MessageBannersUiModel 2024-02-23 15:18:45 +00:00