Commit Graph

1944 Commits

Author SHA1 Message Date
BobbyWibowo
fae8dd9cae dist: rebuilt client assets and bumped v1 version string 2022-09-24 02:56:06 +00:00
Bobby
aebeb8e045
feat: filter uploads using relative time duration
added a new production dependency parse-duration@~1.0.2

read filters help popup in dashboard for usage example
2022-09-24 09:54:49 +07:00
BobbyWibowo
94cfb8617c dist: rebuilt client assets and bumped v1 version string 2022-09-24 01:40:30 +00:00
Bobby
f989558dc2
chore: improve uploads filter help message 2022-09-24 08:39:08 +07:00
Bobby
216ba12b3e
feat: filter uploads with unix timestamp dates 2022-09-24 08:38:43 +07:00
Bobby
9af34a08f8
fix: non-sort filter keys getting removed 2022-09-24 08:21:01 +07:00
Bobby
a44af208aa
feat: click on table headers to sort uploads
fairly robust logic, with auto toggling of asc or desc sort direction
2022-09-24 08:09:27 +07:00
Bobby
a646d6731a
fix: possible upload stream starting early 2022-09-24 06:41:31 +07:00
Bobby
518b29c8df
feat: better albums.onHold debugging messages 2022-09-24 06:35:41 +07:00
Bobby
c47d3f5437
feat: better upload.onHold debugging messages
expose util.inspect via utils when on dev mode
2022-09-24 06:33:58 +07:00
Bobby
32efacd411
feat: configure timemark for video thumbnails 2022-09-24 06:24:56 +07:00
renovate[bot]
2952765513
chore(deps): update dependency eslint-plugin-n to ~15.3.0 (#583)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-24 06:08:23 +07:00
renovate[bot]
1d3d2ded42
chore(deps): update dependency stylelint to ~14.12.1 (#584)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-24 06:08:10 +07:00
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