filesafe/controllers
Bobby b35f4ae6eb
fix: remove token from local storage if invalid
this required expanding our custom error classes with support for
arbitrary internal api error codes

however it'll only be used for invalid token errors for now (10001)

no plan to assign codes to other existing api errors
at that point it's probably better to redo the whole api infrastructure
2022-05-06 21:58:23 +07:00
..
handlers fix: remove token from local storage if invalid 2022-05-06 21:58:23 +07:00
utils fix: remove token from local storage if invalid 2022-05-06 21:58:23 +07:00
albumsController.js chore: logger.inspect 2022-05-05 14:33:16 +07:00
authController.js feat: allow mods to actually delete albums 2022-05-05 13:58:54 +07:00
pathsController.js feat: list albums' total size and zip size 2021-02-12 15:48:40 +07:00
permissionController.js feat: same/higher group warning when editing user 2021-01-09 02:51:23 +07:00
tokenController.js fix: remove token from local storage if invalid 2022-05-06 21:58:23 +07:00
uploadController.js feat: debug log for clean files 2022-04-23 05:01:56 +07:00
utilsController.js fix: count of album zips generated in stats 2022-05-05 14:54:21 +07:00