Zorica Stojchevska
30e5087084
Update copyright
...
MAILAND-2696
2022-05-23 21:01:57 +00:00
Maciej Surmacz
1e4f970d8c
Fixes the hyperlink confirmation settings
...
The setting was saved and read from different preferences. Fixed
by introducing an account settings repo, to have a single place
of accessing those and hide the shared prefs implementation detail.
MAILAND-2843
2022-04-11 14:01:44 +00:00
Davide Farella
9f5650bedd
Remove "IN_APP" extra from PmWebViewClientTest.kt
...
MAILAND-2830
2022-04-07 16:25:58 +02:00
Davide Farella
bb2a73469f
Rename PMWebViewClient.kt to PMWebViewClient.kt to respect team
...
conventions
2022-04-07 15:25:52 +02: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
Davide Farella
522ff7a2d3
Fix querying messages with only one label
...
Before we were checking for a label at the start, in the middle or at
the end of the strings of labels, but it would not match a string
containing a single label
MAILAND-1498,
MAILAND-2819
2022-03-31 16:26:12 +02:00
Davide Farella
06d54da3aa
Implement unread in MessageDao.kt
...
MAILAND-1498,
MAILAND-2819
2022-03-31 16:26:12 +02:00
M. Thiercelin
d0f98baad2
Map active flags from core user keys to mail domain user keys
...
We need to have the active flag on user keys to make sure
the client doesn't use the inactive user keys.
The flags is already kept by the core model, we need to formard to the mail domain
user keys.
MAILAND-2725
2022-02-23 14:11:35 +00:00
M. Thiercelin
967c7d97dc
Add instrumented tests for bug with inactive user keys
...
Add tests to check that the inactive user keys
are not making the token decrypition fail.
2022-01-25 17:58:03 +00:00
Denys Zelenchuk
5c24e846db
Added UI tests to v4.
2022-01-14 08:29:45 +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
marin thiercelin
0cd90f52c9
Check that the tokens of migrated keys have the right format
...
We need to enforce that the decrypted tokens of migrated keys
returned by the server have the right format.
They must be 32bytes of randomness encoded in hexadecimal form.
CRYPTO-27
2021-12-22 15:18:44 +00:00
stefanija
866b7b7811
Change the type of lastUsedTime in ContactEmail to Int according to documentation
...
MAILAND-2659
2021-12-17 13:23:52 +01:00
Zorica Stojchevska
ea3a04cb74
Add lastTimeUsed value in ContactEmail data model to sort recipients by
...
it
MAILAND-2241
2021-12-10 16:22:30 +00:00
Maciej Surmacz
f065442289
Adds a check for all address keys when decrytping a mime message.
...
If one of the keys works (body is decrypted), stop the check. If none
of the keys worked, return the last error.
MAILAND-2649
2021-12-08 11:15:23 +01:00
Davide Farella
08b0473bc4
Remove class references in test classes' doc
2021-12-02 14:07:08 +00:00
Davide Farella
f6818847cd
Fix problems in SingleLineCollapsedLabelGroupViewTest.kt
...
MAILAND-2623
2021-12-02 14:07:08 +00:00
Davide Farella
e9c9b79b56
Restore LabelOrFolderWithChildrenMapperBenchmarks.kt and SingleLineCollapsedLabelGroupViewTest.kt
...
MAILAND-2623
2021-12-02 14:07:08 +00:00
Davide Farella
dfc37024d7
Fix problems in SetMessageExpirationActivityTest.kt
...
MAILAND-2623
2021-12-02 14:07:08 +00:00
Davide Farella
1dcb55bee8
Fix problems in SetMessagePasswordActivityTest.kt
...
MAILAND-2623
2021-12-02 14:07:08 +00:00
Davide Farella
ce65d82b40
Fix problems in DaysAndHoursPickerViewTest.kt
...
MAILAND-2623
2021-12-02 14:07:08 +00:00
Davide Farella
a8992de025
Fix problems in SingleLineLabelChipGroupViewTest.kt
...
MAILAND-2623
2021-12-02 14:07:08 +00:00
Marino Meneghel
afbf83816a
Removed outdated, failing insturmented tests
2021-11-26 15:24:10 +00:00
Davide Farella
1a617e3fb0
Make lists immutable in LabelOrFolderWithChildrenMapper.kt
...
The tech compromise is not worth the performance, as improvements are tangible only with 5k+ labels
MAILAND-2429
2021-10-25 07:32:48 +00:00
Davide Farella
df53335c34
Replace `plus` in buildFolders.kt with explicit `folder` function
...
MAILAND-2429
2021-10-25 07:32:48 +00:00
Davide Farella
3b17b58f14
Ignore LabelOrFolderWithChildrenMapperBenchmarks.kt
...
MAILAND-2429
2021-10-25 07:32:48 +00:00
Davide Farella
4ba208ef81
Change FolderWithChildren.kt to LabelOrFolderWithChildren.kt
...
This change is aiming to simplify the implementation with our code-base, having a single model for Label and Folder ( with relative children ) when hierarchical Folders' structure is required
MAILAND-2301
2021-10-25 07:32:48 +00:00
Davide Farella
c4a790a3cf
Create FolderWithChildrenMapper.kt
...
for create hierarchy of folder, mapping the flat database data structures ( List of LabelEntity ) to domain data structure ( FolderWithChildren )
Covered by FolderWithChildrenMapperTest.kt and FolderWithChildrenMapperBenchmarks.kt for benchmark performances on real devices and trace the methods calls
MAILAND-2429
2021-10-25 07:32:48 +00:00
Davide Farella
29d63f2dee
Add Label.order
...
Order must be preserved in the domain model, since it will be used when save to database and its value is relevant
MAILAND-2429
2021-10-20 14:24:04 +02:00
Tomasz Giszczak
701bafe777
Renamed methods scheduling workers in LabelRepository, also make the WorkInfo beinf returned in Flow instead of LiveData.
...
Also other smaller refactor around labels, like remoing comments etc.
MAILAND-1525
2021-10-20 14:24:04 +02:00
Tomasz Giszczak
9e65354ef7
Converted UpdateContactJob to UpdateContactWorker and fixed contact with groups updates after labels migration.
...
MAILAND-1525
2021-10-20 14:24:04 +02:00
Tomasz Giszczak
a55321ab5b
Replaced LabelEntitiy with domain Label in the last two functions in LaberRepository findAllLabelsPaged and findAllFoldersPaged.
...
MAILAND-1525
2021-10-20 14:24:04 +02:00
Tomasz Giszczak
1e173cba1b
Make most of functions from LabelRepository returning domail Label model isntead of LabelEntitiy.
...
MAILAND-1525
2021-10-20 14:24:04 +02:00
Tomasz Giszczak
81bdf4a4c0
Converted label repository interface save methods to use Label model from domain layer.
...
MAILAND-1525
2021-10-20 14:24:03 +02:00
Tomasz Giszczak
57c7135014
Fixed various formatting and comments related problems in files afftectes by changes in lables.
...
MAILAND-1525
2021-10-20 14:24:03 +02:00
Tomasz Giszczak
04b092c337
A bunch of small changes.
...
- improved docs in LabelApiModel,
- removed RxJava remaining from ContactDetailsRepository
- Added fake data source to a test in LabelsManagerViewModelTest,
- Removed ObserveLabels from MailboxViewModel,
2021-10-20 14:24:03 +02:00
Tomasz Giszczak
4b90a85a1e
Removed unused ContactGroupsDatabaseTest.
...
MAILAND-1525
2021-10-20 14:24:03 +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
Tomasz Giszczak
82592397bf
Moved LabelType to label domain package.
...
MAILAND-1525
2021-10-20 14:24:02 +02:00
Tomasz Giszczak
60f6c52f67
Moved labels repository and ids to an appropriate package.
...
MAILAND-1525
2021-10-20 14:24:02 +02:00
Tomasz Giszczak
ea867aff5b
Use PostToLocationWorker in actions sheet to move to differnt folders.
...
That fixed a crash in previous implementation with jobs.
MAILAND-1525
2021-10-20 14:24:02 +02:00
Tomasz Giszczak
2e8a84c428
Updated Labels package structure.
...
MAILAND-1525
2021-10-20 14:21:46 +02:00
Tomasz Giszczak
b1af58877a
Fixed edit contact groups list after labels changes.
...
MAILAND-1525
2021-10-20 14:21:45 +02:00
Tomasz Giszczak
67f29a5e15
Updated contacts-labels related test, removed comments from ContactDao.
...
MAILAND-1525
2021-10-20 14:21:45 +02:00
Tomasz Giszczak
51150ec3e7
Making groups working with the new labels api and db.
...
MAILAND-1525
2021-10-20 14:21:45 +02:00
Tomasz Giszczak
47299b278b
Removed most of contact group labels requests from ContactDao.
...
MAILAND-1525
2021-10-20 14:21:45 +02:00
Tomasz Giszczak
e4d76d3d00
Preparing contacts to be used with the new DB, removed unused contacts core, some mappers changes.
...
MAILAND-1525
2021-10-20 14:21:45 +02:00
Tomasz Giszczak
5c0ea4a448
Removed LabelDao dependency from LabelsManagerViewModel.
...
MAILAND-1525
2021-10-20 14:21:45 +02:00
Tomasz Giszczak
23e672d10e
Updated label entity and label id refernces fater rebase.
...
MAILAND-1525
2021-10-20 14:21:45 +02:00
Tomasz Giszczak
5527954bff
Created LabelType enum.
...
MAILAND-1525
2021-10-20 14:21:45 +02:00