Commit Graph

4174 Commits

Author SHA1 Message Date
Maciej Surmacz 2a70d48f77 Merge branch 'fix/improve_sentry_logging' into 'develop'
Improves sentry logging

See merge request android/mail/proton-mail-android!997
2022-03-22 15:07:04 +00:00
Maciej Surmacz 3b3094ac14 Adds a hash code function and the serialVersionUID field to the AttachmentHeaders class 2022-03-22 14:03:10 +00:00
Maciej Surmacz eca2f653f6 Removes unused values in the compose message repository class 2022-03-22 14:03:10 +00:00
Maciej Surmacz 9d910f7276 Improves error messages for some of the most frequent sentry events 2022-03-22 14:03:10 +00:00
Davide Giuseppe Farella f1e7dc1f82 Merge branch 'fix/2784_crash-on-unknown-color' into 'develop'
[2784] Fix crash on unknown color for LabelsManagerActivity.kt

See merge request android/mail/proton-mail-android!1003
2022-03-22 12:53:56 +00:00
Davide Farella 3ba9d50f60 Fix crash on unknown color for LabelsManagerActivity.kt
When a label/folder contains an unknown color, we just don't select any
color instead

MAILAND-2784
2022-03-22 08:22:53 +00:00
Davide Giuseppe Farella 40dcb453a4 Merge branch 'fix/2802_prevent-taking-screenshots' into 'develop'
[2808] Fix Prevent Taking Screenshots

See merge request android/mail/proton-mail-android!1005
2022-03-22 08:05:47 +00:00
Davide Farella 5cf3e4cecd Implement DeviceSettingsRepository.observeIsPreventTakingScreenshots
MAILAND-2802
2022-03-21 16:32:50 +01:00
Davide Farella 86a6730dc2 Implement Prevent Taking Screenshot settings into
DeviceSettingsRepository
2022-03-21 16:32:50 +01:00
Davide Farella 86cb8415a9 Move prevent taking screenshots setting from User.java
Moved to:
* ObserveIsPreventTakingScreenshots.kt
* GetIsPreventTakingScreenshots.kt
* SavePreventTakingScreenshots.kt

MAILAND-2802
2022-03-21 16:32:50 +01:00
Davide Farella cc9dae828d Create GetIsPreventTakingScreenshots.kt use case
MAILAND-2802
2022-03-21 16:32:50 +01:00
Davide Farella 233d21ea3e Create SavePreventTakingScreenshots.kt use case
MAILAND-2802
2022-03-21 16:32:50 +01:00
Davide Farella 0125224188 Remove unused methods from User.java
MAILAND-2802
2022-03-21 16:32:50 +01:00
Zorica Stojchevska 48c6bb06ea Merge branch 'fix/2801_app-language-show-correct-selection-in-settings' into 'develop'
Fix the shared preferences that we use to check for app language setting

See merge request android/mail/proton-mail-android!1007
2022-03-21 13:21:57 +00:00
Zorica Stojchevska fa1c342c8d Fix the shared preferences that we use to check for app language setting
MAILAND-2801
2022-03-21 12:08:18 +00:00
Davide Giuseppe Farella 1cedbd871b Merge branch 'fix/2798_load-message-body' into 'develop'
[2798] Fix loading of the message body in ComposeMessageActivity.java

See merge request android/mail/proton-mail-android!1004
2022-03-21 12:06:46 +00:00
Davide Farella f87428fccf Fix loading of the message body in ComposeMessageActivity.java
MAILAND-2798
2022-03-21 11:03:22 +00:00
Maciej Surmacz 451aa7a83f Merge branch 'chore/update_docker_image' into 'develop'
Updates the docker image

See merge request android/mail/proton-mail-android!1008
2022-03-21 11:01:20 +00:00
Maciej Surmacz 92d4877f94 Updates the docker image 2022-03-21 10:00:29 +00:00
Stefanija Boshkovska c268b8dda2 Merge branch 'feat/send-metrics-on-switching-web-view-theme' into 'develop'
Send metrics when switching between light/dark mode in details screen

See merge request android/mail/proton-mail-android!987
2022-03-21 09:59:56 +00:00
stefanija baed84343b Send metrics when switching between light/dark mode in details screen
MAILAND-2604
2022-03-17 11:50:22 +01:00
Zorica Stojchevska 964766155c Changed build version
#comment Just increased the build name and version code for a new
release
Affected: nothing
2022-03-15 17:45:26 +01:00
Zorica Stojchevska 9b22b021b2 Merge branch 'chore/move-notifications-to-unified-db' into 'develop'
Moves notifications to unified DB

See merge request android/mail/proton-mail-android!959
2022-03-15 16:33:54 +00:00
Zorica Stojchevska 6893edd114 Add AppDatabase 4.json latest 2022-03-15 15:35:20 +01:00
Zorica Stojchevska 421657df09 Changes OPEN_URL type of notification from InboxStyle notification to
BigTextStyle notification
2022-03-15 15:35:20 +01:00
Davide Farella a47685d0c4 Remove `FLAG_ACTIVITY_NO_HISTORY` for Details from notification
As this flag destroys the Activity as soon as it exits ( see opening of
Pin Screen )

MAILAND-2435
2022-03-15 15:35:20 +01:00
Davide Farella d08ff04901 Add AppDatabase 4.json and MessageDatabase 15.json 2022-03-15 15:35:20 +01:00
Zorica Stojchevska dfe02dfba7 Add production build to CI for testing 2022-03-15 15:35:20 +01:00
Zorica Stojchevska f7a1f3f87d Fixes notifications table migration on update 2022-03-15 15:03:40 +01:00
Zorica Stojchevska fc97177263 Fix issue of notification not dismissing when trashed or archived 2022-03-15 15:03:40 +01:00
Zorica Stojchevska e183efabbb Fixes all notification related tests 2022-03-15 15:03:40 +01:00
Zorica Stojchevska 2bfcdeeb3f Implement new type of notification that on click opens url
MAILAND-2756
2022-03-15 13:12:15 +00:00
Zorica Stojchevska dc2916cd20 Fixes history body not being present when replying from notifications
MAILAND-2755
2022-03-15 13:12:15 +00:00
Zorica Stojchevska cbe04d4f97 Implement synchronization for notifications with other clients
When we receive a notification with a action equals "touched" we clear
the existing notification in our system.

MAILAND-2697
2022-03-15 13:12:15 +00:00
Zorica Stojchevska 01f0740cc2 Add proper clearing for notification
By adding a use case to clear notification from DB, now we properly
clean up the notifications when dismissing them or opening them.
2022-03-15 13:12:15 +00:00
Zorica Stojchevska 212dfab645 Add notification groups per user 2022-03-15 13:12:15 +00:00
Zorica Stojchevska c20ef4ee34 Moves notifications to unified DB
Adds separation between layers for push notifications feature

MAILAND-2742
2022-03-15 13:12:15 +00:00
Zorica Stojchevska 9e515a71e1 Move notification related classes to notification package 2022-03-15 13:12:15 +00:00
Maciej Surmacz 6fc4ff7225 Merge branch 'fix/network_switcher_not_initialised_crash' into 'develop'
Replaces lateinit network switcher with a lazily injected value

See merge request android/mail/proton-mail-android!996
2022-03-15 10:47:03 +00:00
Maciej Surmacz 5ad834310e Replaces lateinit network switcher with a lazily injected value
Need to use a lazy property in order to work around the cyclic
dependencies. The difference to using a lateinit var is that
the network switcher property will be initialised for sure when get() is
called for the first time- lateinit does not give any such guarantee.
2022-03-14 17:19:51 +01:00
Maciej Surmacz 0b702422d5 Merge branch 'fix/2741_add_temp_network_logging' into 'develop'
Introduces additional temporary logging to better understand the ping failures in the wild

See merge request android/mail/proton-mail-android!985
2022-03-11 14:08:55 +00:00
Maciej Surmacz ff41b54f13 Reverts the ping retry timeout and adds user id to logs
The timeout is reverted to match that used by core code.

MAILAND-2741
2022-03-11 13:28:32 +00:00
Maciej Surmacz 3cd10f5f11 Adds additional logging related to ping failures and proxy switching
MAILAND-2741
2022-03-11 13:28:32 +00:00
Maciej Surmacz a9491b7b53 Removes unused code
MAILAND-2741
2022-03-11 13:28:32 +00:00
Maciej Surmacz a0d35c97ad Increases the timeout for retrying ping call before switching to proxy
MAILAND-2741
2022-03-11 13:28:32 +00:00
Stefanija Boshkovska 648348d9a1 Merge branch 'test/fix-flakiness-of-ui-tests' into 'develop'
Wait for views to be shown before taking an action in OnboardingRobot

See merge request android/mail/proton-mail-android!993
2022-03-11 12:55:59 +00:00
stefanija 1f4ae6d094 Wait for views to be shown before taking an action in OnboardingRobot
The login can take some time and we need to wait to make sure the views
after the login are shown, before taking any action.
2022-03-11 11:29:07 +01:00
Maciej Surmacz 51578370d5 Merge branch 'fix/2782_replace-bug-report-screen-with-core-implementation' into 'develop'
Replaces bug report screen with core implementation

See merge request android/mail/proton-mail-android!988
2022-03-10 17:22:47 +00:00
Maciej Surmacz 3de8f34eb2 Uses the string provided by core after sending the report
MAILAND-2782
2022-03-10 15:46:22 +00:00
Maciej Surmacz c61e076d8d Introduces view state and actions
MAILAND-2782
2022-03-10 15:46:22 +00:00