aboutsummaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/lib
Commit message (Collapse)AuthorAgeFilesLines
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-235-18/+19
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* refactor: Rename OpenAPI type aliases to their namespacesjld31032023-11-022-4/+4
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Migrate applications away from deprecated ILoggerCôme Chilliet2023-09-211-7/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(updatenotification): Skip update checkChristopher Ng2023-08-111-0/+5
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Add instance category while checking new updatesBenjamin Gaussorgues2023-07-181-47/+11
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* updatenotification: Add OpenAPI specjld31032023-07-112-4/+51
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* chore: Drop \OC_App::getAppInfoChristoph Wurst2023-06-011-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix types for reading and writing config valuesjld31032023-04-054-7/+7
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* fix(updater): Don't warn about missing appstore updates for apps deployed ↵Joas Schilling2023-02-011-0/+9
| | | | | | from git Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #35769 from nextcloud/rakekniven-patch-1John Molakvoæ2022-12-201-1/+8
|\ | | | | l10n: Align notification messages for server version and apps
| * l10n: Align notification messages for server version and appsrakekniven2022-12-201-1/+8
| | | | | | | | | | | | | | | | Solution for #35768 Reported at Transifex. Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* | Merge pull request #34807 from nextcloud/fix/compute-notification-parsed-subjectCôme Chilliet2022-12-191-9/+7
|\ \ | |/ |/| Compute notification parsed subject from rich subject when possible
| * Get rid of all useless calls to setParsedSubject now that setRichSubject is ↵Côme Chilliet2022-11-291-9/+7
| | | | | | | | | | | | able to do it Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Use TimedJob from OCP instead of OCCôme Chilliet2022-12-051-2/+5
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Hide warning about missing apps for when shipped in the next versionJoas Schilling2022-11-151-1/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Cleanup updatenotificationCarl Schwan2022-09-151-38/+18
| | | | | | | | | | | - Port away from jquery inside vue - Use modern vue components when possible - Fix some readability isssues particularly on dark theme - Use IInitialState - Use php7.4 Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Use OCP version of TimedJob instead of OC for ResetTokenBackgroundJobThomas Citharel2022-06-151-2/+3
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Make sure ResetTokenBackgroundJob doesn't execute if config is read-onlyThomas Citharel2022-06-151-1/+1
| | | | | | | No need to try to delete the config key in config.php if we aren't allowed to. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* address reviewsszaimen2022-03-281-15/+3
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* show warning in update admin overviewszaimen2022-03-241-1/+50
| | | | | Signed-off-by: szaimen <szaimen@e.mail.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix translated app detailsJoas Schilling2021-09-302-15/+25
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Jitter the requests to the appstore and updater server over 3 minutesJoas Schilling2021-07-161-11/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-049-12/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move over notification to new registrationRoeland Jago Douma2021-04-161-5/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Updatenotification: add missing strict_typesJ0WI2021-04-141-1/+4
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* 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>