summaryrefslogtreecommitdiffstats
path: root/lib/api.php
Commit message (Collapse)AuthorAgeFilesLines
* respect format outputBernhard Posselt2013-05-021-2/+3
|
* logout before output to not run into header already sent problemsBernhard Posselt2013-05-021-1/+2
|
* fix bug that would only return error responses for 3rdparty appsBernhard Posselt2013-05-021-1/+5
|
* Merge pull request #3154 from owncloud/fix_3153Frank Karlitschek2013-04-281-1/+1
|\ | | | | Change app identifier for core api routes
| * Use correct variable when checking authTom Needham2013-04-271-1/+1
| |
* | Correct the api response when both a shipped app and/or a third party app failTom Needham2013-04-251-2/+2
|/
* Rebase to current masterTom Needham2013-03-051-1/+1
|\
| * Fix SpaceBeforeOpenBrace errorsBart Visscher2013-02-141-1/+1
| |
| * Merge pull request #1287 from owncloud/ocs_xml_attributesThomas Müller2013-01-311-2/+5
| |\ | | | | | | API: Treat array keys starting with '@' as XML attributes
| | * Simpler method for getting the first charTom Needham2013-01-241-1/+1
| | |
| | * Remove some whitespaceTom Needham2013-01-241-4/+0
| | |
| | * API: If key begins with '@' treat it as an xml attributeTom Needham2013-01-241-2/+9
| | |
* | | Code style and remove OAuth codeTom Needham2013-02-101-11/+3
| | |
* | | Remove debug call, correct app identifierTom Needham2013-02-101-2/+0
| | |
* | | Fix api result merging.Tom Needham2013-02-091-3/+3
| | |
* | | Use OC_User::isAdminUser() in lib/api.phpTom Needham2013-02-091-2/+2
| | |
* | | API: Remove api response structure from OC_OCS_Result, handle multiple ↵Tom Needham2013-01-251-32/+123
|/ / | | | | | | registered methods for api calls
* | Merge pull request #1286 from owncloud/ocs_apiThomas Müller2013-01-241-0/+3
|\| | | | | Check that external api methods return instances of OC_OCS_Result
| * Code style updateTom Needham2013-01-231-1/+1
| |
| * Check that api methods return the correct result typeTom Needham2013-01-161-0/+3
| |
* | Merge pull request #1205 from owncloud/ocs_apiThomas Müller2013-01-181-0/+2
|\ \ | | | | | | Return 401 headers when trying to access a restricted api call
| * | Correct spelling of 'Authorization'tomneedham2013-01-171-1/+1
| |/
| * Fix incorrect indentationTom Needham2013-01-161-2/+2
| |
| * Return 401 headers when authentication is required for the api callTom Needham2013-01-161-0/+2
| |
* | Whitespace cleanupBart Visscher2013-01-161-11/+11
| |
* | Check if user is admin - boolLukas Reschke2013-01-141-3/+2
|/ | | | | | | | | | | There was no "isAdminUser()" function which returned bool. This is irritiating as there were a loooooooot of places in the code which checked this itself with `OC_Group::inGroup($uid, 'admin)` - why not use a function for this? (Especially if you consider that we might change the group name in the future, which would lead to problems then) Additionally, @Raydiation needed such a method for his AppFramework :)
* Merge branch 'master' into ocs_apiTom Needham2012-12-311-40/+38
| | | | | | | | | | | | | | Conflicts: l10n/templates/core.pot l10n/templates/files.pot l10n/templates/files_encryption.pot l10n/templates/files_external.pot l10n/templates/files_sharing.pot l10n/templates/files_versions.pot l10n/templates/lib.pot l10n/templates/settings.pot l10n/templates/user_ldap.pot l10n/templates/user_webdavauth.pot
* API: PUT and DELETE variables are now accessed from the parameters arrayTom Needham2012-12-151-3/+3
|
* API: Add check to see if the user is authorised to run the api methodTom Needham2012-12-121-5/+9
|
* API: Further tidying, implement OC_OCS_Result object for api results.Tom Needham2012-12-121-60/+9
|
* API: Specify the response format using a GET parameterTom Needham2012-12-111-9/+5
|
* Add API method for sharing a file, currently only via a link.Tom Needham2012-10-281-1/+1
|
* API: Parse PUT and DELETE variablesTom Needham2012-09-171-0/+6
|
* API: Allow admins to access SUBADMIN api methodsTom Needham2012-09-141-2/+8
|
* API: Use http authentication, check the auth level requiredTom Needham2012-09-131-19/+22
|
* API: Require api calls to register the required auth levelTom Needham2012-09-131-7/+56
|
* API: remove OAuth auth check, respond in ocs formatted xml/jsonTom Needham2012-09-041-11/+25
|
* Fix class nameTom Needham2012-08-301-1/+1
|
* API: Fix merging of responses. Return 400 error when no OAuth operation sent.Tom Needham2012-08-031-5/+5
|
* API: Check if the consumer has permissions to access the requested methodTom Needham2012-08-031-3/+9
|
* Move OAuth classes into lib/oauthTom Needham2012-08-031-2/+2
|
* OAuth server implementation using oauth libraryMichael Gapczynski2012-08-021-1/+10
|
* Routing: combine all routes into one setBart Visscher2012-08-021-0/+1
|
* Quick fix for xml encoding arraysBart Visscher2012-08-021-0/+3
|
* Change access to router object to getter functionBart Visscher2012-08-021-1/+1
|
* API: Complete respond functionBart Visscher2012-08-011-3/+22
|
* Logout the user at the end of a call to be statelessTom Needham2012-08-011-0/+2
|
* API: add OC_API::checkLoggedIn()Tom Needham2012-08-011-0/+11
|
* Fix /privatedata/getattribute routeBart Visscher2012-07-311-4/+6
|
* API: set request method for registered urlsBart Visscher2012-07-311-0/+1
|