Commit Graph

7 Commits

Author SHA1 Message Date
Marcos e0f226d3bc feat: Refactor note decryption method and update category handling for improved clarity 2026-05-22 10:11:41 +02:00
Marcos 95c3e6fc38 feat: Update category deletion logic to reset related notes and track changes 2026-05-21 12:01:44 +02:00
Marcos 3ff4efb738 feat: Add color and icon properties to categories, enhance category management in UI 2026-05-20 17:10:44 +02:00
Marcos def755e1c5 refactor: Update Note and Category models to use 'id' instead of 'uuid', and adjust related database operations
- Changed 'uuid' to 'id' in Note and Category models for consistency.
- Updated database operations in NoteRepository to reflect the new 'id' field.
- Modified sync models to accommodate changes in Note and Category structures.
- Adjusted the handling of notes and categories during synchronization.
- Refactored the note editor and home screen to use the new 'id' field.
- Ensured that the 'isDirty' flag is properly set and utilized across models.
2026-05-20 11:05:30 +02:00
Marcos f550476177 feat: Implement permanent deletion and restoration of notes with updated UI 2026-05-19 11:40:01 +02:00
Marcos 2a898111fa feat: Optimize note encryption and decryption processes with parallel execution 2026-05-19 10:09:20 +02:00
Marcos efe602a5da feat: Implement note encryption and synchronization features
- Added NoteEncryption class for encrypting and decrypting note content using AES-GCM.
- Updated NoteRepository to handle synchronization of notes and categories with the server, including encryption of note data before sending.
- Introduced SyncRequest and SyncResponse models for managing synchronization data.
- Enhanced LocalVaultService to store and retrieve the encryption key.
- Modified HomeScreen and SettingsScreen to trigger synchronization after note operations and manage API endpoint settings.
- Added SyncStatusIndicator to provide visual feedback on synchronization status in the app title bar.
- Created Category model to manage note categories with encryption support.
- Updated note model to include UUID, server version, deletion status, and category ID.
- Added necessary UI elements for displaying and managing the encryption key in SettingsScreen.
- Updated dependencies in pubspec.yaml for cryptography and HTTP handling.
2026-05-18 16:11:19 +02:00