Skip to content

Commit 3b69f9f

Browse files
committed
refactor(appstore): split controllers and use proper root
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 4d9937f commit 3b69f9f

27 files changed

Lines changed: 2881 additions & 2064 deletions

apps/appstore/REUSE.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version = 1
2+
SPDX-PackageName = "nextcloud"
3+
SPDX-PackageSupplier = "Nextcloud <info@nextcloud.com>"
4+
SPDX-PackageDownloadLocation = "https://github.com/nextcloud/server"
5+
6+
[[annotations]]
7+
path = ["tests/fixtures/categories.json", "tests/fixtures/categories-api-response.json"]
8+
precedence = "aggregate"
9+
SPDX-FileCopyrightText = "2026 Nextcloud GmbH and Nextcloud contributors"
10+
SPDX-License-Identifier = "CC-BY-SA-4.0"
11+
12+
[[annotations]]
13+
path = ["img/app.svg"]
14+
precedence = "aggregate"
15+
SPDX-FileCopyrightText = "2018-2024 Google LLC"
16+
SPDX-License-Identifier = "Apache-2.0"

apps/appstore/appinfo/routes.php

Lines changed: 0 additions & 27 deletions
This file was deleted.

apps/appstore/composer/composer/autoload_classmap.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
return array(
99
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
1010
'OCA\\Appstore\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
11-
'OCA\\Appstore\\Controller\\AppSettingsController' => $baseDir . '/../lib/Controller/AppSettingsController.php',
11+
'OCA\\Appstore\\Controller\\ApiController' => $baseDir . '/../lib/Controller/ApiController.php',
12+
'OCA\\Appstore\\Controller\\DiscoverController' => $baseDir . '/../lib/Controller/DiscoverController.php',
13+
'OCA\\Appstore\\Controller\\PageController' => $baseDir . '/../lib/Controller/PageController.php',
1214
'OCA\\Appstore\\Search\\AppSearch' => $baseDir . '/../lib/Search/AppSearch.php',
13-
'OCA\\Settings\\ResponseDefinitions' => $baseDir . '/../lib/ResponseDefinitions.php',
1415
);

apps/appstore/composer/composer/autoload_static.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
class ComposerStaticInitAppstore
88
{
99
public static $prefixLengthsPsr4 = array (
10-
'O' =>
10+
'O' =>
1111
array (
1212
'OCA\\Appstore\\' => 13,
1313
),
1414
);
1515

1616
public static $prefixDirsPsr4 = array (
17-
'OCA\\Appstore\\' =>
17+
'OCA\\Appstore\\' =>
1818
array (
1919
0 => __DIR__ . '/..' . '/../lib',
2020
),
@@ -23,9 +23,10 @@ class ComposerStaticInitAppstore
2323
public static $classMap = array (
2424
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
2525
'OCA\\Appstore\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
26-
'OCA\\Appstore\\Controller\\AppSettingsController' => __DIR__ . '/..' . '/../lib/Controller/AppSettingsController.php',
26+
'OCA\\Appstore\\Controller\\ApiController' => __DIR__ . '/..' . '/../lib/Controller/ApiController.php',
27+
'OCA\\Appstore\\Controller\\DiscoverController' => __DIR__ . '/..' . '/../lib/Controller/DiscoverController.php',
28+
'OCA\\Appstore\\Controller\\PageController' => __DIR__ . '/..' . '/../lib/Controller/PageController.php',
2729
'OCA\\Appstore\\Search\\AppSearch' => __DIR__ . '/..' . '/../lib/Search/AppSearch.php',
28-
'OCA\\Settings\\ResponseDefinitions' => __DIR__ . '/..' . '/../lib/ResponseDefinitions.php',
2930
);
3031

3132
public static function getInitializer(ClassLoader $loader)

0 commit comments

Comments
 (0)