Commit graph

5545 commits

Author SHA1 Message Date
Bart Visscher
372fdf8077 Add 'ocs' as app name to API registration 2012-07-30 21:19:02 +02:00
Tom Needham
91daf54d7c Check if required apps are installed 2012-07-30 16:41:07 +00:00
Tom Needham
2f84a8d746 Merge the responses recursively 2012-07-30 16:04:09 +00:00
Tom Needham
c4d87c1aff Add methods for getting users and creating users to provisioning api 2012-07-30 15:34:47 +00:00
Tom Needham
caa9182eed Updated group methods for provisioning api 2012-07-30 15:25:53 +00:00
Tom Needham
8161b04c33 Add Provisioning_API app and routes 2012-07-30 15:08:58 +00:00
Tom Needham
3a0e3708a5 Add public class for registering api calls 2012-07-30 14:26:15 +00:00
Tom Needham
c7c16ac49b Improve merging of api responses 2012-07-30 13:39:06 +00:00
Tom Needham
e47a8a9f09 Authorisation requires you to be logged in 2012-07-30 13:14:29 +00:00
Tom Needham
b0dc4383e1 Clean code slightly 2012-07-30 12:57:35 +00:00
Tom Needham
b563dff10a Record the app that is registering a call to use later with OAuth 2012-07-30 12:56:01 +00:00
Tom Needham
9ffaea480f Add the format parameter inside OC_API 2012-07-30 12:44:34 +00:00
Tom Needham
9072106048 Move OCS methods to lib/ocs/.php 2012-07-30 12:42:18 +00:00
Tom Needham
f09ecee63a Move routes to ocs folder 2012-07-30 12:41:26 +00:00
Tom Needham
e33174f115 Add core routes and include them in OC_API::call() 2012-07-30 10:56:21 +00:00
Tom Needham
cbc0f0c1c5 Include the css for the OAuth page 2012-07-30 10:51:48 +00:00
Tom Needham
138c66a2ba Improve styling of permission request page 2012-07-30 10:51:00 +00:00
Tom Needham
5933d43901 Basic template for authorising exernal apps with OAuth 2012-07-30 10:25:41 +00:00
Tom Needham
038af7e636 Add method to check if an app is shipped or not 2012-07-29 15:29:26 +00:00
Tom Needham
9dbe5f3703 Load routes before calling actions 2012-07-28 21:57:24 +00:00
Tom Needham
c375774fca Fix odd indentation issue 2012-07-28 21:50:40 +00:00
Tom Needham
20838bb9c2 Basic structure and functionality of api class 2012-07-28 21:40:11 +00:00
Tom Needham
edb04b25de Fix merge conflicts 2012-07-26 11:26:22 +00:00
Bart Visscher
b3848581bf Small cleanup 2012-07-25 18:00:03 +02:00
Bart Visscher
5a0d476ab1 Convert new actions 2012-07-25 17:59:50 +02:00
Bart Visscher
d579defc66 Merge branch 'master' into routing 2012-07-25 17:51:36 +02:00
Bart Visscher
d17eb2983f OpenID: fix include path 2012-07-25 17:45:59 +02:00
Bart Visscher
ac9dbd4b83 Add functions for the common HTTP methods 2012-07-25 17:45:29 +02:00
Arthur Schiwon
71b862e571 LDAP: replace deprecated constant 2012-07-25 15:11:58 +02:00
Arthur Schiwon
4a2295b75b code style 2012-07-25 15:10:56 +02:00
Arthur Schiwon
6285cc2604 LDAP: remove debug output 2012-07-25 13:19:07 +02:00
Arthur Schiwon
ab1d9507a9 code style 2012-07-25 13:18:31 +02:00
Arthur Schiwon
edfd789a87 LDAP: remove obsolete require_once 2012-07-25 13:16:31 +02:00
Arthur Schiwon
8664729843 code style 2012-07-25 13:14:32 +02:00
Arthur Schiwon
15f7d838fa code style 2012-07-25 13:13:01 +02:00
Arthur Schiwon
569e52b87c remove unnecessary debug output 2012-07-25 13:11:42 +02:00
Arthur Schiwon
c8404a7bfa code style 2012-07-25 13:10:59 +02:00
Arthur Schiwon
92f447ca50 code style 2012-07-25 13:09:51 +02:00
Arthur Schiwon
a6c5309e16 LDAP: adjust test after refactoring 2012-07-25 12:56:09 +02:00
Arthur Schiwon
b10f7aafb7 LDAP: silence warning, but handle the error 2012-07-25 12:56:09 +02:00
Arthur Schiwon
25ad1d5c3e LDAP: split up LIB_LDAP into Access for LDAP interaction functions and Connection for configuration and resource management. Adjust user_ldap, group_ldap and the app accordingly. 2012-07-25 12:56:09 +02:00
Arthur Schiwon
eefe6882f9 method not used externally, thus not needed in interface 2012-07-25 12:56:09 +02:00
Arthur Schiwon
d0aebf05bf LDAP: group backend now implements the interface, does not inherit backend class 2012-07-25 12:56:08 +02:00
Arthur Schiwon
6b320a2604 provide recursiveArraySearch as Helper function and make available through API 2012-07-25 12:56:08 +02:00
Arthur Schiwon
42492338fc LDAP: put app under the OCA\user_ldap\ namespace 2012-07-25 12:56:08 +02:00
Arthur Schiwon
57c375ea24 Support for OCA namespace 2012-07-25 12:56:08 +02:00
Arthur Schiwon
5888cb48b6 Support for OCA namespace 2012-07-25 12:56:08 +02:00
Arthur Schiwon
afdc5bf264 LDAP: switch user backend from extending class OC_User_Backend to implementing OC_User_Interface for improved flexibility 2012-07-25 12:56:08 +02:00
Arthur Schiwon
81c0ca4ffb remove only internally used function from interface 2012-07-25 12:56:08 +02:00
Arthur Schiwon
0196e6eada Offer User and Group interfaces in public API 2012-07-25 12:56:08 +02:00