Commit Graph

1827 Commits

Author SHA1 Message Date
Bobby
7dd4f50e9e
feat: allow markdown in album description 2022-05-05 12:55:21 +07:00
Bobby
595dd81455
feat: apply access-control-allow-origin globally
instead of only on some arbitrary routes

configurable via config, please check sample, disabled by default

i still recommend configuring from your own http server (nginx, etc.),
if you want to have a more complex per-routes headers
2022-05-02 13:58:04 +07:00
Bobby
c89de676db
chore: ignore .node-version 2022-05-02 12:20:15 +07:00
Bobby
007ad3ddc0
feat: allow helmet to be disabled entirely
by setting the config value into an empty object

if otherwise falsy value, old behavior will still be used for
backwards-compatibility
2022-04-30 12:01:12 +07:00
renovate[bot]
51d4bf954a
chore(deps): update dependency browserslist to ~4.20.3 (#475)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 06:46:51 +07:00
renovate[bot]
53f51de2bc
fix(deps): update dependency systeminformation to ~5.11.14 (#478)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 06:42:59 +07:00
renovate[bot]
51f0f4db3b
chore(deps): update dependency postcss-preset-env to ~7.4.4 (#476)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 06:42:17 +07:00
renovate[bot]
e34e0e18bd
fix(deps): update dependency sqlite3 to ~5.0.6 (#477)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 06:41:58 +07:00
Bobby
3d94ae599e
feat: debug log for clean files 2022-04-23 05:01:56 +07:00
Bobby
88d32a6dcf
refactor: uploadController.js 2022-04-23 04:48:59 +07:00
Bobby
86c26cb50c
feat: some bypass support to passthrough scanning
only usergroup and file extension bypass

real file size can't be determined before passthrough scan,
so there's no bypass by max file size
please read the comments in sample config file

refactored utils.clamscan into utils.scan
2022-04-23 04:44:01 +07:00
renovate[bot]
2522b1a10f
fix(deps): update dependency sharp to ~0.30.4 (#473)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 02:58:10 +07:00
renovate[bot]
a80db00116
fix(deps): update dependency sqlite3 to ~5.0.5 (#474)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 02:56:09 +07:00
renovate[bot]
50327903a0
chore(deps): update dependency eslint-config-standard to ~17.0.0 (#471)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 02:53:47 +07:00
renovate[bot]
7f6fcf3833
chore(deps): update dependency stylelint to ~14.7.1 (#472)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 02:53:01 +07:00
BobbyWibowo
c9e84b5c24 dist: rebuilt client assets and bumped v1 version string 2022-04-20 20:10:08 +00:00
Bobby
c3f8e3e213
fix(deps): add waversurfer.js source map 2022-04-21 03:09:10 +07:00
BobbyWibowo
cf1475197e dist: rebuilt client assets and bumped v1 version string 2022-04-20 12:31:21 +00:00
Bobby
cf9c4ce7cb
fix: player.js 2022-04-20 19:29:35 +07:00
Bobby
43837cac20
chore: stray console.log in dashboard.js 2022-04-20 19:29:08 +07:00
Bobby
e9e2d4993b
fix(deps): update video.js and its plugins 2022-04-20 19:28:40 +07:00
Bobby
f6a86226a2
fix: re-disable new default helmet modules
this is to align with original behavior pre-Helmet v5 update

this only changes sample config file, and fallback values when helmet
option is missing from config file

otherwise decide at your own discretion (refer to the comments)
2022-04-20 18:37:10 +07:00
Bobby
9af52e068d
docs: config and uploadController 2022-04-16 23:06:25 +07:00
Bobby
edb7367ad3
feat: disable reat limits on dev mode 2022-04-16 21:37:39 +07:00
Bobby
d878d161c0
style: dev mode messages 2022-04-16 21:37:17 +07:00
Bobby
1c0fd26496
refactor: pass less data into user object 2022-04-16 21:36:34 +07:00
Bobby
4b9740cf5c
docs: uploadController.js 2022-04-16 20:44:11 +07:00
renovate[bot]
fff5ebbdd4
chore(deps): update dependency stylelint to ~14.7.0 (#469)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-16 13:36:32 +07:00
Bobby
99a6fc82ca
fix: passthrough scan should default to off
i'll consider changing the default value once it has feature parity
with the old sequential scan
2022-04-16 13:34:43 +07:00
Bobby
b5aa8d0758
fix: passthrough scan 2022-04-16 13:33:11 +07:00
Bobby
dd6f225461
fix: missing default vars in multerStorage 2022-04-15 20:31:12 +07:00
Bobby
db254c602b
feat: experimental clamscan passthrough support
when enabled, passthrough scanning will be used for non-chunked uploads

upload processing will be significantly faster if scanning is required
2022-04-15 16:41:05 +07:00
Bobby
2081245a79
docs: versioned ref links in config.sample.js 2022-04-15 15:41:16 +07:00
Bobby
6788dc2094
fix: align with clamscan v2 2022-04-15 15:36:50 +07:00
Bobby
ffc82f6a2a
feat: logger.debug() outputs only on dev mode 2022-04-15 15:30:32 +07:00
renovate[bot]
42c8a3e06c
fix(deps): update dependency helmet to v5 (#462)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 14:17:51 +07:00
renovate[bot]
b00a376c63
chore(deps): update dependency postcss-preset-env to ~7.4.3 (#463)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 14:17:23 +07:00
renovate[bot]
decb6578d9
fix(deps): update dependency body-parser to ~1.20.0 (#465)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 14:16:24 +07:00
Bobby
be345e3d34
fix: align with express-rate-limit v6 2022-04-15 14:15:32 +07:00
renovate[bot]
28ba5834ea
fix(deps): update dependency express-rate-limit to v6 (#461)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 14:11:47 +07:00
renovate[bot]
da2348be09
fix(deps): update dependency clamscan to v2 (#460)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 14:06:39 +07:00
renovate[bot]
e1a6df0c17
fix(deps): update dependency jszip to ~3.9.1 (#466)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 14:00:50 +07:00
BobbyWibowo
b28e609c18 dist: rebuilt client assets and bumped v1 version string 2022-04-15 06:42:08 +00:00
Bobby
18a235fdf9
chore: trigger actions rebuild 2022-04-15 13:41:05 +07:00
Bobby
71e4c928ba
feat: transition to eslint v8 environment 2022-04-15 13:40:22 +07:00
Bobby
44cd9c3653
fix: set minimum node version to 12.22.0
in preparation to transition to eslint 8
2022-04-15 13:39:41 +07:00
Bobby
e972abaa90
fix(deps): rebuild yarn.lock 2022-04-15 13:09:03 +07:00
Bobby
f75050f1cf
fix(deps): update dependency sqlite3 to ~5.0.3 2022-04-15 13:07:33 +07:00
renovate[bot]
8d97d5cdd8
chore(deps): update dependency postcss to ~8.4.12 (#452)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 12:58:36 +07:00
renovate[bot]
34f060cfc3
chore(deps): update dependency cssnano to ~5.1.7 (#451)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 12:58:26 +07:00