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
Bobby
9467132f1f
feat: use fs-jetpack in uploadController.js
2022-10-04 05:30:48 +07:00
Bobby
a7b5fc75c6
feat: use fs-jetpack in authController.js
2022-10-04 05:29:07 +07:00
Bobby
34c060ec5e
feat: delete zip of empty albums on download req
2022-10-04 05:16:51 +07:00
Bobby
d5b1ad69d9
fix: await album zip jetpack.rename()
2022-10-04 05:16:15 +07:00
Bobby
afd81c965d
chore: comment out onHold debug messages
...
seem stable enough
but just comment out if needed in the future
2022-10-04 05:12:21 +07:00
Bobby
e4a3447a5e
feat: use fs-jetpack in albumsController.js
2022-10-04 04:34:44 +07:00
Bobby
2b11692fdb
chore: gulpfile.js
2022-10-04 04:21:05 +07:00
Bobby
65d9a76071
feat: slowly transition to fs-jetpack
...
controllers/handlers/ServeStatic.js
controllers/middlewares/ServeStaticQuick.js
2022-10-04 04:20:38 +07:00
Bobby
6d103c1e28
feat: replace del with fs-jetpack
...
added as production dependency, because i plan to also replace built-in
fs in production codes with fs-jetpack
2022-10-04 03:09:16 +07:00
BobbyWibowo
fea3126c2e
dist: rebuilt client assets and bumped v1 version string
2022-10-01 16:56:28 +00:00
Bobby
d60de02faa
fix: album page header's total size text
...
also simplify various logics
2022-10-01 23:55:12 +07:00
renovate[bot]
fa081458ba
fix(deps): update dependency rate-limiter-flexible to ~2.3.11 ( #587 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-01 23:44:16 +07:00
renovate[bot]
a626ec3729
chore(deps): update dependency postcss to ~8.4.17 ( #586 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-01 23:43:46 +07:00
renovate[bot]
5c11b7f337
chore(deps): update dependency eslint to ~8.24.0 ( #588 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-01 23:43:35 +07:00
renovate[bot]
8416a9dc97
chore(deps): update dependency stylelint to ~14.13.0 ( #589 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-01 23:43:16 +07:00
BobbyWibowo
a43598c02e
dist: rebuilt client assets and bumped v1 version string
2022-09-30 16:03:19 +00:00
Bobby
b848b7010d
fix: album page lightbox's counter text color
2022-09-30 23:02:24 +07:00
BobbyWibowo
b78d43db5f
dist: rebuilt client assets and bumped v1 version string
2022-09-29 21:21:01 +00:00
Bobby
03b63cba10
feat: darkened simple lightbox overlay
2022-09-30 04:20:02 +07:00
BobbyWibowo
e780444cb8
dist: rebuilt client assets and bumped v1 version string
2022-09-29 21:04:48 +00:00
Bobby
f7b4ebfc5c
feat: simple lightbox on album pages
2022-09-30 04:02:28 +07:00
Bobby
fcdbf2d475
feat: better url uploads error status
2022-09-28 11:37:57 +07:00
Bobby
d364034738
fix: improve url uploads input check
2022-09-28 11:37:29 +07:00
Bobby
7e28c26d41
fix: improve multiple uploads Promise handling
2022-09-28 11:03:29 +07:00
Bobby
96ad1b7152
feat(deps): update hyper-express to ~6.4.10
2022-09-28 10:35:52 +07:00
Bobby
e64cfa89cf
feat: send more data in upload API response
2022-09-28 10:33:47 +07:00
Bobby
0b46f43bfa
chore: console log multipart early resolve
2022-09-28 10:32:45 +07:00
Bobby
b3a2c93642
feat: improve flow of storing files to db
...
API respond now have new prop "repeated" to signify that the files were
already previously uploaded
2022-09-28 10:16:00 +07:00
Bobby
81c94a40d5
feat: defaults mime-type to octet-stream
2022-09-28 10:14:57 +07:00
Bobby
c1bb2f5015
refactor: logic improvements
2022-09-28 10:14:08 +07:00