Commit Graph

186 Commits

Author SHA1 Message Date
Bobby Wibowo
9b63eda26f
fix: bulma v0.9.2 breaking changes (proper fix) 2021-01-27 23:24:53 +07:00
BobbyWibowo
e10d99bb6f dist: rebuilt client assets and bumped v1 version string 2021-01-27 16:21:45 +00:00
Bobby Wibowo
c9d9d69204
fix: bulma v0.9.2 breaking changes 2021-01-27 23:19:39 +07:00
BobbyWibowo
9dc52774be dist: rebuilt client assets and bumped v1 version string 2021-01-08 20:22:09 +00:00
Bobby Wibowo
2838e718cd
chore: trigger dist rebuild 2021-01-09 03:20:18 +07:00
BobbyWibowo
9f9debae44 AUTO: Rebuilt client assets and bumped v1 version string 2021-01-08 19:52:23 +00:00
Bobby Wibowo
f52493291a
feat: same/higher group warning when editing user
Also Object.freeze() permissions object in permissionController.
I don't think it's much to be worried about, as no "set" will be done to
it during the service's operation, but oh well, might as well.
2021-01-09 02:51:23 +07:00
BobbyWibowo
1049f51248 AUTO: Rebuilt client assets and bumped v1 version string 2021-01-08 04:31:31 +00:00
Bobby Wibowo
da112ce485
feat: 2 digits fractions for percentage in stats 2021-01-08 11:29:36 +07:00
BobbyWibowo
afa09b0312 AUTO: Rebuilt client assets and bumped v1 version string 2021-01-08 04:00:40 +00:00
Bobby Wibowo
a37057e099
fix: error icon not showing for url upload errors 2021-01-08 09:43:20 +07:00
Bobby Wibowo
e9d22ea3ea
fix: home uploader not parsing size error properly
Also fixed error icon not showing with errors from finishing chunks.
2021-01-08 09:37:35 +07:00
Bobby Wibowo
43a9a5babb
updated README.md's 2020-12-27 19:45:27 +07:00
BobbyWibowo
3de44243a2 AUTO: Rebuilt client assets and bumped v1 version string 2020-12-27 11:17:13 +00:00
Bobby Wibowo
18db55ba24
Added scripts/rebuild-hashes.js
Closes #345
2020-12-27 18:16:01 +07:00
BobbyWibowo
b4b4c08d1a AUTO: Rebuilt client assets and bumped v1 version string 2020-12-26 16:51:46 +00:00
Bobby Wibowo
441faad4a7
page auto-scroll now only happens when moving page
specifically the auto-scroll in uploads/users/albums list.
previously it'd auto scroll to the top for every same-page operation.
now it'd only auto scroll when actually moving page.
so same-page operations such as deleting uploads, editing users, etc.
will no longer scroll away.
2020-12-26 23:50:52 +07:00
BobbyWibowo
3d1374680a AUTO: Rebuilt client assets and bumped v1 version string 2020-12-26 12:55:39 +00:00
Bobby Wibowo
e85e8e886d
added lolisafe upstream compat to /api/album/:id
it will re-map body of /api/album/get/:id into upstream-compatible body.
prep for lolisafe albums support for magane plugin.

/api/album/:id/:page will stil respond with the old format as that's
what the dashboard use and expect.

list views of uploads, users and albums in dashboard will now show
total items count on the table's top right corner.
2020-12-26 19:54:41 +07:00
BobbyWibowo
1382afd8c8 AUTO: Rebuilt client assets and bumped v1 version string 2020-12-26 11:50:53 +00:00
Bobby Wibowo
c5647cb8bf
albums sidebar in dashboard is now collapsible
they'll also be collapsed on initial page load

this uses a new client-side dependency, bulma-collapsible
https://github.com/creativebulma/bulma-collapsible

/api/albums to fetch albums list now support simple reply, where only
their ids and names will be returned.
this simple reply will also return all of the user's albums, instead of
being limited to only 9 or 25 entires like before.

fixed add to album in dashboard, and album selector in homepage uploader
being limited to only 25 albums.
2020-12-26 18:49:51 +07:00
BobbyWibowo
98080204da AUTO: Rebuilt client assets and bumped v1 version string 2020-12-26 09:53:26 +00:00
Bobby Wibowo
d917bbdf32
apply offset to dashboard icon 2020-12-26 15:10:26 +07:00
BobbyWibowo
4530449a87 AUTO: Rebuilt client assets and bumped v1 version string 2020-12-25 14:07:36 +00:00
Bobby Wibowo
346d9864f3
improved codes for statistics
much more expandable, and should be easier to understand overall.

make more statistics operations run concurrently to speed them up.

make linuxDiskStats config key obsolete by using systeminformation
package to also query for any mounted file systems.
2020-12-25 21:06:21 +07:00
BobbyWibowo
b30d5e4608 AUTO: Rebuilt client assets and bumped v1 version string 2020-12-19 05:07:18 +00:00
Bobby Wibowo
635a9c4a14
no source changes, but obligatory actions trigger
recently upgraded actions/setup-node action, just in case doing so could
help refreshing cache or whatever
2020-12-19 12:05:51 +07:00
BobbyWibowo
27a2717b48 AUTO: Rebuilt client assets and bumped v1 version string 2020-11-17 22:20:40 +00:00
Bobby Wibowo
c30361e648
fix version requirement for gulp-dart-sass
also bumped v1 version string to trigger rebuilding again
it's mostly so that github actions' yarn cache gets rebuilt too or smth
2020-11-18 05:19:11 +07:00
BobbyWibowo
c1472218bb AUTO: Rebuilt client assets and bumped v1 version string 2020-11-17 18:14:40 +00:00
Bobby Wibowo
a94d482fc5
replaced gulp-sass with gulp-dart-sass
removed node-sass as explicit dev dependency
gulp-dart-sass will already require sass (new dart sass, not node-sass)

added fibers as a new dev dependency
this is a requirement to speed up async sass compiling
https://sass-lang.com/dart-sass

full sub-dependencies upgrade (deleted yarn.lock then did yarn install)

bumped v1 version string to trigger auto rebuild
2020-11-18 01:13:30 +07:00
BobbyWibowo
0eaf34748e AUTO: Rebuilt client assets and bumped v1 version string 2020-11-12 09:10:06 +00:00
Bobby Wibowo
eaf726b726
obligatory versions bump to trigger rebuild 2020-11-12 16:08:52 +07:00
BobbyWibowo
6d674cabaf AUTO: Rebuilt client assets and bumped v1 version string 2020-11-10 15:57:45 +00:00
Bobby Wibowo
98e6c59255
expanded gulp linter to lint server-side JS files
changed reporter formatter for gulp stylelint from verbose to string
this should now only print out issues to console

linted other server-side JS files that i missed out on previous commits

bumped versions.js to trigger github actions
2020-11-10 22:56:18 +07:00
BobbyWibowo
d796b31bd1 AUTO: Rebuilt client assets and bumped v1 version string 2020-11-05 16:11:53 +00:00
Bobby Wibowo
a0777fb1d7
fixed upload urls button not working
would happen when in config uploads.urlMaxSize equals uploads.maxSize
2020-11-05 23:10:22 +07:00
BobbyWibowo
0cfd3fe059 AUTO: Rebuilt client assets and bumped v1 version string 2020-11-04 04:27:31 +00:00
Bobby Wibowo
a0ab3d436e
Slight improvement to error handlers in frontend 2020-11-04 11:26:22 +07:00
BobbyWibowo
762ef3141c AUTO: Rebuilt client assets and bumped v1 version string 2020-11-03 17:22:57 +00:00
Bobby Wibowo
5426c6f98d
Updated player.js 2020-11-04 00:21:55 +07:00
BobbyWibowo
e06d927a2b AUTO: Rebuilt client assets and bumped v1 version string 2020-11-03 16:11:17 +00:00
Bobby Wibowo
fbf582f09e
Disabled version string in embedded player 2020-11-03 23:10:15 +07:00
BobbyWibowo
2626b03192 AUTO: Rebuilt client assets and bumped v1 version string 2020-11-03 15:52:30 +00:00
Bobby Wibowo
9c7241d145
Allow filtering audio files with is:audio
For now only support FLAC, MP3, WAV and WMA
More extensions will come at a later date
2020-11-03 22:51:29 +07:00
BobbyWibowo
628d4aab55 AUTO: Rebuilt client assets and bumped v1 version string 2020-11-03 15:38:31 +00:00
Bobby Wibowo
12cffb022d
Added waveform in embedded player if playing audio
Added LICENSE files

Moved videojs plugins into their own sub-directories in libs directory
2020-11-03 22:37:24 +07:00
BobbyWibowo
3e98307986 AUTO: Rebuilt client assets and bumped v1 version string 2020-11-03 14:26:16 +00:00
Bobby Wibowo
519d4154e7
Updated 2020-11-03 21:25:07 +07:00
BobbyWibowo
4cbf0c6fa5 AUTO: Rebuilt client assets and bumped v1 version string 2020-11-03 14:21:07 +00:00