aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/files/stream
Commit message (Collapse)AuthorAgeFilesLines
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-204-604/+0
| | | | | | | | | | | | | | | | | | | | * Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader
* Introduce isReadyForUser and verify in file transfer ownership - fixes #23786Thomas Müller2016-04-151-1/+1
|
* fix creation of versions of encrypted files on external storagesBjoern Schiessle2016-03-311-1/+6
| | | | | | in order to create a 1:1 copy of a file if a version gets created we need to store this information on copyBetweenStorage(). This allows us to by-pass the encryption wrapper if we read the source file.
* fixing unit testsBjörn Schießle2016-02-091-0/+1
|
* occ script to disable encryption and to decrypt all files againBjoern Schiessle2015-09-151-1/+1
|
* occ tool to encrypt all filesBjoern Schiessle2015-08-261-1/+1
|
* Merge pull request #16452 from owncloud/enc_ftp_uploadBjörn Schießle2015-05-262-3/+84
|\ | | | | always write file, if fseek doesn't work we write the whole file
| * test to simulate a non-seekable stream wrapperBjoern Schiessle2015-05-212-3/+84
| |
* | Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-05-191-1/+0
|/ | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* add a unit test to make sure that we don't try to read a file during a write ↵Bjoern Schiessle2015-05-181-2/+10
| | | | operation
* Merge pull request #15980 from owncloud/jknockaert-patch-1Björn Schießle2015-05-181-10/+11
|\ | | | | fix bug #15973
| * correct testSeekjknockaert2015-05-181-4/+4
| |
| * work on testsjknockaert2015-05-181-10/+11
| | | | | | Tests reorganised and extended
* | a new approach to display the error messageBjoern Schiessle2015-05-181-1/+2
|/
* fall back to the ownCloud default encryption module and aes128 if we read a ↵Bjoern Schiessle2015-04-271-1/+1
| | | | encrypted file without a header
* fix unit testsBjoern Schiessle2015-04-241-5/+16
|
* enable testWriteWriteReadjknockaert2015-04-241-14/+14
|
* enable testRewindjknockaert2015-04-241-14/+14
|
* Update encryption.phpjknockaert2015-04-241-14/+14
|
* disable r+ testjknockaert2015-04-241-14/+14
|
* add two testsjknockaert2015-04-241-0/+30
| | | testRewind tests reading and writing after rewind on an encrypted stream; testWriteWriteRead tests r+ mode
* Delete temp files after testing encryption stream wrapperVincent Petry2015-04-231-0/+6
|
* Merge pull request #15757 from owncloud/enc-fixfeofforlastblockBjörn Schießle2015-04-221-6/+40
|\ | | | | Fix encryption feof to not return too early
| * Fix encryption feof to not return too earlyVincent Petry2015-04-201-6/+40
| | | | | | | | | | | | | | | | | | | | This is because stream_read will pre-cache the next block which causes feof($this->source) to return true prematurely. So we cannot rely on it. Fixed encryption stream wrapper unit tests to actually simulate 6k/8k blocks to make sure we cover the matching logic. Added two data files with 8192 and 8193 bytes.
* | get dirname from sharePathBjoern Schiessle2015-04-211-1/+95
|/
* detect system wide mount points correctlyBjoern Schiessle2015-04-161-1/+4
|
* remove calculateUnencryptedSize() - not neededThomas Müller2015-04-141-2/+1
|
* Fix mock object to return proper typeThomas Müller2015-04-091-0/+2
|
* fixing unit test execution - test dummy module was behaving wrongThomas Müller2015-04-071-1/+1
|
* Properly set size and unencrypted size in the stream unit testsThomas Müller2015-04-071-9/+8
|
* Adding unit test for read and write of big fileThomas Müller2015-04-071-0/+16
|
* fixing unit tests for encryption stream wrapper seekThomas Müller2015-04-071-0/+13
|
* fixing unit tests for stream wrapperThomas Müller2015-04-071-10/+42
|
* update unit tests after ctor signature change of \OC\Encryption\UtilThomas Müller2015-04-071-1/+4
|
* adding unit tests for stream wrapperThomas Müller2015-04-071-0/+41
|
* Use base class to reset the file mapperJoas Schilling2014-11-192-5/+8
|
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2014-02-191-0/+4
| | | | | | | | | | | This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720 Enabled analysis tools: - PHP Analyzer - JSHint - PHP Copy/Paste Detector - PHP PDepend
* Fixed quota stream's fseek methodVincent Petry2013-10-251-0/+72
| | | | | | - Added missing return statement - Added missing support for SEEK_END - Fixes #5524
* add quota streamwrapper that limits the amount of data that can be written ↵Robin Appelman2013-07-251-0/+78
| | | | to a stream
* better unit tests for static stream wrapperRobin Appelman2013-06-281-0/+68