Commit Graph

4737 Commits

Author SHA1 Message Date
Davide Farella c4f1e0b296 Doc for Affected in commit message
#comment Better explanation of what is expected for Affected in commit message
Affected: none

Ticket: MAILAND-599
2020-05-06 18:59:04 +00:00
Davide Farella 48dcde9fa8 Updated Contributions section of README.md
#comment Better description of `fix` prefix for branch naming.
Fixed 2 typos
Affected: README.md

MAILAND-599
2020-05-06 18:59:04 +00:00
Davide Farella 6fa62b2e70 Contributions documentation
#comment Added contributions' guideline in Readme and exported config/CodeStyle.xml for setup IDE's Code Style rules
Affected: README.md

MAILAND-599
2020-05-06 18:59:04 +00:00
Davide Farella a9b2561e3c Updated readme with right path for Linux
#comment Path to Android Sdk folder has been updated in README.md
Affected: README.md
2020-05-06 18:59:04 +00:00
Davide Giuseppe Farella 7d35bf6187 Merge branch 'feat/alt-routing' into 'develop'
Feat/alt routing

See merge request android/mail/proton-mail-android!25
2020-05-06 18:18:32 +00:00
Dimitar Solev 819c9ab523 Increase maximum number of detekt issues to accommodate for the alternative routing changes 2020-05-06 12:43:33 +02:00
Dimitar Solev 06f8e737a1 Revert overwrite of ParameterListWrapping:indentSize value in config.yml due to migration of old value 2020-05-06 09:20:46 +02:00
dino 213d7540b9 DOH alternative routing improvements
#comment snackbar auto-retry improved, coroutines global scope replaced
Affected: DoH auto-retry, DoH alternative routes change
MAILAND-580
2020-05-06 08:26:10 +02:00
Dimitar Solev 7e0d0ca282 Minor refactoring as per suggestions for accessors, logging and codestyle 2020-05-06 08:26:00 +02:00
Dimitar Solev d20dea8b1d Fixed DoH tests and some minor cleanup 2020-05-06 08:25:50 +02:00
Dimitar Solev cfa994a33a Fixed (disabled) doh unit tests 2020-05-06 08:25:35 +02:00
Dimitar Solev 057789420a Migrate alternative routing changes from old repo and fix dependencies 2020-05-06 08:25:14 +02:00
Zorica Stojchevska 83e988ee75 Merge branch 'chore/optimised-android-tests-for-ci' into 'develop'
Optimised Android test for CI

See merge request android/mail/proton-mail-android!24
2020-05-05 15:34:32 +00:00
Davide Farella 9ad854f4ee Optimised Android test for CI
#comment Generic `test` which is appropriate for plain Java, has been replaced with `testDebugUnitTest` which executes test of only one configuration, instead of for every configuration
Affected: CI tests
2020-05-05 14:15:47 +02:00
Zorica Stojchevska c7050ec0d9 Merge branch 'chore/524_new-build-config' into 'develop'
New build config

See merge request android/mail/proton-mail-android!20
2020-05-05 10:53:23 +00:00
Davide Giuseppe Farella bb191d61dd New build config 2020-05-05 10:53:23 +00:00
Zorica Stojchevska e1671eb337 Merge branch 'style/590_detekt-config' into 'develop'
New Detekt configuration

See merge request android/mail/proton-mail-android!10
2020-05-05 09:34:12 +00:00
Davide Farella d4b06c3af9 New Detekt configuration
#comment A custom Detekt configuration has been built based on team evaluations.
detekt.yml has been moved from /app/config/detekt/detekt.yml to /detekt/config.yml, so Detekt plugin settings need to be updated accordingly.
Detekt has been updated to 1.8.0 for support more rules.
MaxIssues has been raised to 10660 for match the new configuration
Affected: Detekt plugin settings

Ticket: MAILAND-590
2020-05-05 09:13:05 +00:00
Davide Giuseppe Farella c36f01a6e4 Merge branch 'fix/587_sanitize-<style>-elements-to-protect-against-potential-exploit' into 'develop'
Sanitize style HTML elements to protect against potential exploit

See merge request android/mail/proton-mail-android!22
2020-05-04 21:04:46 +00:00
Zorica Stojchevska 0915363ea5 Sanitize <style> elements to protect against potential exploit
#comment Added <style> html tag to our blacklist of html tags, so we always strip it if the message contains it.
Affected: Maybe some newsletters won't render the same way as before

MAILAND-587
2020-05-04 18:09:09 +02:00
Zorica Stojchevska de6b18b918 App crashing on reply
#comment Added logs in attempt to find out why in some accounts the app crashes on reply.
Affected: Reply, Reply All, Forward

MAILAND-588
2020-04-30 11:27:33 +02:00
Zorica Stojchevska d490441d2d Changed build version
#comment Just increased the build version number for a new beta
Affected: nothing
2020-04-29 19:43:22 +02:00
Zorica Stojchevska 6942ded85c Merge branch '581_remove_try_catch_block' into 'develop'
Remove try catch block

See merge request android/mail/proton-mail-android!15
2020-04-29 12:36:32 +00:00
stefanija e3ec558aa6 Remove try catch block
#comment Remove try catch block because the exception caught is too generic and is causing problems with sync
Affected: EventManager

MAILAND-581
2020-04-29 10:57:53 +02:00
Davide Farella fe2cddc3dd Script for extract dependencies
#comment Created ExtractDeps.kts for analyze app dependencies. Run with '-help' arg for more info
Affected: none

Ticket: none
2020-04-28 09:02:38 +00:00
stefanija 0e2bf5b694 Update translations
#comment Update the translations that were reported missing in the issues below

MAILAND-502, MAILAND-504
2020-04-27 16:39:34 +02:00
stefanija a303133cc3 Update translations
MAILAND-502, MAILAND-504
2020-04-27 16:39:34 +02:00
Zorica Stojchevska 6b26f80248 Changed build version
#comment Just increased the build version number for the new beta
Affected: nothing
2020-04-24 18:32:48 +02:00
stefanija b4404e488b Remove Timber logs for issue 523 2020-04-23 12:54:24 +02:00
stefanija 7b1cdc59e6 Fix sync scenario when there are multiple events to be fetched
MAILAND-581
2020-04-23 12:40:10 +02:00
Dimitar Solev 38e2ebf440 Update README 2020-04-21 19:26:55 +02:00
Zorica Stojchevska 64413dad4d Fixed path to sentry config file
#comment The sentry config file wasn't inside the root folder (it was deeper in the hierarchy) which was leading to a build failure for release builds
Affected: Sentry configuration

Ticket: none
2020-04-21 17:26:51 +02:00
Davide Farella 7071444df1 Fixed layout attributes
#comment Some attributes have been fixed on messages_list_item_new.xml since they had a wrong format which was leading to a build failure for Release buils
Affected: messages_list_item_new.xml

Ticket: none
2020-04-21 15:23:38 +02:00
Aurelien 393bc4a7dd Setup CI + add job publish github 2020-04-21 10:43:05 +00:00
Davide Farella 579e3aa4c2 Align `develop` branch with other main ones
Now `develop` is aligned with `prerelease` and other branches, it contains the configuration for build release versions of the app.
Also many BuildConfig fields have been removed: some of them have been replaced by `BuildConfig.DEBUG`, instead of make that differentiation on branches; other didn't have sense to exist, so a comment has been left there.
Sentry logs ( before not present on `develop` ) have been added with a check `if (!BuildConfig.DEBUG)` for bein' executed only on release version.
Gradle version has been updated to 6.3 for being able to work with JDK 14.
Affected: Gradle version, release config for `develop`, Sentry logs on `develop`, BuildConfig fields

Ticket: none
2020-04-20 18:30:36 +02:00
Zorica Stojchevska 5ce164d00a Initial commit 2020-04-16 17:44:53 +02:00
Zorica Stojchevska 8c2f50b567 Initial commit 2020-04-16 12:51:23 +02:00