summaryrefslogtreecommitdiffstats
path: root/remote.php
Commit message (Collapse)AuthorAgeFilesLines
* Nextcloud 13 is not compatible with newer than php 7.2Roeland Jago Douma2017-12-121-0/+2
| | | | | | | | | | | 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>
* Suppress deprecated function in \OCP\JSONLukas Reschke2017-08-011-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Don't force the use of Accept-Language anymoreJoas Schilling2017-04-071-3/+0
| | | | | | | | | | | | | | | | | 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>
* Allow to call the files even when you are in another instance atmJoas Schilling2016-10-061-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-2/+3
|
* Update license headersLukas Reschke2016-05-261-1/+1
|
* Fix undefined variable $exThomas Müller2016-05-021-1/+1
|
* Catch class Error on all root entrypointsThomas Müller2016-04-201-3/+5
|
* Employ a stricter Content Security Policy on remote.phpLukas Reschke2016-04-121-0/+5
| | | | Items sent by remote.php have not to be interpreted by browsers in any way.
* All webdav endpoints within remote.php are now hardcoded - helps to prevent ↵Thomas Müller2016-04-051-1/+22
| | | | migration issues like #23610 - furthermore there is no need to dynamically lookup all the endpoints we already know
* Update author informationLukas Reschke2016-03-011-0/+1
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* Move findLanguage() and setLanguageFromRequest() to factoryJoas Schilling2016-01-261-1/+1
|
* Happy new year!Thomas Müller2016-01-121-2/+2
|
* Consolidate webdav code - move all to one appThomas Müller2015-10-161-1/+1
|
* deduplicate @xenopathicMorris Jobke2015-10-061-1/+1
|
* update licence headers via scriptMorris Jobke2015-10-051-1/+1
|
* Avoid logging normal exceptions in remote.phpRobin McCorkell2015-08-181-3/+8
| | | | | When the instance needs an upgrade, or a file is not found, no logging will occur to avoid filling up log files
* Fixing content type detection and handle all local printErrorPage callsThomas Müller2015-06-301-12/+29
|
* Adding request specific exception handling - now with WebDAV responses - ↵Thomas Müller2015-06-301-7/+33
| | | | refs #17192
* update license headers and authorsMorris Jobke2015-06-251-1/+0
|
* Update license headersJenkins for ownCloud2015-03-261-1/+27
|
* Respect http header 'Accept-Language' on ocs and remote.php callsThomas Müller2015-03-091-0/+3
|
* Revert "Updating license headers"Morris Jobke2015-02-261-25/+1
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-1/+25
|
* Refactor OC_Request into TrustedDomainHelper and IRequestLukas Reschke2015-02-161-6/+7
| | | | | | | | | | 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
* Add sabredav plugin to check if a user has access to an appRobin Appelman2014-11-171-1/+3
|
* handle service not available exceptions in index, remote and public.phpRobin Appelman2014-08-041-0/+4
|
* Prevent loading apps in remote when an upgrade is dueVincent Petry2014-06-251-0/+9
|
* Move authentication to it's own callLukas Reschke2014-06-051-1/+2
|
* Remove legacy routing codeLukas Reschke2014-06-051-1/+5
| | | | | | | | | | | | | | | | | | | 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
* Merge branch 'master' into load-apps-proper-masterThomas Müller2014-03-211-6/+2
|\ | | | | | | | | | | | | Conflicts: apps/files/ajax/rawlist.php cron.php ocs/v1.php
| * Remove no longer needed if statementRobin Appelman2014-02-201-5/+1
| |
| * Merge pull request #7036 from LeBlaaanc/patch-1Thomas Müller2014-02-201-1/+1
| |\ | | | | | | Removed '/'. Fixes #7035.
| | * Removed '/'. Fixes #7035.Chris LeBlanc2014-02-011-1/+1
| | | | | | | | | Not sure if that '/' is necessary but it broke things on my installation.
| * | Remove usage of legacy OC_AppconfigRobin Appelman2014-02-131-1/+1
| |/
* / remove some more global variable $RUNTIME_NOAPPSThomas Müller2014-02-061-1/+0
|/
* Add _many_ newlines at the end of fileskondou2013-08-181-1/+1
|
* clean up usage of DatabaseSetupException and catch Exceptions in entrypointsJörn Friedrich Dreyer2013-06-101-34/+43
|
* More Checkstyle cleanupFelix Moeller2012-10-231-1/+1
| | | | This is for all LowerCaseConstant warnings
* fix remote.php for our favorite OS - WindowsGeorg Ehrke2012-10-081-1/+5
|
* Update remote.phpThomas Müller2012-09-041-4/+4
| | | respect coding style
* Check if path info is empty for remote.php, prevent errorMichael Gapczynski2012-08-281-1/+1
|
* Remove unused RUNTIME_NOSETUPFS varBart Visscher2012-08-081-1/+0
|
* Move getting the path info to OC_RequestBart Visscher2012-08-071-5/+1
|
* fix errors like Failed opening required ownCloudcalendar/appinfo/remote.phpGeorg Ehrke2012-07-261-1/+1
|
* fix minified js and cssRobin Appelman2012-07-141-0/+2
|
* fix remote and public.phpRobin Appelman2012-07-131-6/+4
|
* Simplified remote.php file loadingBart Visscher2012-07-041-23/+13
|
* Check if app is enabled before loading in remote and public.phpBart Visscher2012-06-271-2/+13
|