Commit Graph

66 Commits (f3319f62949f873420d8ebe843b26cc66fc1314f)

Author SHA1 Message Date
Joas Schilling f3319f6294
Allow to call the files even when you are in another instance atm
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling 0215b004da
Update with robin 8 years ago
Joas Schilling ba87db3fcc
Fix others 8 years ago
Lukas Reschke aba539703c
Update license headers 8 years ago
Thomas Müller 211e518e16 Fix undefined variable $ex 8 years ago
Thomas Müller 6a6fc742dc Catch class Error on all root entrypoints 8 years ago
Lukas Reschke 0cba1ba7f9
Employ a stricter Content Security Policy on remote.php
Items sent by remote.php have not to be interpreted by browsers in any way.
8 years ago
Thomas Müller 7bdde98617 All webdav endpoints within remote.php are now hardcoded - helps to prevent migration issues like #23610 - furthermore there is no need to dynamically lookup all the endpoints we already know 8 years ago
Lukas Reschke 933f60e314 Update author information
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
8 years ago
Joas Schilling 043625ee52 Move findLanguage() and setLanguageFromRequest() to factory 8 years ago
Thomas Müller 682821c71e Happy new year! 8 years ago
Thomas Müller f2889dc6e4 Consolidate webdav code - move all to one app 9 years ago
Morris Jobke 8366ce2767 deduplicate @xenopathic 9 years ago
Morris Jobke b945d71384 update licence headers via script 9 years ago
Robin McCorkell b4532028f9 Avoid logging normal exceptions in remote.php
When the instance needs an upgrade, or a file is not found, no logging
will occur to avoid filling up log files
9 years ago
Thomas Müller 039a470a6a Fixing content type detection and handle all local printErrorPage calls 9 years ago
Thomas Müller 5dc7eebcdb Adding request specific exception handling - now with WebDAV responses - refs #17192 9 years ago
Morris Jobke f63915d0c8 update license headers and authors 9 years ago
Jenkins for ownCloud b585d87d9d Update license headers 9 years ago
Thomas Müller 2367797c17 Respect http header 'Accept-Language' on ocs and remote.php calls 9 years ago
Morris Jobke 06aef4e8b1 Revert "Updating license headers"
This reverts commit 6a1a4880f0.
9 years ago
Jenkins for ownCloud 6a1a4880f0 Updating license headers 9 years ago
Lukas Reschke 886bda5f81 Refactor OC_Request into TrustedDomainHelper and IRequest
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
9 years ago
Robin Appelman 7cb12d4bff Add sabredav plugin to check if a user has access to an app 10 years ago
Robin Appelman a05147e25c handle service not available exceptions in index, remote and public.php 10 years ago
Vincent Petry 4e43e3626e Prevent loading apps in remote when an upgrade is due 10 years ago
Lukas Reschke 7c4abce373 Move authentication to it's own call 10 years ago
Lukas Reschke ac7fb1b23e Remove legacy routing code
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
10 years ago
Thomas Müller 6ff96b34ad Merge branch 'master' into load-apps-proper-master
Conflicts:
	apps/files/ajax/rawlist.php
	cron.php
	ocs/v1.php
10 years ago
Robin Appelman d329049e53 Remove no longer needed if statement 10 years ago
Thomas Müller 3219433e20 Merge pull request #7036 from LeBlaaanc/patch-1
Removed '/'. Fixes #7035.
10 years ago
Robin Appelman 181bbd4325 Remove usage of legacy OC_Appconfig 10 years ago
Thomas Müller 0db5fead8e remove some more global variable $RUNTIME_NOAPPS 10 years ago
Chris LeBlanc 652f60419f Removed '/'. Fixes #7035.
Not sure if that '/' is necessary but it broke things on my installation.
10 years ago
kondou 9e8a6b704d Add _many_ newlines at the end of files 11 years ago
Jörn Friedrich Dreyer 8dc6bdd96b clean up usage of DatabaseSetupException and catch Exceptions in entrypoints 11 years ago
Felix Moeller 2d61f03452 More Checkstyle cleanup
This is for all LowerCaseConstant warnings
12 years ago
Georg Ehrke a657bfa369 fix remote.php for our favorite OS - Windows 12 years ago
Thomas Müller ca2a518945 Update remote.php
respect coding style
12 years ago
Michael Gapczynski 4ac7c414c4 Check if path info is empty for remote.php, prevent error 12 years ago
Bart Visscher 7522a23693 Remove unused RUNTIME_NOSETUPFS var 12 years ago
Bart Visscher 7d20e98aec Move getting the path info to OC_Request 12 years ago
Georg Ehrke c8de77b3fd fix errors like Failed opening required ownCloudcalendar/appinfo/remote.php 12 years ago
Robin Appelman 880d80be67 fix minified js and css 12 years ago
Robin Appelman b45d3ced79 fix remote and public.php 12 years ago
Bart Visscher 9ea34cae43 Simplified remote.php file loading 12 years ago
Bart Visscher 153ee9dcfa Check if app is enabled before loading in remote and public.php 12 years ago
Brice Maron a52036f3ef Quick fix of multi app migration. Need a better solution 12 years ago
Brice Maron 0ab6e2ee3d Try to fix the remote pbm. fix oc-1090 12 years ago
Brice Maron d22f805b63 Correct inclusion paths 12 years ago