davx5-ose/app
Sunik Kupfer 62617a2889
168 refactor service detection part 2 (bitfireAT/davx5#174)
* [WIP] refactor

* [WIP] refactor

* save, update and delete homesets one by one

* save, update and delete collections one by one

* cleaner code

* prevent jumps in row ids

* [WIP] small changes and kdoc

* remove duplicate code and add kdoc

* improve kdoc

* remove redundancy based on service type in resource finder

* tests setup

* handle cancellation

* add tests

* Don't use IdEntity for service detection anymore

* HomeSetDao: getByUrl requires a service (there may be two accounts with the same homeset URLs, for instance with different credentials)

* Deprecate DaoTools

* Minor changes

* Add TODO

* use self explanatory variables instead of a pair

* update kdoc

* add unfinished tests

* add test for updating a collection

* add test for preserving collection flags

* mark collections as homeless if not rediscovered in its homeset

* proper implementation of update and delete of homeless collections with test

* minor changes and kdoc

* Tests: adapt mock server 404

* KDoc

* get collections by service and url, deprecate getByUrl()

Co-authored-by: Ricki Hirner <hirner@bitfire.at>
2023-01-19 23:32:15 +01:00
..
schemas/at.bitfire.davdroid.db.AppDatabase Rename at.bitfire.davdroid.model to at.bitfire.davdroid.db to make clear it contains database models (and not view models) 2022-04-24 10:38:17 +02:00
src 168 refactor service detection part 2 (bitfireAT/davx5#174) 2023-01-19 23:32:15 +01:00
.gitignore Minor code tweaks (by lint) 2014-12-21 11:24:00 +01:00
build.gradle Added language selection (bitfireAT/davx5#137) 2022-12-22 21:22:55 +01:00
lint.xml Version 0.7 2015-03-12 18:25:09 +01:00
locales.gradle Added language selection (bitfireAT/davx5#137) 2022-12-22 21:22:55 +01:00
proguard-rules-release.pro ProGuard rules: XmlPullParser 2021-08-31 15:08:17 +02:00