Merge branch 'master' into stable24

old_stable24
Varun Patil 2022-12-08 15:23:36 -08:00
commit eac41669c0
3 changed files with 9 additions and 0 deletions

View File

@ -55,6 +55,8 @@ class AlbumsController extends ApiBase
/**
* @NoAdminRequired
*
* @UseSession
*
* Download an album as a zip file
*/
public function download(string $name = ''): JSONResponse

View File

@ -36,6 +36,8 @@ class DownloadController extends ApiBase
*
* @PublicPage
*
* @UseSession
*
* Request to download one or more files
*/
public function request(): JSONResponse
@ -55,6 +57,8 @@ class DownloadController extends ApiBase
/**
* Get a handle for downloading files.
*
* The calling controller must have the UseSession annotation.
*
* @param string $name Name of zip file
* @param int[] $files
*/

View File

@ -1130,8 +1130,10 @@ export default class Viewer extends Mixins(GlobalMixin) {
transition: opacity 0.2s ease-in-out;
opacity: 0;
pointer-events: none;
&.showControls {
opacity: 1;
pointer-events: auto;
}
}
@ -1143,6 +1145,7 @@ export default class Viewer extends Mixins(GlobalMixin) {
position: fixed;
bottom: 0;
left: 0;
pointer-events: none;
transition: opacity 0.2s ease-in-out;
opacity: 0;