Commit Graph

1750 Commits

Author SHA1 Message Date
Bobby
9e4d477d09
chore: improved some README.md's 2022-06-28 08:17:02 +07:00
Bobby Wibowo
0ba41281da
chore: elaborate about pages option in config 2022-06-27 06:44:53 +07:00
Bobby Wibowo
94f076c02f
chore: pages/custom directory 2022-06-27 06:29:07 +07:00
BobbyWibowo
ac4ac73d50 dist: rebuilt client assets and bumped v1 version string 2022-06-24 03:01:52 +00:00
Bobby Wibowo
5db35a1023
ci(actions): fix sass-embedded
it seems that when caniuse-lite gets updated, sass-embedded will get
removed from cached node_modules
so we try to always re-install it perhaps
2022-06-24 10:00:56 +07:00
BobbyWibowo
4e08be96a9 dist: rebuilt client assets and bumped v1 version string 2022-06-24 02:58:38 +00:00
Bobby Wibowo
6f355e9132
chore: trigger assets rebuild 2022-06-24 09:57:36 +07:00
Bobby Wibowo
ec1dbc8d5a
chore: elaborate more about homeDomain in config 2022-06-24 09:33:59 +07:00
Bobby Wibowo
0537268e4d
fix: simplified enable_home_renders 2022-06-24 09:24:32 +07:00
Bobby Wibowo
cd77bddd86
ci: split some gulp watches 2022-06-24 09:22:32 +07:00
Bobby Wibowo
3dd056d8f3
chore: removed useless nojs logic from player.njk 2022-06-24 08:42:25 +07:00
Bobby Wibowo
af23d0dc6a
chore: README 2022-06-22 17:23:41 +07:00
Bobby Wibowo
ddb0d45676
chore: README 2022-06-22 17:20:42 +07:00
BobbyWibowo
a1dddac5f0 dist: rebuilt client assets and bumped v1 version string 2022-06-22 10:18:59 +00:00
Bobby Wibowo
784f50d9a1
chore: trigger assets rebuild 2022-06-22 17:17:57 +07:00
renovate[bot]
57d16dbe2c
chore(deps): update dependency eslint to ~8.18.0 (#522)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 17:15:32 +07:00
renovate[bot]
15b4db865b
chore(deps): update dependency browserslist to ~4.21.0 (#521)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 17:15:20 +07:00
renovate[bot]
647cf9e54f
chore(deps): update dependency cssnano to ~5.1.12 (#520)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 17:15:02 +07:00
renovate[bot]
476a6decb7
chore(deps): update dependency stylelint to ~14.9.1 (#518)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 17:14:49 +07:00
renovate[bot]
f0fb6d4994
fix(deps): update dependency systeminformation to ~5.11.21 (#517)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 17:14:39 +07:00
BobbyWibowo
55413fcfb7 dist: rebuilt client assets and bumped v1 version string 2022-06-22 10:10:20 +00:00
Bobby Wibowo
06857dff02
fix: render.js 2022-06-22 17:09:32 +07:00
Bobby Wibowo
1d29f27252
chore: .gitignore 2022-06-22 17:06:14 +07:00
Bobby Wibowo
35666dd988
chore: _globals.sample.njk 2022-06-22 17:05:09 +07:00
Bobby Wibowo
a37c9add73
ci(actions): use sass-embedded 2022-06-22 17:03:27 +07:00
BobbyWibowo
682c00a0bb dist: rebuilt client assets and bumped v1 version string 2022-06-22 09:53:33 +00:00
Bobby Wibowo
8a9f0b412f
feat: removed default home renders 2022-06-22 16:52:14 +07:00
Bobby Wibowo
8242119c99
fix: docker/README.md 2022-06-22 15:45:11 +07:00
Bobby Wibowo
b398a76564
feat: adapt docker config from upstream 2022-06-22 15:40:52 +07:00
Bobby Wibowo
f37313a84c
fix: verify database dir 2022-06-22 14:23:54 +07:00
Bobby Wibowo
6b0f03e72c
chore: updated .gitignore 2022-06-22 13:55:28 +07:00
Bobby Wibowo
66e44f5eb3
fix: relocate db scripts 2022-06-22 13:54:20 +07:00
Bobby Wibowo
409d0c4ffd
refactor: relocate db scripts 2022-06-22 13:53:01 +07:00
Bobby Wibowo
9d4c08e460
feat: some env vars support 2022-06-22 13:27:38 +07:00
Bobby Wibowo
afc58503b7
fix(deps): sqlite3 -> better-sqlite3 (WARNING)
please update your config.js file to match the change in sample config,
which is changing database.client option from sqlite3 to better-sqlite3

this should not require additional steps on your end, since knex.js
exists in between lolisafe and the database driver as an abstraction
2022-06-22 12:17:00 +07:00
BobbyWibowo
e79bb77a25 dist: rebuilt client assets and bumped v1 version string 2022-06-22 04:46:11 +00:00
Bobby Wibowo
954df13aa2
fix: better null domain fallback logic 2022-06-22 11:22:35 +07:00
Bobby Wibowo
4488f9ae8a
fix: improve migration script for docker flow 2022-06-22 11:01:27 +07:00
renovate[bot]
104d0e99c3
chore(deps): update dependency eslint to ~8.17.0 (#515)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 11:35:47 +07:00
renovate[bot]
a1270c55c6
chore(deps): update dependency browserslist to ~4.20.4 (#513)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 11:34:56 +07:00
renovate[bot]
ec89c66e16
chore(deps): update dependency eslint-plugin-n to ~15.2.3 (#514)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 11:34:48 +07:00
renovate[bot]
ca9c4bce9e
chore(deps): update dependency gulp-eslint-new to ~1.5.1 (#516)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 11:34:29 +07:00
BobbyWibowo
1face70eca dist: rebuilt client assets and bumped v1 version string 2022-06-08 14:54:56 +00:00
Bobby Wibowo
e8b7a85b8d
chore: src/js/.eslintrc.js 2022-06-08 21:53:43 +07:00
Bobby Wibowo
ac8b5068a0
fix: bump eslint to es2020
use eslint-plugin-n/no-unsupported-features rules to error out the
remaining es2020 features not available for node >=12.22.0

said rules do not yet have support for es2021/es2022
2022-06-08 21:47:30 +07:00
renovate[bot]
499c581c00
chore(deps): update dependency cssnano to ~5.1.11 (#512)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 04:29:43 +07:00
Bobby
8799189a04
feat: initiate db connection only once
db is now initiated via utilsController, and gets re-used by main
lolisafe.js script and the other controllers

this should now make sure we only have 1 active db connection pool ever

this is a pretty big refactor due to how we used to reference db,
but it should functionally be identical
2022-06-04 04:21:56 +07:00
Bobby
6768fa46f6
fix(deps): knex from ~0.21.21 to ~2.1.0 (WARNING)
turns out this fork can already proceed as-is into knex v2

WARNING: for those that fork this project and do anything significant
with database handling, please consult the following upgrade notice:
https://github.com/knex/knex/blob/master/UPGRADING.md
to see if your changes will be affected or not
** make sure to start with 0.95.0+ upgrade notice **
2022-06-04 03:57:21 +07:00
Bobby
936ce5afed
fix: bump eslint ecmaVersion to 10 (ES2019)
according to https://node.green/#ES2019, since Node 12.4.0+ already have
100% support of ES2019 features.
2022-06-04 03:49:54 +07:00
Bobby
a43eeea00a
fix(deps): multer CVE-2022-24434
https://github.com/expressjs/multer/issues/1095

https://github.com/expressjs/multer/compare/v1.4.4...v1.4.5-lts.1
2022-06-04 02:58:56 +07:00