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)
- Add #[cfg(test)] attribute to mark function as test-only
- Add comprehensive test for parse_ical_datetime function
- Move imports into function scope to reduce global imports
- Test covers DATE format, UTC datetime format, and error handling
Fixes warning: function 'parse_ical_datetime' is never used
- 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
- Add config/config.toml to .gitignore (instance-specific configuration)
Changes improve debugging capabilities for CalDAV event retrieval and provide
better timezone visibility when listing calendar events.
- 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.
- Move development details to DEVELOPMENT.md
- Move contributing guidelines to CONTRIBUTING.md
- Add LICENSE file with MIT license
- Add CONTRIBUTORS.md for attribution
- Update README.md to focus on user-facing information
- Improve documentation structure and navigation
- 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