summaryrefslogtreecommitdiffstats
path: root/lib/private/OCS
Commit message (Collapse)AuthorAgeFilesLines
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headers for 19Christoph Wurst2020-04-292-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-104-14/+9
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-055-5/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+0
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow to skip retrieving from cache in the DiscoveryServiceRoeland Jago Douma2018-04-181-6/+9
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add extra check so we don't error out on typeRoeland Jago Douma2018-01-161-1/+4
| | | | | | | json_decode can return false if we have invalid data. In that case just assume there was nothing cached Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Strict DiscoveryServiceRoeland Jago Douma2018-01-161-9/+10
| | | | | | | | * Made strict * Type hints * Return types Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Also replace all other occurencesMorris Jobke2017-12-181-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Also cache invalid DiscoveryService responseRoeland Jago Douma2017-12-131-2/+1
| | | | | | | | * Cache it for a day so we will retry eventually * Cache the status.php response as well so we will try it once a day as well Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-062-0/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix OCS ExceptionRoeland Jago Douma2017-08-011-0/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* PrivateData to appRoeland Jago Douma2017-07-211-114/+0
| | | | | | | * PrivateData is an app now: https://github.com/nextcloud/privatedata * No need to load the OCS routes.php (as there is none!) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* add tests for discovery serviceBjoern Schiessle2017-04-111-3/+3
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* provide public discovery service to discover OCS end-points on another serverBjoern Schiessle2017-04-111-0/+125
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* announce public endpoints to sync trusted serversBjoern Schiessle2017-03-091-0/+17
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Move OC\OCS\Person to OCSControllerRoeland Jago Douma2016-11-161-48/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add bruteforce checker to Person.phpLukas Reschke2016-11-141-0/+3
| | | | | | Also check for attempts on this endpoint Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Remove unused private classesRoeland Jago Douma2016-08-181-39/+0
|
* Remove OC_OCS_Cloud and OC\OCS\CloudRoeland Jago Douma2016-08-091-39/+0
|
* Move getCapabilities over to CoreRoeland Jago Douma2016-08-091-16/+0
|
* Fix othersJoas Schilling2016-07-218-16/+24
|
* Update license headersLukas Reschke2016-05-266-6/+12
|
* Move OCS Provider to PSR-4 namespaceJoas Schilling2016-05-191-0/+96
|
* lib/private/ocs to PSR-4 (#24558)Roeland Douma2016-05-127-0/+496
* Move OC_OCS_XX to legacy * Move \OC\OCS to PSR-4 * OC_OCS_xx to \OC\OCS\xx * Moved OC_OCS_xx to proper namespace * OC_OCS_xx is still there for legacy reasons as a wrapper * No calls to OC_OCS_xx in \OC\OCS\