Commit Graph

4 Commits

Author SHA1 Message Date
Gustavo Henrique Santos Souza de Miranda 090bbeda1a Implemented directory management and improved TravelDiary and Photo handling logic.
- Added `DirectoryManager` utility for consistent directory operations.
- Introduced directory name sanitization and uniqueness enforcement for `TravelDiary`.
- Updated `TravelDiaryService` with enhanced creation, update, and deletion workflows, including filesystem management.
- Improved `PhotoService` to hash files, copy photos to specific diary directories, and manage updates safely.
- Refined error handling and cascaded changes across related entities (e.g., `Entry` relationships).
2025-07-06 01:07:25 -03:00
Gustavo Henrique Santos Souza de Miranda 32b8a58c3a Made some changes to naming in both the classes and the tables of the database to conform the correct naming scheme 2025-06-05 19:59:43 -03:00
Gustavo Henrique Santos Souza de Miranda 8ad57b548f Added the Services layer to the code to do the database operation 2025-06-05 13:28:16 -03:00
Gustavo Henrique Santos Souza de Miranda ac29e84833 Changed the names of the files to conform the python convection and also added photo_in_entry.py to diminish the cyclic import error in pylint 2025-06-04 00:13:18 -03:00