summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Upload
Commit message (Collapse)AuthorAgeFilesLines
* Implement the size of an assembly streamRoeland Jago Douma2018-10-291-1/+3
| | | | | | | This will make it possible to act propely on moves of future files if we need to know the size (like for max size virus scanning). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* lazy open first source stream in assemblystreamRobin Appelman2018-10-231-5/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* AssemblyStream is also eof if we have no more source streamRobin Appelman2018-09-281-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix integer overflow in ChunkingPluginMorris Jobke2018-03-091-1/+4
| | | | | | Avoids errors when the size exceeds MAX_INT because of the cast to int. Better cast it to float to avoid this. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Return proper principal on the uploads collection listingRoeland Jago Douma2018-01-101-1/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Handle OC-Total-Length in new chunkingThomas Müller2017-12-151-0/+106
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Update license headersMorris Jobke2017-11-062-0/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* refactor chunked assembly streamRobin Appelman2017-07-211-56/+32
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove unused use statementsMorris Jobke2017-04-221-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Chunking NG: Assemble in natural sort order of filesMarkus Goetz2017-03-171-1/+1
| | | | | | | | | | | For https://github.com/owncloud/client/pull/5476 Before this, the assembly could be bogusly in the order 0,1,10,11,2,3 etc. As per the spec "The name of every chunk should be its chunk number." https://github.com/cernbox/smashbox/blob/master/protocol/chunking.md Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* FilesHome now also returns DAV propertiesVincent Petry2016-09-261-1/+1
| | | | | | | | | | | | | | The files home node must also return DAV properties like etag, permissions, etc for the clients to work like they did with the old endpoint. This fix makes FilesHome extend the Sabre Directory class, this makes the FilesPlugin and other plugins recognize it as a directory and will retrieve the matching properties when applicable. Downstream of https://github.com/owncloud/core/pull/26066 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Improve chunk upload AssemblyStream performanceVincent Petry2016-09-131-8/+31
|
* Fix apps/Joas Schilling2016-07-215-5/+15
|
* Update license headersLukas Reschke2016-05-265-5/+95
|
* Move dav app to PSR-4 (#24527)Joas Schilling2016-05-125-0/+495
* Move Application to correct namespace and PSR-4 it * Move dav app to PSR-4