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-09-15Fix test update notificationCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-08Fix many tests and warningsfix/ijob-logger-deprecatedCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-15Update tests after ResetTokenBackgroundJob changesThomas Citharel
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-25show warning in update admin overviewszaimen
Signed-off-by: szaimen <szaimen@e.mail.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-07-16Jitter the requests to the appstore and updater server over 3 minutesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-04Update php licensesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-04-20Fix update notification testsJoas Schilling
18) OCA\UpdateNotification\Tests\Notification\BackgroundJobTest::testCreateNotifications with data set #1 ('app2', '1.0.1', '1.0.0', '1.0.0', true, array('user1'), array(array('user1'))) Method notify may not return value of type Mock_INotification_2134ee38, its return declaration is ": void" 19) OCA\UpdateNotification\Tests\Notification\BackgroundJobTest::testCreateNotifications with data set #2 ('app3', '1.0.1', false, false, true, array('user2', 'user3'), array(array('user2'), array('user3'))) Method notify may not return value of type Mock_INotification_2134ee38, its return declaration is ": void" Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-18Hide updater button when web updater is disabledVincent Petry
Whenever the web updater is disabled, the updater button and its matching token requesting endpoints are disabled. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
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-12Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke
\PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-04-29Update license headers for 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-28Add tests for update notification controller for non-default updater server URLMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
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-04-10Use elseif instead of else ifChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09Use exactly one empty line after the namespace declarationChristoph Wurst
For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26Remove unused importsChristoph 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-27Mode to modern phpunitRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-27Make phpunit8 compatibleRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
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>
2019-07-16Update unit testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-10Enterprise update channelMorris Jobke
Allows to select the enterprise update channel for instances that have a valid subscription. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-20Remove unused IUserSessionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-09Adjust unit testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-08-16fix wrong return value of filtered whats new infoArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-06-29adjust testsArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-06-29adjust backend and gui to update and changelog serverArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-06-29adjust testsArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-05-03Adjust updatenotification app settings section/priorityJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-03-20Show EOL warning in the update sectionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-02-23Fix unit testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-02-22Migrate the app to Vue.jsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-02-01Use correct update serverMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-18Make Update notficiations strict and fix all inspectionsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-16Split controller and settingsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-15Automatic DI for Controllers also worksJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-15Improve ResetTokenBackgroundJob and unit testJoas Schilling
* Automatic DI is implemented since 11 * Correctly type hint parameters * Optimise the tests Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-11-25Make isUpdateAvailable non-staticMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-11-06Update license headersMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-02Improve update notification layout and show non-default update serverMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-02Show correct status in update notificationMorris Jobke
Sometimes it could be the case that after a channel change the last updated timestamp is reset, but the check for updates is not yet completed. In this case the update notification showed "You are up to date" and the date was "1970-01-01 00:00:00". With this fix the state is properly shown. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-26Fix unit testJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-26Create a notification when the update server couldn't be reached for some daysJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-01-09Fix update notification testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-02Fix testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-04Use new URL schemaJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-04Use the readable version for notificationsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-28UpdateState is empty if no update is availableLukas Reschke
This leads to log messages such as "Undefined index: updaterEnabled at /media/psf/nextcloud/apps/updatenotification/lib/Controller/AdminController.php#116". Signed-off-by: Lukas Reschke <lukas@statuscode.ch>