Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ocs
AgeCommit message (Collapse)Author
2022-01-13Check style updateCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-22Return 500 and the exception message (on debug) on OCSJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-04Update php licensesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-03Remove deprecated \OCP\APIRoeland Jago Douma
Time to remove this forgood now. Remaining constant moved over The world is a tiny bit better Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-16Update all license headers for Nextcloud 21Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-10Fix loading order for OCS endpointsVincent Petry
The loading order can have side effects in the way how apps register plugins, listeners, etc. Recently the order had been changed as part of cleaning up old code, but caused apps to break. This brings back the old app loading order to guarantee that apps won't break, even though it might not semantically make sense. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-11-17Remove some IRouter methodsRoeland Jago Douma
This is not the end. IRouter needs to burn. But it is a start. 🎵 we didn't start the fire 🎵 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-31Remove the matching on ancient /ocs routesRoeland Jago Douma
The appframework has been the default for quite some time now. So time to take proper advantage of it. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-05Format code to a single space around binary operatorsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-16Fix invalid usage of \Exception::getResultChristoph Wurst
Only OCS exceptions have a getResult method. Any other exception will cause another error due to this invalid method call. This splits the catch into a specific one for OCS and then a generic one for anything else that can't be handled. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10Format control structures, classes, methods and functionChristoph Wurst
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>
2019-12-05Update license headersChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-22Make sure maintenance mode is always casted to boolJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-07-26Fix undefined constant error for STATUS_SERVICE_UNAVAILABLEJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-26Replace hardcoded status headers with calls to http_response_code()Morris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-17Warn about the old OCP\API::register construct for OCSRoeland Jago Douma
* Add sleep * Add log message Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-01-09Remove "DEBUG OUTPUT:" from failing OCS API requestsMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-12-12Nextcloud 13 is not compatible with newer than php 7.2Roeland Jago Douma
Just to avoid users from trying this with a to new (untested) php version * Moved the check logic to 1 place * All directly callable scripts just require this on top * exit hard (-1) so we know scripts won't continue * Return status 500 so no sync clients will try fancy stuff Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-11-06Update license headersMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-09-21OC_OCS_Response is deprecatedRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-08-01Suppress deprecated function in \OCP\JSONLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-21PrivateData to appRoeland Jago Douma
* 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>
2017-04-07Don't force the use of Accept-Language anymoreJoas Schilling
This is not intended anymore, since it falls back to force english when the header is not set. Also 0228bc6e66cbcb2848eacb41f1de6e7f63ebcb65 makes clear that the order should be: 1. User setting 2. Accept language 3. Admin default This is the case since the commit from above, unless via OCS and DAV. Both forced to accept-language falling back to english. By removing the force, it now also matches the w3 priority list: https://www.w3.org/International/questions/qa-lang-priorities Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-03Get rid of static OCS::notFound()Morris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-02-23Clean up single user modeMorris Jobke
Single user mode basically disables WebDAV, OCS and cron execution. Since we heavily rely on WebDAV and OCS also in the web UI it's basically useless. An admin only sees a broken interface and can't even change any settings nor sees any files. Also sharing is not possible. As this is at least the case since Nextcloud 9 and we haven't received any reports for this it seems that this feature is not used at all so I removed it. The encryption commands now rely on the well tested maintenance mode. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-02-08log ocs exceptionsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-12-16Die in OCS v1.php on exceptionVincent Petry
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-16Move OC\OCS\Person to OCSControllerRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-06Allow to call the files even when you are in another instance atmJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-08-28Move federated sharing routes to the federatedfilesharingappRoeland Jago Douma
* Move routes to app * Move routes over to the AppFramework * Fix tests There is plenty of stuff to fix properly here. But out of scope for now.
2016-08-18Move /config over to Core OCSControllerRoeland Jago Douma
2016-08-09Move /cloud/user to Core appRoeland Jago Douma
2016-08-09Move getCapabilities over to CoreRoeland Jago Douma
2016-07-22Catch LoginExceptionRoeland Jago Douma
2016-07-21Update with robinJoas Schilling
2016-07-21Fix othersJoas Schilling
2016-07-18Only login if user is not logged-inLukas Reschke
2016-07-18Make the OCS endpoint handle the new OCS AppFramework routesRoeland Jago Douma
2016-07-14remove unused parameterBjoern Schiessle
2016-06-16load authentication apps first (#25126)Christoph Wurst
* load authentication apps first * load session apps before all other apps
2016-05-26Update license headersLukas Reschke
2016-05-20update share permissionsBjörn Schießle
2016-05-20create re-share by owner and propagate unshare and unshare-from self requestBjörn Schießle
correctly accross share owner and share initiator
2016-05-20use query builder for getShare and add testsBjörn Schießle
2016-05-20move request handler for federated shares to the federated sharing appBjörn Schießle
2016-04-22move federated sharing settings to the federatedfilesharing appBjörn Schießle
2016-03-01Update author informationLukas Reschke
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
2016-01-26Move findLanguage() and setLanguageFromRequest() to factoryJoas Schilling
2016-01-12Happy new year!Thomas Müller
2015-11-30Use XMLWriter to generate responseLukas Reschke
Gets rid of manual XML generation.