Vincent Brison
de3dbf4565
Bump previous release to retrigger release
2021-11-22 14:12:08 +01:00
Mateusz Armatys
bc4ae3163e
Version and changelog
2021-11-22 11:11:13 +01:00
Mateusz Armatys
18c3f298ca
Move `ResponseCodes` into network-domain, since the API response codes are exposed in `ProtonData` class, which belongs to network-domain.
2021-11-22 11:11:12 +01:00
Neil Marietta
9cf66be008
Added EventManagerConfig parameter to all EventListener functions.
2021-11-18 13:35:50 +01:00
Neil Marietta
351fa5eb7b
Added EventManager Domain/Data and Event Listeners.
...
Added EventManager LogTags.
Added EventManagerConfig and EventManagerConfigProvider.
Added EventWorkManager and EventManagerWorker.
Added UserEventListener.
Added UserAddressEventListener.
Added MailSettingsEventListener.
Added UserSettingsEventListener.
Added ContactEventListener.
Added ContactEmailsEventListener.
Added AppLifecycleObserver and AppLifecycleProvider.
2021-10-25 12:47:04 +02:00
Neil Marietta
18b1b1bc51
Improved VCard encryption/decryption.
2021-10-13 10:04:35 +02:00
Vincent Brison
4a6a6a933e
Bump versions
2021-10-13 10:04:35 +02:00
Vincent Brison
e9b20e269e
Add decryption example
2021-10-13 10:04:35 +02:00
Vincent Brison
8d262653b1
Fix DB converter
2021-10-13 10:04:35 +02:00
Vincent Brison
aac4c7634b
Correctly handle contact mutation api response
...
See https://jira.protontech.ch/browse/MAILBE-530 . Cards are not returned by REST API on mutations operations.
2021-10-13 10:04:35 +02:00
Vincent Brison
b4a0b8d9e2
Add update mutation to repository
2021-10-12 19:14:03 +02:00
Vincent Brison
447fb9276e
Use versioned REST API
2021-10-12 19:14:03 +02:00
Vincent Brison
7615b64dd1
Simplify VCardCrypto
2021-10-12 10:13:16 +02:00
Vincent Brison
3b88cd8a48
Use more idiomatic mapping
2021-10-12 10:13:16 +02:00
Vincent Brison
1e89da6229
Remove unused class
2021-10-12 10:13:16 +02:00
Vincent Brison
2dad5b12dd
Include error description
2021-10-12 10:13:16 +02:00
Vincent Brison
cf68d236ab
Bump versions
2021-10-12 10:13:16 +02:00
Vincent Brison
3197cb6570
Not throw if contact does not exist
2021-10-12 10:12:15 +02:00
Vincent Brison
a9730164f4
Update SoT in case of success
...
Update the source of truth at the end by default as this implementation does not follow optimistic behavior. A optimistic behavior would need a rollback mechanism, which is out of scope for current branch.
2021-10-12 10:12:15 +02:00
Vincent Brison
2521f3a081
Let store handle contact without details (cards)
2021-10-12 10:12:15 +02:00
Vincent Brison
83cf5e8d58
Consider error in composite response as error
2021-10-12 10:12:15 +02:00
Vincent Brison
a747ab0f39
Add documentation for create
2021-10-12 10:12:15 +02:00
Vincent Brison
b2921d773b
Implement contact deletion
2021-10-12 10:12:15 +02:00
Vincent Brison
034f585bb4
Dummy views to showcase contact deletion
2021-10-12 10:12:15 +02:00
Vincent Brison
c15f3be446
Contact crypto layer
2021-10-12 10:12:15 +02:00
Vincent Brison
b6d67690d2
Use better typing for ContactCard
2021-10-12 10:12:15 +02:00
Vincent Brison
7b8fdd39cf
Implement contact creation at repository level
2021-10-12 10:12:15 +02:00
vincent brison
1b4e1bbae6
Create encrypted contact
2021-10-12 10:12:15 +02:00
Vincent Brison
b4f3d528cf
Add dummy create contact implementation
2021-10-12 10:08:10 +02:00
Vincent Brison
6f6cbbff8e
Add create contact api
2021-10-12 10:08:10 +02:00
Vincent Brison
881baf872d
Bump version
2021-10-05 17:30:15 +02:00
Vincent Brison
1d51f829cf
Add contact hilt module
2021-10-05 17:30:15 +02:00
Vincent Brison
38da095dfd
Use javax.inject in contact module
2021-10-05 17:30:15 +02:00
Vincent Brison
7bff8aec3a
Improve local data source
...
Use more idiomatic functions (update+insert), reducing the need to only one merge function. Document and exception thrown.
2021-10-01 18:39:48 +02:00
Vincent Brison
d8fa859f11
Store in memory if all contacts have been fetched or not
2021-10-01 18:39:48 +02:00
Vincent Brison
036b019233
Improve documentation and naming
2021-10-01 18:39:48 +02:00
Vincent Brison
a86564514e
Bump contact version
2021-10-01 18:39:48 +02:00
Vincent Brison
785daecee3
Ensure refresh when no data
...
If not data is present locally, fresh/refresh data will always be fetched remotely. This allow clients to (in theory) never use fresh?refresh param.
2021-10-01 18:39:22 +02:00
Vincent Brison
620f603e22
Use UserId instead of SessionUserId
2021-10-01 18:39:22 +02:00
Vincent Brison
0e7626d335
Add complete contact API for event sync API
2021-10-01 18:39:22 +02:00
Vincent Brison
8684a513f6
Simplify interfaces by using vararg
2021-10-01 18:39:22 +02:00
Vincent Brison
1c3a09341b
Implement local data source
2021-10-01 18:39:22 +02:00
Vincent Brison
2e645228f1
Simplify interface as user id is embedded into contact
2021-10-01 18:39:22 +02:00
Vincent Brison
842fd3e9cb
Widen local data source interface
2021-10-01 18:39:22 +02:00
Vincent Brison
69c9f83bbd
Bump version
2021-10-01 15:18:17 +02:00
Vincent Brison
63056da2f7
Fix migration
2021-10-01 15:18:17 +02:00
Vincent Brison
ac35fb8efc
Rename relation classes
2021-09-24 17:35:09 +02:00
Vincent Brison
3a861aaf33
Add userId to contact and contact email domain entities
2021-09-24 17:35:09 +02:00
vincent brison
8ff2df6504
Add missing index
2021-09-24 17:35:09 +02:00
vincent brison
622be5e63a
Fix db tests
2021-09-24 17:35:09 +02:00