summaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8542 from owncloud/phpdoc-improvementsThomas Müller2014-05-132-21/+34
|\ | | | | PHPDoc Improvements
| * Fix Scrutinizer errors about missing user backendRobin McCorkell2014-05-132-21/+34
| |
* | Add tests for other types that PHP might castLukas Reschke2014-05-131-0/+2
|/ | | Addition to https://github.com/owncloud/core/pull/8572
* Merge pull request #8572 from owncloud/core-getabsolutepathwithzeroThomas Müller2014-05-131-0/+18
|\ | | | | Fixed getAbsolutePath case when path is "0"
| * Fixed getAbsolutePath case when path is "0"Vincent Petry2014-05-131-0/+18
| | | | | | | | | | Make sure to correctly check for string emptiness when the passed path is "0".
* | make it possible to omit parameters and use the default parameters from the ↵Bernhard Posselt2014-05-132-9/+37
|/ | | | controller method
* Merge pull request #8482 from owncloud/public-loggerThomas Müller2014-05-121-0/+40
|\ | | | | Make logger available in the container
| * adding unit test for message interpolationThomas Müller2014-05-121-0/+40
| |
* | Merge pull request #8541 from owncloud/hardenIsSubDirectoryMorris Jobke2014-05-121-4/+4
|\ \ | | | | | | Harden issubdirectory()
| * | Rename issubdirectory to isSubDirectoryLukas Reschke2014-05-111-4/+4
| |/
* | Merge pull request #8477 from owncloud/better-controllersMorris Jobke2014-05-1219-131/+395
|\ \ | | | | | | Better appframework controllers
| * | use new controllermethodreflector for corsmiddlewareBernhard Posselt2014-05-111-5/+15
| | |
| * | adjust license headers to new mail addressBernhard Posselt2014-05-1117-20/+20
| | |
| * | rename formatter to responder, formatResponse to buildResponseBernhard Posselt2014-05-112-6/+6
| | |
| * | add test for not failing when adding more comments after type parameters, do ↵Bernhard Posselt2014-05-112-2/+2
| | | | | | | | | | | | not limit x-www-form-urlencoded to POST
| * | implement most of the basic stuff that was suggested in #8290Bernhard Posselt2014-05-116-107/+361
| | |
* | | Merge pull request #8274 from owncloud/appframework-dbMorris Jobke2014-05-123-0/+681
|\ \ \ | |/ / |/| | Port database layer from appframework to core
| * | dont update entity and dont run an update query if an entity wasnt changed ↵Bernhard Posselt2014-04-232-1/+24
| | | | | | | | | | | | at all
| * | fix phpdoc for entitiesBernhard Posselt2014-04-202-4/+9
| | |
| * | move db into iservercontainerBernhard Posselt2014-04-192-1/+3
| | |
| * | remove unusued variableBernhard Posselt2014-04-191-6/+0
| | |
| * | remove unusued variableBernhard Posselt2014-04-191-1/+0
| | |
| * | fix scrutinizer issuesBernhard Posselt2014-04-192-12/+23
| | |
| * | port database layer from appframework to coreBernhard Posselt2014-04-193-0/+647
| | |
* | | Merge pull request #8504 from owncloud/cors-middlewareBernhard Posselt2014-05-114-3/+135
|\ \ \ | |_|/ |/| | Add cors middleware
| * | add cors middlewareBernhard Posselt2014-05-094-3/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove methodannotationreader namespace fix namespace for server container fix tests fail if with cors credentials header is set to true, implement a reusable preflighted cors method in the controller baseclass, make corsmiddleware private and register it for every request remove uneeded local in cors middleware registratio dont uppercase cors to easily use it from routes fix indention comment fixes explicitely set allow credentials header to false dont depend on better controllers PR, fix that stuff later split cors methods to be in a seperate controller for exposing apis remove protected definitions from apicontroller since controller has it
* | | Merge pull request #7546 from owncloud/no_freaking_tag_dupesLukas Reschke2014-05-091-1/+1
|\ \ \ | |/ / |/| | Tags cleanup
| * | Yet another cleanupThomas Tanghus2014-03-051-1/+1
| | |
* | | Merge pull request #8223 from owncloud/fix_linkToPublicVincent Petry2014-05-072-0/+218
|\ \ \ | | | | | | | | Fix linkToPublic and linkToAbsolute.
| * | | Remove unused varThomas Tanghus2014-04-161-5/+0
| | | |
| * | | Add tests for linkTo, linkToPublic, linkToRemote, linkToRemoteBaseThomas Tanghus2014-04-162-0/+223
| | | |
* | | | Merge pull request #8386 from owncloud/fix_6946_masterVincent Petry2014-05-053-24/+55
|\ \ \ \ | | | | | | | | | | Fix 6946 master
| * | | | the group manager calls exists check less often, adjust test accordinglyArthur Schiwon2014-04-281-1/+1
| | | | |
| * | | | Group Database backend must not gather user details itself but ask userArthur Schiwon2014-04-283-24/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | backends. This is a port to master from PR #7745 remove OC_GROUP_BACKEND_GET_DISPLAYNAME option for group backends Conflicts: lib/private/group/backend.php LDAP: getDisplayNamesInGroup is not an option for group backends anymore Conflicts: apps/user_ldap/group_ldap.php apps/user_ldap/group_proxy.php clean up group backends Conflicts: lib/private/group/database.php remove now unnecessary test implement getDisplayNames in group manager adjust user manager tests test for group manager's displayNamesInGroup trim must not be used in empty in PHP < 5.5 keep the constant to not provoke PHP warnings Conflicts: lib/private/group/backend.php
* | | | | Merge pull request #8023 from flyser/masterMorris Jobke2014-05-031-0/+22
|\ \ \ \ \ | | | | | | | | | | | | Fix setting the max-upload-size for really large values.
| * | | | | Add unit tests for OC_Helper::phpFileSize functionFabian Henze2014-04-071-0/+22
| | | | | |
* | | | | | Remove unneccessary statement from testJoas Schilling2014-04-291-2/+0
| | | | | |
* | | | | | Update tests to test for create and update aswellJoas Schilling2014-04-291-13/+35
| |/ / / / |/| | | |
* | | | | Merge pull request #8341 from owncloud/template-tests-output-bufferingLukas Reschke2014-04-261-35/+15
|\ \ \ \ \ | | | | | | | | | | | | Improve Template Tests by Removing Manual Output Buffering
| * | | | | Use PHPUnit's expectOutputString() instead of performing output buffering.Andreas Fischer2014-04-241-26/+11
| | | | | |
| * | | | | Split testP() tests into multiple methods.Andreas Fischer2014-04-241-1/+3
| | | | | |
| * | | | | Remove redundant test case for non-HTML string.Andreas Fischer2014-04-241-9/+2
| | | | | |
* | | | | | remove outdated testRobin Appelman2014-04-251-18/+0
| | | | | |
* | | | | | merge master into webdav-injectionRobin Appelman2014-04-253-8/+89
|\| | | | |
| * | | | | Merge pull request #8304 from owncloud/add-xss-testsAndreas Fischer2014-04-242-8/+35
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add unit tests for arrays and quotationmark * owncloud/add-xss-tests: Remove uneeded newline Fix indentation Add unit tests for arrays and "
| | * | | | | Remove uneeded newlineLukas Reschke2014-04-221-1/+0
| | | | | | |
| | * | | | | Fix indentationLukas Reschke2014-04-221-1/+1
| | | | | | |
| | * | | | | Add unit tests for arrays and "Lukas Reschke2014-04-222-9/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | OC_Util::sanitizeHTML() also supports array but we actually had no unit test for it. Additionally this commit introduces a test for escaping " into &quot;
| * | | | | | add setting to set default expire dateBjoern Schiessle2014-04-241-0/+54
| |/ / / / /
* | | | | | merge master into webdav-injectionRobin Appelman2014-04-224-10/+3
|\| | | | |