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
2020-12-16Update all license headers for Nextcloud 21Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05Format code to a single space around binary operatorsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-24Update the license headers for Nextcloud 20Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-20Don't use deprecated getIniWrapper() anymoreJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-29Update license headers for 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10Add visibility to all constantsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10Add visibility to all methods and position of static keywordChristoph 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-11-22Some php-cs fixesRoeland Jago Douma
* Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-08-12Drop support for xcacheDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-03-13Properly provide local memcache check to ICacheFactoryMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-29Use ::class statement instead of stringMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-27Remove unneeded semicolon and parenthesesMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-26Simplify ternary operator statementsMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-17Request->getHeader() should always return a stringMorris Jobke
PHPDoc (of the public API) says that this method returns string but it also returns null, which is not allowed in some method calls. This fixes that behaviour and returns an empty string and fixes all code paths that explicitly checked for null to be still compliant. Found while enabling the strict_typing for lib/private for the PHP7+ migration. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-16Made the cache factory strictRoeland Jago Douma
* Return types * Typehints * made strict * fix tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-11-06Update license headersMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-07-24More phpstorm inspection fixesRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-05-16Do not scan for keys just get all the keys (with prefix)Roeland Jago Douma
Apparently scan leads to some issues sometimes on cluster. So just use the get function to fetch the keys. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-05-04Compatibility with Redis and RedisClusterMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-26Add Redis Cluster supportRobin McCorkell
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-01-05Make sure old instances don't breakJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-01-05Kill APC because it requires PHP 5.4Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-21Disable memcached binary protocolRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-12-17Merge pull request #2725 from nextcloud/memcached-connect-onceRoeland Jago Douma
[downstream] Set options, then add servers
2016-12-16Set options, then add serversVictor Dubiniuk
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-16Do not validate return code is set is successfulVictor Dubiniuk
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-01Activate APCu on PHP 7Morris Jobke
Fix an issue with APCus inc and dec methods on PHP 7 see https://github.com/krakjoe/apcu/issues/183#issuecomment-244038221 for details
2016-07-21Update with robinJoas Schilling
2016-07-21Fix othersJoas Schilling
2016-05-26Update license headersLukas Reschke
2016-05-12Merge pull request #24563 from owncloud/redis-factoryMorris Jobke
factor out redis configuration into it's own factory
2016-05-11allow configuration of memcached options (#23729)Jörn Friedrich Dreyer
* allow configuration of memcache options Use production values for memcached as explained in http://apprize.info/php/scaling/15.html The current implementiation uses ascii based serialization. This PR should reduce traffic to the memcached server. cc @MorrisJobke @FelixBoehm * add config sample * merge config options, throw hint on config error * fix typo * fix config sample
2016-05-03factor out redis configuration into it's own factoryRobin Appelman
2016-04-18Move \OC\Memcache to PSR-4Roeland Jago Douma