Marius Blüm
a64aad9c4b
Add PHP missing message to index.php
Signed-off-by: Marius Blüm <marius@lineone.io>
8 years ago
Roeland Jago Douma
b8af7ee9bc
Nextcloud 13 is not compatible with newer than php 7.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>
9 years ago
Morris Jobke
31c5c2a592
Change @georgehrke's email
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
9 years ago
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
9 years ago
Morris Jobke
68dbf94470
Show proper error page even if the config.php has syntax errors
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
9 years ago
Morris Jobke
11c31e94fe
Improve exception handling
If there is an exception in the template handling then a white page is shown.
This improves the handling of this and shows text only about the internal
error.
To test this just setup redis as cache and then disable the php-redis module.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
9 years ago
Morris Jobke
fc75993f8f
fix wrong method name
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
10 years ago
Sergio Bertolín
0417cbafd0
Changed request to not add a prefix to the url ( #26256 )
* Changed request to not add a prefix to the url
* Expecting forbidden instead of service unavailable
* Handling login exceptions
10 years ago
Georg Ehrke
a48aed2ee9
use older php array syntax in index.php
10 years ago
Joas Schilling
f3319f6294
Allow to call the files even when you are in another instance atm
Signed-off-by: Joas Schilling <coding@schilljs.com>
10 years ago
Lukas Reschke
b7decc52e9
Master supports PHP 7.1
10 years ago
Lukas Reschke
5e10284e34
Proper branding
10 years ago
Lukas Reschke
4212ffbdac
Show error if PHP version below 5.6 is used
10 years ago
Lukas Reschke
c59c462344
Nextcloud is not compatible with PHP 7.1
Make the code fail hard before people update and then experience some half-broken stuff. See also https://github.com/nextcloud/docker-ci/issues/10
10 years ago
Joas Schilling
0215b004da
Update with robin
10 years ago
Joas Schilling
ba87db3fcc
Fix others
10 years ago
Lukas Reschke
aba539703c
Update license headers
10 years ago
Thomas Müller
6a6fc742dc
Catch class Error on all root entrypoints
10 years ago
Thomas Müller
682821c71e
Happy new year!
11 years ago
Morris Jobke
b945d71384
update licence headers via script
11 years ago
Jenkins for ownCloud
b585d87d9d
Update license headers
11 years ago
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0 .
12 years ago
Jenkins for ownCloud
6a1a4880f0
Updating license headers
12 years ago
Lukas Reschke
dc9c5ecdba
Show warning for PHP versions older than 5.4.0
We can't check the PHP version in the installer since base.php already used 5.4 syntax. Thus for a better UX we show a simple warning instead of a fatal PHP error.
12 years ago
Lukas Reschke
2d2a4741ce
Make files non executable
There is not much sense in having these files marked executable, we should avoid that.
12 years ago
Lukas Reschke
6d3757f864
Do not show exception to the end-user
Log the error instead of potentially leaking sensitive information
12 years ago
Robin Appelman
a05147e25c
handle service not available exceptions in index, remote and public.php
12 years ago
Thomas Müller
afbe50d09c
remove global variable $RUNTIME_NOAPPS - it's just superfluous
13 years ago
Vincent Petry
c4dee281e6
Added $app parameter to logException
13 years ago
Vincent Petry
42c58220de
Moved logException to OCP\Util class
13 years ago
Vincent Petry
83956b1703
Expand exception stack trace in log in debug mode
13 years ago
Thomas Müller
5acb3c4c0d
first log the exception
13 years ago
Jörn Friedrich Dreyer
9c9bfcd626
log as index, not remote
13 years ago
Jörn Friedrich Dreyer
8dc6bdd96b
clean up usage of DatabaseSetupException and catch Exceptions in entrypoints
13 years ago
Felix Moeller
ddfcc96ab5
Checkstyle: LowerCaseConstant
14 years ago
Sam Tuke
8b01286a5d
Merged branch 'master'
14 years ago
Thomas Müller
08edb5dc58
Update index.php
14 years ago
Lukas Reschke
360c22fd28
Validate cookie to prevent auth bypasses.
14 years ago
Bart Visscher
5e7086adc9
Move login handling to OC class
14 years ago
Bart Visscher
1823dafe44
Remove checks before displaying login page
At that point the checks are already done before
14 years ago
Bart Visscher
667cd318fe
Use OC_Util::displayLoginPage and cleanup the function
14 years ago
Bart Visscher
3387454094
Move login code from index.php to OC class
14 years ago
Bart Visscher
9156fb73fd
Move handling request of index.php to OC class
14 years ago
Bjoern Schiessle
902c649dad
use new sanitize HTML function backported
Conflicts:
lib/template.php
14 years ago
Bjoern Schiessle
089ae980c4
use new sanitize HTML function
14 years ago
Bart Visscher
79f9d61ec8
Allow apps to load before login, needed for user_openid
14 years ago
Bjoern Schiessle
0074062b53
fixed xss vulnerability
14 years ago
Bjoern Schiessle
3ddaedee3b
fixed xss vulnerability
14 years ago
Thomas Tanghus
f589df7366
Redirect HTTP Auth requests to REQUEST_URI. Partial fix for http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-874
14 years ago
Lukas Reschke
2b22c538c8
Make some apps compatible
14 years ago