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-01-13Check style updateCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-06-30Migrate HintException to OCPGary Kim
Signed-off-by: Gary Kim <gary@garykim.dev>
2021-06-04Update php licensesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-05-12Reply with JSON when html is not accepted like in SecurityMiddlewareJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12Reply with UNAUTHORIZED like on APIs when login exception was thrownJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-16Update all license headers for Nextcloud 21Christoph 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-03-31Update the license headers for Nextcloud 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
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>
2019-03-08Update index.phppaul
Linking to NC 15 documentation instead of NC 13
2018-11-02Log the previous exception during hard failureMorris Jobke
* otherwise the exception that was caused by the template is logged Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-06-29Try to not run into the white page of death and still log something in the ↵Morris Jobke
web server error log Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-06-26Do not use HTTP code OC_Response constants anymoreMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-06-26Replace hardcoded status headers with calls to http_response_code()Morris 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-05-08Add PHP missing message to index.phpMarius Blüm
Signed-off-by: Marius Blüm <marius@lineone.io>
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-11-07Merge pull request #7073 from nextcloud/no-whitepage-of-deathRoeland Jago Douma
Show proper error page even if the config.php has syntax errors
2017-11-06Change @georgehrke's emailMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-11-06Update license headersMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-11-06Show proper error page even if the config.php has syntax errorsMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-09-26Improve exception handlingMorris Jobke
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>
2016-10-20fix wrong method nameMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-10-20Changed request to not add a prefix to the url (#26256)Sergio Bertolín
* Changed request to not add a prefix to the url * Expecting forbidden instead of service unavailable * Handling login exceptions
2016-10-07use older php array syntax in index.phpGeorg Ehrke
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-09-08Master supports PHP 7.1Lukas Reschke
2016-08-30Proper brandingLukas Reschke
2016-08-30Show error if PHP version below 5.6 is usedLukas Reschke
2016-08-10Nextcloud is not compatible with PHP 7.1Lukas Reschke
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
2016-07-21Update with robinJoas Schilling
2016-07-21Fix othersJoas Schilling
2016-05-26Update license headersLukas Reschke
2016-04-20Catch class Error on all root entrypointsThomas Müller
2016-01-12Happy new year!Thomas Müller
2015-10-05update licence headers via scriptMorris Jobke
2015-03-26Update license headersJenkins for ownCloud
2015-02-26Revert "Updating license headers"Morris Jobke
This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
2015-02-23Updating license headersJenkins for ownCloud
2015-02-05Show warning for PHP versions older than 5.4.0Lukas Reschke
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.
2014-10-24Make files non executableLukas Reschke
There is not much sense in having these files marked executable, we should avoid that.
2014-09-17Do not show exception to the end-userLukas Reschke
Log the error instead of potentially leaking sensitive information
2014-08-04handle service not available exceptions in index, remote and public.phpRobin Appelman
2014-02-06remove global variable $RUNTIME_NOAPPS - it's just superfluousThomas Müller
2013-10-23Added $app parameter to logExceptionVincent Petry
2013-10-23Moved logException to OCP\Util classVincent Petry
2013-10-22Expand exception stack trace in log in debug modeVincent Petry
2013-09-15first log the exceptionThomas Müller