summaryrefslogtreecommitdiffstats
path: root/public.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix singe user mode on public.php - take twoThomas Müller2015-04-101-1/+1
|
* Update license headersJenkins for ownCloud2015-03-261-1/+26
|
* Revert "Updating license headers"Morris Jobke2015-02-261-25/+1
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Merge pull request #14433 from owncloud/fix-public-phpThomas Müller2015-02-231-3/+4
|\ | | | | Use `getParam` instead of `server`
| * Use `getParam` instead of `server`Lukas Reschke2015-02-231-3/+4
| | | | | | | | | | | | | | | | | | | | `server` is completely wrong here and this will not work on master. With `getParam` it will work fine though. Testplan: - [ ] Without patch: Share a file and try to access `http://localhost/public.php?service=files&t=THESHAREDTOKEN` => Fails - [ ] With patch: Try the same => Works Master only.
* | Updating license headersJenkins for ownCloud2015-02-231-1/+25
|/
* Refactor OC_Request into TrustedDomainHelper and IRequestLukas Reschke2015-02-161-4/+5
| | | | | | | | | | 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/+5
|
* Fix service warningVincent Petry2014-07-021-1/+1
|
* Return 503 in public.php and OCS API when upgrade is dueVincent Petry2014-06-301-0/+8
| | | | | To prevent unexpected behavior, public.php and the OCS API calls will return 503 Service Unavailable when an upgrade is due.
* Move authentication to it's own callLukas Reschke2014-06-051-1/+2
|
* Remove legacy routing codeLukas Reschke2014-06-051-0/+4
| | | | | | | | | | | | | | | | | | | 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 pull request #7599 from owncloud/public-pathinfoicewind19912014-04-071-6/+14
|\ | | | | Allow using pathinfo based public.php paths
| * Allow using pathinfo based public.php pathsRobin Appelman2014-03-061-6/+14
| |
* | remove some more global variable $RUNTIME_NOAPPSThomas Müller2014-02-061-1/+0
|/
* Add "single user mode" which restricts access to users in the admin groupRobin Appelman2013-11-251-0/+1
| | | | This can be enabled by setting 'singleuser' to true in config.php
* set incognito mode for public.php calls. Because in this case ownCloud ↵Bjoern Schiessle2013-11-221-0/+1
| | | | should always work the same way as if no user is logged in
* 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-16/+26
|
* public.php - check if maintenance mode is enabledGeorg Ehrke2013-06-031-0/+1
|
* More Checkstyle cleanupFelix Moeller2012-10-231-1/+1
| | | | This is for all LowerCaseConstant warnings
* Update public.phpThomas Müller2012-09-041-4/+4
| | | respect coding style
* 404 if service is not set for public.phpMichael Gapczynski2012-08-281-0/+4
|
* Remove unused RUNTIME_NOSETUPFS varBart Visscher2012-08-081-1/+0
|
* fix remote and public.phpRobin Appelman2012-07-131-0/+1
|
* Check if app is enabled before loading in remote and public.phpBart Visscher2012-06-271-0/+1
|
* Correct remote and public, and last occurence of OC::Brice Maron2012-06-061-3/+3
|
* selective app loading for remote/publicRobin Appelman2012-05-141-2/+7
|
* improve remote.php and create public.phpGeorg Ehrke2012-05-071-0/+10