summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/lib
Commit message (Collapse)AuthorAgeFilesLines
* Hide updater button when web updater is disabledVincent Petry2021-02-182-0/+10
| | | | | | | 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>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the proper IAppContainer and IServerContainer type hints to know which ↵Morris Jobke2020-07-211-3/+3
| | | | | | code runs with which container Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Adjust apps' code to use the ContainerInterfaceChristoph Wurst2020-07-211-25/+37
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use IBootstrap for the app updatenotificationMorris Jobke2020-07-131-10/+13
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Also always return in app commandsJoas Schilling2020-06-261-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headers for 19Christoph Wurst2020-04-295-0/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add tests for update notification controller for non-default updater server URLMorris Jobke2020-04-281-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-103-7/+5
| | | | | | | | | | | | | | | 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>
* Use elseif instead of else ifChristoph Wurst2020-04-102-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused importsChristoph Wurst2020-03-251-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>