Commit Graph

17 Commits (b00a9a6eaeeafce11e0141199f37d8a105050cce)

Author SHA1 Message Date
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
François Freitag 21762a1e94 Rewrite LegacyHelperTest without $this->at() 5 years ago
dependabot-preview[bot] eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0 5 years ago
Christoph Wurst 1584c9ae9c
Add visibility to all methods and position of static keyword 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 2fbad1ed72
Fix (array) indent style to always use one tab 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Joas Schilling c6a69ba925
Remove the upload and memory setting 7 years ago
Morris Jobke db345e4c6d
Deprecate unused, private OC_Helper::linkToPublic 7 years ago
John Molakvoæ (skjnldsv) c0c4443ffc
Fixed tests 8 years ago
Lukas Reschke 0245dd7221
Simplify isSubDirectory check 9 years ago
Roeland Jago Douma c95d5c77d7
Fix getMock LegacyHelperTest 9 years ago
Joas Schilling 9a4253ef7c
Fix lib/ 10 years ago
Morris Jobke 930555bd5e properly use standard 10 years ago
Roeland Jago Douma a54be132fc Removed deprecated unsused function OC_Helper::getStringMimeType 10 years ago
Roeland Jago Douma 4f20e3bac0 Removed deprecated OC_Helper::getSecureMimeType 10 years ago
Morris Jobke 450e2f3bd3 Move OC_Helper code to OCP\Util for linkToRemote 10 years ago
Morris Jobke e42f262d85 properly use OCP\Util instead of OC_Helper 10 years ago
Morris Jobke 3d55569a27 OC_Helper::makeURLAbsolute is not used anymore 10 years ago
Morris Jobke 90b0831cec Use TempManager instead of tmpFolder 10 years ago
Morris Jobke ecdf88e41b Use proper public API for OC_Helper::getFileNameMimeType 10 years ago
Roeland Jago Douma 205c239eab Remove deprecated OC_Helper::linkTo function 10 years ago
Morris Jobke 4fcab98694 Remove unused internal methods 10 years ago
Morris Jobke 9318606faf Remove last occurences of OC_Helper::getMimeType() 10 years ago
Lukas Reschke daa388ce8d Move index.php from files to AppFramework 10 years ago
Joas Schilling d3e3a84cae Move the helpful method to the TestCase class 11 years ago
Jan-Christoph Borchardt 4e93d9e3a2 remove logo-wide from tests 11 years ago
Thomas Müller 15d134124b Validate the quota value to be a correct value 11 years ago
Joas Schilling cf4a6874fb Allow setting protected properties 11 years ago
Joas Schilling 31b65749dd Allow setting protected properties 11 years ago
Joas Schilling cb3a598cdb Make root tests extend the \Test\TestCase 11 years ago
Joas Schilling a3a064fe96 Skip some more tests on Windows which just can not work at all 11 years ago
Clark Tomlinson 2b209d27d0 Adding test helper to test private methods 11 years ago
kondou ecc9b42e41 Match \OC_Helper::linkToPublic() to new links and fit unittests 11 years ago
Vincent Petry 0ab66d9b48 Added unit test for the helper's rmdirr 12 years ago
Morris Jobke dc36d30953 Remove all occurences of @brief and @returns from PHPDoc 12 years ago
Lukas Reschke fd5b2d11d6 Rename issubdirectory to isSubDirectory 12 years ago
Thomas Tanghus dd36d4b894 Add tests for linkTo, linkToPublic, linkToRemote, linkToRemoteBase 12 years ago
Thomas Tanghus 51e47319ef White-list known secure mime types. Refs. #8184 12 years ago
Fabian Henze 1245ff8f31 Add unit tests for OC_Helper::phpFileSize function 12 years ago
Vincent Petry 145db370d1 Correctly round bytes when converted from human readable format 12 years ago
Thomas Mueller 665b7571f4 adding test for binary file to test \OC_Helper::streamCopy() 12 years ago
Thomas Mueller 998211f7a3 WIN: fixing unit test for testStreamCopy() 12 years ago
Thomas Müller 6df5c7ebd5 streamCopy() should return proper structure. 12 years ago
Thomas Müller 8c9add4d32 adding TB and GB to OC_Helper::humanFileSize 12 years ago
Bart Visscher 22c29eb64b Fix renaming using parenthesis 13 years ago