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
AgeCommit message (Collapse)Author
2022-10-05return proper error code when reporting exception fails in remote.phpdav-exception-requestRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-05-02Add missing use for LoggerInterfaceCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-06-04Update php licensesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-12-16Update all license headers for Nextcloud 21Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05Format code to a single space around binary operatorsChristoph Wurst
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>
2020-04-09Remove trailing and in between spacesChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-31Update the license headers for Nextcloud 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-27Sabre/DAV 4.0: beforeMethod is now beforeMethod:*Georg Ehrke
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-03-26Use the short array syntax, everywhereChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-05Update license headersChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-06-26Do not use HTTP code OC_Response constants anymoreMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-06-26Server exception error pages by default with a 500 status codeMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-06-26Server error/hint pages with a 500 error code to avoid it being seen instead ↵Morris Jobke
of the actual resource * found while reviewing #7205 * allow to specify a special status code Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-04-26First step of DAV endpointRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
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-08-01Suppress deprecated function in \OCP\JSONLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
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>
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-07-21Update with robinJoas Schilling
2016-07-21Fix othersJoas Schilling
2016-05-26Update license headersLukas Reschke
2016-05-02Fix undefined variable $exThomas Müller
2016-04-20Catch class Error on all root entrypointsThomas Müller
2016-04-12Employ a stricter Content Security Policy on remote.phpLukas Reschke
Items sent by remote.php have not to be interpreted by browsers in any way.
2016-04-05All webdav endpoints within remote.php are now hardcoded - helps to prevent ↵Thomas Müller
migration issues like #23610 - furthermore there is no need to dynamically lookup all the endpoints we already know
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-10-16Consolidate webdav code - move all to one appThomas Müller
2015-10-06deduplicate @xenopathicMorris Jobke
2015-10-05update licence headers via scriptMorris Jobke
2015-08-18Avoid logging normal exceptions in remote.phpRobin McCorkell
When the instance needs an upgrade, or a file is not found, no logging will occur to avoid filling up log files
2015-06-30Fixing content type detection and handle all local printErrorPage callsThomas Müller
2015-06-30Adding request specific exception handling - now with WebDAV responses - ↵Thomas Müller
refs #17192
2015-06-25update license headers and authorsMorris Jobke
2015-03-26Update license headersJenkins for ownCloud
2015-03-09Respect http header 'Accept-Language' on ocs and remote.php callsThomas Müller
2015-02-26Revert "Updating license headers"Morris Jobke
This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
2015-02-23Updating license headersJenkins for ownCloud
2015-02-17Refactor OC_Request into TrustedDomainHelper and IRequestLukas Reschke
This changeset removes the static class `OC_Request` and moves the functions either into `IRequest` which is accessible via `\OC::$server::->getRequest()` or into a separated `TrustedDomainHelper` class for some helper methods which should not be publicly exposed. This changes only internal methods and nothing on the public API. Some public functions in `util.php` have been deprecated though in favour of the new non-static functions. Unfortunately some part of this code uses things like `__DIR__` and thus is not completely unit-testable. Where tests where possible they ahve been added though. Fixes https://github.com/owncloud/core/issues/13976 which was requested in https://github.com/owncloud/core/pull/13973#issuecomment-73492969
2014-11-17Add sabredav plugin to check if a user has access to an appRobin Appelman
2014-08-04handle service not available exceptions in index, remote and public.phpRobin Appelman
2014-06-25Prevent loading apps in remote when an upgrade is dueVincent Petry
2014-06-05Move authentication to it's own callLukas Reschke
2014-06-05Remove legacy routing codeLukas Reschke
The getfile routing code was absolutely legacy and not needed anymore. Additionally \OC::$REQUESTEDAPP was never set to the actually accessed application. This commit removes the legacy routing code and ensures that $REQUESTEDAPP is always set so that other applications (e.g. the firewall or a two-factor authentication) can intercept the currently accessed app. Testplan: [x] Installation works [x] Login with DB works [x] Logout works [x] Login with alternate backend works (tested with user_webdavauth) [x] Other apps are accessible [x] Redirect on login works (e.g. index.php?redirect_url=%2Fcore%2Findex.php%2Fsettings%2Fapps%3Finstalled) [x] Personal settings are accessible [x] Admin settings are accessible [x] Sharing files works [x] DAV works [x] OC::$REQUESTEDAPP contains the requested application and can be intercepted by other applications
2014-03-21Merge branch 'master' into load-apps-proper-masterThomas Müller
Conflicts: apps/files/ajax/rawlist.php cron.php ocs/v1.php
2014-02-20Remove no longer needed if statementRobin Appelman
2014-02-20Merge pull request #7036 from LeBlaaanc/patch-1Thomas Müller
Removed '/'. Fixes #7035.
2014-02-13Remove usage of legacy OC_AppconfigRobin Appelman