Commit Graph

10 Commits

Author SHA1 Message Date
Aaron van Geffen bb81f7e086 Download: remove limits on maximum execution time 2024-01-15 11:46:01 +01:00
Aaron van Geffen 4b289a5e83 Download: allow limiting by user uploaded as well 2024-01-15 11:40:33 +01:00
Aaron van Geffen bd1ca8d18c Use $_SESSION['current_export'] to prevent simultaneous exports. 2020-03-11 18:57:31 +01:00
Aaron van Geffen c7d3b9c3d1 Disable output buffering so we can enjoy more than ~62MB of photos. 2020-03-11 12:32:44 +01:00
Aaron van Geffen 5a51778a6a Clean up tar process handling; make stdout non-blocking. 2020-03-11 12:32:44 +01:00
Aaron van Geffen 2bb29d7224 Minor optimisation to Download::getChildAlbumIds. 2020-03-11 12:32:44 +01:00
Aaron van Geffen 1b7e83e11e Let `tar` change working directory to assets directory.
This prevents edge cases where files are not found, while ensuring
the archive does not contain the system directory hierarchy.
2020-03-11 12:32:34 +01:00
Aaron van Geffen 354e54a0af Limit album/tag downloading on a user basis.
This removes the limit of downloading albums only; tags are fine, too.

Now using UserFacingException for certain exceptions, as these are
displayed to the user.

Removing the inheritance of HTMLController, as we intend to output binary
data only.
2020-03-11 11:55:17 +01:00
Aaron van Geffen c48ba786c1 Refactor leftover old-style arrays into new-style arrays. 2019-09-29 14:47:56 +02:00
Dennis Brentjes 20db3561cf Adds the ability to export an album using streaming tar. 2019-03-08 19:52:01 +00:00