* Refactor openDocument operation to use OsConstants for mode parsing
* RandomAccessCallbackWrapper: refactor so that it's only purpose is to avoid the memory leak
* Use main looper instead of a new thread per RandomAccessCallback
* Remove WebDAV access notification
* Remove nsk90-kstatemachine dependency
* Simplify fileDescriptor() method
* Use dedicated I/O thread again; use Kotlin `copyTo` for copying
* Handle `SecurityException` for `acquireContentProvider`
* Added optional `throwOnMissingPermissions` arg to `acquireContentProvider`
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
* Set `throwOnMissingPermissions` to `true`
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
* Adapt comments, remove now unnecessary try/catch in AccountSettingsMigration20
---------
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
Co-authored-by: Ricki Hirner <hirner@bitfire.at>
* Remove WebdavScope as it is no longer needed
* [WIP] DavDocumentsProviderImpl
* [WIP] Move DavDocumentsProvider to BaseDavDocumentsProvider and implementation to DavDocumentsProvider
* Adapt tests and DI
* [WIP] Implement Command pattern
* Finish Command pattern, add deprecation notices
* Unify DavDocumentsProvider with wrapper again
* Get rid of DavDocumentsActor
* Add notes about lifecycle, remove shutdown
* Choose real or fake (for tests) SyncAdapter over DI
* Minor changes
* Rename SyncAdapterServicesTest.kt to RealSyncAdapterTest.kt
* Group sync adapter / sync framework classes into new package
* Cache SyncAdapter in SyncAdapterServices
* Add documentation to SyncAdapter interface and rename RealSyncAdapterTest to SyncAdapterImplTest
* Clarify optional fields in UI
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at>
* Add icons to add webdav mount screen
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at>
* Add title to group mount point address and name
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at>
* Use assistant composable
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at>
---------
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at>
Co-authored-by: Ricki Hirner <hirner@bitfire.at>
* [WIP] Update synctools
* Refactor LocalEvent to use LegacyAndroidCalendar for event operations
* Refactor LocalEvent to use LegacyAndroidCalendar for event operations
* Update cert4android to get 16 kB page size support over Conscrypt 2.5.3 (#1581)
* Move SyncState to resource package because it's not in the database (#1585)
* Update dependencies, including dav4jvm that updates okhttp to 5.x (#1593)
* Update dependencies, including dav4jvm that updates okhttp to 5.x
* Update mockk and okhttp
* Bump version to 4.5.2-beta.1
* Move Insert/update to DAO (#1587)
* Move homeset insert/update logic from repository to DAO; add thread-safety test
* Rename insertOrUpdateByUrlRememberSync
* Fix exceptions being fetched as `Parcelable` instead of `Serializable` in `DebugInfoActivity` (#1597)
Typo: replace `getParcelableExtra` with `getSerializableExtra`
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
* Bump version to 4.5.2
* Fetch translations from Transifex
* Add documentation and handle missing event in LocalEvent
* Minor changes
* Rename `event` to `getCachedEvent()` to make it more clear what it does
* Update SEQUENCE after successful event upload more explicitly
* Update sequence after successful calendar event upload
* Remove deprecated add() method from LocalResource
* Update KDoc
---------
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
Co-authored-by: Sunik Kupfer <kupfer@bitfire.at>
Co-authored-by: Arnau Mora <arnyminerz@proton.me>
* [WIP] Update synctools
* Refactor LocalEvent to use LegacyAndroidCalendar for event operations
* Refactor LocalEvent to use LegacyAndroidCalendar for event operations
* Update cert4android to get 16 kB page size support over Conscrypt 2.5.3 (#1581)
* Move SyncState to resource package because it's not in the database (#1585)
* Update dependencies, including dav4jvm that updates okhttp to 5.x (#1593)
* Update dependencies, including dav4jvm that updates okhttp to 5.x
* Update mockk and okhttp
* Bump version to 4.5.2-beta.1
* Move Insert/update to DAO (#1587)
* Move homeset insert/update logic from repository to DAO; add thread-safety test
* Rename insertOrUpdateByUrlRememberSync
* Fix exceptions being fetched as `Parcelable` instead of `Serializable` in `DebugInfoActivity` (#1597)
Typo: replace `getParcelableExtra` with `getSerializableExtra`
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
* Bump version to 4.5.2
* Fetch translations from Transifex
* Add documentation and handle missing event in LocalEvent
---------
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
Co-authored-by: Sunik Kupfer <kupfer@bitfire.at>
Co-authored-by: Arnau Mora <arnyminerz@proton.me>