1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-23 06:44:57 +00:00
Arsse/tests/lib/Database
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
..
DriverSQLite3.php Passed code through linter 2017-08-29 10:50:31 -04:00
SeriesArticle.php Passed code through linter 2017-08-29 10:50:31 -04:00
SeriesCleanup.php Passed code through linter 2017-08-29 10:50:31 -04:00
SeriesFeed.php Passed code through linter 2017-08-29 10:50:31 -04:00
SeriesFolder.php Fix numerous bugs when adding or changing folders 2017-09-26 16:45:41 -04:00
SeriesMeta.php Passed code through linter 2017-08-29 10:50:31 -04:00
SeriesMiscellany.php Passed code through linter 2017-08-29 10:50:31 -04:00
SeriesSubscription.php Fix numerous bugs when adding or changing folders 2017-09-26 16:45:41 -04:00
SeriesUser.php Passed code through linter 2017-08-29 10:50:31 -04:00
Setup.php Passed code through linter 2017-08-29 10:50:31 -04:00