Marino Meneghel
39e59e2c7b
Add google play review dependency
...
This will be used to handle in-app review requests
MAILAND-3071
2023-04-12 11:59:10 +00:00
Zorica Stojchevska
30e5087084
Update copyright
...
MAILAND-2696
2022-05-23 21:01:57 +00:00
Davide Farella
5be6e4565d
Update Copyright [2020] -> [2022]
2022-02-09 16:18:44 +01:00
Davide Farella
78c771338b
Remove and ignore .idea/vcs.xml
...
It contains users' settings
2021-11-10 14:12:41 +01:00
Davide Farella
5cc84bc23f
Fix code style in drawer_section_name_item.xml
...
* Replaced hard-coded values
* Correctly named views' identifiers following agreed standards
MAILAND-1746
2021-11-10 14:12:40 +01:00
Tomasz Giszczak
ef1c544787
Fixed big part of detekt formatting errors. Counter lowered to 2052. Removed unused files.
...
MAILAND-1792
2021-07-07 14:15:11 +00:00
Tomasz Giszczak
bb6d4af6c4
New way of faetching of contact thumbnail image added.
...
MAILAND-1875
2021-06-09 20:53:25 +02:00
Tomasz Giszczak
2f0ea1f43b
Moved getCheckedLabelsForAllMessages method from MessageActionSheetViewModel to ManageLabelsActionSheetViewModel and removed selected labels list from parameters list of ManageLabelsActionSheet.
...
MAILAND-1760
2021-05-12 14:46:22 +00:00
Tomasz Giszczak
0a2cbc116a
Linked MessageActionSheet with the launch button in messages list.
...
MAILAND-1760
2021-05-12 14:46:22 +00:00
Tomasz Giszczak
97c4ed7c43
Resolved various conflicts after rebase to develop.
...
MAILAND-1401
2021-05-11 15:50:25 +02:00
Tomasz Giszczak
32a3f92cf4
Updated details sheet with the latest design items order changes.
...
MAILAND-1401
2021-05-11 15:50:25 +02:00
Tomasz Giszczak
51b55d9887
Added view headers to details actions sheet
...
MAILAND-1777
2021-05-11 15:50:24 +02:00
Tomasz Giszczak
2cfc2e511d
RecyclerView added to Labels action sheet.
...
MAILAND-1401
2021-05-11 15:50:24 +02:00
Marino Meneghel
6125b14262
Upgrade proton data library to version 1.0.3
...
MAILAND-1437
2021-05-10 13:38:10 +00:00
Marino Meneghel
1186971598
Conversation's context time is converted to millis on MailboxItem
...
Since UI expects milliseconds already
Also, change tests to expect "null" for numberOfMessages field when it
is 0, because of the logic introduced by f7c1d13e463eece808c3
MAILAND-1644
2021-05-10 13:38:10 +00:00
Marino Meneghel
e855ef9739
Partially revert "introducing DataResult in ConversationRepository and changed Parameters mode"
...
This partially reverts 7f346bddb23bbd8e0e81401e:
- Reverts wrapping GetConversationsResult in Parameters sealed class
- Reverts forwarding userId to ConversationRepository through the use case
- Reverts optionality of Conversation within the list returned by the Repository
MAILAND-1437
2021-05-10 13:38:10 +00:00
Zorica Stojchevska
95962238cb
introducing DataResult in ConversationRepository and changed Parameters model
2021-05-10 13:38:10 +00:00
Tomasz Giszczak
cbbf91ff40
Fixed mailto links parsing with the new version of androidx-core (1.5-rc01) which has also been updated.
...
MAILAND-322
2021-04-06 14:38:37 +00:00
Davide Farella
291db81b71
Fix not optimised imports
...
MAILAND-1629
2021-03-26 10:04:14 +01:00
Davide Farella
a46509bcf2
Fix add second account introducing Either
...
MAILAND-1629
2021-03-25 14:01:07 +01:00
Davide Farella
cd4692b40d
Fix tests after rebase
...
MAILAND-1189
2021-03-19 16:17:35 +01:00
Davide Farella
21c6ab2646
Fix tests after user id migration
...
MAILAND-1189
# Conflicts:
# app/src/test/java/ch/protonmail/android/attachments/UploadAttachmentsTest.kt
# app/src/test/java/ch/protonmail/android/usecase/compose/SaveDraftTest.kt
# app/src/test/java/ch/protonmail/android/worker/CreateDraftWorkerTest.kt
# Conflicts:
# app/src/test/java/ch/protonmail/android/api/interceptors/BaseRequestInterceptorTest.kt
# app/src/test/java/ch/protonmail/android/utils/notifier/AndroidErrorNotifierTest.kt
# Conflicts:
# app/src/main/java/ch/protonmail/android/worker/drafts/CreateDraftWorker.kt
# app/src/test/java/ch/protonmail/android/api/interceptors/BaseRequestInterceptorTest.kt
# app/src/test/java/ch/protonmail/android/attachments/UploadAttachmentsTest.kt
# app/src/test/java/ch/protonmail/android/usecase/compose/SaveDraftTest.kt
# app/src/test/java/ch/protonmail/android/utils/notifier/AndroidErrorNotifierTest.kt
# app/src/test/java/ch/protonmail/android/worker/CreateDraftWorkerTest.kt
2021-03-18 10:48:00 +01:00
Davide Farella
9a0fcf7f41
Clean up and fixes after rebase
...
MAILAND-1189
# Conflicts:
# app/src/main/java/ch/protonmail/android/activities/messageDetails/repository/MessageDetailsRepository.kt
# app/src/main/java/ch/protonmail/android/attachments/DownloadEmbeddedAttachmentsWorker.kt
# app/src/main/java/ch/protonmail/android/attachments/UploadAttachments.kt
# app/src/main/java/ch/protonmail/android/data/local/model/Message.kt
# app/src/main/java/ch/protonmail/android/jobs/messages/PostMessageJob.java
# app/src/main/java/ch/protonmail/android/storage/AttachmentClearingService.java
# Conflicts:
# app/src/main/java/ch/protonmail/android/activities/multiuser/ConnectAccountActivity.kt
# app/src/main/java/ch/protonmail/android/jobs/messages/PostMessageJob.java
# app/src/main/java/ch/protonmail/android/utils/notifier/AndroidErrorNotifier.kt
# app/src/main/java/ch/protonmail/android/worker/drafts/CreateDraftWorker.kt
# Conflicts:
# app/src/main/java/ch/protonmail/android/api/models/factories/SendPreferencesFactory.java
# app/src/main/java/ch/protonmail/android/api/segments/message/MessageApi.kt
# app/src/main/java/ch/protonmail/android/api/services/PostMessageServiceFactory.kt
# app/src/main/java/ch/protonmail/android/attachments/UploadAttachments.kt
# app/src/main/java/ch/protonmail/android/core/ProtonMailApplication.java
# app/src/main/java/ch/protonmail/android/jobs/messages/PostMessageJob.java
# app/src/main/java/ch/protonmail/android/servers/notification/NotificationServer.kt
# app/src/main/java/ch/protonmail/android/usecase/compose/SaveDraft.kt
# app/src/main/java/ch/protonmail/android/utils/notifier/AndroidUserNotifier.kt
# app/src/main/java/ch/protonmail/android/worker/drafts/CreateDraftWorker.kt
# Conflicts:
# app/src/main/java/ch/protonmail/android/di/ApplicationModule.kt
# app/src/main/java/ch/protonmail/android/servers/notification/NotificationServer.kt
2021-03-18 10:47:58 +01:00
Davide Farella
c3056a0ab8
Updated ping logic, defined specific exceptions after which the no connection banner should be displayed and DoH started.
...
MAILAND-1263
# Conflicts:
# app/src/main/java/ch/protonmail/android/core/ProtonMailApplication.java
2021-03-18 10:44:46 +01:00
Marino Meneghel
9734df8f06
Add ADR on using UserNotifier to show user feedback
2021-03-16 10:06:17 +00:00
Marino Meneghel
f0dbae60fc
Create request body and perform sendMessage API Call
...
- Enable linting rule for classes that use Java serialization without
specifying serialVersionUID
- Define equals and hashcode for MessageSendBody
MAILAND-914
2021-03-16 10:06:16 +00:00
Marino Meneghel
35f50b64b8
Send message worker uses the message that was saved as a draft
...
to ensure there's always consistenty beetween the data we have locally and
what's available remotely
MAILAND-914
2021-03-16 10:06:16 +00:00
Tomasz Giszczak
bc12b09486
Replaced some RxJava with coroutines in ContactGroupDetailsViewModel.
...
MAILAND-704
2021-01-28 14:33:35 +00:00
Marino Meneghel
13ff2ff2a2
Revert "Convert message recipient class to kotlin"
...
This reverts commit ae103b1b16
.
2021-01-26 16:24:44 +01:00
Tomasz Giszczak
dc62d0293c
Updated ping logic, defined specific exceptions after which the no connection banner should be displayed and DoH started.
...
MAILAND-1263
2021-01-14 10:24:38 +00:00
Zorica Stojchevska
ae103b1b16
Convert message recipient class to kotlin
2020-12-30 15:44:21 +01:00
Marino Meneghel
cdf55ba018
Commit saveactions Intellij plugin settings
...
MAILAND-1023
2020-10-20 14:39:52 +02:00
Marino Meneghel
6c18e68601
Add .idea save actions settings
...
MAILAND-1020
2020-10-19 15:11:50 +02:00
Davide Farella
896566f2c1
Allow uppercase test function name
...
Affected: none
MAILAND-930
2020-09-22 13:56:55 +02:00
Davide Farella
5ee356720b
Mocked `Address.primary` method for CryptoTest.kt
...
Added missing mock
Affected: CryptoTest.kt results
MAILAND-830
2020-09-16 14:46:59 +00:00
Davide Farella
e25806e9e4
Disabled inspection: RedundantVisibilityModifier
...
#comment By default IDE reports redundant visibility modifier, like `protected val ...` in the super-class and `protected override val` in the sub-class, suggesting to use only `override val`, but that can be confusing and making difficult to track down which fields are public and which are protected
Affected: IDE inspection
2020-09-16 14:46:58 +00:00
Davide Farella
032c3bc959
Update inspection profile for exclude property naming in Gradle
...
Probably this settings was not correctly imported.
Affected: Inspection profile, verify that properties in versionsConfig.kt are not flagged as incorrect name
MAILAND-896
2020-09-02 09:54:51 +00:00
Davide Farella
1747cf4015
Auto-include Gradle modules and projects
...
This script will enable us to automatically import Gradle modules and sub-projects ( composite build )
It will inspect the file tree from the root directory, skipping the following directories for avoid to waste resource:
* .git
* .gradle
* .idea
* buildSrc
* config
* build
* src
It will include a project whenever it finds a directory containing `settings.gradle` or `settings.gradle.kts`
It will include a module whenever it finds a directory containing `build.gradle` or `build.gradle.kts`
It will also print:
Projects: ...
Module: ...
On the Gradle sync
Affected: Build projects and modules
2020-08-27 10:45:56 +00:00
Davide Farella
428dcd9a18
Updated Detekt rules and removed misc.xml
...
Synced Detekt rules-set from Core project
Removed misc.xml because it contains values that can vary on different JDK setups
Affected: none
2020-08-19 18:32:24 +00:00
Davide Farella
f3d762b471
EmailAddress.VALIDATION_REGEX to be case insensitive
...
Converted `EmailAddress.VALIDATION_REGEX` from String to Regex and included `RegexOption.IGNORE_CASE`
Affected: Email validation
MAILAND-830
2020-08-14 11:25:07 +02:00
Dimitar Solev
d36abcfc23
Use codestyle project settings from a different installation of Android Studio 4.0.1
2020-07-31 18:04:09 +02:00
Davide Farella
3ac4ad7e44
Formatted codeStyleConfig.xml. Added margin to 120 chars
...
Affected: Editor vertical margin
c
2020-07-31 09:20:43 +02:00
Davide Farella
f61af97a05
Added Copyright to Project
...
#comment Added Copyright file and configuration
Affected: none
2020-07-30 12:37:52 +02:00
Davide Farella
c2fcbdcb3b
Share other IDEA settings
...
Affected: Shared IDEA settings on Git
2020-07-24 16:13:42 +02:00
Davide Farella
8d3ea1d292
Share project dictionary
...
#comment For remove warnings on false positive typos
Affected: Shared IDEA settings on Git
2020-07-24 16:13:42 +02:00
Davide Farella
a7e9ee55f7
Share Detekt plugin config
...
#comment For plugin setup and path to rule-set
Affected: Shared IDEA settings on Git
2020-07-24 16:13:42 +02:00
Davide Farella
f82dff39b2
Share CodeStyle settings
...
#comment For agreed Proton Code Style
Affected: Shared IDEA settings on Git
2020-07-24 16:13:42 +02:00
Davide Farella
4887594639
Share Inspection profiles
...
#comment For custom Lint setup and warnings
Affected: Shared IDEA settings on Git
2020-07-24 16:13:42 +02:00