Commit Graph

1364 Commits

Author SHA1 Message Date
renovate[bot]
abd7d4f52a
fix(deps): update dependency jszip to ~3.6.0 (#379)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 13:02:31 +07:00
renovate[bot]
8ec81cdbb0
fix(deps): update dependency express-rate-limit to ~5.2.5 (#378)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 13:01:59 +07:00
renovate[bot]
c67fb8d420
chore(deps): update dependency postcss to ~8.2.6 (#377)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 13:01:19 +07:00
renovate[bot]
d835e595dc
fix(deps): update dependency systeminformation to ~5.0.11 (#376)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 13:00:55 +07:00
Bobby Wibowo
2addbb7b65
fix: album download throws set headers errors 2021-02-12 12:33:43 +07:00
renovate[bot]
3ff139319f
chore(deps): update dependency browserslist to ~4.16.3 (#375)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-01 06:22:26 +07:00
renovate[bot]
a2775cb58f
chore(deps): update dependency eslint to ~7.19.0 (#374)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-01 06:22:18 +07:00
renovate[bot]
6bbcc12a1e
fix(deps): update dependency systeminformation to ~5.0.8 (#371)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-01 06:21:54 +07:00
renovate[bot]
5314bf22e3
fix(deps): update dependency knex to ~0.21.17 (#372)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-01 06:21:40 +07:00
BobbyWibowo
12d49b1d40 dist: rebuilt client assets and bumped v1 version string 2021-01-31 23:15:50 +00:00
Bobby Wibowo
ae6d7936c7
feat: blacklist extensions for strip tags
GIFs are known to not work without custom globally-installed libvips
with ImageMagick or GraphicsMagick support.
https://sharp.pixelplumbing.com/api-output#gif
https://sharp.pixelplumbing.com/install#custom-libvips

It's highly recommended to update your config following the changes to
the sample config file.

This also addressed a bug where images would still get recorded to DB
despite them not existing physically due to strip tags errors.
2021-02-01 06:13:37 +07:00
Bobby Wibowo
274d922b2f
refactor: simplified a regex in home.js 2021-02-01 06:08:26 +07:00
Bobby Wibowo
5a74776978
fix: thumbnails not generated with mixed case
e.g. .jpG, .JPG, .PnG, etc.

Also simplified some codes.
2021-02-01 05:23:53 +07:00
Bobby Wibowo
37076049e1
style: sort extension names in home.js 2021-02-01 05:20:47 +07:00
Bobby Wibowo
c921db7ee2
docs: better extension names parsing 2021-01-29 23:17:56 +07:00
Bobby Wibowo
631d14d887
feat: better extension names parsing
It will now preserve upper/lower/mixed case.

It will now properly preserve all tarballs (#370).
2021-01-29 23:15:24 +07:00
Bobby Wibowo
a752bb89e8
fix: added failsafe to available disk stats 2021-01-29 22:44:58 +07:00
renovate[bot]
5842793d47
fix(deps): update dependency sharp to ~0.27.1 (#368)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-29 22:38:26 +07:00
renovate[bot]
785fd40a24
fix(deps): update dependency systeminformation to ~5.0.7 (#369)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-29 22:37:53 +07:00
BobbyWibowo
6142674007 dist: rebuilt client assets and bumped v1 version string 2021-01-27 17:20:44 +00:00
Bobby Wibowo
ce1e7bb21d
feat: added max age support to newsfeed
Hardcoded to 91 days (~3 months).
2021-01-28 00:18:30 +07:00
BobbyWibowo
220ec14d83 dist: rebuilt client assets and bumped v1 version string 2021-01-27 17:07:46 +00:00
Bobby Wibowo
0b428171bb
refactor: use typeof for undefined in client-side
I didn't notice anything breaking prior to this, but just to be safe.
2021-01-28 00:06:05 +07:00
BobbyWibowo
0f1ba57737 dist: rebuilt client assets and bumped v1 version string 2021-01-27 16:52:31 +00:00
Bobby Wibowo
968494bb37
fix: systeminformation v5 breaking changes
Made the codes for stats generation a bit more readable.

Usage percentage for file systems will now properly reflect "non-root"
usage percentage in ext2/3/4 file systems.
2021-01-27 23:50:45 +07:00
renovate[bot]
51c9cd2ff4
fix(deps): update dependency systeminformation to v5 (#366)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-27 23:27:29 +07:00
BobbyWibowo
afc467b4ed dist: rebuilt client assets and bumped v1 version string 2021-01-27 16:26:37 +00:00
Bobby Wibowo
9b63eda26f
fix: bulma v0.9.2 breaking changes (proper fix) 2021-01-27 23:24:53 +07:00
BobbyWibowo
e10d99bb6f dist: rebuilt client assets and bumped v1 version string 2021-01-27 16:21:45 +00:00
Bobby Wibowo
c9d9d69204
fix: bulma v0.9.2 breaking changes 2021-01-27 23:19:39 +07:00
renovate[bot]
8acaca1c92
chore(deps): update dependency bulma to ~0.9.2 (#367)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-27 23:16:32 +07:00
renovate[bot]
34426a0a03
chore(deps): update dependency stylelint to ~13.9.0 (#365)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-27 23:13:38 +07:00
renovate[bot]
69bb761e53
fix(deps): update dependency helmet to ~4.4.1 (#364)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-27 23:13:24 +07:00
renovate[bot]
3f468c7082
fix(deps): update dependency knex to ~0.21.16 (#363)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-27 23:13:08 +07:00
renovate[bot]
4554b2a87e
chore(deps): update dependency eslint to ~7.18.0 (#362)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-27 23:12:45 +07:00
renovate[bot]
fe0781d101
chore(deps): update dependency postcss to ~8.2.4 (#359)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-27 23:12:24 +07:00
Bobby Wibowo
dd55d69612
fix: headers already sent errors 2021-01-09 03:50:03 +07:00
BobbyWibowo
9dc52774be dist: rebuilt client assets and bumped v1 version string 2021-01-08 20:22:09 +00:00
Bobby Wibowo
2838e718cd
chore: trigger dist rebuild 2021-01-09 03:20:18 +07:00
renovate[bot]
a51fdb784f
fix(deps): update dependency systeminformation to ~4.34.5 (#358)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-09 03:19:54 +07:00
renovate[bot]
4646205e32
fix(deps): update dependency systeminformation to ~4.33.8 (#352)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-09 03:18:28 +07:00
Bobby Wibowo
e5cd57f9bf
fix(deps): removed res. sqlite3/node-addon-api
Sqlite3 v5.0.1 from the previous fix(deps) commit already updated their
node-addon-api requirement to v3.

Also rebuilt entire yarn.lock file.
2021-01-09 03:15:51 +07:00
renovate[bot]
4991b92ae2
fix(deps): update dependency sqlite3 to ~5.0.1 (#357)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-09 02:56:36 +07:00
Bobby Wibowo
02a5a7312e
ci(actions): update commit message 2021-01-09 02:55:41 +07:00
BobbyWibowo
9f9debae44 AUTO: Rebuilt client assets and bumped v1 version string 2021-01-08 19:52:23 +00:00
Bobby Wibowo
f52493291a
feat: same/higher group warning when editing user
Also Object.freeze() permissions object in permissionController.
I don't think it's much to be worried about, as no "set" will be done to
it during the service's operation, but oh well, might as well.
2021-01-09 02:51:23 +07:00
BobbyWibowo
1049f51248 AUTO: Rebuilt client assets and bumped v1 version string 2021-01-08 04:31:31 +00:00
Bobby Wibowo
da112ce485
feat: 2 digits fractions for percentage in stats 2021-01-08 11:29:36 +07:00
Bobby Wibowo
81cf940160
feat: added audios count to uploads stats
As always, this uses hardcoded whitelisted audio extensions (the ones
that are also internally used for "is:audio" filter).
2021-01-08 11:22:31 +07:00
Bobby Wibowo
991d743ef0
feat: add "files in albums" to albums stats 2021-01-08 11:18:50 +07:00