Commit Graph

27 Commits

Author SHA1 Message Date
Neil Marietta 7e4dee353e feat: Added Unauthenticated Session support.
chore: Upgraded Core to 9.9.0.
chore: Upgraded Core Gradle Plugins to 1.1.2 (Detekt update).
2023-01-26 16:57:21 +00:00
Zorica Stojchevska 30e5087084 Update copyright
MAILAND-2696
2022-05-23 21:01:57 +00:00
Vincent Brison e1d99f027d Setup Human Verification v3, bump Core libs to 4.1.0
To replace by stable core release when available.
2021-12-29 09:57:59 +01:00
Zorica Stojchevska 682aeba92e Revert "Add support for arm"
This reverts commit 86c0e8da
2021-12-24 11:45:53 +01:00
Vincent Brison 86c0e8dab7 Add support for arm 2021-12-20 07:52:46 +00:00
Marino Meneghel 34f3b441fb Update core detekt plugin
The plugin now contains a fix for the codequality issue on gitlab,
so the workaround to inject "severity" into the report can be dropped.
2021-12-16 18:08:43 +01:00
Marino Meneghel 67138f8e25 Revert "Use standard detekt plugin locally instead of cutom proton plugin."
This reverts commit 687c105fa5.
2021-12-16 16:52:48 +00:00
Tomasz Giszczak 687c105fa5 Use standard detekt plugin locally instead of cutom proton plugin.
MAILAND-1792
2021-07-01 08:26:30 +00:00
Tomasz Giszczak 2b58169059 Add to FetchContactDetails support of multiple vcard types parsed for the same result object. Fix the probm of contact details not being displayed at first view.
MAILAND-1286
2021-01-08 16:53:18 +00:00
Tomasz Giszczak 917a04e695 Removed no longer suported gradle.properties build.gradle.kts settings.
MAILAND-1285
2021-01-04 15:33:49 +01:00
Davide Farella 680bde65f6 Bump Kotlin [1.3.72] -> [1.4.21], Coroutines [1.3.9] -> [1.4.2]
MAILAND-1274
2020-12-29 17:20:12 +00:00
Davide Farella f82f1e036f Replace `setupDetekt` with 'me.proton.detekt' Gradle plugin
MAILAND-1274
2020-12-29 17:20:12 +00:00
Davide Farella 98881fb5db Replace `setupKotlin` with 'me.proton.kotlin' Gradle plugin
MAILAND-1274
2020-12-29 17:20:12 +00:00
Davide Farella 33774f1262 Replace built-in tests with 'me.proton.tests' Gradle plugin
MAILAND-1274
2020-12-29 17:20:12 +00:00
Davide Farella 228af2d845 Setup tests for plain Kotlin modules
With the newly create 'allTest' task, it will run 'testDebugUnitTest' for Android modules and 'test' on plain Kotlin ones
Affected: Tests on CI
2020-09-25 07:04:52 +00:00
Davide Farella f3a896e733 Enable experimental kotlin.time
Affected: none
MAILAND-930
2020-09-22 13:56:55 +02:00
Davide Farella 217ac3f265 Enable kotlinx.coroutines.ExperimentalCoroutinesApi for coroutines-test
Disable warning on usage of experimental Coroutines like `runBlockingTest`
Affected: none

MAILAND-896
2020-09-02 09:54:51 +00:00
Davide Farella 24b4f5f6f4 Removed injectLicenses Gradle task
#comment Transformed InjectLicenses.gradle.kts into plain script InjectLicenses.kts.
Affected: Copyright injection during Gradle sync, it is now handled by the IDE itself
2020-07-30 14:32:27 +02:00
Davide Farella 6b656b190b Added all the User's fields
#comment Some of them are still subject to changes, but all of them has been added from User API, with relative doc and tests
Affected: none

MAILAND-719
2020-07-02 10:47:52 +00:00
Davide Farella ebd95ad69d Imported Detekt setup from Core library
#comment Removed built-in Detekt setup and switched with the one from Core Util Gradle package
Affected: detekt reports and code climate on CI
2020-06-29 12:06:21 +00:00
Davide Farella edb9235fbb Multi-module Detekt support
* Updated EasyGradle in order to ensure to have declared explicitly all the libs versions in versionsConfig.kt - previous version had default values
* Renamed `Project` in buildSrc to ProtonMail.kt, in order to avoid conflicts with Gradle's Project type
* Created setup for Detekt in detekt.kt
* Changed report path into .gitlab-ci.yml
* Clean up for Project's build.gradle.kts with help of kotlin.kt
Affected: Build Config

MAILAND-698
2020-06-09 12:51:48 +00:00
Davide Farella b09106a039 Updated MockK to 1.10.0
#comment Updated MockK library to latest release in order to remove work around from build.gradle.kts
Affected: Tests, Build Config

MAILAND-698
2020-06-09 12:51:48 +00:00
Davide Giuseppe Farella 73af26456a Revert "Merge branch 'fix/473_bypass-mailbox-psw' into 'develop'"
This reverts merge request !23
2020-05-15 19:38:01 +02:00
Davide Farella 1c20607e72 AccountManager quick fix
#comment Quick fix for AccountManager to be up to date with Login State, whenever is updated into UserManager.kt
Affected: Users and Accounts management

Ticket: MAILAND-473
2020-05-07 08:33:29 +00:00
Davide Farella ff73eb96ee Fixed bypass MailBox password
#comment This fixes the preferences: since multi-user preferences have not been conformed, so we were storing login state and similar at app-level, now they're handled independently for each user.
A PreferencesProvider.kt have been created, leveraging the responsability to handle Preferences for ProtonMailApplication.
Some refactor have been done for User into Drawer for NavigationActivity.kt and for AccountManagerActivity.kt: now they have 2 different adapter ( AccountManagerAccountsAdapter.kt and DrawerAccountsAdapter.kt ).
Some bad code have been deprecated, like the static accessor ProtonMailApplication.getApplication
Affected: UserManager.kt, PreferencesProvider.kt, AccountManagerAccountsAdapter.kt, DrawerAccountsAdapter.kt, all the elements that interact with verifying the login state.

Ticket: MAILAND-473

# Conflicts:
#	app/build.gradle
2020-05-07 08:33:29 +00:00
Davide Giuseppe Farella bb191d61dd New build config 2020-05-05 10:53:23 +00:00
Zorica Stojchevska 5ce164d00a Initial commit 2020-04-16 17:44:53 +02:00