summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/tests/Controller
Commit message (Collapse)AuthorAgeFilesLines
* Make Update notficiations strict and fix all inspectionsJoas Schilling2018-01-181-4/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Split controller and settingsJoas Schilling2018-01-161-130/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Automatic DI for Controllers also worksJoas Schilling2018-01-151-28/+29
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Improve update notification layout and show non-default update serverMorris Jobke2017-08-021-0/+14
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Show correct status in update notificationMorris Jobke2017-08-021-0/+2
| | | | | | | | | 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>
* UpdateState is empty if no update is availableLukas Reschke2016-09-281-1/+1
| | | | | | 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>
* Respect updater kill switch and fall back to download buttonJoas Schilling2016-09-271-2/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Revert "Fix tests"Morris Jobke2016-09-261-6/+1
| | | | | | This reverts commit 27a3c68d840f2a8d8d212ba4086df10e0969c5e3. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix testsJoas Schilling2016-09-081-1/+6
|
* Merge branch 'master' into implement_712Arthur Schiwon2016-08-161-1/+2
|\
| * Fix deprecated getMock warningRoeland Jago Douma2016-08-141-7/+7
| |
* | Use MockBuilder instead of createMockLukas Reschke2016-08-151-8/+8
| | | | | | | | CI uses an older PHPUnit
* | Add unit testsLukas Reschke2016-08-151-9/+16
|/
* Fix apps/Joas Schilling2016-07-211-2/+3
|
* Update license headersLukas Reschke2016-05-261-1/+2
|
* Fix failing update notifications testsJoas Schilling2016-05-251-6/+12
|
* Move comments, systemtags and updatenotifications to PSR-4Joas Schilling2016-05-031-0/+192