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>
2023-11-23 10:36:13 +01:00
jld3103
755de1e0b5
refactor: Rename OpenAPI type aliases to their namespaces
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +01:00
Côme Chilliet
0a9371f99f
Migrate applications away from deprecated ILogger
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-21 11:57:21 +02:00
Christopher Ng
b63dbae68a
fix(updatenotification): Skip update check
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-11 10:40:49 -07:00
Benjamin Gaussorgues
31f1354777
Add instance category while checking new updates
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-07-18 15:39:23 +02:00
jld3103
0c2bff63e4
updatenotification: Add OpenAPI spec
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-11 16:28:01 +02:00
Christoph Wurst
e76d525a43
chore: Drop \OC_App::getAppInfo
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 11:31:27 +02:00
jld3103
d9f8522003
Fix types for reading and writing config values
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-05 09:08:56 +02:00
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>
2023-02-01 21:39:49 +01:00
John Molakvoæ
c21d3c037e
Merge pull request #35769 from nextcloud/rakekniven-patch-1
...
l10n: Align notification messages for server version and apps
2022-12-20 14:59:15 +01:00
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>
2022-12-20 09:19:14 +01:00
Côme Chilliet
cbbb0712db
Merge pull request #34807 from nextcloud/fix/compute-notification-parsed-subject
...
Compute notification parsed subject from rich subject when possible
2022-12-19 10:46:39 +01:00
Côme Chilliet
a0f6a6545b
Use TimedJob from OCP instead of OC
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-05 10:13:34 +01:00
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>
2022-11-29 14:36:29 +00:00
Joas Schilling
7dccb8cd0c
Hide warning about missing apps for when shipped in the next version
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-15 17:40:26 +01:00
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>
2022-09-15 07:46:24 +00:00
Thomas Citharel
56727ba58b
Use OCP version of TimedJob instead of OC for ResetTokenBackgroundJob
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-06-15 10:29:16 +02:00
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>
2022-06-15 10:29:16 +02:00
szaimen
4e11d7d0f9
address reviews
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-03-28 21:12:35 +02:00
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>
2022-03-24 23:04:33 +00:00
Joas Schilling
37f40cdd46
Fix translated app details
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-30 09:08:17 +02:00
Joas Schilling
9b128d823b
Jitter the requests to the appstore and updater server over 3 minutes
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-16 16:58:09 +02:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +02:00
Roeland Jago Douma
0593b039fc
Move over notification to new registration
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-16 13:56:28 +02:00
J0WI
8fd2be9655
Updatenotification: add missing strict_types
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-04-14 16:46:02 +02:00
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>
2021-02-18 08:53:57 +01:00
Christoph Wurst
d89a75be0b
Update all license headers for Nextcloud 21
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-16 18:48:22 +01:00
Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05 20:25:24 +02:00
Christoph Wurst
2a054e6c04
Update the license headers for Nextcloud 20
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-24 14:54:25 +02:00
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>
2020-07-21 20:44:05 +02:00
Christoph Wurst
91e7f12088
Adjust apps' code to use the ContainerInterface
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-21 20:43:18 +02:00
Morris Jobke
81a433d5db
Use IBootstrap for the app updatenotification
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-13 17:09:23 +02:00
Joas Schilling
d7c0b9cced
Also always return in app commands
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-26 15:12:11 +02:00
Christoph Wurst
cb057829f7
Update license headers for 19
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-29 11:57:22 +02:00
Morris Jobke
773e9d0554
Add tests for update notification controller for non-default updater server URL
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-04-28 15:28:47 +02:00
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>
2020-04-10 14:19:56 +02:00
Christoph Wurst
14c996d982
Use elseif instead of else if
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 10:35:09 +02:00
Christoph Wurst
afbd9c4e6e
Unify function spacing to PSR2 recommendation
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 13:54:22 +02:00
Christoph Wurst
41b5e5923a
Use exactly one empty line after the namespace declaration
...
For PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 11:48:10 +02:00
Christoph Wurst
74936c49ea
Remove unused imports
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 22:08:08 +01:00
Christoph Wurst
5bf3d1bb38
Update license headers
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-05 15:38:45 +01:00
Joas Schilling
55f5bc79a1
Keep the old method as a fallback and adjust the tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-16 11:36:32 +02:00
Joas Schilling
6d71e471e1
Update shipped implementations of the INotifier
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-15 15:15:00 +02:00
Morris Jobke
39c28bd05b
Enterprise update channel
...
Allows to select the enterprise update channel for instances that have a valid subscription.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-07-10 16:19:34 +02:00
Joas Schilling
942281a48e
Remove unused IUserSession
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-20 15:16:13 +01:00
Joas Schilling
2d00e2bbe7
Do not ignore the max-version for the "update-available" check
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-20 15:16:13 +01:00
Joas Schilling
5eae69bd2d
Always register the Notifier
...
... so background jobs without a user can prepare push notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-19 08:54:05 +01:00
Joas Schilling
b04a44babd
Use the version number when checking the appstore for compatible updates
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-08 14:52:28 +01:00
Joas Schilling
57ef1d307b
Fix the link and anchor for the update notifications
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-09-12 10:24:02 +02:00
Tobia De Koninck
d492b2c399
Add summary with amount of updates
...
Signed-off-by: Tobia De Koninck <LEDfan@users.noreply.github.com>
2018-08-27 12:17:22 +02:00