Commit Graph

433 Commits

Author SHA1 Message Date
renovate[bot]
4469ef50ab
chore(deps): update dependency stylelint-config-standard-scss to v5 (#538)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-16 02:08:49 +07:00
renovate[bot]
6c1500e5dc
chore(deps): update dependency browserslist to ~4.21.2 (#535)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-16 02:07:29 +07:00
renovate[bot]
3409a0ccab
fix(deps): update dependency better-sqlite3 to ~7.6.1 (#536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-16 02:07:18 +07:00
Bobby
bdbd78bad1
fix(deps): update hyper-express to ~6.3.0 2022-07-15 00:29:54 +07:00
Bobby Wibowo
edbb6ef9f0
fix(deps): update hyper-express to ~6.2.6 2022-07-14 14:13:42 +07:00
Bobby Wibowo
7f9d05da26
feat: multer -> hyper-express multipartfield
get outta here multer, lmao
2022-07-12 13:07:13 +07:00
Bobby Wibowo
8f2a8400ea
chore: bump minimum node version to 14+ 2022-07-12 10:32:09 +07:00
Bobby Wibowo
3ce3547d15
chore(deps): standardize some deps version strings 2022-07-12 08:57:18 +07:00
Bobby Wibowo
4f540223ae
chore(deps): update systeminformation to ~5.11.25 2022-07-12 08:56:56 +07:00
Bobby Wibowo
c95173b323
fix(deps): update hyper-express to ~6.2.5
this fixes headers can have duplicates
2022-07-12 08:56:24 +07:00
Bobby Wibowo
79631ce624
feat: RateLimiter custom middleware class
this adds new production dependency rate-limiter-flexible

this deprecates old rateLimits option in config

to use the new rate limiters, the new option is named rateLimiters and
rateLimitersWhitelist
please consult config.sample.js

rate limiters will also be now processed before any other middlewares,
as only makes sense
2022-07-12 08:48:09 +07:00
Bobby Wibowo
1727499bb1
chore(deps): remove @bobbywibowo/serve-static
said library doesn't really work out of the box with hyper-express

i tried modifying my fork, but it really didn't go well
most likely the required underlying internals are just too different
2022-07-12 06:31:03 +07:00
Bobby Wibowo
5800ec2ad6
feat: init safe.fiery.me-feat/hyper-express 2022-07-10 19:43:26 +07:00
renovate[bot]
3dfb0bec37
chore(deps): update dependency eslint to ~8.19.0 (#532)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-10 11:56:59 +07:00
renovate[bot]
dcd7e42734
chore(deps): update dependency eslint-plugin-n to ~15.2.4 (#531)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-10 11:56:42 +07:00
renovate[bot]
b99253e78b
chore(deps): update dependency browserslist to ~4.21.1 (#529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-10 11:56:22 +07:00
renovate[bot]
112cc7c4f1
fix(deps): update dependency systeminformation to v5.11.23 (#530)
https://github.com/sebhildebrandt/systeminformation/issues/705

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-10 11:56:05 +07:00
Bobby Wibowo
ab96bd5d99
feat: queue cloudflare purge cache with fastq 2022-06-29 17:52:16 +07:00
Bobby Wibowo
3d2651f07b
fix(deps): temp bind systeminformation@5.11.20
https://github.com/sebhildebrandt/systeminformation/issues/705
2022-06-29 15:47:37 +07:00
renovate[bot]
e55be5ee0a
fix(deps): update dependency sharp to ~0.30.7 (#524)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-28 12:59:13 +07:00
renovate[bot]
bdd17ba103
chore(deps): update dependency postcss-preset-env to ~7.7.2 (#523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-28 12:57:41 +07:00
renovate[bot]
8da197166d
fix(deps): update dependency systeminformation to ~5.11.22 (#525)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-28 12:57:27 +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
Bobby Wibowo
409d0c4ffd
refactor: relocate db scripts 2022-06-22 13:53:01 +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
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
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
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
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
renovate[bot]
011bc0cb89
fix(deps): update dependency jszip to ~3.10.0 (#501)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:46:56 +07:00
renovate[bot]
dc8684d7ff
chore(deps): update dependency postcss-preset-env to ~7.6.0 (#499)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:46:44 +07:00
renovate[bot]
d510a4fc4d
fix(deps): update dependency helmet to ~5.1.0 (#500)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:45:32 +07:00
renovate[bot]
ed12ad1274
chore(deps): update dependency stylelint to ~14.8.3 (#498)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:44:54 +07:00
renovate[bot]
6187425c23
chore(deps): update dependency del to ~6.1.0 (#497)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:41:20 +07:00
renovate[bot]
415bb48d96
chore(deps): update dependency gulp-eslint-new to ~1.4.4 (#495)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:41:11 +07:00
renovate[bot]
392c3955f8
chore(deps): update dependency postcss to ~8.4.14 (#496)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:39:35 +07:00
renovate[bot]
008fb56671
chore(deps): update dependency cssnano to ~5.1.9 (#494)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:39:05 +07:00
renovate[bot]
3cb0c8eaf5
chore(deps): update dependency eslint to ~8.16.0 (#492)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:38:55 +07:00
renovate[bot]
b1de2a40d8
fix(deps): update dependency systeminformation to ~5.11.15 (#491)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:38:41 +07:00
renovate[bot]
b13af979c6
chore(deps): update dependency bulma to ~0.9.4 (#490)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:38:21 +07:00
Bobby
851eaacd8e
fix(deps): @bobbywibowo/serve-static v0.18.0-alpha
align to versions used in express@4.18.1

additionally no longer always require() the package even when not needed
2022-05-08 13:03:24 +07:00
renovate[bot]
4d4dffc5ae
fix(deps): update dependency express to ~4.18.1 (#485)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 02:13:05 +07:00
renovate[bot]
247fdce962
chore(deps): update dependency stylelint to ~14.8.2 (#484)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 02:11:09 +07:00
renovate[bot]
4eb54b93c1
fix(deps): update dependency express-rate-limit to ~6.4.0 (#486)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 02:10:58 +07:00
renovate[bot]
e5f3809424
chore(deps): update dependency postcss-preset-env to ~7.5.0 (#483)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 02:07:36 +07:00
renovate[bot]
829b076b1e
chore(deps): update dependency eslint-plugin-n to ~15.2.0 (#482)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 02:06:38 +07:00
renovate[bot]
2f01088d78
chore(deps): update dependency eslint to ~8.14.0 (#481)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 02:06:28 +07:00
Bobby
b4e32a6001
fix: removed readline dependency
it was honestly never supposed to be written that way
but i very rarely used it so i never noticed

the actual readline module that we use is a node core module
https://nodejs.org/docs/latest-v12.x/api/readline.html#readline_readline_createinterface_options

additionally improved its formatting and whatnot
2022-05-07 01:35:07 +07:00
renovate[bot]
52c121721b
fix(deps): update dependency sqlite3 to ~5.0.8 (#480)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 00:59:32 +07:00
renovate[bot]
cd4ee101ef
chore(deps): update dependency postcss to ~8.4.13 (#479)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 00:58:25 +07:00
Bobby
7dd4f50e9e
feat: allow markdown in album description 2022-05-05 12:55:21 +07:00
renovate[bot]
51d4bf954a
chore(deps): update dependency browserslist to ~4.20.3 (#475)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 06:46:51 +07:00
renovate[bot]
53f51de2bc
fix(deps): update dependency systeminformation to ~5.11.14 (#478)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 06:42:59 +07:00
renovate[bot]
51f0f4db3b
chore(deps): update dependency postcss-preset-env to ~7.4.4 (#476)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 06:42:17 +07:00
renovate[bot]
e34e0e18bd
fix(deps): update dependency sqlite3 to ~5.0.6 (#477)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 06:41:58 +07:00
renovate[bot]
2522b1a10f
fix(deps): update dependency sharp to ~0.30.4 (#473)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 02:58:10 +07:00
renovate[bot]
a80db00116
fix(deps): update dependency sqlite3 to ~5.0.5 (#474)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 02:56:09 +07:00
renovate[bot]
50327903a0
chore(deps): update dependency eslint-config-standard to ~17.0.0 (#471)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 02:53:47 +07:00
renovate[bot]
7f6fcf3833
chore(deps): update dependency stylelint to ~14.7.1 (#472)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 02:53:01 +07:00
renovate[bot]
fff5ebbdd4
chore(deps): update dependency stylelint to ~14.7.0 (#469)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-16 13:36:32 +07:00
renovate[bot]
42c8a3e06c
fix(deps): update dependency helmet to v5 (#462)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 14:17:51 +07:00
renovate[bot]
b00a376c63
chore(deps): update dependency postcss-preset-env to ~7.4.3 (#463)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 14:17:23 +07:00
renovate[bot]
decb6578d9
fix(deps): update dependency body-parser to ~1.20.0 (#465)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 14:16:24 +07:00
renovate[bot]
28ba5834ea
fix(deps): update dependency express-rate-limit to v6 (#461)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 14:11:47 +07:00
renovate[bot]
da2348be09
fix(deps): update dependency clamscan to v2 (#460)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 14:06:39 +07:00
renovate[bot]
e1a6df0c17
fix(deps): update dependency jszip to ~3.9.1 (#466)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 14:00:50 +07:00
Bobby
71e4c928ba
feat: transition to eslint v8 environment 2022-04-15 13:40:22 +07:00
Bobby
44cd9c3653
fix: set minimum node version to 12.22.0
in preparation to transition to eslint 8
2022-04-15 13:39:41 +07:00
Bobby
f75050f1cf
fix(deps): update dependency sqlite3 to ~5.0.3 2022-04-15 13:07:33 +07:00
renovate[bot]
8d97d5cdd8
chore(deps): update dependency postcss to ~8.4.12 (#452)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 12:58:36 +07:00
renovate[bot]
34f060cfc3
chore(deps): update dependency cssnano to ~5.1.7 (#451)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 12:58:26 +07:00
renovate[bot]
22e4a73a37
chore(deps): update dependency stylelint to ~14.6.1 (#458)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 12:57:53 +07:00
renovate[bot]
79373b8038
fix(deps): update dependency multer to ~1.4.4 (#453)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 12:57:42 +07:00
renovate[bot]
f74d6a8808
fix(deps): update dependency randomstring to ~1.2.2 (#454)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 12:57:28 +07:00
renovate[bot]
5adcf18f1b
chore(deps): update dependency browserslist to ~4.20.2 (#456)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 12:57:08 +07:00
renovate[bot]
730689d819
fix(deps): update dependency sharp to ~0.30.3 (#457)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 12:56:52 +07:00
renovate[bot]
abc29768de
fix(deps): update dependency systeminformation to ~5.11.9 (#455)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 12:56:16 +07:00
renovate[bot]
69bea5ecee
fix(deps): update dependency express to ~4.17.3 (#449)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 06:52:29 +07:00
Bobby
2495a25ca9
fix(deps): get rid of fibers 2022-03-09 06:44:23 +07:00
renovate[bot]
f67a4c8539
fix(deps): update dependency content-disposition to ~0.5.4 (#448)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 06:36:52 +07:00
renovate[bot]
0600d60976
fix(deps): update dependency body-parser to ~1.19.2 (#447)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 06:36:37 +07:00
Bobby
06d79a646b
feat: use chokidar with nunjucks during dev
to make nunjucks recompiles templates only when it detects changes,
as opposed to compiling everytime due to not using caching.

reminder that this is NOT a live reload feature!
2022-03-07 01:41:10 +07:00
Bobby
3050de43c4
fix(deps): @bobbywibowo/serve-static
the fork is now named under @bobbywibowo tag to allow it co-existing
with upstream version within the same scope if required

it and @bobbywibowo/send have also been aligned with their respective
latest master commits as of this commit date
2022-03-04 02:57:21 +07:00
Bobby
86dc408ee4
fix(deps): update dependency node-fetch to ~2.6.7 2022-03-03 19:39:47 +07:00
Bobby
7194f0c838
feat: transition to stylelint v14 environment
stylelint: 13 -> 14
postcss-preset-env: 6 -> 7
eslint-plugin-compat: 3 -> 4

replaced stylelint-config-standard with
stylelint-config-standard-scss

switched to @ronilaukkarinen/gulp-stylelint, a fork of gulp-stylelint,
due to the upstream's maintainer going missing

temporarily disabled some stylelint rules to ease transition
2022-03-03 18:44:43 +07:00