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
2018-05-23Fix code styleJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-04-22Less deprecated calls to OCP\Util::writeLogMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-26Deprecated OCP interface to fetch background job typeMorris Jobke
* was not used by apps and also is not needed * migrated the documentation to IJobList Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-12Log full exception in cron instead of only the messageMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
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-06Update license headersMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-17Always log cron executionMorris Jobke
There was a setting to disable the last execution of cron. There is no known problem with this write access and it was also questioned when this feature was build in https://github.com/owncloud/core/pull/7689#issuecomment-38264707 Recently there was also a bug report about a non-visible last cron execution (#6088) - let's better remove this. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-25Add duration of last job execution to the tableNoveen Sachdeva
2017-03-11Check that set_time_limit is not disabled before calling itKo-
Signed-off-by: Ko- <k.stoffelen@cs.ru.nl>
2017-03-08Exit with error code if posix ext missing or wrong userArtem Sidorenko
similar to the console.php
2017-02-23Clean up single user modeMorris Jobke
Single user mode basically disables WebDAV, OCS and cron execution. Since we heavily rely on WebDAV and OCS also in the web UI it's basically useless. An admin only sees a broken interface and can't even change any settings nor sees any files. Also sharing is not possible. As this is at least the case since Nextcloud 9 and we haven't received any reports for this it seems that this feature is not used at all so I removed it. The encryption commands now rely on the well tested maintenance mode. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-12-19Also check in cron for old php versionRoeland Jago Douma
Fixes #2756 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-12[master] Tear down FS between cron jobs (#26223)Vincent Petry
Because some cron jobs do not always properly clean up their FS usage and others might not clean up before setting up the FS, this could cause potential side effects. To make sure we exclude side effects, we tear down the FS between cron jobs. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
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-08-09log class name, ID only is hard to debugJörn Friedrich Dreyer
2016-07-29introduce NEXTCLOUD_CONFIG_DIR env variable (see #300)Damjan Georgievski
nextcloud by default uses the `/config/` directory in the source/application tree for its config file(s). with this commit that directory can be overridden by the `NEXTCLOUD_CONFIG_DIR` environment variable. in uwsgi, you would use the option `--env "NEXTCLOUD_CONFIG_DIR=/tmp/nx-config/"` in apache `SetENV …` and the cli command can be run with: `NEXTCLOUD_CONFIG_DIR=/tmp/nx-config ./occ` (or just use `export` once in the shell). NEXTCLOUD_CONFIG_DIR can be supplied with or without the trailing slash (`/`), but in all cases `$configDir` will have it automatically added if needed. The other changes are several occurrences of `OC::$SERVERROOT . '/config'` to `OC::$configDir`.
2016-07-21Update with robinJoas Schilling
2016-07-21Fix othersJoas Schilling
2016-07-08Remove unneeded checks if it runs on a Windows machineMorris Jobke
* the setup check is still there
2016-05-26Update license headersLukas Reschke
2016-05-21Do not lock the cron anymore so we can have multiple workersJoas Schilling
2016-05-21Lock jobs while executing them, to allow multiple executors to run in parallelJoas Schilling
2016-04-21Make sure that CLI cron doesn't run for ever, but makes use of the next spawnJoas Schilling
2016-04-20Catch class Error on all root entrypointsThomas Müller
2016-01-28Do not create a loop that generates thousands of jobsJoas Schilling
2016-01-12Happy new year!Thomas Müller
2015-11-06Add debug log statement for IJobList steps in cron.phpMorris Jobke
* makes debugging easier
2015-10-30Replace some OC_Config calls with ILogger methodsMorris Jobke
2015-10-05update licence headers via scriptMorris Jobke
2015-09-21Minor text typosPhil Davis
that I noticed while looking at some code.
2015-08-21Add a session wrapper to encrypt the data before storing it on diskJoas Schilling
2015-07-03Remove OC_LogThomas Müller
2015-04-19Removed OC_BackgroundJob - reduce class overheadMorris Jobke
* method code is now in the static public namespace (5 sloc)
2015-04-09block cron when in single user modeRobin Appelman
2015-04-01Cron has to be executed with the correct user - fixes 13912 and othersThomas Müller
2015-03-26Update license headersJenkins for ownCloud
2015-03-12cron shall not operate in case we are in maintenance mode - fixes #14843Thomas Müller
2015-03-11cron.php on cli has no time limitation - fixes #14481Thomas Müller
2015-02-26Revert "Updating license headers"Morris Jobke
This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
2015-02-24use flock instead of just checking if there is a file to prevent deadlocks ↵Bernhard Posselt
when the process crashed or the unlink wasnt done move cron.lock into top directory to prevent external storage issues use tmp directory lock file use new config interface incorporate #13770 add dots
2015-02-23Updating license headersJenkins for ownCloud
2014-10-24Use the TempManager to handle temporary filesRobin Appelman
2014-10-20move some deprecated usage of OC_Config and OC_AppConfig to \OC::serverThomas Müller
2014-08-31add proper End of Line characterMorris Jobke
2014-08-29kill OC::$sessionJörn Friedrich Dreyer
maintain deprecated \OC::$session when getting or setting the session via the server container or UserSession restore order os OC::$session and OC::$CLI remove unneded initialization of dummy session write back session when $useCustomSession is true log warning when deprecated app is used
2014-07-24Update cron.phpOliver Kohl D.Sc.
2014-07-24CRON call ends in null exceptionOliver Kohl D.Sc.
[error] 4461#0: *186285 FastCGI sent in stderr: "PHP message : PHP Fatal error: Call to a member function execute() on null in /var/www/ownc loud/cron.php on line 125" while reading response header from upstream, client: 217.13.183.252, server: cloud.mycloud.com, request: "GET /cron.php HTTP/1.1", upstre am: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cloud.mycloud.com", referrer: " https://cloud.mycloud.com/"
2014-07-23Prevent cron.php to trigger apps updatingVincent Petry
2014-07-02Fix indentSteffen Lindner
2014-07-02initialize a dummy memory session - fixes ↵Steffen Lindner
https://github.com/owncloud/activity/issues/78