summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/lib
Commit message (Collapse)AuthorAgeFilesLines
* Update license headersChristoph Wurst2019-12-059-14/+35
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Keep the old method as a fallback and adjust the testsJoas Schilling2019-07-161-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update shipped implementations of the INotifierJoas Schilling2019-07-152-13/+26
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Enterprise update channelMorris Jobke2019-07-101-2/+14
| | | | | | Allows to select the enterprise update channel for instances that have a valid subscription. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unused IUserSessionJoas Schilling2019-03-201-4/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Do not ignore the max-version for the "update-available" checkJoas Schilling2019-03-201-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Always register the NotifierJoas Schilling2019-03-191-5/+5
| | | | | | ... so background jobs without a user can prepare push notifications Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use the version number when checking the appstore for compatible updatesJoas Schilling2018-11-083-4/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix the link and anchor for the update notificationsJoas Schilling2018-09-121-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add summary with amount of updatesTobia De Koninck2018-08-271-0/+13
| | | | Signed-off-by: Tobia De Koninck <LEDfan@users.noreply.github.com>
* Add license header and fix undefined index errorTobia De Koninck2018-08-271-1/+22
| | | | Signed-off-by: Tobia De Koninck <LEDfan@users.noreply.github.com>
* Add an occ command to report updatesTobia De Koninck2018-08-271-0/+62
| | | | Signed-off-by: Tobia De Koninck <LEDfan@users.noreply.github.com>
* and the user popover needs a higher z-index, to make it visible againArthur Schiwon2018-08-161-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix wrong return value of filtered whats new infoArthur Schiwon2018-08-161-1/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Backend work to provide NC whats New info to usersArthur Schiwon2018-07-051-27/+6
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust backend and gui to update and changelog serverArthur Schiwon2018-06-292-19/+71
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust testsArthur Schiwon2018-06-291-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* display whats new info in admin settingsArthur Schiwon2018-06-292-0/+8
| | | | 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/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Check for app updates when there is a new major version availableJoas Schilling2018-02-281-0/+134
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use VueSelect instead of select2Joas Schilling2018-02-221-1/+26
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Migrate the app to Vue.jsJoas Schilling2018-02-221-5/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Rename legacy notification so it's less confusingJoas Schilling2018-02-221-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use correct update serverMorris Jobke2018-02-011-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make Update notficiations strict and fix all inspectionsJoas Schilling2018-01-187-41/+58
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Split controller and settingsJoas Schilling2018-01-162-77/+118
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Refactor all the logic from app.php to Application classJoas Schilling2018-01-152-1/+52
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Automatic DI for Controllers also worksJoas Schilling2018-01-152-49/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Improve ResetTokenBackgroundJob and unit testJoas Schilling2018-01-151-20/+6
| | | | | | | | * Automatic DI is implemented since 11 * Correctly type hint parameters * Optimise the tests Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make update notification open the new update view from apps managementJulius Härtl2018-01-031-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make isUpdateAvailable non-staticMorris Jobke2017-11-251-2/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-064-1/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Improve update notification layout and show non-default update serverMorris Jobke2017-08-021-1/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Show correct status in update notificationMorris Jobke2017-08-021-3/+3
| | | | | | | | | 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 L10N::tRoeland Jago Douma2017-08-011-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix translationsJoas Schilling2017-04-181-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Also remove failure notification if no update is availableMorris Jobke2017-03-261-2/+4
| | | | | | | * error happened and vanished the notification should also vanish even if no update is available Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Create a notification when the update server couldn't be reached for some daysJoas Schilling2017-03-262-4/+69
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix update notification testsJoas Schilling2017-01-091-8/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Only add the link when the user can follow it.Joas Schilling2017-01-091-3/+34
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Set the link of the notification on render instead of creationJoas Schilling2017-01-092-9/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Highlight the app name in the notificationJoas Schilling2016-12-011-1/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use the settings icon for the update notificationJoas Schilling2016-12-011-1/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add update supportLukas Reschke2016-10-311-2/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* 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-042-6/+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/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Revert "Show an update button instead of the updater"Morris Jobke2016-09-232-4/+0
| | | | | | This reverts commit 202ae42506e9bbb167889735b2c56ccebace594b. Signed-off-by: Morris Jobke <hey@morrisjobke.de>