1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +00:00
Arsse/lib/REST
J. King e74a3ae3cb Fix numerous bugs when adding or changing folders
- Specifying a non-integer parent no longer silently casts to 0 or 1
- Specifying a folder ID of 0 now always converts to null automatically
- Performing both a rename and move to root in the same operation no longer results in potential duplicates
- Calling folderSetProperties with an empty data array no peforms an update; it now returns false before the update call
- Modification timestamps are now actually updated when a folder is modified
- Constraint violation exceptions triggered by code (rather than the database) now print a message
- Renaming a folder or subscription to a non-string value (e.g. an array) throws an exception rather than silently casting
- Added tests to better cover all the above
- Centralized the normalization of integers and title strings into a new ValueInfo static class
2017-09-26 16:45:41 -04:00
..
NextCloudNews Sundry fixes 2017-09-05 19:35:14 -04:00
AbstractHandler.php Fix numerous bugs when adding or changing folders 2017-09-26 16:45:41 -04:00
Exception.php Passed code through linter 2017-08-29 10:50:31 -04:00
Exception405.php Passed code through linter 2017-08-29 10:50:31 -04:00
Exception501.php Passed code through linter 2017-08-29 10:50:31 -04:00
Handler.php Passed code through linter 2017-08-29 10:50:31 -04:00
Request.php Sundry fixes 2017-09-05 19:35:14 -04:00
Response.php Passed code through linter 2017-08-29 10:50:31 -04:00