Commit Graph

1925 Commits

Author SHA1 Message Date
Bobby
effdf8c607
fix: restore clamav version to stats menu
i had to move over scanner logic to its own module last time,
so i commented out the stats entry as i was cleaning it up, but forgot
to re-add it after finishing it
2022-10-08 18:46:18 +07:00
Bobby
9d464c6894
fix: useless logic
for context, we prefer to list files in zips dir, because admins may
choose to manually delete their ZIPs anytime, and lolisafe will not be
aware of it

the download API will automatically re-generate them if required, so
admins manually deleting ZIPs is okay
2022-10-08 18:18:12 +07:00
BobbyWibowo
126671eb77 dist: rebuilt client assets and bumped v1 version string 2022-10-08 11:13:14 +00:00
Bobby
695162c43b
feat: use fade-in css class where applicable 2022-10-08 18:12:15 +07:00
Bobby
327d78c008
feat: improve dashboard fade in animations
expand the function to support arbritrary elements other than main dom

refreshing stats category will now apply fade in animation to them

class for fade in animation is now global (style.scss), preparing for
expanded usage on other pages
2022-10-08 18:03:50 +07:00
Bobby
5c8f004b22
feat: button to reload stats per category 2022-10-08 17:48:54 +07:00
Bobby
c5bee11a42
feat: prep stats api to allow pre-category refresh
via /api/stats/:category
2022-10-08 16:39:28 +07:00
Bobby
6b0bb0a01f
fix: docker configuration
use debian bullseye image instead of alpine linux

uWS.js does not work on alpine linux, unfortunately
2022-10-08 15:30:02 +07:00
BobbyWibowo
6402f99fbd dist: rebuilt client assets and bumped v1 version string 2022-10-08 02:16:14 +00:00
Bobby
fb722569af
style: stats table width 2022-10-08 09:13:17 +07:00
Bobby
881c9efb7d
feat(ci): use node 18 for github actions 2022-10-08 08:54:05 +07:00
Bobby
bc4333b7e5
feat: pin volta to node@18.10.0
also update README.md remarking that this supports node 18
2022-10-08 08:53:26 +07:00
BobbyWibowo
e04e864297 dist: rebuilt client assets and bumped v1 version string 2022-10-06 16:13:48 +00:00
Bobby
e7d343e70f
fix: display for unavailable stats entries 2022-10-06 23:12:50 +07:00
Bobby
f6b6eabbc2
refactor: fs -> fs-jetpack at rebuild-hashes.js 2022-10-06 18:26:47 +07:00
Bobby
0e10895c2b
feat: use fs-jetpack in scripts/bump-versions.js 2022-10-06 18:25:26 +07:00
BobbyWibowo
ecd9ef7a5d dist: rebuilt client assets and bumped v1 version string 2022-10-05 22:13:40 +00:00
Bobby
c4caee42ca
fix: temporary uploads stats counter 2022-10-06 05:12:46 +07:00
Bobby
3b2808f0fd
fix: failsafes for stats null values 2022-10-06 05:12:25 +07:00
Bobby
3fcb0732a4
feat: filter temporary uploads from stats menu 2022-10-06 05:05:50 +07:00
BobbyWibowo
1592ff3823 dist: rebuilt client assets and bumped v1 version string 2022-10-05 21:58:36 +00:00
Bobby
cd5d2f63ea
fix: number formatting in stats nested values 2022-10-06 04:57:16 +07:00
Bobby
686875099f
feat: sort mime types by count in statistics menu 2022-10-06 04:41:28 +07:00
Bobby
8623687b42
feat(migrate): invalid uploads type conversion
use with yarn migrate
2022-10-06 04:30:34 +07:00
Bobby
2afdabb8aa
fix: scripts/migrate.js missing ConfigManager 2022-10-06 04:27:03 +07:00
Bobby
066998991c
fix: url uploads content-type parsing 2022-10-06 04:24:28 +07:00
Bobby
3d51fd2e31
fix: purgeCloudflareCache
regression when ConfigManager was introduced
2022-10-06 04:20:02 +07:00
BobbyWibowo
073bb0e710 dist: rebuilt client assets and bumped v1 version string 2022-10-05 21:17:37 +00:00
Bobby
7f1e736305
feat: filter uploads by type-is from stats menu 2022-10-06 04:16:31 +07:00
Bobby
c35fd3057c
feat: filter uploads by mime types from stats menu 2022-10-06 03:57:47 +07:00
Bobby
10c2618ef6
feat: filter uploads by mime types 2022-10-06 03:36:34 +07:00
Bobby
30db27e524
fix: uploadController.js missing Constants module 2022-10-06 03:36:22 +07:00
Bobby
ff58054158
fix: type-is uploads filtering
also improved its parsing logic
2022-10-06 03:26:19 +07:00
Bobby
0c0b2aa3d1
feat: StatsManager 2022-10-06 02:46:49 +07:00
Bobby
364e16af7f
feat: update src/js/.eslintrc.js
enable no-undefined rule, and disable no-void rule
2022-10-06 02:46:13 +07:00
Bobby
e7c91b8ad0
refactor: upload's stripTags if-logic 2022-10-06 02:44:54 +07:00
Bobby
ec0e51a7b8
feat: Constants 2022-10-06 02:44:31 +07:00
Bobby
cd2baba0d6
feat: ScannerManager 2022-10-06 02:42:36 +07:00
Bobby
50f1be0b76
feat: rename some npm/yarn script shorthands 2022-10-06 02:41:07 +07:00
Bobby
0633f2c78e
chore: temp update client version in dev mode 2022-10-06 02:40:41 +07:00
Bobby
95e5956313
feat: ConfigManager 2022-10-06 02:39:51 +07:00
Bobby
4c1716ceff
fix: use fs-jetpack in scripts/clean-up.js 2022-10-04 07:20:20 +07:00
Bobby
516457709f
fix: use fs-jetpack in scripts/thumbs.js 2022-10-04 07:17:03 +07:00
Bobby
ebd53996d7
fix: use fs-jetpack in scripts/migrate.js 2022-10-04 07:13:36 +07:00
Bobby
d4234261b3
chore: update yarn.lock 2022-10-04 07:09:07 +07:00
Bobby
93621afe94
feat: allow stream download of album ZIPs
extend ServeStatic handler to allow programatically calling the handle()
function from within in-progress Requests

also use file's timestamp as file's modified time in the ZIP archive
2022-10-04 07:06:37 +07:00
Bobby
97ffa67975
fix: download of >2GiB album ZIPs 2022-10-04 06:15:37 +07:00
Bobby
a49842a932
fix: size attribute of uploads with stripped tags
it'd previously always keep size attribute before the tags stripping
2022-10-04 05:42:00 +07:00
Bobby
0eb4c243c3
feat: use fs-jetpack in pathsController.js 2022-10-04 05:34:01 +07:00
Bobby
f3bf3f6500
feat: use fs-jetpack in utilsController.js 2022-10-04 05:33:25 +07:00