Commit Graph

63 Commits

Author SHA1 Message Date
Zorica Stojchevska 30e5087084 Update copyright
MAILAND-2696
2022-05-23 21:01:57 +00:00
Zorica Stojchevska 998ad75b3f Declare StartOnboardingObserverInitializer in Manifest 2022-04-08 12:47:04 +02:00
Davide Farella afaf743d9b Use MailboxState in MailboxActivity.kt and MailboxViewModel.kt
Replaced old flows with MailboxState.isUpdatedFromRemote and
MailboxState.unreadChip

MAILAND-1498,
MAILAND-2820
2022-04-07 10:05:06 +00:00
Maciej Surmacz c08f9a979d Splits the new user and existing user v4 onboarding
Extracts the base classes and the concrete implementations for
the new user onboarding and the existing user onboarding.

MAILAND-2825
2022-04-07 09:38:18 +02:00
Maciej Surmacz 6578df0894 Introduces a new drawer entry that opens the core subscriptions
MAILAND-2823
2022-04-04 13:29:05 +00:00
Davide Farella 0543ba7e78 Create SwitchUserAndOpenMessageDetailsActivity.kt 2022-03-25 14:32:10 +00:00
Davide Farella 7efa1ad726 Reorganize /details/mailbox/presentation is subpackages 2022-03-25 14:32:10 +00:00
stefanija 4da9b311dd Fix Proton Mail not in the list of apps when sharing files from device
MAILAND-2808
2022-03-22 18:40:01 +01:00
Zorica Stojchevska 9e515a71e1 Move notification related classes to notification package 2022-03-15 13:12:15 +00:00
Maciej Surmacz 3734d18c01 Replaces bug report screen with core implementation
The old implementation did not have any client-side validation
of the inputs. The core one looks and behaves better.

MAILAND-2782
2022-03-10 15:46:22 +00:00
stefanija 7ee00e30a0 Remove code connected to the old EngagementActivity
MAILAND-2695
2022-03-09 18:27:06 +01:00
stefanija 27786e65ab Create the OnboardingActivity
MAILAND-2695
2022-03-09 18:27:06 +01:00
Neil Marietta fb87808e6c Upgraded Sentry from 1.7 to 5.6. 2022-02-16 16:01:33 +00:00
Jorge Martin 9f31f7d3d8 Core - Integrate KeyStore fallback message 2022-02-07 16:18:56 +00:00
Davide Farella b133e76c41 Add SecurityManager.kt and include Screenshot Preventing
Having a single place where to handle security matters ( FLAG_SECURE )
is the best solution, in order to be independent by BaseActivity and any
 Activity in general and also avoid race conditions where the
 PinLockManager.kt enables the Flag and then the BaseActivity disables
 it

MAILAND-2730
2022-01-31 15:32:33 +01:00
Davide Farella 47c729d648 Fix AppInitializer lint issue 2022-01-25 17:25:28 +01:00
Davide Farella 4665948e22 Fix PinLockManagerInitializer on Firebase Tests
MAILAND-2542
2022-01-24 17:41:33 +01:00
Davide Farella 2abb66a4d5 Basic replacement of the Pin screen from BaseActivity.java to PinLockManager.kt
The Pin screen is now shown when it's supposed to be shown and the back
button is inhibited, still need to migrate measures for screen in Recent
 apps and flashing of the previous activity

MAILAND-2542
2022-01-24 17:41:32 +01:00
Davide Farella d976383a67 Adapt LabelsManagerActivity.kt and LabelsManagerViewModel.kt to use new UiModel
MAILAND-2657
2021-12-13 14:02:31 +01:00
Davide Farella 3411d97e3d Implement ThemeChooserActivity.kt
Implement layout, ViewModel interactions and connection with BaseSettingsActivity.kt

MAILAND-2635
2021-12-11 09:52:46 +01:00
Davide Farella b331344c81 Setup adapter and empty test for ParentFolderPickerActivity.kt
MAILAND-2613
2021-11-29 17:08:29 +01:00
Neil Marietta e3550fd8a8 Removed SplashActivity.
MailboxActivity is now the main launcher Activity, and support null current userId.
2021-11-11 09:05:24 +00:00
Neil Marietta f87dc77265 Updated Core modules & GOpenPGP (2.2.4). 2021-10-21 15:22:39 +02:00
Tomasz Giszczak f73a695af8 Fix for labels not being visible in LabelsManager, also moved lables manager to new labels package.
MAILAND-2358
2021-10-20 14:24:03 +02:00
Maciej Surmacz dee0fa17d8 Adds expiration icon to the collapsed message view
Adds the expiration view to the collapsed messages, which shows the icon and the
time using the largest available time unit, e.g. 7days 6hours will be shown as 7D.
In addition, updates the mockk to the most recent version.

MAILAND-2236
2021-09-08 14:35:54 +00:00
Zorica Stojchevska 1ecb2391eb Extracted logic from AccountSettingsActivity.kt to a view model 2021-07-30 18:52:02 +02:00
Davide Farella a2c215539a Upgraded Core Modules. 2021-07-29 13:05:34 +00:00
stefanija c60366134c Revert "Core Mail Settings adoption for view mode and swipe actions"
This reverts commit 54820ceb

Revert "Extracted logic from SwipeChooserActivity to a view model"

This reverts commit d2ed89c5

Revert "Swipe actions were showing the default actions instead of actions set up by the user"

This reverts commit cb252e9c

Revert "Rename and move use case that handles changes to view mode"

This reverts commit 88ef4deb

Revert "When you would change the view mode from conversations to messages or the other way around and go back to the mailbox the setting change was ignored. Now on this action we clear the messages and conversation tables and reload the mailbox. We rely on the mail settings core module to persist the change."

This reverts commit 737c11a2

Revert "Update core libraries to introduce mail settings module"

This reverts commit 0f4cb3b3

Revert "Moved Conversation.kt model inside domain/model directory"

This reverts commit 2c8508c8
2021-07-26 18:24:23 +02:00
Zorica Stojchevska 574a765865 Core Mail Settings adoption for view mode and swipe action
MAILAND-2032
MAILAND-2087

When you would change the view mode from conversations to messages or the other way around and go back to the mailbox the setting change was ignored. Now on this action we clear the messages and conversation tables and reload the mailbox. We rely on the mail settings core module to persist the change.

MAILAND-2087

Rename and move use case that handles changes to view mode

Swipe actions were showing the default actions instead of actions set up by the user

Now we use the mail settings flow from core, we observe it in the mailbox so it is reflected for the initial fetch of settings and after a change from the settings activity.

MAILAND-2032

Extracted logic from SwipeChooserActivity to a view model

Extracted logic from AccountSettingsActivity.kt to a view model
2021-07-26 18:24:23 +02:00
dkadrikj 238c474f30 Integrate plan upgrade.
Update auth signup to support paid plans.
2021-07-14 12:48:31 +00:00
Davide Farella 9f97bd7891 Revert "Clean up after removing ImportAttachmentsWorker.kt"
This reverts commit 5db8f021a9.
2021-06-29 15:55:28 +02:00
Zorica Stojchevska 38b2f8b255 Change menu entry from Swiping gesture to Swipe actions
Fix toolbar title for SwipeSettingFragment
Fix signature not being saved from remote issue
2021-06-24 15:56:25 +02:00
Zorica Stojchevska 391bb3ab2e Bump core libs versions. 2021-06-24 15:56:25 +02:00
Zorica Stojchevska eb6bd57be4 Swipe preview screen and swipe chooser screen v4 face lift 2021-06-24 15:56:24 +02:00
Zorica Stojchevska 808617b08a Pin screen face v4 lift 2021-06-24 15:56:10 +02:00
Zorica Stojchevska 628caea101 Subscription screen v4 facelift 2021-06-24 15:56:10 +02:00
Zorica Stojchevska 92c1d431f2 Local storage screen v4 facelift 2021-06-24 15:56:10 +02:00
Zorica Stojchevska c0cb8de35b Snooze notifications screen v4 facelift 2021-06-24 15:56:10 +02:00
Davide Farella df320c0ce2 Create SetMessagePasswordActivity.kt
MAILAND-1672, MAILAND-1671
2021-06-11 08:57:59 +00:00
Davide Farella 9b537b1e5e Create SetMessageExpirationActivity.kt
MAILAND-1672, MAILAND-1670
2021-06-11 08:57:59 +00:00
Neil Marietta ca6660be6b Integrated Add Account Workflow.
Updated Core Presentation (new Splash).
2021-06-10 15:21:15 +02:00
Tomasz Giszczak aa75f1c795 Moved contact details to new package structure.
MAILAND-1875
2021-06-09 20:53:24 +02:00
Davide Farella 5db8f021a9 Clean up after removing ImportAttachmentsWorker.kt
MAILAND-1669
2021-06-08 09:51:15 +02:00
Neil Marietta df3cab4180 Fixed Android Task Hijacking. 2021-05-26 09:37:48 +00:00
Neil Marietta ac7d95d4a2 Added Light Splash. 2021-05-26 09:37:48 +00:00
Davide Farella 70dab48b22 Add basic UI test suite for single View 2021-05-12 15:49:43 +02:00
Zorica Stojchevska 41986f83e7 Implement getConversation method in conversation repository
- Add method in Conversations Repository that will allow us to get the conversation with it's messages from the Remote or Local source.
- Add a way to save the messages into the Message Table
- Add API call to get conversation with it's messages

MAILAND-1766
2021-05-10 13:38:10 +00:00
Marino Meneghel 19e523104e Move MailboxViewModel and MailboxActivity to mailbox package
MAILAND-1644
2021-05-10 13:38:10 +00:00
Neil Marietta 7e82e972c7 Fixed App Theme & Splash. 2021-05-07 14:14:38 +02:00
Neil Marietta 041bb91ed6 Added Multi Account support. 2021-05-07 14:12:19 +02:00