summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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...