Commit graph

5 commits

Author SHA1 Message Date
Alvaro Soliverez
f84ce62f73 feat: Add comprehensive Nextcloud import functionality and fix compilation issues
Major additions:
- New NextcloudImportEngine with import behaviors (SkipDuplicates, Overwrite, Merge)
- Complete import workflow with result tracking and conflict resolution
- Support for dry-run mode and detailed progress reporting
- Import command integration in CLI with --import-events flag

Configuration improvements:
- Added ImportConfig struct for structured import settings
- Backward compatibility with legacy ImportTargetConfig
- Enhanced get_import_config() method supporting both formats

CalDAV client enhancements:
- Improved XML parsing for multiple calendar display name formats
- Better fallback handling for calendar discovery
- Enhanced error handling and debugging capabilities

Bug fixes:
- Fixed test compilation errors in error.rs (reqwest::Error type conversion)
- Resolved unused variable warning in main.rs
- All tests now pass (16/16)

Documentation:
- Added comprehensive NEXTCLOUD_IMPORT_PLAN.md with implementation roadmap
- Updated library exports to include new modules

Files changed:
- src/nextcloud_import.rs: New import engine implementation
- src/config.rs: Enhanced configuration with import support
- src/main.rs: Added import command and CLI integration
- src/minicaldav_client.rs: Improved calendar discovery and XML parsing
- src/error.rs: Fixed test compilation issues
- src/lib.rs: Updated module exports
- Deleted: src/real_caldav_client.rs (removed unused file)
2025-10-29 13:39:48 -03:00
Alvaro Soliverez
16d6fc375d Working correctly to fetch 1 Nextcloud calendar 2025-10-26 13:10:16 -03:00
Alvaro Soliverez
e8047fbba2 updated config for unidirectional sync 2025-10-15 23:14:38 -03:00
Alvaro Soliverez
f81022a16b feat: Add --list-events debugging improvements and timezone support
- Remove debug event limit to display all events
- Add timezone information to event listing output
- Update DEVELOPMENT.md with latest changes and debugging cycle documentation
- Enhance event parsing with timezone support
- Simplify CalDAV client structure and error handling

Changes improve debugging capabilities for CalDAV event retrieval and provide
better timezone visibility when listing calendar events.
2025-10-13 11:02:55 -03:00
Alvaro Soliverez
8362ebe44b Initial commit: Complete CalDAV calendar synchronizer
- Rust-based CLI tool for Zoho to Nextcloud calendar sync
- Selective calendar import from Zoho to single Nextcloud calendar
- Timezone-aware event handling for next-week synchronization
- Comprehensive configuration system with TOML support
- CLI interface with debug, list, and sync operations
- Complete documentation and example configurations
2025-10-04 11:57:44 -03:00