Commit Graph

373 Commits

Author SHA1 Message Date
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