filesafe/controllers
Bobby Wibowo 5e5d5c5647
Manage albums admin page, and more!
Resolves #194.

Added pagination for Manage your albums page.

Albums sidebar will now only list 9 albums at most.
Use Manage your albums page to view the rest.
Albums in the list will now have View uploads button after all.

Delete album button for albums renamed to Disable album.
Since techincally the server would've always been disabling the albums
instead of deleting them.
It was something upstream dev's decided, and I haven't bothered changing
its behavior.

I'll work on actual Delete album feature some other days.

As the title says, added Manage albums admin page.

Viewing uploads of an album will hook into albumid: filter key.

I'll work on filter and bulk operations some other days.

Updated styling for disabled albums and users.
Instead of havine a line through them, they will be greyed out.
Disable public page of albums will still use line through however.

Links to album's disabled public page are now clickable.

Added a new button styling is-dangerish.
It'll be orange.

Renamed /api/albums/delete to /api/albums/disable.
For backwards compatibility, /api/albums/delete will still work
but automatically re-routed to /api/albums/disable.

/api/uploads/list will no longer print SQLite errors for moderators
or higher when encountering them.
It was originally used to inform moderators of non-existing colum names
when used for sorting.
But on one of the recent commits, I had added a check for allowed colum
names.

Improved some caching in dashboard page.

Added new entries to cookie policy.

Some other small things.

Bumped v1 version string and rebuilt client assets.
2020-06-01 11:44:16 +07:00
..
albumsController.js Manage albums admin page, and more! 2020-06-01 11:44:16 +07:00
authController.js !!! RUN "yarn migrate" !!! 2020-05-16 22:32:32 +07:00
multerStorageController.js Code clean ups 2020-06-01 08:44:48 +07:00
pathsController.js Fixed racing condition in initial dirs creation 2020-05-28 23:10:56 +07:00
permissionController.js Added group bypass to virus scanning 2019-11-06 03:35:04 +07:00
tokenController.js Added client assets update detection 2020-04-30 05:56:28 +07:00
uploadController.js Manage albums admin page, and more! 2020-06-01 11:44:16 +07:00
utilsController.js more video extensions for thumbs and reorder 2020-05-25 22:47:24 -05:00