aboutsummaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/tests
Commit message (Collapse)AuthorAgeFilesLines
* adjust testsArthur Schiwon2018-06-291-6/+11
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust backend and gui to update and changelog serverArthur Schiwon2018-06-292-12/+32
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust testsArthur Schiwon2018-06-292-0/+10
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Adjust updatenotification app settings section/priorityJulius Härtl2018-05-031-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Show EOL warning in the update sectionJoas Schilling2018-03-202-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix unit testsJoas Schilling2018-02-231-1/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Migrate the app to Vue.jsJoas Schilling2018-02-221-15/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use correct update serverMorris Jobke2018-02-011-3/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make Update notficiations strict and fix all inspectionsJoas Schilling2018-01-186-31/+32
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Split controller and settingsJoas Schilling2018-01-162-130/+127
| | | | 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>
* Improve ResetTokenBackgroundJob and unit testJoas Schilling2018-01-151-10/+9
| | | | | | | | * Automatic DI is implemented since 11 * Correctly type hint parameters * Optimise the tests Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make isUpdateAvailable non-staticMorris Jobke2017-11-251-1/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-063-0/+3
| | | | 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>
* Fix unit testJoas Schilling2017-03-261-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Create a notification when the update server couldn't be reached for some daysJoas Schilling2017-03-262-38/+75
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix update notification testsJoas Schilling2017-01-092-37/+26
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix testsJoas Schilling2016-12-021-4/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use new URL schemaJoas Schilling2016-10-041-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use the readable version for notificationsJoas Schilling2016-10-041-10/+14
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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-272-2/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Revert "Fix tests"Morris Jobke2016-09-262-7/+1
| | | | | | This reverts commit 27a3c68d840f2a8d8d212ba4086df10e0969c5e3. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix testsJoas Schilling2016-09-082-7/+15
|
* Merge branch 'master' into implement_712Arthur Schiwon2016-08-164-16/+17
|\
| * Fix deprecated getMock warningRoeland Jago Douma2016-08-144-22/+22
| |
* | 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-215-8/+13
|
* Update license headersLukas Reschke2016-05-263-3/+5
|
* Fix failing update notifications testsJoas Schilling2016-05-251-6/+12
|
* Add a URL to the notificationsJoas Schilling2016-05-241-12/+33
|
* Add tests for the NotifierJoas Schilling2016-05-241-0/+105
|
* Add tests for the background jobJoas Schilling2016-05-241-0/+409
|
* Move comments, systemtags and updatenotifications to PSR-4Joas Schilling2016-05-031-0/+0
|
* Move version check code out of class UpdaterThomas Müller2016-04-181-1/+1
|
* Show version to update to properlyLukas Reschke2016-03-051-1/+3
| | | | Properly shows the version that will be updated to.
* Add release channel selection backLukas Reschke2016-03-041-3/+95
| | | | Allows to select the release channels again and also shows the last check date
* Harden updater authenticationLukas Reschke2016-02-101-2/+2
| | | | | - Reset tokens after 2 hours as discussed at https://github.com/owncloud/updater/issues/220#issuecomment-182033453 - Used BCrypt for storing the password in the config.php. This makes it substantially harder in case of a leakage of the token to bruteforce it. In the future we can evaluate also an HMAC including the IP. That's a bit tricker though at the moment considering that we support reverse proxies. Didn't feel brave enough to touch that dragon now as well ;)
* Add SSO for updater applicationLukas Reschke2016-02-092-0/+179
| | | | Allows logging-in into the updater application by visiting the admin panel and pressing "Open updater".
* Move update notification code into appLukas Reschke2016-02-091-0/+86
Moves the update notification code in a single app. This is required since we want to use SSO for the new updater and for this have some code running in ownCloud as well (and we don't want that in core neccessarily). This app can provide that in the future, right now it's only the update notification itself. Will continue working on the SSO right away but wanted to keep the PR small. Furthermore also makes some more code unit-testable...