Commit Graph

1331 Commits

Author SHA1 Message Date
Bobby Wibowo
a8cc0b9534
updated lolisafe.js
break loop early
2020-12-27 16:49:22 +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
d7b11e7e56
try cf purge up to 3 times
with preset delay in between (60 secs if rate limited, 5 secs for
unexpected errors)

an alternative to global queue mechanism in #342
not perfect, but easier to implement

closes #342
2020-12-26 16:52:07 +07:00
Bobby Wibowo
3a0810b0be
updated albumsController.js 2020-12-26 15:32:44 +07:00
Bobby Wibowo
664c994855
scanner should NOT be enabled by default
Closes #341
2020-12-26 15:21:49 +07:00
Bobby Wibowo
d917bbdf32
apply offset to dashboard icon 2020-12-26 15:10:26 +07:00
Bobby Wibowo
771a3f65d2
query amount of temporary uploads for statistics 2020-12-25 21:18:45 +07:00
renovate[bot]
c6e83653db
Update dependency sharp to ~0.27.0 (#340)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-25 21:08:43 +07:00
renovate[bot]
2ea469891c
Update dependency systeminformation to ~4.33.1 (#339)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-25 21:08:34 +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
renovate[bot]
22f56de902
Update dependency eslint to ~7.16.0 (#338)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-19 12:03:41 +07:00
renovate[bot]
6933a4081d
Update actions/setup-node action to v2 (#336)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-19 12:03:27 +07:00
renovate[bot]
280d5b8131
Update dependency knex to ~0.21.14 (#337)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-18 12:26:06 +07:00
renovate[bot]
3cf22397dc
Update dependency eslint-plugin-compat to ~3.9.0 (#334)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 04:20:49 +07:00
renovate[bot]
0d6d8d1202
Update dependency systeminformation to ~4.32.0 (#335)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 04:20:33 +07:00
renovate[bot]
8717ae8c20
Update dependency browserslist to ~4.16.0 (#330)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 04:20:09 +07:00
renovate[bot]
2b9398d181
Update dependency postcss to ~8.2.1 (#329)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 04:18:12 +07:00
renovate[bot]
07f91865cc
Update dependency knex to ~0.21.13 (#333)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 04:13:24 +07:00
renovate[bot]
cf32e91a2b
Update dependency systeminformation to ~4.31.2 (#332)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 04:13:05 +07:00
renovate[bot]
f89bae3ac2
Update dependency systeminformation to ~4.31.0 (#328)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-06 23:15:58 +07:00
renovate[bot]
2914990fd8
Update dependency eslint to ~7.15.0 (#327)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-06 23:15:32 +07:00
renovate[bot]
e2c4018dab
Update dependency postcss to ~8.1.14 (#326)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-06 02:29:53 +07:00
renovate[bot]
92b2c753a1
Update dependency browserslist to ~4.15.0 (#325)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-06 02:29:40 +07:00
renovate[bot]
59b01b8f1c
Update dependency systeminformation to ~4.30.11 (#324)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-06 02:29:13 +07:00
renovate[bot]
4b3311401f
Update dependency systeminformation to ~4.30.7 (#321)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-30 19:54:13 +07:00
Bobby Wibowo
456cea5b8e
im blue da ba dee da be daa 🎤 2020-11-27 16:07:49 +07:00
renovate[bot]
13afe9a75e
Update dependency express-rate-limit to ~5.2.3 (#316)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 19:59:25 +07:00
renovate[bot]
c114fd592a
Update dependency postcss to ~8.1.10 (#318)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 19:57:54 +07:00
renovate[bot]
d0ecaac1cf
Update dependency eslint to ~7.14.0 (#317)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 19:57:48 +07:00
renovate[bot]
39bb2b0357
Update dependency systeminformation to ~4.30.4 (#319)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 19:57:16 +07:00
renovate[bot]
3845329c78
Update dependency postcss to ~8.1.8 (#315)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-21 06:34:20 +07:00
Bobby Wibowo
51ab9a6fc5
fs.copyFile() for chunks data on non-default path
Closes #314
2020-11-21 06:31:36 +07:00
renovate[bot]
95247daa80
Update dependency eslint-config-standard to ~16.0.2 (#313)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-18 13:37:33 +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
renovate[bot]
e86c614ee9
Update dependency sharp to ~0.26.3 (#310)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-18 00:28:25 +07:00
renovate[bot]
74daa71e4a
Update dependency gulp-terser to v2 (#311)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-18 00:27:18 +07:00
renovate[bot]
f01dfecfcc
Update dependency stylelint to ~13.8.0 (#312)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-18 00:26:34 +07:00
renovate[bot]
274a7173f1
Update dependency systeminformation to ~4.30.1 (#309)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-18 00:26:12 +07:00