Commit Graph

48 Commits (e2cfcd992cf6f4bb5f1cdb9070d3d0ea2a1504e2)

Author SHA1 Message Date
Lukas Reschke c6f6a8758b Drop OC_SubAdmin and replace usages 10 years ago
Lukas Reschke e03f0542e4 Strip directory from scriptName 10 years ago
Morris Jobke b945d71384 update licence headers via script 10 years ago
Thomas Müller 2c8eaacec7 Merge headers of ocs results 10 years ago
Thomas Müller 1d219cf799 With V2 we should ensure that the status codes are kept in sync 11 years ago
Thomas Müller 0595c05200 Adding header support to class OC_OCS_Result 11 years ago
Thomas Müller db1416346c Following the spec: 11 years ago
Thomas Müller 6c46430cdb Return 200 not null - we should return consistent types 11 years ago
Thomas Müller 649cc2fa89 Remove duplicate and unused code 11 years ago
Thomas Müller bacf1603ff Adding ocs/v2.php with status code mapper 11 years ago
Morris Jobke f63915d0c8 update license headers and authors 11 years ago
Joas Schilling 3f3f8c2f99 Fix usage of deprecated private constants 11 years ago
Joas Schilling 6ce1abfa5c Deprecate the OC_API constants in favor of the OCP ones 11 years ago
Jenkins for ownCloud b585d87d9d Update license headers 11 years ago
Lukas Reschke faddd1e256 Simplify code 11 years ago
Lukas Reschke 5c2fafa05f Read from IRequest instead of reading twice 11 years ago
Morris Jobke 06aef4e8b1 Revert "Updating license headers" 11 years ago
Jenkins for ownCloud 6a1a4880f0 Updating license headers 11 years ago
Lukas Reschke 9031d79597 Return UID instead of login name 11 years ago
Lukas Reschke a02b00445e Store result of authentication 11 years ago
Thomas Müller 320a3c3784 because OC_User::login will create a new session we shall only try to login if user and pass are set 11 years ago
Jörn Friedrich Dreyer 5a588333b2 introduce and use getCurrentConnection() 12 years ago
Jörn Friedrich Dreyer dd20b9f672 reset collection to 'root' after adding a route to the api 12 years ago
Vincent Petry 972fffbe02 Return 503 OCS response with requested format 12 years ago
Lukas Reschke e88731a477 Some more PHPDoc fixes 12 years ago
Thomas Müller 88f6dd7db1 fixing method names 12 years ago
Thomas Müller 743addd1e3 set content-type on ocs exceptions 12 years ago
Robin Appelman 26793e1f94 switch OC::getRouter usages to OC::$server->getRouter 12 years ago
Thomas Müller 25f523680a fixing ident 12 years ago
Thomas Müller 0d90b90d94 we first shall check if the current session is valid - otherwise the session-id will be regenerated on login via basic auth 12 years ago
Jörn Friedrich Dreyer 2a6a9a8cef polish documentation based on scrutinizer patches 12 years ago
Bjoern Schiessle 6845860470 keep response message 12 years ago
tomneedham 1449437c9e Merge multiple failed third party responses when returning the result 12 years ago
tomneedham bb182bbfb2 Merge multiple shipped failures before responding. 12 years ago
tomneedham ca5c39a3a1 Return failed shipped responses over succedded shipped responses 12 years ago
tomneedham a39f3fdbf9 Return result object when only one successful response is returned 12 years ago
tomneedham 790055571d Update lib/private/api.php after merge conflict 12 years ago
tomneedham f19caeed33 Remove OC_App dependancy from OC_API::mergeResponses() 12 years ago
Tom Needham 17e45e2002 Pick any none 100 status code before defaulting to 100 12 years ago
Thomas Müller f93dcc5d77 the filesystem has to be initialized once we know the user 12 years ago
Lukas Reschke cba12e009f Added missing HTTP prefix to the $_SERVER variable 12 years ago
Thomas Müller 3d42e402c5 http header OCS-ApiRequest: true is required in case of session based OCS API calls 12 years ago
Thomas Müller 581cd9bb9c Support existing sessions within OCS API calls 12 years ago
Thomas Müller 9c9dc276b7 move the private namespace OC into lib/private - OCP will stay in lib/public 12 years ago
Bart Visscher 8ca0a957ad Allow setting defaults and requirements for the api route 13 years ago
Bernhard Posselt 11afb2e5a8 respect format output 13 years ago
Bernhard Posselt 0f38e6ec9c logout before output to not run into header already sent problems 13 years ago
Bernhard Posselt ed0c23a9cc fix bug that would only return error responses for 3rdparty apps 13 years ago
Florin Peter 3c100af132 revert changes to fbbc76f281 because master is very unstable right now 13 years ago
Tom Needham d33f6b9af6 Use correct variable when checking auth 13 years ago