dependabot[bot]
cc43998148
Bump the app-dependencies group with 4 updates ( #1867 )
...
* Bump the app-dependencies group with 4 updates
Bumps the app-dependencies group with 4 updates: androidx.activity:activity-compose, androidx.compose:compose-bom, [io.mockk:mockk](https://github.com/mockk/mockk ) and [io.mockk:mockk-android](https://github.com/mockk/mockk ).
Updates `androidx.activity:activity-compose` from 1.12.0 to 1.12.1
Updates `androidx.compose:compose-bom` from 2025.11.01 to 2025.12.00
Updates `io.mockk:mockk` from 1.14.5 to 1.14.7
- [Release notes](https://github.com/mockk/mockk/releases )
- [Commits](https://github.com/mockk/mockk/compare/1.14.5...1.14.7 )
Updates `io.mockk:mockk-android` from 1.14.5 to 1.14.7
- [Release notes](https://github.com/mockk/mockk/releases )
- [Commits](https://github.com/mockk/mockk/compare/1.14.5...1.14.7 )
Updates `io.mockk:mockk-android` from 1.14.5 to 1.14.7
- [Release notes](https://github.com/mockk/mockk/releases )
- [Commits](https://github.com/mockk/mockk/compare/1.14.5...1.14.7 )
---
updated-dependencies:
- dependency-name: androidx.activity:activity-compose
dependency-version: 1.12.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.compose:compose-bom
dependency-version: 2025.12.00
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: io.mockk:mockk
dependency-version: 1.14.7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: io.mockk:mockk-android
dependency-version: 1.14.7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: io.mockk:mockk-android
dependency-version: 1.14.7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
* Override SDK level
* Suppress lint warnings for LaunchedEffect / Context.getString
* Suppress lint warnings for other Context.getStrings (or replace by stringResource if possible)
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arnau Mora Gras <arnyminerz@proton.me >
Co-authored-by: Ricki Hirner <hirner@bitfire.at >
2025-12-11 11:27:37 +01:00
Sunik Kupfer
b354bfebc2
LocalTask: Don't subclass DmfsTask ( #1862 )
...
* LocalTask: Don't subclass DmfsTask
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
* Adapt usages
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
* Update synctools
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
---------
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
2025-12-10 14:37:23 +01:00
Sunik Kupfer
29240ea16f
Skip flaky test when not moving into anticipated forever pending sync state ( #1872 )
...
* Assume we moved into forever pending sync state
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
* Update comment
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
---------
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
2025-12-10 10:25:58 +01:00
Ricki Hirner
e7b88f9aa8
Version bump to 4.5.7.1
v4.5.7.1-ose
2025-12-09 11:49:50 +01:00
Arnau Mora
4d71517cde
Delegate fileName into DmfsTask.syncId ( #1871 )
...
Signed-off-by: Arnau Mora <arnyminerz@proton.me >
2025-12-09 10:40:22 +01:00
Ricki Hirner
0d4f154baf
Use Ktor for Nextcloud Login Flow ( #1817 )
...
* [WIP] Use Ktor for Nextcloud login flow
- Replace OkHttp with Ktor for HTTP requests
- Update URL handling to use Ktor's `Url` class
- Adjust `postForJson` method to use Ktor's HTTP client
- Refactor URL building logic for login flow initiation
* Use Ktor for Nextcloud login flow
- Migrate to Ktor's ContentNegotiation plugin for JSON handling
- Update dependencies and configuration for Ktor serialization
- Refactor `NextcloudLoginFlow` to use Ktor's JSON serialization
* Add tests
* Allow unit tests that mock/use HttpClient without Conscrypt
* KDoc
* Minor fixes
* Use toUrlOrNull from dav4jvm
* Don't change strings in this PR
* Update dav4jvm and synctools
2025-12-08 15:40:39 +01:00
Ricki Hirner
9eb70a5564
Bump version to 4.5.7
v4.5.7-ose
2025-12-08 12:19:38 +01:00
Ricki Hirner
24e0a864bd
Update AVD caching in CI workflow ( #1865 )
...
- Split AVD cache handling into restore and save steps
- Add condition to save AVD cache only if restore misses
2025-12-05 16:25:25 +01:00
Ricki Hirner
10ec0c3b6d
Fetch translations from Transifex
2025-12-05 15:20:46 +01:00
Ricki Hirner
bd3349cc38
Bump version to 4.5.7-rc.1
2025-12-05 15:19:43 +01:00
Ricki Hirner
c7bc2b317b
Update synctools ( #1864 )
...
* Update synctools (fixes #1797 , closes #1859 )
* Use `com.github.bitfireAT:synctools` because `com.github.bitfireat:synctools` is not available on Jitpack for this commit
2025-12-05 15:16:29 +01:00
Sunik Kupfer
2d10cbb07d
Improve closing of content provider in verify account owner test ( #1838 )
...
* Optimize imports
* Remove the ignore annotation
* Move provider use out of verify method
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
* Remove unnecessary provider.use blocks
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
* Add spaces
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
* Rename lambda param provider to client in LocalDataStore implementations
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
* Enhance kdoc
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
* Improve provider client usage
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
* Replace calling apply with assignment
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
* Remove whitespace
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
* Add nullable returns even though they never return null
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
* Apply WillNotClose annotation to client parameter instead of method
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
---------
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
2025-12-02 10:34:39 +01:00
dependabot[bot]
88928792af
Bump the app-dependencies group with 2 updates ( #1860 )
...
Bumps the app-dependencies group with 2 updates: [io.ktor:ktor-client-core](https://github.com/ktorio/ktor ) and [io.ktor:ktor-client-okhttp](https://github.com/ktorio/ktor ).
Updates `io.ktor:ktor-client-core` from 3.3.2 to 3.3.3
- [Release notes](https://github.com/ktorio/ktor/releases )
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ktorio/ktor/compare/3.3.2...3.3.3 )
Updates `io.ktor:ktor-client-okhttp` from 3.3.2 to 3.3.3
- [Release notes](https://github.com/ktorio/ktor/releases )
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ktorio/ktor/compare/3.3.2...3.3.3 )
Updates `io.ktor:ktor-client-okhttp` from 3.3.2 to 3.3.3
- [Release notes](https://github.com/ktorio/ktor/releases )
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ktorio/ktor/compare/3.3.2...3.3.3 )
---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-core
dependency-version: 3.3.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: io.ktor:ktor-client-okhttp
dependency-version: 3.3.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: io.ktor:ktor-client-okhttp
dependency-version: 3.3.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 18:36:53 +01:00
Sunik Kupfer
b5e8c80db1
Try to fix pending sync state test failures by using a hot flow ( #1839 )
...
* Remove the ignore annotation
* Turn inPendingState in to a hot state flow for the test duration
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
* Rename methods registering the sync state observer
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
---------
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
2025-12-01 14:40:52 +01:00
Ricki Hirner
6f09f55e1a
Update synctools (ignores DTEND < DTSTART and inverts negative event durations) ( #1858 )
2025-12-01 12:02:42 +01:00
Ricki Hirner
b08f10a98f
HttpClientBuilder: clarify documentation for authDomain (#1857 )
...
* Update authentication domain parameter
- Rename `onlyHost` to `authDomain` in `fromAccount`
- Update `authenticate` method to use `domain` instead of `host`
- Clarify documentation for `authDomain` parameter
* More KDoc
* Fix other calls / tests
2025-12-01 11:54:36 +01:00
Sunik Kupfer
a3a952d875
LocalTaskList/LocalTask: Consume fields provided by synctools ( #1811 )
...
* Move companion object to end of class
* Update synctools
* Make DmfsTaskList final
* Use DmfsTaskList SyncState
* Drop fields now provided in DmfsTask and adapt constructors
* Use column constants from DmfsTask instead
* Use DmfsTask column constants
* Update synctools
* Don't handle scheduleTag
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
* Update synctools
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
---------
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at >
Co-authored-by: Ricki Hirner <hirner@bitfire.at >
2025-11-27 16:35:17 +01:00
Ricki Hirner
e9fc570895
Extract ResourceDownloader from ContactsSyncManager, add tests ( #1849 )
...
* Add ResourceDownloader and tests
- Introduce `ResourceDownloader` class for downloading external resources
- Add unit tests for `ResourceDownloader`
- Refactor `ContactsSyncManager` to use `ResourceDownloader`
* KDoc
- Add detailed documentation for `download` method
- Clarify authentication handling and return behavior
* Minor changes
2025-11-27 16:10:33 +01:00
Ricki Hirner
098b7d5b12
Log warning instead of throwing exception on multiple build calls ( #1847 )
...
Log warning instead of throwing IllegalStateException on multiple build calls
- Change `build()` to log a warning instead of throwing an exception on subsequent calls.
- Change `buildKtor()` to log a warning instead of throwing an exception on subsequent calls.
2025-11-27 16:08:52 +01:00
Ricki Hirner
a38dc29cca
Update WebDAV property names ( #1841 )
...
* Update WebDAV property names according to new dav4jvm naming scheme
* Use new supported-report-set; fix `MaxResourceSize` property reference in CalendarSyncManager
* Remove comment
2025-11-27 11:46:10 +01:00
Ricki Hirner
84b9a14ba1
Update version to 4.5.6.1
v4.5.6.1-ose
2025-11-27 11:15:39 +01:00
Arnau Mora
cda95dc789
Fix HTTP Client provider for contact resource sync from URL ( #1844 )
...
Signed-off-by: Arnau Mora <arnyminerz@proton.me >
2025-11-27 11:15:06 +01:00
dependabot[bot]
f64882ca2a
Bump the app-dependencies group with 15 updates ( #1840 )
...
Bumps the app-dependencies group with 15 updates:
| Package | From | To |
| --- | --- | --- |
| androidx.activity:activity-compose | `1.11.0` | `1.12.0` |
| androidx.lifecycle:lifecycle-runtime-compose | `2.9.4` | `2.10.0` |
| androidx.lifecycle:lifecycle-viewmodel-ktx | `2.9.4` | `2.10.0` |
| androidx.lifecycle:lifecycle-viewmodel-compose | `2.9.4` | `2.10.0` |
| androidx.compose:compose-bom | `2025.11.00` | `2025.11.01` |
| [com.squareup.okhttp3:okhttp](https://github.com/square/okhttp ) | `5.3.0` | `5.3.2` |
| [com.squareup.okhttp3:okhttp-brotli](https://github.com/square/okhttp ) | `5.3.0` | `5.3.2` |
| [com.squareup.okhttp3:logging-interceptor](https://github.com/square/okhttp ) | `5.3.0` | `5.3.2` |
| [com.squareup.okhttp3:mockwebserver](https://github.com/square/okhttp ) | `5.3.0` | `5.3.2` |
| androidx.room:room-ktx | `2.8.3` | `2.8.4` |
| androidx.room:room-compiler | `2.8.3` | `2.8.4` |
| androidx.room:room-paging | `2.8.3` | `2.8.4` |
| androidx.room:room-runtime | `2.8.3` | `2.8.4` |
| androidx.room:room-testing | `2.8.3` | `2.8.4` |
| [com.google.devtools.ksp](https://github.com/google/ksp ) | `2.3.2` | `2.3.3` |
Updates `androidx.activity:activity-compose` from 1.11.0 to 1.12.0
Updates `androidx.lifecycle:lifecycle-runtime-compose` from 2.9.4 to 2.10.0
Updates `androidx.lifecycle:lifecycle-viewmodel-ktx` from 2.9.4 to 2.10.0
Updates `androidx.lifecycle:lifecycle-viewmodel-compose` from 2.9.4 to 2.10.0
Updates `androidx.lifecycle:lifecycle-viewmodel-ktx` from 2.9.4 to 2.10.0
Updates `androidx.lifecycle:lifecycle-viewmodel-compose` from 2.9.4 to 2.10.0
Updates `androidx.compose:compose-bom` from 2025.11.00 to 2025.11.01
Updates `com.squareup.okhttp3:okhttp` from 5.3.0 to 5.3.2
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.3.0...parent-5.3.2 )
Updates `com.squareup.okhttp3:okhttp-brotli` from 5.3.0 to 5.3.2
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.3.0...parent-5.3.2 )
Updates `com.squareup.okhttp3:logging-interceptor` from 5.3.0 to 5.3.2
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.3.0...parent-5.3.2 )
Updates `com.squareup.okhttp3:mockwebserver` from 5.3.0 to 5.3.2
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.3.0...parent-5.3.2 )
Updates `com.squareup.okhttp3:okhttp-brotli` from 5.3.0 to 5.3.2
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.3.0...parent-5.3.2 )
Updates `com.squareup.okhttp3:logging-interceptor` from 5.3.0 to 5.3.2
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.3.0...parent-5.3.2 )
Updates `com.squareup.okhttp3:mockwebserver` from 5.3.0 to 5.3.2
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.3.0...parent-5.3.2 )
Updates `androidx.room:room-ktx` from 2.8.3 to 2.8.4
Updates `androidx.room:room-compiler` from 2.8.3 to 2.8.4
Updates `androidx.room:room-paging` from 2.8.3 to 2.8.4
Updates `androidx.room:room-runtime` from 2.8.3 to 2.8.4
Updates `androidx.room:room-testing` from 2.8.3 to 2.8.4
Updates `androidx.room:room-compiler` from 2.8.3 to 2.8.4
Updates `androidx.room:room-paging` from 2.8.3 to 2.8.4
Updates `androidx.room:room-runtime` from 2.8.3 to 2.8.4
Updates `androidx.room:room-testing` from 2.8.3 to 2.8.4
Updates `com.google.devtools.ksp` from 2.3.2 to 2.3.3
- [Release notes](https://github.com/google/ksp/releases )
- [Commits](https://github.com/google/ksp/compare/2.3.2...2.3.3 )
---
updated-dependencies:
- dependency-name: androidx.activity:activity-compose
dependency-version: 1.12.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: androidx.lifecycle:lifecycle-runtime-compose
dependency-version: 2.10.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: androidx.lifecycle:lifecycle-viewmodel-ktx
dependency-version: 2.10.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: androidx.lifecycle:lifecycle-viewmodel-compose
dependency-version: 2.10.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: androidx.lifecycle:lifecycle-viewmodel-ktx
dependency-version: 2.10.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: androidx.lifecycle:lifecycle-viewmodel-compose
dependency-version: 2.10.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: androidx.compose:compose-bom
dependency-version: 2025.11.01
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: com.squareup.okhttp3:okhttp
dependency-version: 5.3.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: com.squareup.okhttp3:okhttp-brotli
dependency-version: 5.3.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: com.squareup.okhttp3:logging-interceptor
dependency-version: 5.3.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: com.squareup.okhttp3:mockwebserver
dependency-version: 5.3.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: com.squareup.okhttp3:okhttp-brotli
dependency-version: 5.3.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: com.squareup.okhttp3:logging-interceptor
dependency-version: 5.3.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: com.squareup.okhttp3:mockwebserver
dependency-version: 5.3.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-ktx
dependency-version: 2.8.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-compiler
dependency-version: 2.8.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-paging
dependency-version: 2.8.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-runtime
dependency-version: 2.8.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-testing
dependency-version: 2.8.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-compiler
dependency-version: 2.8.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-paging
dependency-version: 2.8.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-runtime
dependency-version: 2.8.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-testing
dependency-version: 2.8.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: com.google.devtools.ksp
dependency-version: 2.3.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 18:42:28 +01:00
Ricki Hirner
7c2dcf3d70
Comment out failing tests ( #1836 )
2025-11-24 16:00:53 +01:00
dependabot[bot]
66a34ebd9f
[CI] Bump actions/checkout from 5 to 6 in the ci-actions group ( #1837 )
...
Bumps the ci-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout ).
Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: ci-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 16:00:24 +01:00
Ricki Hirner
365364aa89
Update version to 4.5.6
v4.5.6-ose
2025-11-24 13:26:18 +01:00
Ricki Hirner
114543f4c5
Fetch translations from Transifex
2025-11-24 13:22:09 +01:00
Ricki Hirner
3bd3f56e1b
Fix DeadObjectException handling in SyncManager and Syncer ( #1834 )
...
- Update SyncManager to handle LocalStorageException with DeadObjectException cause
- Refactor Syncer to catch all exceptions and handle specific cases
2025-11-24 13:14:40 +01:00
Ricki Hirner
5263172376
[Ktor] Add MustBeClosed annotation to buildKtor method ( #1829 )
...
Add @MustBeClosed annotation to buildKtor method
This commit adds the `@MustBeClosed` annotation to the `buildKtor` method in `HttpClientBuilder.kt` to indicate that the returned `HttpClient` instance must be closed by the caller. It also updates the test in `HttpClientBuilderTest.kt` to use the `use` function to ensure proper resource management.
2025-11-21 12:48:04 +01:00
Ricki Hirner
babd52cfb1
Bump version to 4.5.6-rc.1
2025-11-20 16:45:40 +01:00
Ricki Hirner
3d4d533b92
Update synctools ( #1825 )
...
* Update synctools
* Update commit ID
2025-11-20 16:42:40 +01:00
Ricki Hirner
76fc024ef6
Lower default minimum log level from INFO to FINE ( #1827 )
...
* Increase logging level
* Adjust log levels for visibility in non-verbose logs
- Change log level from FINER to FINE in StreamingFileDescriptor
- Update log level from FINER to FINE in AccountSettingsMigration8
- Add note about log levels in LogManager documentation
* Fix KDoc typo
* Update comment
2025-11-20 11:37:24 +01:00
Sunik Kupfer
794b4c1c7f
DebugInfo: Support viewing jtx Board resources ( #1818 )
...
* Support viewing jtxBoard resources from debug info
* Correct value of EXTRA_LOCAL_RESOURCE_URI
* Correct comment
* Use the same intent for journals, notes, calendar and tasks
* State working task authorities explicitly
* Use edit action to not crash opentasks
* Use getViewIntentUriFor for jtx Board tasks
* Remove explicit tasks authority for jtx Board
* Remove explicit tasks authority for jtx Board
* Remove early return statement
* Dont handle jtxBoard tasks in LocalTask which is only for Dmfs tasks
* Add some kdoc to LocalTask and LocalJtxICalObject
* Use when with in list
* Add FLAG_GRANT_READ_URI_PERMISSION to the correct intent
* Correct line endings to from CRLF to LF
2025-11-20 09:33:24 +01:00
Ricki Hirner
aac6356722
Delete app/src/main/kotlin/at/bitfire/davdroid/network/HttpClient.kt
...
Remove empty file
2025-11-19 16:52:35 +01:00
Ricki Hirner
9bc46d4194
Update dependencies, including our libs ( #1822 )
2025-11-19 15:35:06 +01:00
Ricki Hirner
a3aac44775
Ignore failing test: testVerifySyncAlwaysPending_wrongBehaviour_android14 ( #1824 )
...
Comment out test
2025-11-19 15:14:41 +01:00
Arnau Mora
084ba3b630
Update dav4jvm to new okhttp package ( #1786 )
...
* Upgrade dav4jvm
* Exclude ktor from dav4jvm
* Fix imports and fix usages
Signed-off-by: Arnau Mora <arnyminerz@proton.me >
* Fix imports for instrumented tests
Signed-off-by: Arnau Mora <arnyminerz@proton.me >
* Fix imports
Signed-off-by: Arnau Mora <arnyminerz@proton.me >
* Upgrade dav4jvm
Signed-off-by: Arnau Mora <arnyminerz@proton.me >
* Do not exclude ktor in dav4jvm
Signed-off-by: Arnau Mora <arnyminerz@proton.me >
* Upgrade dav4jvm
Signed-off-by: Arnau Mora <arnyminerz@proton.me >
---------
Signed-off-by: Arnau Mora <arnyminerz@proton.me >
2025-11-17 13:38:10 +01:00
Ricki Hirner
28dcf90775
Refactor default reminder builder to dedicated class + unit tests ( #1815 )
...
* [WIP] Move default reminder builder to dedicated class + unit tests
* Add tests
* Just turn off Conscrypt for now
* Fix library name
2025-11-17 10:34:36 +01:00
Ricki Hirner
70766affd9
[Ktor] Allow building a Ktor client ( #1810 )
...
* Add Ktor dependency
* Add buildKtor method
* Add test and deprecation notice
* KDoc
2025-11-17 09:38:08 +01:00
Ricki Hirner
d00292f421
Only use cert4android when needed ( #1802 )
...
* Refactor ClientCertKeyManager and HttpClientBuilder
- Add logging to `ClientCertKeyManager` for better error handling.
- Update `HttpClientBuilder` to conditionally use custom trust manager and hostname verifier based on `allowCustomCerts` flag.
- Rename `customCertsUI` to `allowCustomCerts` in build configuration.
* Update trust manager and hostname verifier selection logic
- Improve logging and error handling in `ClientCertKeyManager`
* App settings: hide certificate settings when custom certificates are not allowed
* Typo
2025-11-12 11:04:13 +01:00
dependabot[bot]
6b5c4f191a
Bump the app-dependencies group with 2 updates ( #1803 )
...
Bumps the app-dependencies group with 2 updates: androidx.compose:compose-bom and [com.google.devtools.ksp](https://github.com/google/ksp ).
Updates `androidx.compose:compose-bom` from 2025.10.01 to 2025.11.00
Updates `com.google.devtools.ksp` from 2.3.0 to 2.3.2
- [Release notes](https://github.com/google/ksp/releases )
- [Commits](https://github.com/google/ksp/compare/2.3.0...2.3.2 )
---
updated-dependencies:
- dependency-name: androidx.compose:compose-bom
dependency-version: 2025.11.00
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: com.google.devtools.ksp
dependency-version: 2.3.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-10 17:28:43 +01:00
Sunik Kupfer
5c7b792e7f
Support sync adapter pending sync indication on Android 14+ ( #1676 )
...
* Add AccountSettingsMigration21 to cancel pending address book syncs
* Add application context annotation
* Add log statement
* Increase account settings current version
* Add and update kdoc
* Call cancelSync via integration
* Optimize imports
* Update kdoc
* Updating log statement
* Also cancel calendar syncs
* Don't infer authority from account type
* Update kdoc
* Cancel only on Android 14+
* Cancel for all authorities and update kdoc
* Use cancelSync directly in migration
* Enable forever pending sync workaround by canceling sync adapter framework syncs on Android 14+
* Stop always returning false for pending sync state of sync adapter framework
* Cancel by request and empty bundle
* Cancel syncs for calendar, tasks, and contacts separately
* Minor edits to log statement and kdoc
* Add migration test; Update migration
* Log all extras instead of just upload flag
* Use lazy on syncFrameworkIntegration injection
* Multiple changes
- don't cancel address book accounts of all main accounts
- merge loops
* Add authority to log statement
* Replace complex state verification logic by status changed flow
* Cancel syncs account wide across all authorities
* Add some delay to allow dummy sync requests to be created
* Reduce wait until pending
* Drop Thread.sleep()
* Use a callback flow instead of mutable state flow
* Shorten first true filter
* Shorten remaining first true filter
2025-11-10 15:46:58 +01:00
Ricki Hirner
c9da496142
Bump version to 4.5.6-beta.1
2025-11-06 14:30:07 +01:00
Ricki Hirner
ee098c4a83
Explicitly integrate Conscrypt ( #1796 )
...
* Merge HttpClient and HttpClientBuilder
- Remove `HttpClient` class and replace with `OkHttpClient`
- Update all references to `HttpClient` to use `OkHttpClient`
- Add new `HttpClientBuilder` class for building `OkHttpClient` instances
- Update all builder usages to use the new `HttpClientBuilder` class
* KDoc
* Integrate Conscrypt for TLS
- Add Conscrypt dependency
- Initialize Conscrypt in HttpClientBuilder
- Create ConscryptIntegration utility
* KDoc
* Make object a class, better test
* Update cert4android to the latest version (doesn't bundle Conscrypt anymore)
2025-11-06 10:07:40 +01:00
Ricki Hirner
a8bd296520
Merge HttpClient and HttpClientBuilder ( #1795 )
...
* Merge HttpClient and HttpClientBuilder
- Remove `HttpClient` class and replace with `OkHttpClient`
- Update all references to `HttpClient` to use `OkHttpClient`
- Add new `HttpClientBuilder` class for building `OkHttpClient` instances
- Update all builder usages to use the new `HttpClientBuilder` class
* KDoc
2025-11-05 13:20:02 +01:00
Sunik Kupfer
0959624dee
Update Calendars.OWNER_ACCOUNT when renaming an account ( #1751 )
...
* Fix typo
* Also set OWNER_ACCOUNT when updating calendar because renaming account
* Add test
* Update comment clarifying content values
* Assume calendar provider is present and drop null checks
2025-11-05 12:40:34 +01:00
Ricki Hirner
bd13d27e38
HttpClient: remove unnecessary close() ( #1792 )
...
* Remove unnecessary AutoCloseable implementations and client.close() calls
- Remove AutoCloseable from NextcloudLoginFlow and DavResourceFinder
- Remove client.close() calls in various classes and tests
- Update HttpClient to remove close() method
* Fix test
* Fix annotations / KDoc
2025-11-04 16:38:22 +01:00
dependabot[bot]
85548163ca
Bump the app-dependencies group with 4 updates ( #1790 )
...
Bumps the app-dependencies group with 4 updates: [com.squareup.okhttp3:okhttp](https://github.com/square/okhttp ), [com.squareup.okhttp3:okhttp-brotli](https://github.com/square/okhttp ), [com.squareup.okhttp3:logging-interceptor](https://github.com/square/okhttp ) and [com.squareup.okhttp3:mockwebserver](https://github.com/square/okhttp ).
Updates `com.squareup.okhttp3:okhttp` from 5.2.1 to 5.3.0
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.2.1...parent-5.3.0 )
Updates `com.squareup.okhttp3:okhttp-brotli` from 5.2.1 to 5.3.0
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.2.1...parent-5.3.0 )
Updates `com.squareup.okhttp3:logging-interceptor` from 5.2.1 to 5.3.0
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.2.1...parent-5.3.0 )
Updates `com.squareup.okhttp3:mockwebserver` from 5.2.1 to 5.3.0
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.2.1...parent-5.3.0 )
Updates `com.squareup.okhttp3:okhttp-brotli` from 5.2.1 to 5.3.0
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.2.1...parent-5.3.0 )
Updates `com.squareup.okhttp3:logging-interceptor` from 5.2.1 to 5.3.0
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.2.1...parent-5.3.0 )
Updates `com.squareup.okhttp3:mockwebserver` from 5.2.1 to 5.3.0
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.2.1...parent-5.3.0 )
---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:okhttp
dependency-version: 5.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: com.squareup.okhttp3:okhttp-brotli
dependency-version: 5.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: com.squareup.okhttp3:logging-interceptor
dependency-version: 5.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: com.squareup.okhttp3:mockwebserver
dependency-version: 5.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: com.squareup.okhttp3:okhttp-brotli
dependency-version: 5.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: com.squareup.okhttp3:logging-interceptor
dependency-version: 5.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: com.squareup.okhttp3:mockwebserver
dependency-version: 5.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-03 16:07:44 +01:00
Ricki Hirner
026750eca3
Bump version to 4.5.6-alpha.2
2025-11-01 21:56:47 +01:00
Ricki Hirner
d365a504e8
Refactor sequence handling in calendar sync ( #1789 )
...
* Refactor sequence handling in calendar sync
- Move sequence update logic to SequenceUpdater
- Update LocalCalendar to use new SequenceUpdater
- Remove redundant methods from LocalCalendar
- Update tests and dependencies
* Minor KDoc
2025-11-01 21:55:28 +01:00