aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/OCS/DiscoveryService.php
Commit message (Collapse)AuthorAgeFilesLines
* Refactor lib/private/ocsHamid Dehnavi2024-02-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com> Refactor lib/private/ocs Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com> Refactor lib/private/ocs Co-authored-by: Faraz Samapoor <f.samapoor@gmail.com> Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com> Add adjustments based on the review Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com> replace qualifier with an import Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com> refactor lib/private/OCS Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-1/+1
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix typos in lib/private subdirectoryluz paz2022-07-271-1/+1
| | | | | | Found via `codespell -q 3 -S l10n -L jus ./lib/private` Signed-off-by: luz paz <luzpaz@github.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* 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-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-5/+3
| | | | | | | | | | | | | | | 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 license headersChristoph Wurst2019-12-051-1/+5
| | | | 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-061-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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>