summaryrefslogtreecommitdiffstats
path: root/lib/private/Streamer.php
Commit message (Collapse)AuthorAgeFilesLines
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-3/+3
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use elseif instead of else ifChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headers for 18Christoph Wurst2019-12-201-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* when downloading from web, skip files that are not accessibleArthur Schiwon2019-12-191-3/+9
| | | | | | | * avoids a 403, but enables download of resources that are not restricted * single file downloads still cause 403 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* use Nodes API for zip streamingArthur Schiwon2019-12-191-17/+30
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update license headersChristoph Wurst2019-12-051-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use zip32 only if there are less than 65536 filesDaniel Calviño Sánchez2018-04-061-4/+24
| | | | | | | A zip32 file can contain, at most, 65535 files (and folders), so take that constraint into account. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Use zip32 if possibleRoeland Jago Douma2018-04-061-6/+17
| | | | | | | | | * OSX doesn't handle 64zip that well * Some other implentations don't handle it perfectly either * If the file is belog 4GiB (some overhead) => zip32 * This covers the 99% case I bet Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Revert "Always enable Zip64 extension for zipstreamer"Joas Schilling2017-06-091-1/+1
|
* Always enable Zip64 extension for zipstreamerNicolai Ehemann2017-05-251-1/+1
| | | | Signed-off-by: Nicolai Ehemann <en@enlightened.de>
* Add doc block for $timeJoas Schilling2016-11-281-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Keep the filemtime for files when downloading them in a zip/tarJoas Schilling2016-11-281-4/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix othersJoas Schilling2016-07-211-2/+3
|
* Move more from \OC to PSR-4Roeland Jago Douma2016-04-291-0/+122
* \OC\OCSClient * \OC\Preview * \OC\PreviewManager * \OC\Repair * \OC\RepairException * \OC\Search * \OC\ServerContainer * \OC\ServerNotAvailableException * \OC\ServiceUnavailableException * \OC\Setup * \OC\Streamer * \OC\SubAdmin * \OC\SystemConfig * \OC\TagManager * \OC\Tags * \OC\TempManager * \OC\TemplateLayout * \OC\URLGenerator * \OC\Updater