Bobby
be3bc41c66
fix(deps): update hyper-express to ~6.4.9
2022-09-21 09:03:13 +07:00
Bobby
47727f3ca8
feat: allow specifying api token in nojs uploader
2022-09-21 08:03:28 +07:00
Bobby
7147afc309
feat: better props override for auth helepr functs
2022-09-21 08:02:13 +07:00
Bobby
ffe6d6ed88
feat: console log incoming requests on dev mode
2022-09-21 07:44:40 +07:00
Bobby
bf077f4aa3
fix: typos in ServeStatic.js
2022-09-21 06:09:27 +07:00
Bobby
ff6bb9dacb
feat: hide no-js page link from faq if disabled
2022-09-21 05:55:26 +07:00
Bobby
0cb02a5c6c
feat: allow disabling built-in routes
...
intenteded for more advanced users
more of a shortcut, since they could always edit the codes themselves
please consult comments in sample config file
2022-09-21 05:53:45 +07:00
BobbyWibowo
4b55f33243
dist: rebuilt client assets and bumped v1 version string
2022-09-19 00:14:14 +00:00
Bobby
db03240d06
feat: show file's upload date in album pages
2022-09-19 07:13:09 +07:00
BobbyWibowo
ff397fbf28
dist: rebuilt client assets and bumped v1 version string
2022-09-17 04:38:38 +00:00
Bobby
3b3ae0b60b
chore: trigger assets rebuild
2022-09-17 11:37:14 +07:00
renovate[bot]
9766707c62
chore(deps): update dependency gulp-eslint-new to ~1.6.0 ( #582 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-17 11:34:42 +07:00
renovate[bot]
a7f6c8a4e1
fix(deps): update dependency rate-limiter-flexible to ~2.3.10 ( #581 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-17 11:33:55 +07:00
renovate[bot]
5bbd1d16e9
chore(deps): update dependency browserslist to ~4.21.4 ( #577 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-17 11:31:34 +07:00
renovate[bot]
75d9272421
chore(deps): update dependency eslint to ~8.23.1 ( #578 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-17 11:30:53 +07:00
renovate[bot]
6dde5be4ff
chore(deps): update dependency postcss-preset-env to ~7.8.2 ( #579 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-17 11:30:29 +07:00
Bobby
03fce89b0c
feat(deps): update hyper-express to ~6.4.8
...
consult https://github.com/kartikk221/hyper-express/releases for all the
changes thus far since 6.4.2
2022-09-17 11:29:24 +07:00
Bobby
ecaa272a3d
revert(deps): restore hyper-express@6.4.2
...
https://github.com/kartikk221/hyper-express/discussions/115
kekw..
2022-09-14 13:53:26 +07:00
renovate[bot]
6f2d87353b
fix(deps): update dependency helmet to v6 ( #572 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-14 10:33:27 +07:00
Bobby
a470803475
feat(deps): update hyper-express to ~6.4.7
...
Issues I linked in PR #565 has now been fixed in hyper-express@6.4.7
Closes #565
2022-09-14 10:28:40 +07:00
Bobby
cc5625fabf
fix: url upload fetch timeout failsafe
2022-09-14 06:04:18 +07:00
Bobby
93dc820368
feat: fetch() with AbortController for timeout
...
to be used with URL uploads
please consult the comments in the source files
this adds new dependency abort-controller
2022-09-14 01:33:31 +07:00
renovate[bot]
234fd0c0a5
fix(deps): update dependency rate-limiter-flexible to ~2.3.9 ( #574 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-10 18:23:54 +07:00
renovate[bot]
46fb2b5c0b
chore(deps): update dependency postcss-preset-env to ~7.8.1 ( #573 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-10 18:23:41 +07:00
renovate[bot]
7894ba3fb2
chore(deps): update dependency eslint-plugin-n to ~15.2.5 ( #567 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 13:28:14 +07:00
renovate[bot]
deedcd3c54
chore(deps): update dependency eslint-plugin-promise to ~6.0.1 ( #568 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 13:26:42 +07:00
renovate[bot]
c6e98bafd8
chore(deps): update dependency eslint to ~8.23.0 ( #569 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 13:26:32 +07:00
renovate[bot]
cf3c52c7b4
chore(deps): update dependency stylelint to ~14.11.0 ( #570 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 13:26:13 +07:00
renovate[bot]
3d77e01b5f
fix(deps): update dependency knex to ~2.3.0 ( #571 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 13:25:14 +07:00
Bobby
7f7f21862d
chore: update README.md
2022-08-29 08:25:08 +07:00
Bobby
3df67f87be
feat: timeout url uploads to 10s
...
uwebsockets.js has a 10s timeout of no communication between client and
server, for it to simply drop the connection
there's no point waiting any further at that point since we can't reply
to client anymore
2022-08-24 04:37:13 +07:00
Bobby
6ad8ed7ae6
fix: only accept files upload with files[] field
...
was always supposed to only accept said field, but i forgot to include
the logic during migration from expressjs to hyper-express
2022-08-24 04:17:07 +07:00
Bobby
14a340922c
fix: remove node: prefix in require()
...
this feature was only later backported to v14.18.0, meanwhile we want to
support the whole v14.x version range
2022-08-24 04:02:37 +07:00
Bobby
96522a425f
chore: indents
2022-08-23 15:16:02 +07:00
Bobby
ab4f8263de
feat: ignore option for ServeStaticQuick class
2022-08-23 15:13:04 +07:00
Bobby
414afc7ae6
feat: allow specifying root path in serve classes
...
when used on non-root paths
2022-08-23 15:12:25 +07:00
Bobby
ff7ec4aeaf
fix: /users/edit throw with empty edits
2022-08-23 15:09:47 +07:00
Bobby
2b6fd37ba1
feat: use execFile() to parse git commit
...
does not pointlessly spawn a new shell
2022-08-21 22:16:24 +07:00
Bobby
82937b57db
feat: assert lolisafe process working directory
...
in case lolisafe is attempted to be ran from elsewhere
2022-08-21 22:15:19 +07:00
Bobby
8fcfc29ea3
feat: package.json scripts
...
explicitly enable NODE_ENV=production env var for start scripts
2022-08-21 21:44:24 +07:00
Bobby
09fea107f3
feat: env SERVE_STATIC_QUICK=0 yarn start
...
restore an older behavior of serving static files with
ServeLiveDirectory middleware instead of ServeStaticQuick, in case of
issues with streaming files from disk via createReadStream
if you do encounter this issue, serving uploaded files with node will
likely encounter issues as well, but you can choose to serve them
directly with nginx, etc., so i guess it's not beyond hope
2022-08-21 21:23:14 +07:00
Bobby
3f08b966ef
chore: typos in README
2022-08-20 06:55:25 +07:00
Bobby
3ba93c3a95
chore: link volta in readme
2022-08-20 06:53:06 +07:00
Bobby
18ff2f0893
feat: volta pinned node & yarn versions
2022-08-20 06:38:37 +07:00
Bobby Wibowo
bd71035517
fix: missing cpu temp and swap logic
2022-08-19 10:48:45 +07:00
renovate[bot]
83c6cee482
chore(deps): update dependency postcss-preset-env to ~7.8.0 ( #564 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 10:45:55 +07:00
renovate[bot]
e554c0c031
chore(deps): update dependency eslint to ~8.22.0 ( #563 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 10:43:46 +07:00
renovate[bot]
0cd747aa22
chore(deps): update dependency stylelint to ~14.10.0 ( #562 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 10:43:34 +07:00
renovate[bot]
bfe46b90cb
chore(deps): update dependency cssnano to ~5.1.13 ( #561 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 10:40:35 +07:00
renovate[bot]
96c7d6b7e4
chore(deps): update dependency postcss to ~8.4.16 ( #559 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 10:40:25 +07:00