Andy Scherzinger
cc1686dba9
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2 тижднів тому
Maxence Lange
519e434573
fix(updatenotification): spread the use of new appconfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
3 місяці тому
Ferdinand Thiessen
c8d7a5acaa
fix(AppManager): Allow to query dark **or** bright icon
The navigation needs the bright icon, while the notifications and activity need a dark icon.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
3 місяці тому
Ferdinand Thiessen
2c87fbf207
fix(updatenotification): Adjust tests for changed IAppConfig
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
3 місяці тому
Ferdinand Thiessen
876e2d6198
feat(AppManager): Provide `getAppIcon` function
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
3 місяці тому
Ferdinand Thiessen
26728846b4
feat(updatenotification): Allow to disable the app updated notifications and allow to en/disable guest users notification
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
3 місяці тому
Ferdinand Thiessen
40ae1295e6
fix(updatenotification): Add migration step to replace and remove renamed background jobs
This can be dropped with Nextcloud 30.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
3 місяці тому
Ferdinand Thiessen
31d24a5538
fix(updatenotification): Resolve static code analysis errors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
3 місяці тому
Ferdinand Thiessen
fa14daf968
feat(updatenotification): Add notification for users when apps are updated
* Open app changelog dialog when available (webui)
* Fallback to open changelog page for mobile clients
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
3 місяці тому
Ferdinand Thiessen
d9d3448e23
fix(updatenotification): Replace deprecated code and move background jobs into `BackgroundJobs` subfolder
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
3 місяці тому
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
6 місяці тому
jld3103
755de1e0b5
refactor: Rename OpenAPI type aliases to their namespaces
Signed-off-by: jld3103 <jld3103yt@gmail.com>
7 місяці тому
Côme Chilliet
0a9371f99f
Migrate applications away from deprecated ILogger
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
8 місяці тому
Christopher Ng
b63dbae68a
fix(updatenotification): Skip update check
Signed-off-by: Christopher Ng <chrng8@gmail.com>
10 місяці тому
Benjamin Gaussorgues
31f1354777
Add instance category while checking new updates
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
11 місяці тому
jld3103
0c2bff63e4
updatenotification: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
1 рік тому
Christoph Wurst
e76d525a43
chore: Drop \OC_App::getAppInfo
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
1 рік тому
jld3103
d9f8522003
Fix types for reading and writing config values
Signed-off-by: jld3103 <jld3103yt@gmail.com>
1 рік тому
Joas Schilling
bde109d158
fix(updater): Don't warn about missing appstore updates for apps deployed from git
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 рік тому
rakekniven
384d7ec61e
l10n: Align notification messages for server version and apps
Solution for #35768
Reported at Transifex.
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
1 рік тому
Côme Chilliet
a0f6a6545b
Use TimedJob from OCP instead of OC
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 рік тому
Côme Chilliet
d9151ff35c
Get rid of all useless calls to setParsedSubject now that setRichSubject is able to do it
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 рік тому
Joas Schilling
7dccb8cd0c
Hide warning about missing apps for when shipped in the next version
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 рік тому
Carl Schwan
7bd83d9dcf
Cleanup updatenotification
- 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>
1 рік тому
Thomas Citharel
56727ba58b
Use OCP version of TimedJob instead of OC for ResetTokenBackgroundJob
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2 роки тому
Thomas Citharel
47ea43ea49
Make sure ResetTokenBackgroundJob doesn't execute if config is read-only
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>
2 роки тому
szaimen
4e11d7d0f9
address reviews
Signed-off-by: szaimen <szaimen@e.mail.de>
2 роки тому
szaimen
e8122f21c5
show warning in update admin overview
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 роки тому
Joas Schilling
37f40cdd46
Fix translated app details
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 роки тому
Joas Schilling
9b128d823b
Jitter the requests to the appstore and updater server over 3 minutes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 роки тому
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 роки тому
Roeland Jago Douma
0593b039fc
Move over notification to new registration
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 роки тому
J0WI
8fd2be9655
Updatenotification: add missing strict_types
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
3 роки тому
Vincent Petry
6ce469132c
Hide updater button when web updater is disabled
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>
3 роки тому
Christoph Wurst
d89a75be0b
Update all license headers for Nextcloud 21
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 роки тому
Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 роки тому
Christoph Wurst
2a054e6c04
Update the license headers for Nextcloud 20
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 роки тому
Morris Jobke
7870ca0663
Use the proper IAppContainer and IServerContainer type hints to know which code runs with which container
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 роки тому
Christoph Wurst
91e7f12088
Adjust apps' code to use the ContainerInterface
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 роки тому
Morris Jobke
81a433d5db
Use IBootstrap for the app updatenotification
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 роки тому
Joas Schilling
d7c0b9cced
Also always return in app commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 роки тому
Christoph Wurst
cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 роки тому
Morris Jobke
773e9d0554
Add tests for update notification controller for non-default updater server URL
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 роки тому
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
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>
4 роки тому
Christoph Wurst
14c996d982
Use elseif instead of else if
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 роки тому
Christoph Wurst
afbd9c4e6e
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 роки тому
Christoph Wurst
41b5e5923a
Use exactly one empty line after the namespace declaration
For PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 роки тому
Christoph Wurst
74936c49ea
Remove unused imports
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 роки тому
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 роки тому
Joas Schilling
55f5bc79a1
Keep the old method as a fallback and adjust the tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 роки тому