Commit Graph

1219 Commits

Author SHA1 Message Date
Bobby Wibowo
ff063a5373
Simplified cache-control 2020-10-12 22:02:29 +07:00
BobbyWibowo
3129e8f5b7 AUTO: Rebuilt client assets and bumped v1 version string 2020-10-11 10:33:49 +00:00
Bobby Wibowo
22e6c2c3c6
Updated
Replaced all Array.concat() with spread operator and/or push().
Fixed some faulty search logics when using exclusion filters.
Fixed capitalization of mac font in _variables.scss. Stylelint somehow
fricked up again in my previous commit.
2020-10-11 17:32:22 +07:00
BobbyWibowo
2017b149da AUTO: Rebuilt client assets and bumped v1 version string 2020-10-02 16:55:35 +00:00
Bobby Wibowo
59fa4824d2
Updated _variables.scss
File extension change since bulma v0.9.1
2020-10-02 23:54:41 +07:00
BobbyWibowo
90583e1f3b AUTO: Rebuilt client assets and bumped v1 version string 2020-10-02 16:53:22 +00:00
Bobby Wibowo
f211a39aef
Cleaned up dashboard.js 2020-10-02 23:52:15 +07:00
renovate[bot]
aa5e5ce87b
Update dependency bulma to ~0.9.1 (#277)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-02 23:25:47 +07:00
renovate[bot]
991a229050
Update dependency systeminformation to ~4.27.6 (#279)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-02 23:23:41 +07:00
Bobby Wibowo
57207493a2
Fixed setContentDisposition throwing errors 2020-10-02 04:58:35 +07:00
BobbyWibowo
b589e070d8 AUTO: Rebuilt client assets and bumped v1 version string 2020-10-01 21:36:08 +00:00
Bobby Wibowo
3c1f0996a3
Updated dashboard.js
It's a bit eh, but it works.
This should finally fix active sidebar menus getting deactivated in
certain conditions and all that kinda jazz.
2020-10-02 04:34:44 +07:00
renovate[bot]
22cd89779d
Update dependency postcss to ~8.1.1 (#278)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-02 04:06:06 +07:00
renovate[bot]
cbd0142dc5
Update dependency knex to ~0.21.6 (#275)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-02 03:00:16 +07:00
renovate[bot]
530245aac8
Update dependency eslint-plugin-import to ~2.22.1 (#276)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-02 02:59:16 +07:00
renovate[bot]
9b2721dfc8
Update dependency postcss to ~8.1.0 (#272)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-27 08:11:37 +07:00
Bobby Wibowo
50dc747984
Bug fixed the new collision check
Geez.
2020-09-27 08:04:41 +07:00
Bobby Wibowo
e0901baa8b
Added postcss as an actual dev dependency
This is required since gulp-postcss no longer has postcss as an explicit
dependency since v9.
2020-09-27 06:17:56 +07:00
renovate[bot]
64e66e4b9a
Update dependency gulp-postcss to v9 (#271)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-27 06:08:28 +07:00
renovate[bot]
0580c374b9
Update dependency node-addon-api to v2.0.2 (#269)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-27 06:04:09 +07:00
Bobby Wibowo
b15a0a6d6d
Updated renovate.json 2020-09-27 05:58:17 +07:00
renovate[bot]
c4a9a43283
Add renovate.json (#267)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-27 05:42:35 +07:00
Bobby Wibowo
ce599aea19
Updated config.sample.js
It was weird to have both cacheFileIdentifiers and
queryDbForFileCollisions enabled by default.
2020-09-27 05:24:48 +07:00
Bobby Wibowo
ea15b145b1
Added alt stricter file name collision checks 2020-09-27 05:18:42 +07:00
Bobby Wibowo
b7399d2d8d
Updated dependencies
helmet: 4.1.0 -> 4.1.1
sharp: 0.26.0 -> 0.26.1
systeminformation: 4.27.3 -> 4.27.5

dev dependencies:
browserslist: 4.14.1 -> 4.14.5
del: 5.1.0 -> 6.0.0
stylelint: 13.7.0 -> 13.7.2

No client assets rebuild needed.
2020-09-27 04:43:35 +07:00
Bobby Wibowo
c8a5f7be16
Added setContentDisposition option
Resolves #192

This added 2 new dependencies:
content-disposition
BobbyWibowo/serve-static

content-disposition:
This has fallback generation for file names that are outside ISO-8859-1.
Plus it was already a sub-dependency due to express to begin with.

BobbyWibowo/serve-static:
A fork of express/serve-static to allow specifying an async setHeaders
function by the name preSetHeaders, that will be awaited before
creating send stream to clients.
2020-09-27 04:33:42 +07:00
Bobby Wibowo
a79117f893
Updated .gitignore 2020-09-27 03:22:31 +07:00
Bobby Wibowo
67a69bf4e2
Cleaned multerStorageController.js 2020-09-27 03:20:32 +07:00
BobbyWibowo
8e5e6ce018 AUTO: Rebuilt client assets and bumped v1 version string 2020-09-08 12:05:04 +00:00
Bobby Wibowo
c113184385
Improved disk usage entry in statistics
Now will calculate usage as (total - avail).
In Linux, ext filesystems by default reserves 5% of the space to be
usable by root, making them essentially already "used" space.
Originally we didn't take that into account.

Disk usage percentage will now round down: Math.round() -> Math.floor().
The general behavior in other tools such as "df".
2020-09-08 19:04:12 +07:00
BobbyWibowo
0cac4a947f AUTO: Rebuilt client assets and bumped v1 version string 2020-09-07 16:10:09 +00:00
Bobby Wibowo
6b2b8e9b0e
Updated dependencies
node-fetch: 2.6.0 -> 2.6.1 (security)

browserslist: 4.14.0 -> 4.14.1
stylelint: 13.6.1 -> 13.7.0

Obligatory bump to versions.json as this commit requires rebuilding
client assets (dev dependencies updates affect style.css).
As usual, rebuilds will be in the next commit by the build bot.
2020-09-07 23:08:53 +07:00
Bobby Wibowo
a34fa97084
Updated dependencies
sharp: 0.25.4 -> 0.26.0
systeminformation: 4.26.11 -> 4.27.3

gulp-terser: 1.3.2 -> 1.4.0
2020-08-28 05:24:42 +07:00
BobbyWibowo
6bcde5a86b AUTO: Rebuilt client assets and bumped v1 version string 2020-08-24 05:36:40 +00:00
Bobby Wibowo
8214c70ce7
Obligatory commit to test automation 2020-08-24 12:35:49 +07:00
Bobby Wibowo
7202c2d20c
Updated build.yml again 2020-08-24 12:34:28 +07:00
Bobby Wibowo
01c51001ba
Updated build.yml 2020-08-24 12:32:54 +07:00
BobbyWibowo
0e9d5328e3 Rebuilt client assets and bumped v1 version string 2020-08-24 01:25:08 +00:00
Bobby Wibowo
a2f544db99
Updated dashboard.js
FIX: Directly jumping to N page from pagination caused the menu item in
sidebar (e.g. Manage users) to be inactive.
2020-08-24 08:24:13 +07:00
BobbyWibowo
c08785dc5f Rebuilt client assets and bumped v1 version string 2020-08-24 01:09:31 +00:00
Bobby Wibowo
65847232c4
Added "time taken" info for Statistics menu 2020-08-24 08:08:21 +07:00
BobbyWibowo
1c7bff20d9 Rebuilt client assets and bumped v1 version string 2020-08-22 19:23:01 +00:00
Bobby Wibowo
f3d6a90a0b
Updated dashboard.js and home.js again 2020-08-23 02:22:03 +07:00
BobbyWibowo
001e741a08 Rebuilt client assets and bumped v1 version string 2020-08-22 19:21:14 +00:00
Bobby Wibowo
d1663b7c50
Updated home.js 2020-08-23 02:20:26 +07:00
BobbyWibowo
25fd9186c8 Rebuilt client assets and bumped v1 version string 2020-08-21 18:40:05 +00:00
Bobby Wibowo
0b27babb31
Refactored "hhmmss" -> "uptime" 2020-08-22 01:39:04 +07:00
BobbyWibowo
6fb234984a Rebuilt client assets and bumped v1 version string 2020-08-21 18:36:27 +00:00
Bobby Wibowo
41fb14e865
Added system & node uptime to Statistics menu
src/js/misc/utils.js: Added page.getPrettyUptime().

Updated dependency:
helmet: 3.23.3 -> 4.1.0

lolisafe.js: Disabled CSP by default.
Since helmet 4, CSP would instead be enabled by default.
2020-08-22 01:35:30 +07:00
Bobby Wibowo
52bc0a7db2
Updated some dependencies
knex: 0.21.2 -> 0.21.5
systeminformation: 4.26.10 -> 4.26.11

browserslist: 4.13.0 -> 4.14.0
gulp-terser: 1.2.1 -> 1.3.2
2020-08-22 01:01:22 +07:00