filesafe/public/js
Bobby Wibowo 5c41fc9249
Updates
utilsController.js:
+ /api/stats: Cache invalidation requests will now only store timestamp
of the request instead of purging the cache entirely.
Subsequent requests to the API will no longer attempt to generate stats
if a previous request before it is still generating, since it can
take a while in big sites.
So instead, the cached stats will be returned to them, regardless of
whether it's still valid.
This should avoid "race condition" in sites with multiple admins.

* dashboard.js:
+ Added an appendix into "Delete by names" feature in dashboard to
inform staffs that they can use the feature to delete files by other
users as well.
+ Added comments explaning the need of page.domClick() function.
+ Addition to the change regarding /api/stats route: If there is no
cached stats, but a previous request is still generating, inform
the user about it.

config.sample.js + lolisafe.js:
+ We now support configuring rate limits through config file.
No more hard-coded rate limits.
Don't forget to update your config.js accordingly.

package.json + yarn.lock:
+ Updated dependencies.
2019-06-04 02:40:24 +07:00
..
.eslintrc.json Updates 2018-12-19 00:41:42 +07:00
album.js Updated albums public page 2019-04-19 11:56:57 +07:00
auth.js Updated ESLint rule: curly 2018-12-19 00:01:28 +07:00
dashboard.js Updates 2019-06-04 02:40:24 +07:00
home.js Updates 2019-04-18 16:06:14 +07:00
render.js Updated renders 2019-03-28 03:33:38 +07:00
sharex.js Updated ESLint rule: curly 2018-12-19 00:01:28 +07:00