Commit Graph

151 Commits (40c504ec2d4cd66cce8a7d74e8c65873dcbfa921)

Author SHA1 Message Date
Côme Chilliet 98ee89286d
fix(updatenotification): Fix log spam from ResetToken job
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-11-25 10:43:22 +07:00
Louis Chmn 7f3ef27cd5 refactor: adjust updater code to match code style
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-10-21 12:20:34 +07:00
Josh Richards f600f26391 fix(updater): Stop expiring secret prematurely
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2025-10-21 11:06:54 +07:00
Ferdinand Thiessen 5981b7eb51
chore: apply new CSFixer rules
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

# Conflicts:
#	apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
2025-07-01 16:26:50 +07:00
Ferdinand Thiessen 76696be762
chore: remove legacy migration step to remove background job
This is already included since Nextcloud 29, so the background job is
removed and the class does not exist anymore.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-13 10:04:35 +07:00
Ferdinand Thiessen 9255afaeab
refactor(updatenotification): use consistant patterns for on-demand class members
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-13 10:04:35 +07:00
Ferdinand Thiessen be3cf85656
refactor(updatenotification): use constant instead of variable
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-13 10:04:35 +07:00
Ferdinand Thiessen 6e9b4eb0a8
refactor(updatenotification): add return types and fix typos
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-13 10:04:35 +07:00
Ferdinand Thiessen ff318138a2
refactor(updatenotification): use `OCP\ServerVersion`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-13 10:00:34 +07:00
Ferdinand Thiessen 1a8a6bea97
refactor: use `APP_NAME` where possible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-13 09:49:28 +07:00
Ferdinand Thiessen 957efe0670
fix(updatenotification): respect `updatechecker` config
If disabled:
- Hide admin settings
- Do not create Nextcloud server update notifications

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-12 18:06:41 +07:00
Côme Chilliet 4b099bd532
chore: Replace calls to OC_App::getAppVersions with app manager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 14:23:40 +07:00
Côme Chilliet f758f565d4
fix: Replace getInstalledApps calls with getEnabledApps
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 10:19:20 +07:00
Ferdinand Thiessen e212f337a2
fix(updatenotification): Parse pre-release version of apps
The notitication is correctly created, but the changelog is not show.
We need to make sure the version passed to the manager is in the allowed
format (major.minor.patch).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-21 16:43:20 +07:00
Côme Chilliet e187e4e87f
feat(updatenotification): Add a limit to user count from LDAP so save performances
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-14 12:26:24 +07:00
provokateurin 77114fb327
fix(OpenAPI): Adjust array syntax to avoid ambiguities
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-05 09:58:11 +07:00
provokateurin 381077028a
refactor(apps): Use constructor property promotion when possible
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-21 12:37:59 +07:00
Côme Chilliet 1580c8612b
chore(apps): Apply new rector configuration to autouse classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:40:25 +07:00
provokateurin 54ec472d9a
fix(BackgroundJobs): Adjust intervals and time sensitivities
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-08 11:26:53 +07:00
Joas Schilling 727fe27155
fix(updatenotification): Communicate app_api as shipped in 30+
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-26 12:22:52 +07:00
Joas Schilling 7c683a94d6
fix(updatenotification): Communicate twofactor_nextcloud_notification as shipped in 30+
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-26 12:21:44 +07:00
Joas Schilling aea325fefd
fix(updatenotification): Communicate files_downloadlimit as shipped in 29+
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-26 12:21:04 +07:00
Ferdinand Thiessen 71f1e0cb9c
refactor(updatenotification): Migrate legacy code
1. Remove hook usage and just provide an initial state
2. Replace jQuery code with modern non-deprecated frontend code

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-24 18:53:49 +07:00
Côme Chilliet 8927510685
Merge pull request #48223 from nextcloud/feat/add-rector-config
Add rector config
2024-09-23 15:10:30 +07:00
Côme Chilliet 1a4978c4ea
chore: Apply rector configuration to apps folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-20 17:51:00 +07:00
Julius Knorr 606241caeb
chore(legacy): Introduce public version ct plass and drop version methods from OC_Util
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-09-20 14:53:34 +07:00
provokateurin 9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-19 14:21:20 +07:00
Daniel Kesselberg af6de04e9e
style: update codestyle for coding-standard 1.2.3
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 19:34:58 +07:00
provokateurin 8d823344e3
refactor(updatenotification): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 21:35:26 +07:00
Joas Schilling 8130968a35
feat(notifications): Migrate server INotifiers to new exceptions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-25 11:56:24 +07:00
Andy Scherzinger cc1686dba9
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-31 10:38:47 +07:00
Maxence Lange 519e434573 fix(updatenotification): spread the use of new appconfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-13 02:22:11 +07:00
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>
2024-03-08 09:51:03 +07:00
Ferdinand Thiessen 2c87fbf207
fix(updatenotification): Adjust tests for changed IAppConfig
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-08 01:53:59 +07:00
Ferdinand Thiessen 876e2d6198
feat(AppManager): Provide `getAppIcon` function
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-07 22:40:31 +07:00
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>
2024-03-07 22:40:30 +07:00
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>
2024-03-07 22:40:30 +07:00
Ferdinand Thiessen 31d24a5538
fix(updatenotification): Resolve static code analysis errors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-07 22:40:30 +07:00
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>
2024-03-07 22:40:30 +07:00
Ferdinand Thiessen d9d3448e23
fix(updatenotification): Replace deprecated code and move background jobs into `BackgroundJobs` subfolder
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-07 22:40:29 +07:00
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 +07:00
jld3103 755de1e0b5 refactor: Rename OpenAPI type aliases to their namespaces
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +07: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 +07: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 +07:00
jld3103 0c2bff63e4
updatenotification: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-11 16:28:01 +07:00
Christoph Wurst e76d525a43
chore: Drop \OC_App::getAppInfo
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 11:31:27 +07:00
jld3103 d9f8522003
Fix types for reading and writing config values
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-05 09:08:56 +07: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 +07: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 +07:00