summaryrefslogtreecommitdiffstats
path: root/lib/private/api.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix PHPDocThomas Müller2016-02-191-1/+1
|
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2016-02-191-2/+3
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* Catch auth coming from JS in OCSLukas Reschke2016-02-151-2/+9
|
* Remove unreachable code in priavte/api.phpMorris Jobke2016-02-141-5/+0
|
* Happy new year!Thomas Müller2016-01-121-1/+1
|
* Drop OC_SubAdmin and replace usagesLukas Reschke2015-10-291-2/+6
|
* Merge pull request #18184 from owncloud/ocs-merge-headersThomas Müller2015-10-211-7/+11
|\ | | | | Merge headers of ocs results
| * Merge headers of ocs resultsThomas Müller2015-09-211-7/+11
| |
* | Strip directory from scriptNameLukas Reschke2015-10-121-5/+5
| | | | | | | | `\OCP\IRequest::getScriptName` will also return the directory, so if ownCloud is installed in a subfolder such as `owncloud/` it will resolve to `/owncloud/ocs/v2.php`. This made this check fail and also made it return invalid status codes.
* | update licence headers via scriptMorris Jobke2015-10-051-0/+30
|/
* With V2 we should ensure that the status codes are kept in syncThomas Müller2015-08-131-5/+7
|
* Adding header support to class OC_OCS_ResultThomas Müller2015-08-071-0/+4
|
* Following the spec:Thomas Müller2015-08-051-5/+1
| | | | "`statuscode`: The OCS status code of the response, everything except 100 MUST be handled as failure."
* Return 200 not null - we should return consistent typesThomas Müller2015-08-051-1/+2
|
* Remove duplicate and unused codeThomas Müller2015-08-031-20/+30
|
* Adding ocs/v2.php with status code mapperThomas Müller2015-08-031-8/+56
|
* update license headers and authorsMorris Jobke2015-06-251-0/+1
|
* Fix usage of deprecated private constantsJoas Schilling2015-04-181-2/+2
|
* Deprecate the OC_API constants in favor of the OCP onesJoas Schilling2015-04-181-8/+24
|
* Update license headersJenkins for ownCloud2015-03-261-23/+28
|
* Simplify codeLukas Reschke2015-03-011-2/+3
|
* Read from IRequest instead of reading twiceLukas Reschke2015-02-271-4/+6
| | | | Potentially fixes https://github.com/owncloud/core/issues/14541 and https://github.com/owncloud/core/issues/14506
* Revert "Updating license headers"Morris Jobke2015-02-261-27/+24
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-24/+27
|
* Merge pull request #12918 from owncloud/use-uid-instead-of-login-nameMorris Jobke2014-12-191-1/+1
|\ | | | | Return UID instead of login name
| * Return UID instead of login nameLukas Reschke2014-12-171-1/+1
| | | | | | | | Without this OCS on LDAP is broken for API requests coming via Basic Authentication...
* | Store result of authenticationLukas Reschke2014-12-171-1/+7
|/
* because OC_User::login will create a new session we shall only try to login ↵Thomas Müller2014-11-261-16/+22
| | | | | | if user and pass are set ensure to never destroy an existing session
* introduce and use getCurrentConnection()Jörn Friedrich Dreyer2014-07-011-1/+2
|
* reset collection to 'root' after adding a route to the apiJörn Friedrich Dreyer2014-07-011-0/+1
|
* Return 503 OCS response with requested formatVincent Petry2014-06-301-1/+1
|
* Some more PHPDoc fixesLukas Reschke2014-04-211-2/+2
|
* Merge pull request #7649 from owncloud/routing-publicThomas Müller2014-03-171-2/+2
|\ | | | | Move routing classes to an interface and expose it in the public api
| * switch OC::getRouter usages to OC::$server->getRouterRobin Appelman2014-03-101-2/+2
| |
* | fixing method namesThomas Müller2014-03-121-1/+1
| |
* | set content-type on ocs exceptionsThomas Müller2014-03-121-3/+30
| |
* | fixing identThomas Müller2014-03-071-9/+9
| |
* | we first shall check if the current session is valid - otherwise the ↵Thomas Müller2014-03-071-12/+13
|/ | | | session-id will be regenerated on login via basic auth
* polish documentation based on scrutinizer patchesJörn Friedrich Dreyer2014-02-061-0/+3
|
* keep response messageBjoern Schiessle2014-01-131-20/+22
|
* Merge multiple failed third party responses when returning the resulttomneedham2013-11-141-3/+10
|
* Merge multiple shipped failures before responding.tomneedham2013-11-141-2/+10
|
* Return failed shipped responses over succedded shipped responsestomneedham2013-11-141-3/+3
|
* Return result object when only one successful response is returnedtomneedham2013-11-141-2/+2
|
* Update lib/private/api.php after merge conflicttomneedham2013-11-141-1/+1
|
* Merge branch 'ocs_api_fix_success_code' into oc_api_teststomneedham2013-11-141-2/+13
|\
| * Pick any none 100 status code before defaulting to 100Tom Needham2013-11-131-2/+13
| |
* | Remove OC_App dependancy from OC_API::mergeResponses()tomneedham2013-11-131-9/+12
|/
* the filesystem has to be initialized once we know the userThomas Müller2013-11-081-0/+8
|
* Added missing HTTP prefix to the $_SERVER variableLukas Reschke2013-10-301-1/+1
|