AngeloFrangione
released this
22 Feb 04:38
·
184 commits
to master
since this release
This minor release changes some behaviors:
- ospl_album_add_photo
- verify if the album and the photo exists before doing anything.
- ospl_album_rename
- If renaming in database fails do not rename the folder.
- ospl_album_move_photo
- return a not found value when an album or a photo does not exist
- ospl_album_delete_photo
- return a not found value when a photo does not exist
- ospl_create_library
- If a failure occurs, try removing the already created folders.
- ospl_album_create
- return the created album
id
on success.
- return the created album
- ospl_import_photo_in_album
- do not import photo if album do not exist
- ospl_photo_get
- return a ENOTFOUND error if the picture doesn't exist.
- ospl_photo_delete
- check if the photo exist, if not return error message.
- check SQL return.
- ospl_import_folder
- return a list of success/fail of every file found in the folder.
- ospl_import_folder_in_album
- do not import photo if album does not exist.
- return a list of success/fail of every file found in the folder.
- There is a full doc about every external Stockage functions
- The README badges are now aligned