Skip to content

feat: Caldav client configuration - #145

Open
benjaminVadon wants to merge 3 commits into
mainfrom
caldav-client-configuration
Open

benjaminVadon wants to merge 3 commits into
mainfrom
caldav-client-configuration

Conversation

@benjaminVadon

Copy link
Copy Markdown
Contributor

Add support of caldav library configuration, mainly user agent and request interception ability with proxyman

depends on Infomaniak/multiplatform-calendar#129

@benjaminVadon
benjaminVadon requested review from sirambd and a balanced review from Copilot August 20, 2026 10:25
@benjaminVadon benjaminVadon self-assigned this Aug 20, 2026
@github-actions

Copy link
Copy Markdown

This PR/issue depends on:

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Configures the Rust CalDAV client at app startup and adds debug-only proxy interception support.

Changes:

  • Sets the CalDAV user agent.
  • Adds debug proxy and custom CA configuration.
  • Documents and excludes local proxy assets.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
app/src/release/java/com/infomaniak/calendar/utils/CaldavDebugConfig.kt Provides the release no-op configuration.
app/src/main/java/com/infomaniak/calendar/MainApplication.kt Initializes the CalDAV client.
app/src/debug/java/com/infomaniak/calendar/utils/CaldavDebugConfig.kt Configures debug proxy interception.
app/build.gradle.kts Exposes the local proxy URL to debug builds.
app/AGENTS.md Documents CalDAV configuration and debugging.
.gitignore Excludes the developer-specific proxy CA.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +32 to +33
import com.infomaniak.multiplatform_calendar.data.remote.caldav.CaldavClientConfig
import com.infomaniak.multiplatform_calendar.data.remote.caldav.configureCaldavClient
Comment thread app/AGENTS.md Outdated
`local.properties` (git-ignored):

```properties
caldavDebugProxyUrl=http://10.0.2.2:9090
@benjaminVadon
benjaminVadon force-pushed the caldav-client-configuration branch 6 times, most recently from 7038b65 to 4161682 Compare August 25, 2026 09:39
@benjaminVadon
benjaminVadon force-pushed the caldav-client-configuration branch 3 times, most recently from 8f787a3 to cbfa574 Compare September 8, 2026 13:18
@benjaminVadon
benjaminVadon force-pushed the caldav-client-configuration branch from cbfa574 to 1f3a16f Compare September 8, 2026 13:25
@sonarqubecloud

sonarqubecloud Bot commented Sep 8, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants