Commit Graph

1753 Commits

Author SHA1 Message Date
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
Bobby
a3aeb63790
fix: let wavesurfer use its default backend
forcefully setting it to WebAudio seemingly disable progress bar on my
Firefox Desktop for some reason
perhaps it actually disabled the fallback mechanism
2022-05-27 11:50:03 +07:00
BobbyWibowo
897523363b dist: rebuilt client assets and bumped v1 version string 2022-05-27 04:34:44 +00:00
Bobby
f54ce96c23
feat: wavesurfer use WebAudio backend by default
supposedly it will automatically fallback to MediaElement on unsupported
browsers
2022-05-27 11:33:32 +07:00
Bobby
3ec7e6c76c
fix: responsive video.js audio waveform 2022-05-27 11:32:35 +07:00
BobbyWibowo
b3535969dd dist: rebuilt client assets and bumped v1 version string 2022-05-24 00:03:19 +00:00
Bobby
110aab097b
chore: versioned git urls in comments
future-proofing
2022-05-24 07:02:06 +07:00
Bobby
9cc4832717
feat: same error for invalid user or pass on login
every now and then i got curious of what people add to their forks,
and sometimes i'd be like, "hey, that makes sense!"

i remember that back in the days, i switched to nunjucks because of
someone's fork too
we used to use handlebars, which i've had some misgivings with for
awhile back then

either way all i'm saying is that it's the case this time around with
this commit
thanks for reading

49d12004e8
2022-05-24 06:56:58 +07:00
BobbyWibowo
630d95be02 dist: rebuilt client assets and bumped v1 version string 2022-05-21 09:57:57 +00:00
Bobby Wibowo
57d984336c
chore: trigger assets rebuild 2022-05-21 16:56:32 +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
d2b8656800
fix: url uploads stricter error handling
this should properly dispose of unfinished write & hasher streams on
any errors if they have been initiated

also do content-length header check a bit more early
2022-05-08 15:35:28 +07:00
Bobby
ce71a9e8d6
feat: better size check for url uploads
first layer is via sending HEAD request to the url to determine its size
via content-length header
however not all hosts properly set the header, so we ignore it if
it isn't a valid number

next via size option in fetch(), which supposedly limits response body
size during the request itself (?)

lastly via checking actual bytes written to physical file as reported by
fs.createWriteStream()
2022-05-08 15:19:29 +07:00
Bobby
71a6adc3d3
fix: url uploads failing with missing content-type 2022-05-08 15:15:10 +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
Bobby
eeb1611b2a
fix: failsafes for chunks timeout 2022-05-08 12:01:18 +07:00
Bobby
f3b7d5e56d
fix: empty string for age header failing 2022-05-08 12:00:27 +07:00
BobbyWibowo
04d2dff0f6 dist: rebuilt client assets and bumped v1 version string 2022-05-06 19:18:39 +00:00
Bobby
2d147e748b
feat: usergroup-based file retention periods
this supersedes the old temporaryUploadAges, while maintaining full
backwards-compatibility.

please consult config.sample.js if you want to start using this
2022-05-07 02:17:31 +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]
29aac8bbc1
chore(deps): update actions/cache action to v3 (#487)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 02:12:54 +07:00