filesafe/controllers
Bobby Wibowo 38e673226f
fix: inconsistent size field in DB !! yarn migrate
we used to store number directly into the string size field, and
during the conversion it seemed to always add ".0" at the final string,
probably because the driver or sqlite3 itself assumes float

please run yarn migrate after pulling this commit
if you skip converting the DB, file duplicates check will fail to
function

and in the future im planning to do size statistics in bigint, which
will also fail if not converted
2022-06-29 14:35:00 +07:00
..
handlers fix: remove token from local storage if invalid 2022-05-06 21:58:23 +07:00
utils refactor: relocate db scripts 2022-06-22 13:53:01 +07:00
albumsController.js feat: some env vars support 2022-06-22 13:27:38 +07:00
authController.js feat: initiate db connection only once 2022-06-04 04:21:56 +07:00
pathsController.js fix: verify database dir 2022-06-22 14:23:54 +07:00
permissionController.js feat: usergroup-based file retention periods 2022-05-07 02:17:31 +07:00
tokenController.js feat: initiate db connection only once 2022-06-04 04:21:56 +07:00
uploadController.js fix: inconsistent size field in DB !! yarn migrate 2022-06-29 14:35:00 +07:00
utilsController.js fix: statistics failing to respond on errors 2022-06-29 14:29:47 +07:00