Commit Graph

10 Commits

Author SHA1 Message Date
Gustavo Henrique Santos Souza de Miranda 83e7db9ce1 Fix the photo and travel diary relationship to properly work 2025-07-21 15:27:51 -03:00
Gustavo Henrique Santos Souza de Miranda 06ee08b201 Fix all imports to be absolute and not relative 2025-07-20 02:46:46 -03:00
Gustavo Henrique Santos Souza de Miranda 9e4b08234f Fix the bug that collides the hash if identical images 2025-07-19 00:16:29 -03:00
Gustavo Henrique Santos Souza de Miranda 8cc42e390a Added Hash capability to the model photo.py and also updated the service to create hashes and update hashes 2025-07-03 21:08:24 -03:00
Gustavo Henrique Santos Souza de Miranda f84da2c934 Improved the photo sidebar and add the add_photo_modal.py to add photos and the file_picker_modal.py to select the proper file to be ingested, also changed photo.py and photo_service.py to receive a datatime and not a string representing the addition date 2025-06-29 21:38:33 -03:00
Gustavo Henrique Santos Souza de Miranda 103b9a9da1 Altered the Cardinality of the foreign keys to be non-nullable 2025-06-05 22:01:54 -03:00
Gustavo Henrique Santos Souza de Miranda f556d6906a Added the foreign key in photo.py to the travel_diary table so a photo is contained in a diary 2025-06-05 20:02:41 -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 7e29a590a2 Added the photo_service.py and modified photo.py to have all the crud operations 2025-06-05 17:35:12 -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