Commit Graph

1494 Commits (2c664c60e27df290ba4c1d5de42cf50beac2cfdb)

Author SHA1 Message Date
Tom Needham 470b87f625 Fix ocs/person/check 14 years ago
Tom Needham 4224eb8831 API: remove OAuth auth check, respond in ocs formatted xml/json 14 years ago
Tom Needham 37bb16becb API: Add callback_fail, add OC_OAuth::init and bespoke request token method 14 years ago
Tom Needham 67c2d56be8 Add ownCloud OAuth store backend. WIP 14 years ago
Tom Needham 0d1d2c0b61 Fix class name 14 years ago
Tom Needham 21f8646ffc API: Fix merging of responses. Return 400 error when no OAuth operation sent. 14 years ago
Tom Needham 6047a5fe51 API: Check if the consumer has permissions to access the requested method 14 years ago
Tom Needham a7906d813a Move OAuth classes into lib/oauth 14 years ago
Michael Gapczynski e3d88270cc OAuth server implementation using oauth library 14 years ago
Bart Visscher 4b9200f6f7 Routing: combine all routes into one set 14 years ago
Bart Visscher 6ba2623485 Move loading of routes to OC::getRouter function 14 years ago
Bart Visscher 37ef522b05 Quick fix for xml encoding arrays 14 years ago
Bart Visscher 7952c6a31c Change access to router object to getter function 14 years ago
Bart Visscher 93daa9e247 API: Complete respond function 14 years ago
Tom Needham c11c2d0fd4 Logout the user at the end of a call to be stateless 14 years ago
Tom Needham 2afe5f9b2b API: add OC_API::checkLoggedIn() 14 years ago
Tom Needham e315384b4d Remove unnecessary include 14 years ago
Tom Needham e7f7693b2f Fix 3rdparty paths, initialise OAuth in correct order 14 years ago
Bart Visscher 7426217e76 Fix /privatedata/getattribute route 14 years ago
Bart Visscher 71918a820f API: set request method for registered urls 14 years ago
Bart Visscher 9d6a09f589 Routing: Method needs to be uppercase 14 years ago
Bart Visscher 28537037ae Fixup OCS modules 14 years ago
Bart Visscher c2bdb5c716 Fix require 3rdpartypath 14 years ago
Tom Needham fcf3dbcfc1 Require a username for OC_OAuth::registerConsumer() 14 years ago
Tom Needham ce41f3801e Actually login the user when using OAuth 14 years ago
Tom Needham 78bbcc8aea Basic OAuth class based on oauth-php. WIP 14 years ago
Tom Needham 5922599f48 Handle function not needed in lib/ocs.php 14 years ago
Tom Needham b05639e745 Fix error with namespacing 14 years ago
Tom Needham cc6911e1f7 Make method static 14 years ago
Bart Visscher 0a9ca42c34 Fix OC_OCS_Privatedata::privateDataGet 14 years ago
Bart Visscher 7a24f0cd8d Make calling ocs/v1.php/config work 14 years ago
Bart Visscher 180bd69dbb Fix OC_API::register 14 years ago
Bart Visscher 95d3b83a77 Create OC_Router in OC::init 14 years ago
Bart Visscher 0271bfa3b7 Move loading of routes to OC_Router 14 years ago
Tom Needham 2f84a8d746 Merge the responses recursively 14 years ago
Tom Needham 3a0e3708a5 Add public class for registering api calls 14 years ago
Tom Needham c7c16ac49b Improve merging of api responses 14 years ago
Tom Needham b0dc4383e1 Clean code slightly 14 years ago
Tom Needham b563dff10a Record the app that is registering a call to use later with OAuth 14 years ago
Tom Needham 9ffaea480f Add the format parameter inside OC_API 14 years ago
Tom Needham 9072106048 Move OCS methods to lib/ocs/.php 14 years ago
Tom Needham e33174f115 Add core routes and include them in OC_API::call() 14 years ago
Tom Needham 038af7e636 Add method to check if an app is shipped or not 14 years ago
Tom Needham 9dbe5f3703 Load routes before calling actions 14 years ago
Tom Needham c375774fca Fix odd indentation issue 14 years ago
Tom Needham 20838bb9c2 Basic structure and functionality of api class 14 years ago
Bart Visscher b3848581bf Small cleanup 14 years ago
Bart Visscher 5a0d476ab1 Convert new actions 14 years ago
Bart Visscher ac9dbd4b83 Add functions for the common HTTP methods 14 years ago
Arthur Schiwon eefe6882f9 method not used externally, thus not needed in interface 14 years ago