This commit resolves the "Failed to fetch" errors when updating recurring event series through drag operations by implementing proper request sequencing and fixing time parameter handling. Key fixes: - Eliminate HTTP request cancellation by sequencing operations properly - Add global mutex to prevent CalDAV HTTP race conditions - Implement complete RFC 5545-compliant series splitting for "this_and_future" - Fix frontend to pass dragged times instead of original times - Add comprehensive error handling and request timing logs - Backend now handles both UPDATE (add UNTIL) and CREATE (new series) in single request Technical changes: - Frontend: Remove concurrent CREATE request, pass dragged times to backend - Backend: Implement full this_and_future logic with sequential operations - CalDAV: Add mutex serialization and detailed error tracking - Series: Create new series with occurrence date + dragged times 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
41 lines
1.0 KiB
TOML
41 lines
1.0 KiB
TOML
[package]
|
|
name = "calendar-backend"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[[bin]]
|
|
name = "backend"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
calendar-models = { workspace = true }
|
|
|
|
# Backend authentication dependencies
|
|
jsonwebtoken = "9.0"
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
axum = { version = "0.7", features = ["json"] }
|
|
tower = "0.4"
|
|
tower-http = { version = "0.5", features = ["cors"] }
|
|
hyper = { version = "1.0", features = ["full"] }
|
|
|
|
# Shared dependencies
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
uuid = { version = "1.0", features = ["v4", "serde"] }
|
|
anyhow = "1.0"
|
|
|
|
# CalDAV dependencies
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
ical = "0.7"
|
|
regex = "1.0"
|
|
dotenvy = "0.15"
|
|
base64 = "0.21"
|
|
thiserror = "1.0"
|
|
lazy_static = "1.4"
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1.0", features = ["macros", "rt"] }
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
tower = { version = "0.4", features = ["util"] }
|
|
hyper = "1.0" |