Commit Graph

1733 Commits

Author SHA1 Message Date
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
renovate[bot]
ee952fd0eb
chore(deps): update dependency stylelint-config-standard-scss to v4 (#507)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 02:51:43 +07:00
renovate[bot]
676e512ac9
chore(deps): update dependency postcss-preset-env to ~7.7.1 (#511)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 02:50:52 +07:00
renovate[bot]
289b7dbaee
chore(deps): update dependency cssnano to ~5.1.10 (#508)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 02:49:55 +07:00
renovate[bot]
b69d34a232
chore(deps): update dependency eslint-plugin-n to ~15.2.1 (#509)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 02:49:08 +07:00
renovate[bot]
0c9d6f645e
chore(deps): update dependency stylelint to ~14.8.5 (#505)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 02:47:42 +07:00
renovate[bot]
a2e8645a63
chore(deps): update dependency del to ~6.1.1 (#504)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 02:47:25 +07:00
renovate[bot]
d638c8c3df
fix(deps): update dependency systeminformation to ~5.11.16 (#510)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 02:47:15 +07:00
renovate[bot]
e12ff90ed2
fix(deps): update dependency sharp to ~0.30.6 (#506)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 02:35:12 +07:00
BobbyWibowo
1cd9894333 dist: rebuilt client assets and bumped v1 version string 2022-05-27 06:46:02 +00:00
Bobby
b2a11ae42c
feat: added loop button to video.js player 2022-05-27 13:44:46 +07:00
Bobby
7d2e2d97e0
feat: use fontello for video.js seek buttons 2022-05-27 13:44:22 +07:00
BobbyWibowo
0d6323053f dist: rebuilt client assets and bumped v1 version string 2022-05-27 06:37:44 +00:00
Bobby
ab94bf1c38
feat: added 3 new icons to fontello
fast forward, fast backward, clockwise/loop/repeat
2022-05-27 13:36:24 +07:00
Bobby
80696c80d7
feat: use sass-embedded to compile if available
this requires locally linking your globally-installed sass-embedded
package, either through yarn link or whichever else

we are not requiring it explicitly because supposedly the binaries
are not widely available through all platforms

e.g.
yarn global add sass-embedded
cd ~/.config/yarn/global/node_modules/sass-embedded
yarn link
cd /path/to/this/project
yarn link sass-embedded

actually symlinking via generic ln -s would do too, but the method above
allows you to yarn link it into other projects, while maintaining
the package itself via yarn global (to update, etc.)
2022-05-27 13:26:19 +07:00
BobbyWibowo
832ce2df5c dist: rebuilt client assets and bumped v1 version string 2022-05-27 05:43:07 +00:00
Bobby
7c44e9dbb8
fix: align src/libs/fontello.css with stylelint 2022-05-27 12:41:53 +07:00
Bobby
48a22b9271
chore: re-include src/libs to stylelint 2022-05-27 12:40:53 +07:00