Skip to content

Commit

Permalink
Merge branch 'master' into stable24
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsejet committed Dec 8, 2022
2 parents fced447 + 50b2756 commit eac4166
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Controller/AlbumsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ public function albums(int $t = 0): JSONResponse
/**
* @NoAdminRequired
*
* @UseSession
*
* Download an album as a zip file
*/
public function download(string $name = ''): JSONResponse
Expand Down
4 changes: 4 additions & 0 deletions lib/Controller/DownloadController.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ class DownloadController extends ApiBase
*
* @PublicPage
*
* @UseSession
*
* Request to download one or more files
*/
public function request(): JSONResponse
Expand All @@ -55,6 +57,8 @@ public function request(): JSONResponse
/**
* Get a handle for downloading files.
*
* The calling controller must have the UseSession annotation.
*
* @param string $name Name of zip file
* @param int[] $files
*/
Expand Down
3 changes: 3 additions & 0 deletions src/components/viewer/Viewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand All @@ -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;
Expand Down

0 comments on commit eac4166

Please sign in to comment.