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
Ricki Hirner
c64cb1e7ec
Remove okhttp caching ( bitfireAT/davx5#715 )
...
* Remove okhttp caching
* Simplification
2025-11-01 12:38:26 +01:00
Ricki Hirner
837b5e5d50
Bump version to 4.5.6-alpha.1
2025-10-30 14:29:29 +01:00
Ricki Hirner
98aefc4fee
Synchronize without Event data class ( #1783 )
...
* [WIP] Proof of concept for syncing without `Event` data class
* Replace AndroidEvent2 with EventsContract
* Update synctools, refactor upload logic in `CalendarSyncManager`
* KDoc
* Update UID immediately in `ContactsSyncManager`, `CalendarSyncManager`, and `TasksSyncManager`
- Remove `OnSuccessContext.uid` from `GeneratedResource`
* Minor changes
* Handle multiple events in a single iCalendar
- Rename `processVEvent` to `processICalendar`
- Add default alarm for non-full-day events again
- Prevent NPE on null flags (used for debug info)
* Fix tests
2025-10-30 14:28:05 +01:00
Ricki Hirner
a8c8a8d2e0
Refactor SEQUENCE and UID handling on successful uploads ( #1785 )
...
* Define interfaces
* [WIP] Refactor sequence and UID handling in event uploads
- Refactor `generateUpload` method to return `GeneratedResource`.
- Update `SyncManager` to handle `GeneratedResource`.
- Implement sequence and UID management in `CalendarSyncManager`.
- Remove redundant `prepareForUpload` method from `LocalEvent`.
* Refactor sequence handling in uploads
- Move UID validation to `DavUtils.isGoodFileBaseName`
- Update sequence directly in iCalendar for group-scheduled events
- Rename `resourceBaseName` to `suggestedBaseName` for clarity
* Refactor sequence / UID handling in contact uploads
- Update `LocalAddress` interface to include `updateUid` method
- Modify `ContactsSyncManager` to handle UID generation and update
- Remove redundant UID handling in `LocalContact` and `LocalGroup`
- Adjust code style settings for right margin
* Remove redundant UID update from `ContactsSyncManager` and `CalendarSyncManager`
* Implement UID handling in `TasksSyncManager` for uploads
* Update JtxSyncManager
- Update `JtxSyncManager.kt` to implement the `generateUpload` function.
- Update `LocalJtxICalObject.kt` to include the `updateUid` method for updating UIDs in the collection.
* Remove deprecated `prepareForUpload` method from `LocalResource`
- Remove `prepareForUpload` implementations from `LocalContact`, `LocalEvent`, `LocalGroup`, and `LocalTask`
* Rename `isGoodFileBaseName` to `isGoodFileName` in `DavUtils`
* Fix tests
* Move UID generation logic to `DavUtils.generateUidIfNecessary`
- Use `DavUtils.fileNameFromUid` for generating file names
- Update `ContactsSyncManager`, `CalendarSyncManager`, `TasksSyncManager`, and `JtxSyncManager` to use new utility methods
* Add tests for DavUtils
* Some tests
* Refactor onSuccessfulUpload
* Update KDoc
* Logging
* Remove unnecessary LocalEvent method
* KDoc
2025-10-29 17:57:34 +01:00
Ricki Hirner
b839cbfe7f
Simplify LocalResource interface ( #1784 )
...
* Simplify LocalResource interface
- Remove generic parameter from LocalResource interface
- Update all implementations to reflect the change
- Adjust related test cases and exception handling
* Fix tests
2025-10-29 08:50:09 +01:00
Ricki Hirner
f0f9f58e49
Bump version to 4.5.5
v4.5.5-ose
2025-10-28 11:20:00 +01:00
Ricki Hirner
66f6e48e3b
Fetch translations from Transifex
2025-10-28 11:18:54 +01:00
Ricki Hirner
d6feda1142
Fix OkHttp3 crash in release builds ( bitfireAT/davx5#712 )
...
- Add ProGuard rules to keep OkHttp3 IDN mapping classes
2025-10-28 11:12:51 +01:00
Ricki Hirner
05f058ab3f
Version bump to 4.5.5-rc.1
2025-10-27 11:16:51 +01:00
Sunik Kupfer
4e4c0f5e31
Move debug info notification action to debug info screen button ( #1730 )
...
* Update view item on sync error string
* Remove view item action from notification
* Show button in debug info screen to jump to problematic event resource
* Move companion object to the end of activity class
* Add local resource dump to intent
* Add kdoc
* Add some comments for not yet implemented resources
* Don't export DebugInfoActivity
* Send intent instead of URI and launch from DebugInfoActivity
* Add option to view problematic contact
* Extract intent builder logic to another method
* Add option to view problematic contact
* Minor changes for readability
* Extract dump string creation to interface method
* Pass Uri instead of intent and create view local resource intent in DebugInfoActivity
* Use androids existing getContactLookupUri method
* Remove extra variable
* Remove obsolete val declaration
* Rename dump to summary
* Refactor code structure for local resource URI handling
* Update code structure to use getDebugSummary for local resource summaries
* Update exception handling in SyncNotificationManager
Change the catch block to handle all `Throwable` exceptions instead of just `OutOfMemoryError`. This ensures that any potential issues arising from providing information about the local resource are caught and ignored.
* Add "copy remote URL" action
* Use string resource
* Truncate contact, task, and event strings to 1000 characters
* Fix tests
* Minor changes
- Replace `ContactsContract.RawContacts` with `RawContacts` in `LocalContact.kt`
- Remove unnecessary newline in `LocalJtxICalObject.kt`
---------
Co-authored-by: Ricki Hirner <hirner@bitfire.at >
2025-10-27 11:15:21 +01:00
Arnau Mora
0304d7168a
Migrate to SecureTextField ( #1191 )
...
* Using `SecureTextField`
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
* `OutlinedSecureTextField` doesn't support `readOnly`
* fixed string conversions
* - Update AddWebdavMountScreen to use enabled instead of readOnly
- Ensure onKeyboardAction checks canContinue before proceeding
- Update UrlLogin and EmailLogin to ensure onKeyboardAction checks canContinue before proceeding
- Update InputDialogs to ensure confirmEnabled is checked before proceeding
* Use get() for deriving things from a mutable state
---------
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
Co-authored-by: Ricki Hirner <hirner@bitfire.at >
2025-10-27 11:15:11 +01:00
Ricki Hirner
19458aa95c
Delete .github/workflows/dependent-issues.yml
...
Obsoleted by https://github.blog/changelog/2025-08-21-dependencies-on-issues/
2025-10-26 12:23:31 +01:00
dependabot[bot]
4412617079
Bump the app-dependencies group across 1 directory with 7 updates ( #1778 )
...
Bumps the app-dependencies group with 7 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| androidx.work:work-runtime-ktx | `2.10.5` | `2.11.0` |
| androidx.work:work-testing | `2.10.5` | `2.11.0` |
| androidx.room:room-ktx | `2.8.2` | `2.8.3` |
| androidx.room:room-compiler | `2.8.2` | `2.8.3` |
| androidx.room:room-paging | `2.8.2` | `2.8.3` |
| androidx.room:room-runtime | `2.8.2` | `2.8.3` |
| androidx.room:room-testing | `2.8.2` | `2.8.3` |
Updates `androidx.work:work-runtime-ktx` from 2.10.5 to 2.11.0
Updates `androidx.work:work-testing` from 2.10.5 to 2.11.0
Updates `androidx.work:work-testing` from 2.10.5 to 2.11.0
Updates `androidx.room:room-ktx` from 2.8.2 to 2.8.3
Updates `androidx.room:room-compiler` from 2.8.2 to 2.8.3
Updates `androidx.room:room-paging` from 2.8.2 to 2.8.3
Updates `androidx.room:room-runtime` from 2.8.2 to 2.8.3
Updates `androidx.room:room-testing` from 2.8.2 to 2.8.3
Updates `androidx.room:room-compiler` from 2.8.2 to 2.8.3
Updates `androidx.room:room-paging` from 2.8.2 to 2.8.3
Updates `androidx.room:room-runtime` from 2.8.2 to 2.8.3
Updates `androidx.room:room-testing` from 2.8.2 to 2.8.3
---
updated-dependencies:
- dependency-name: androidx.work:work-runtime-ktx
dependency-version: 2.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: androidx.work:work-testing
dependency-version: 2.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: androidx.work:work-testing
dependency-version: 2.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: androidx.room:room-ktx
dependency-version: 2.8.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-compiler
dependency-version: 2.8.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-paging
dependency-version: 2.8.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-runtime
dependency-version: 2.8.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-testing
dependency-version: 2.8.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-compiler
dependency-version: 2.8.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-paging
dependency-version: 2.8.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-runtime
dependency-version: 2.8.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-testing
dependency-version: 2.8.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-10-26 11:04:22 +01:00
Ricki Hirner
76277dbfd5
Update Kotlin and KSP versions ( #1776 )
...
- Update Kotlin version to 2.2.21
- Update KSP version to 2.3.0
- Remove specific Kotlin and KSP dependencies from Dependabot ignore list
2025-10-26 10:20:57 +01:00
Ricki Hirner
b0b99de56b
Update Compose BOM and use PrimaryTabRow ( #1772 )
...
- Update Compose BOM version to 2025.10.01
- Replace `TabRow` with `PrimaryTabRow`
2025-10-25 11:15:01 +02:00
Ricki Hirner
b33c4750bb
Bump version to 4.5.5-beta.1
2025-10-18 09:15:58 +02:00
Sunik Kupfer
25b749dd1b
Rename account on background thread ( #1727 )
...
* Change context to default dispatcher on updating automatic sync when renaming account
* Minor changes
- add worker thread annotations
- use injected defaultDispatcher
* Add tests
* Apply withContext with default dispatcher on the whole rename method
2025-10-18 09:13:26 +02:00
Ricki Hirner
39a0fe3f98
Update AboutLibraries and other dependencies ( #1760 )
...
Update dependencies and modify AboutActivity to use dynamic library loading
- Remove outdated aboutlibraries.json
- Update AboutActivity to dynamically load libraries using LocalContext
- Replace InvalidRemoteResourceException with InvalidICalendarException in sync managers
- Bump dependency versions for various libraries including mikepenz-aboutLibraries, okhttp, and unifiedpush
- Adjust build.gradle.kts and gradle/libs.versions.toml for new plugin and library versions
2025-10-18 09:12:41 +02:00
Arnau Mora
dd798f8380
Update implementation to match guidelines ( #1747 )
2025-10-15 11:20:30 +02:00
Sunik Kupfer
47d380de62
Fix unreachable code possibly causing foreign key constraint violation exception ( #1740 )
...
* Add test
* Fix unreachable code possibly causing foreign key constraint violation exception
* Make code easier to understand
* Add comments
* Split up tests and add mockk verify
2025-10-14 10:57:15 +02:00
dependabot[bot]
019d32a9b7
[CI] Bump github/codeql-action from 3 to 4 in the ci-actions group ( #1749 )
...
Bumps the ci-actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action ).
Updates `github/codeql-action` from 3 to 4
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: '4'
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-10-13 20:04:01 +02:00
Sunik Kupfer
0acabd9c80
Update http error message strings ( #1745 )
2025-10-13 10:41:00 +02:00
dependabot[bot]
aa23980a59
Bump the app-dependencies group across 1 directory with 13 updates ( #1744 )
...
* Bump the app-dependencies group across 1 directory with 13 updates
Bumps the app-dependencies group with 13 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| androidx.compose:compose-bom | `2025.09.01` | `2025.10.00` |
| [io.mockk:mockk](https://github.com/mockk/mockk ) | `1.14.5` | `1.14.6` |
| [io.mockk:mockk-android](https://github.com/mockk/mockk ) | `1.14.5` | `1.14.6` |
| [com.squareup.okhttp3:okhttp](https://github.com/square/okhttp ) | `5.1.0` | `5.2.0` |
| [com.squareup.okhttp3:okhttp-brotli](https://github.com/square/okhttp ) | `5.1.0` | `5.2.0` |
| [com.squareup.okhttp3:logging-interceptor](https://github.com/square/okhttp ) | `5.1.0` | `5.2.0` |
| [com.squareup.okhttp3:mockwebserver](https://github.com/square/okhttp ) | `5.1.0` | `5.2.0` |
| androidx.room:room-ktx | `2.8.1` | `2.8.2` |
| androidx.room:room-compiler | `2.8.1` | `2.8.2` |
| androidx.room:room-paging | `2.8.1` | `2.8.2` |
| androidx.room:room-runtime | `2.8.1` | `2.8.2` |
| androidx.room:room-testing | `2.8.1` | `2.8.2` |
| org.unifiedpush.android:connector | `3.0.10` | `3.1.0` |
Updates `androidx.compose:compose-bom` from 2025.09.01 to 2025.10.00
Updates `io.mockk:mockk` from 1.14.5 to 1.14.6
- [Release notes](https://github.com/mockk/mockk/releases )
- [Commits](https://github.com/mockk/mockk/compare/1.14.5...1.14.6 )
Updates `io.mockk:mockk-android` from 1.14.5 to 1.14.6
- [Release notes](https://github.com/mockk/mockk/releases )
- [Commits](https://github.com/mockk/mockk/compare/1.14.5...1.14.6 )
Updates `io.mockk:mockk-android` from 1.14.5 to 1.14.6
- [Release notes](https://github.com/mockk/mockk/releases )
- [Commits](https://github.com/mockk/mockk/compare/1.14.5...1.14.6 )
Updates `com.squareup.okhttp3:okhttp` from 5.1.0 to 5.2.0
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.1.0...parent-5.2.0 )
Updates `com.squareup.okhttp3:okhttp-brotli` from 5.1.0 to 5.2.0
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.1.0...parent-5.2.0 )
Updates `com.squareup.okhttp3:logging-interceptor` from 5.1.0 to 5.2.0
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.1.0...parent-5.2.0 )
Updates `com.squareup.okhttp3:mockwebserver` from 5.1.0 to 5.2.0
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.1.0...parent-5.2.0 )
Updates `com.squareup.okhttp3:okhttp-brotli` from 5.1.0 to 5.2.0
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.1.0...parent-5.2.0 )
Updates `com.squareup.okhttp3:logging-interceptor` from 5.1.0 to 5.2.0
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.1.0...parent-5.2.0 )
Updates `com.squareup.okhttp3:mockwebserver` from 5.1.0 to 5.2.0
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-5.1.0...parent-5.2.0 )
Updates `androidx.room:room-ktx` from 2.8.1 to 2.8.2
Updates `androidx.room:room-compiler` from 2.8.1 to 2.8.2
Updates `androidx.room:room-paging` from 2.8.1 to 2.8.2
Updates `androidx.room:room-runtime` from 2.8.1 to 2.8.2
Updates `androidx.room:room-testing` from 2.8.1 to 2.8.2
Updates `androidx.room:room-compiler` from 2.8.1 to 2.8.2
Updates `androidx.room:room-paging` from 2.8.1 to 2.8.2
Updates `androidx.room:room-runtime` from 2.8.1 to 2.8.2
Updates `androidx.room:room-testing` from 2.8.1 to 2.8.2
Updates `org.unifiedpush.android:connector` from 3.0.10 to 3.1.0
---
updated-dependencies:
- dependency-name: androidx.compose:compose-bom
dependency-version: 2025.10.00
dependency-type: direct:production
dependency-group: app-dependencies
- dependency-name: io.mockk:mockk
dependency-version: 1.14.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: io.mockk:mockk-android
dependency-version: 1.14.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: io.mockk:mockk-android
dependency-version: 1.14.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: com.squareup.okhttp3:okhttp
dependency-version: 5.2.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.2.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.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: com.squareup.okhttp3:mockwebserver
dependency-version: 5.2.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.2.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.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: com.squareup.okhttp3:mockwebserver
dependency-version: 5.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
- dependency-name: androidx.room:room-ktx
dependency-version: 2.8.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-compiler
dependency-version: 2.8.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-paging
dependency-version: 2.8.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-runtime
dependency-version: 2.8.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-testing
dependency-version: 2.8.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-compiler
dependency-version: 2.8.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-paging
dependency-version: 2.8.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-runtime
dependency-version: 2.8.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-testing
dependency-version: 2.8.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: org.unifiedpush.android:connector
dependency-version: 3.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
* Downgrade mockk version to 1.14.5
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ricki Hirner <hirner@bitfire.at >
2025-10-09 13:10:31 +02:00
Sunik Kupfer
5674d6b954
ExceptionInfoDialog: show explanation on http 405 and others ( #1739 )
...
* Show explanation on http 405
* Also show message for http 5xx
* Correct spelling
2025-10-09 12:05:31 +02:00
dependabot[bot]
df56c8628a
[CI] Bump gradle/actions from 4 to 5 in the ci-actions group ( #1736 )
...
Bumps the ci-actions group with 1 update: [gradle/actions](https://github.com/gradle/actions ).
Updates `gradle/actions` from 4 to 5
- [Release notes](https://github.com/gradle/actions/releases )
- [Commits](https://github.com/gradle/actions/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: gradle/actions
dependency-version: '5'
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-10-06 17:08:39 +02:00
dependabot[bot]
af4ecd3a1d
Bump the app-dependencies group with 12 updates ( #1732 )
...
Bumps the app-dependencies group with 12 updates:
| Package | From | To |
| --- | --- | --- |
| androidx.work:work-runtime-ktx | `2.10.4` | `2.10.5` |
| androidx.work:work-testing | `2.10.4` | `2.10.5` |
| androidx.compose:compose-bom | `2025.09.00` | `2025.09.01` |
| [com.google.dagger:hilt-android](https://github.com/google/dagger ) | `2.57.1` | `2.57.2` |
| [com.google.dagger:hilt-android-compiler](https://github.com/google/dagger ) | `2.57.1` | `2.57.2` |
| [com.google.dagger:hilt-android-testing](https://github.com/google/dagger ) | `2.57.1` | `2.57.2` |
| [com.google.dagger.hilt.android](https://github.com/google/dagger ) | `2.57.1` | `2.57.2` |
| androidx.room:room-ktx | `2.8.0` | `2.8.1` |
| androidx.room:room-compiler | `2.8.0` | `2.8.1` |
| androidx.room:room-paging | `2.8.0` | `2.8.1` |
| androidx.room:room-runtime | `2.8.0` | `2.8.1` |
| androidx.room:room-testing | `2.8.0` | `2.8.1` |
Updates `androidx.work:work-runtime-ktx` from 2.10.4 to 2.10.5
Updates `androidx.work:work-testing` from 2.10.4 to 2.10.5
Updates `androidx.work:work-testing` from 2.10.4 to 2.10.5
Updates `androidx.compose:compose-bom` from 2025.09.00 to 2025.09.01
Updates `com.google.dagger:hilt-android` from 2.57.1 to 2.57.2
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.57.1...dagger-2.57.2 )
Updates `com.google.dagger:hilt-android-compiler` from 2.57.1 to 2.57.2
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.57.1...dagger-2.57.2 )
Updates `com.google.dagger:hilt-android-testing` from 2.57.1 to 2.57.2
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.57.1...dagger-2.57.2 )
Updates `com.google.dagger.hilt.android` from 2.57.1 to 2.57.2
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.57.1...dagger-2.57.2 )
Updates `com.google.dagger:hilt-android-compiler` from 2.57.1 to 2.57.2
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.57.1...dagger-2.57.2 )
Updates `com.google.dagger:hilt-android-testing` from 2.57.1 to 2.57.2
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.57.1...dagger-2.57.2 )
Updates `androidx.room:room-ktx` from 2.8.0 to 2.8.1
Updates `androidx.room:room-compiler` from 2.8.0 to 2.8.1
Updates `androidx.room:room-paging` from 2.8.0 to 2.8.1
Updates `androidx.room:room-runtime` from 2.8.0 to 2.8.1
Updates `androidx.room:room-testing` from 2.8.0 to 2.8.1
Updates `androidx.room:room-compiler` from 2.8.0 to 2.8.1
Updates `androidx.room:room-paging` from 2.8.0 to 2.8.1
Updates `androidx.room:room-runtime` from 2.8.0 to 2.8.1
Updates `androidx.room:room-testing` from 2.8.0 to 2.8.1
Updates `com.google.dagger.hilt.android` from 2.57.1 to 2.57.2
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.57.1...dagger-2.57.2 )
---
updated-dependencies:
- dependency-name: androidx.work:work-runtime-ktx
dependency-version: 2.10.5
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.work:work-testing
dependency-version: 2.10.5
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.work:work-testing
dependency-version: 2.10.5
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.compose:compose-bom
dependency-version: 2025.09.01
dependency-type: direct:production
dependency-group: app-dependencies
- dependency-name: com.google.dagger:hilt-android
dependency-version: 2.57.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: com.google.dagger:hilt-android-compiler
dependency-version: 2.57.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: com.google.dagger:hilt-android-testing
dependency-version: 2.57.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: com.google.dagger.hilt.android
dependency-version: 2.57.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: com.google.dagger:hilt-android-compiler
dependency-version: 2.57.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: com.google.dagger:hilt-android-testing
dependency-version: 2.57.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.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-compiler
dependency-version: 2.8.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-paging
dependency-version: 2.8.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-runtime
dependency-version: 2.8.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-testing
dependency-version: 2.8.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-compiler
dependency-version: 2.8.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-paging
dependency-version: 2.8.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-runtime
dependency-version: 2.8.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: androidx.room:room-testing
dependency-version: 2.8.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app-dependencies
- dependency-name: com.google.dagger.hilt.android
dependency-version: 2.57.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-09-29 22:15:39 +02:00
Arnau Mora
701e292ab5
Use IntentCompat for account fetching from intent extras ( #1731 )
2025-09-28 10:51:57 +02:00
Ricki Hirner
5da7d9e292
Add CODEOWNERS file ( #1729 )
2025-09-24 14:11:40 +02:00