1269 Commits (master)
 

Author SHA1 Message Date
Kody 820363c473 Merge remote-tracking branch 'upstream/safe.fiery.me'
Note: sqlite3 JS dep version is currently fixed as there was no binary available during build
2 years ago
renovate[bot] 3ff139319f
chore(deps): update dependency browserslist to ~4.16.3 (#375)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2 years ago
renovate[bot] a2775cb58f
chore(deps): update dependency eslint to ~7.19.0 (#374)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2 years ago
renovate[bot] 6bbcc12a1e
fix(deps): update dependency systeminformation to ~5.0.8 (#371)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2 years ago
renovate[bot] 5314bf22e3
fix(deps): update dependency knex to ~0.21.17 (#372)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2 years ago
BobbyWibowo 12d49b1d40 dist: rebuilt client assets and bumped v1 version string 2 years ago
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.
2 years ago
Bobby Wibowo 274d922b2f
refactor: simplified a regex in home.js 2 years ago
Bobby Wibowo 5a74776978
fix: thumbnails not generated with mixed case
e.g. .jpG, .JPG, .PnG, etc.

Also simplified some codes.
2 years ago
Bobby Wibowo 37076049e1
style: sort extension names in home.js 2 years ago
Bobby Wibowo c921db7ee2
docs: better extension names parsing 2 years ago
Bobby Wibowo 631d14d887
feat: better extension names parsing
It will now preserve upper/lower/mixed case.

It will now properly preserve all tarballs (#370).
2 years ago
Bobby Wibowo a752bb89e8
fix: added failsafe to available disk stats 2 years ago
renovate[bot] 5842793d47
fix(deps): update dependency sharp to ~0.27.1 (#368)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2 years ago
renovate[bot] 785fd40a24
fix(deps): update dependency systeminformation to ~5.0.7 (#369)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2 years ago
BobbyWibowo 6142674007 dist: rebuilt client assets and bumped v1 version string 2 years ago
Bobby Wibowo ce1e7bb21d
feat: added max age support to newsfeed
Hardcoded to 91 days (~3 months).
2 years ago
BobbyWibowo 220ec14d83 dist: rebuilt client assets and bumped v1 version string 2 years ago
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.
2 years ago
BobbyWibowo 0f1ba57737 dist: rebuilt client assets and bumped v1 version string 2 years ago
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.
2 years ago
renovate[bot] 51c9cd2ff4
fix(deps): update dependency systeminformation to v5 (#366)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2 years ago
BobbyWibowo afc467b4ed dist: rebuilt client assets and bumped v1 version string 2 years ago
Bobby Wibowo 9b63eda26f
fix: bulma v0.9.2 breaking changes (proper fix) 2 years ago
BobbyWibowo e10d99bb6f dist: rebuilt client assets and bumped v1 version string 2 years ago
Bobby Wibowo c9d9d69204
fix: bulma v0.9.2 breaking changes 2 years ago
renovate[bot] 8acaca1c92
chore(deps): update dependency bulma to ~0.9.2 (#367)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2 years ago
renovate[bot] 34426a0a03
chore(deps): update dependency stylelint to ~13.9.0 (#365)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2 years ago
renovate[bot] 69bb761e53
fix(deps): update dependency helmet to ~4.4.1 (#364)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2 years ago
renovate[bot] 3f468c7082
fix(deps): update dependency knex to ~0.21.16 (#363)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2 years ago
renovate[bot] 4554b2a87e
chore(deps): update dependency eslint to ~7.18.0 (#362)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2 years ago
renovate[bot] fe0781d101
chore(deps): update dependency postcss to ~8.2.4 (#359)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2 years ago
Bobby Wibowo dd55d69612
fix: headers already sent errors 2 years ago
BobbyWibowo 9dc52774be dist: rebuilt client assets and bumped v1 version string 2 years ago
Bobby Wibowo 2838e718cd
chore: trigger dist rebuild 2 years ago
renovate[bot] a51fdb784f
fix(deps): update dependency systeminformation to ~4.34.5 (#358)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2 years ago
renovate[bot] 4646205e32
fix(deps): update dependency systeminformation to ~4.33.8 (#352)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2 years ago
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.
2 years ago
renovate[bot] 4991b92ae2
fix(deps): update dependency sqlite3 to ~5.0.1 (#357)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2 years ago
Bobby Wibowo 02a5a7312e
ci(actions): update commit message 2 years ago
BobbyWibowo 9f9debae44 AUTO: Rebuilt client assets and bumped v1 version string 2 years ago
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.
2 years ago
BobbyWibowo 1049f51248 AUTO: Rebuilt client assets and bumped v1 version string 2 years ago
Bobby Wibowo da112ce485
feat: 2 digits fractions for percentage in stats 2 years ago
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).
2 years ago
Bobby Wibowo 991d743ef0
feat: add "files in albums" to albums stats 2 years ago
Bobby Wibowo defa3f2a8c
perf: skip checking zips on disk for album stats
Closes #353.
2 years ago
BobbyWibowo afa09b0312 AUTO: Rebuilt client assets and bumped v1 version string 2 years ago
Bobby Wibowo 6b804e2c9d
style: removed throw/cb literal lint rules 2 years ago
Bobby Wibowo 452542ca36
refactor: Client/ServerError on tokenController 2 years ago