Commit Graph

1142 Commits

Author SHA1 Message Date
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
Bobby Wibowo
022c786008
Fixed typos in sample nginx conf files 2020-08-22 00:46:11 +07:00
Bobby Wibowo
d706c07ac1
Merge branch 'null31-safe.fiery.me' into safe.fiery.me 2020-08-21 23:44:17 +07:00
null31
440107e58a
Improved the image creation and reduced final size from 718MB to 241MB. 2020-08-21 12:35:16 -03:00
null31
d042fc5810
Ignore .git and .github directories when run dockerfile copy command. 2020-08-21 12:17:15 -03:00
Bobby Wibowo
954a6fa4b4
Added remarks about github actions to README.md 2020-07-30 06:11:02 +07:00
Bobby Wibowo
ef2f682cf1
Updated actions build script to use node 12.x
Also slightly rephrased README.md.

I forgot I've switched to 12.x on both my dev PC and production server.
2020-07-30 06:03:45 +07:00
BobbyWibowo
855c76a792 Rebuilt client assets and bumped v1 version string 2020-07-29 22:12:17 +00:00
Bobby Wibowo
425a32a501
Updated _variables.scss 2020-07-30 05:10:43 +07:00
Bobby Wibowo
df9887386a
Merge branch 'camjac251-camjac251-build-action' into safe.fiery.me
Also updated bump-versions.js to NOT require utilsController.js.
This is required to make sure GitHub runner can execute the script
without config.js existing in root directory.
To begin with the script don't particularly need anything much from the
said controller.
2020-07-30 05:09:08 +07:00
camjac251
3646721fb9
Add action for automatic lint/building of static resources
This will run the yarn build every time a file is modified in the /src folder. It will hopefully reduce the steps needed for developing.
2020-07-28 18:12:40 -05:00
Bobby Wibowo
34d3601c30
Transitioned styling to Sass
Added new dev dependencies:
bulma, gulp-sass, node-sass

Updated some dependencies

Various other things related to styling

Bumped v1 version string and rebuilt client assets
2020-07-28 21:47:48 +07:00
Bobby Wibowo
3c2abcfadd
Improvements to newsfeed.js
Cleaned up some CSS

Bumped v1 version string and rebuilt client assets
2020-07-28 16:44:04 +07:00
Bobby Wibowo
541c1da5a6
Updated cookiepolicy.njk 2020-07-28 16:04:29 +07:00
Bobby Wibowo
6daa1e529e
Added src/js/misc/newsfeed.js
A small script to pull feed from blog.fiery.me as news thingy.
2020-07-28 03:46:15 +07:00
Bobby Wibowo
08db3e55a8
Allow sorting by original names 2020-07-25 16:39:04 +07:00
Bobby Wibowo
63330bdc3f
sqlite3/node-addon-api 2.0.0 -> 2.0.1 2020-07-19 19:03:07 +07:00
Bobby Wibowo
24ed7c48bb
Updated dashboard.js
Bumped v1 version string
2020-07-19 18:26:44 +07:00
Bobby Wibowo
a200f81fd5
Updated dependencies
Rebuilt client assets and bumped v1 version string
2020-07-19 18:23:33 +07:00
Bobby Wibowo
09d82ede4f
Merge branch 'evanmn-safe.fiery.me' into safe.fiery.me 2020-07-03 22:56:34 +07:00
Bobby Wibowo
69664b05c2
Clean ups 2020-07-03 22:55:43 +07:00
evanmn
c8817ec8aa
Update Dockerfile 2020-07-03 22:50:24 +07:00
evanmn
732661ff02
Update docker-compose.yaml 2020-07-03 22:50:24 +07:00
evanmn
603c9f54e2
Update config.sample.js 2020-07-03 22:50:24 +07:00
Evan McCarthy
8ea0e491cd
add docker-compose stack 2020-07-03 22:50:24 +07:00
evanmn
f95cb64d7e
Update Dockerfile 2020-07-03 22:50:06 +07:00
Evan McCarthy
334c2ab736
add config 2020-07-03 22:49:53 +07:00
Evan McCarthy
cbed540ff2
fix docker 2020-07-03 22:49:53 +07:00