refactor: remove unused code app source for app installer page and remove app source of GenieACS
This commit is contained in:
1 parent
f7134a2725
commit
001ba48651
3 files changed
+68
-62
No files matched your search
@@ -1212,22 +1212,6 @@ const BASE_APP_TEMPLATES: AppTemplate[] = [
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
id: "genieacs",
|
||||
name: "GenieACS",
|
||||
desc: "TR-069 remote management server for CPE devices",
|
||||
category: "DevOps",
|
||||
image: "genieacs/genieacs:latest",
|
||||
defaultPort: "7547:7547,7557:7557,7567:7567,3000:3000",
|
||||
defaultEnv:
|
||||
"GENIEACS_MONGODB_CONNECTION_URL=mongodb://mongo/genieacs\nGENIEACS_CWMP_ACCESS_LOG_FILE=/var/log/genieacs/cwmp-access.log\nGENIEACS_NBI_ACCESS_LOG_FILE=/var/log/genieacs/nbi-access.log\nGENIEACS_UI_JWT_SECRET=super-secret-key\nGENIEACS_CWMP_PORT=7547\nGENIEACS_NBI_PORT=7557\nGENIEACS_FS_PORT=7567\nGENIEACS_UI_PORT=3000",
|
||||
defaultVolumes:
|
||||
"/srv/genieacs/logs:/var/log/genieacs\n/srv/genieacs/ext:/opt/genieacs/ext",
|
||||
restartPolicy: "unless-stopped",
|
||||
popular: false,
|
||||
tags: ["TR-069", "CPE", "Network"],
|
||||
},
|
||||
|
||||
{
|
||||
id: "wuzapi",
|
||||
name: "WuzAPI",
|
||||
|
||||
@@ -11,31 +11,42 @@ export const CATALOG_SOURCE_OPTIONS: CatalogSourceOption[] = [
|
||||
id: "auto-detect",
|
||||
label: "Custom Source",
|
||||
description:
|
||||
"Paste a remote URL and let the backend detect whether it is a manifest, compose/config file, or ZIP app store archive.",
|
||||
"Paste any supported manifest or ZIP app store URL and let the backend detect the parser automatically.",
|
||||
requiresUrl: true,
|
||||
placeholder:
|
||||
"https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip",
|
||||
exampleUrl: "https://casaos-appstore.paodayag.dev/linuxserver.zip",
|
||||
},
|
||||
{
|
||||
id: "manifest-url",
|
||||
label: "Manifest URL",
|
||||
description:
|
||||
"Fetch app entries from a remote JSON, YAML, CasaOS config, compose, or Umbrel manifest URL.",
|
||||
requiresUrl: true,
|
||||
placeholder: "https://example.com/apps.json",
|
||||
"https://github.com/DoktainerApp/templates/archive/refs/heads/main.zip",
|
||||
exampleUrl:
|
||||
"https://raw.githubusercontent.com/bigbeartechworld/big-bear-casaos/master/Apps/2fauth/config.json",
|
||||
},
|
||||
{
|
||||
id: "github-archive",
|
||||
label: "GitHub Archive ZIP",
|
||||
description:
|
||||
"Download a GitHub archive ZIP and scan CasaOS app folders, config.json, docker-compose.yml, JSON, or YAML manifests.",
|
||||
requiresUrl: true,
|
||||
placeholder:
|
||||
"https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip",
|
||||
exampleUrl:
|
||||
"https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip",
|
||||
"https://github.com/DoktainerApp/templates/archive/refs/heads/main.zip",
|
||||
},
|
||||
// {
|
||||
// id: "auto-detect",
|
||||
// label: "Custom Source",
|
||||
// description:
|
||||
// "Paste a remote URL and let the backend detect whether it is a manifest, compose/config file, or ZIP app store archive.",
|
||||
// requiresUrl: true,
|
||||
// placeholder:
|
||||
// "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip",
|
||||
// exampleUrl: "https://casaos-appstore.paodayag.dev/linuxserver.zip",
|
||||
// },
|
||||
// {
|
||||
// id: "manifest-url",
|
||||
// label: "Manifest URL",
|
||||
// description:
|
||||
// "Fetch app entries from a remote JSON, YAML, CasaOS config, compose, or Umbrel manifest URL.",
|
||||
// requiresUrl: true,
|
||||
// placeholder: "https://example.com/apps.json",
|
||||
// exampleUrl:
|
||||
// "https://raw.githubusercontent.com/bigbeartechworld/big-bear-casaos/master/Apps/2fauth/config.json",
|
||||
// },
|
||||
// {
|
||||
// id: "github-archive",
|
||||
// label: "GitHub Archive ZIP",
|
||||
// description:
|
||||
// "Download a GitHub archive ZIP and scan CasaOS app folders, config.json, docker-compose.yml, JSON, or YAML manifests.",
|
||||
// requiresUrl: true,
|
||||
// placeholder:
|
||||
// "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip",
|
||||
// exampleUrl:
|
||||
// "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip",
|
||||
// },
|
||||
];
|
||||
@@ -53,33 +53,44 @@ export const CATALOG_SOURCE_OPTIONS: CatalogSourceOption[] = [
|
||||
id: "auto-detect",
|
||||
label: "Custom Source",
|
||||
description:
|
||||
"Paste a remote URL and let the backend detect whether it is a manifest, compose/config file, or ZIP app store archive.",
|
||||
"Paste any supported manifest or ZIP app store URL and let the backend detect the parser automatically.",
|
||||
requiresUrl: true,
|
||||
placeholder:
|
||||
"https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip",
|
||||
exampleUrl: "https://casaos-appstore.paodayag.dev/linuxserver.zip",
|
||||
},
|
||||
{
|
||||
id: "manifest-url",
|
||||
label: "Manifest URL",
|
||||
description:
|
||||
"Fetch app entries from a remote JSON, YAML, CasaOS config, compose, or Umbrel manifest URL.",
|
||||
requiresUrl: true,
|
||||
placeholder: "https://example.com/apps.json",
|
||||
"https://github.com/DoktainerApp/templates/archive/refs/heads/main.zip",
|
||||
exampleUrl:
|
||||
"https://raw.githubusercontent.com/bigbeartechworld/big-bear-casaos/master/Apps/2fauth/config.json",
|
||||
},
|
||||
{
|
||||
id: "github-archive",
|
||||
label: "GitHub Archive ZIP",
|
||||
description:
|
||||
"Download a GitHub archive ZIP and scan CasaOS app folders, config.json, docker-compose.yml, JSON, or YAML manifests.",
|
||||
requiresUrl: true,
|
||||
placeholder:
|
||||
"https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip",
|
||||
exampleUrl:
|
||||
"https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip",
|
||||
"https://github.com/DoktainerApp/templates/archive/refs/heads/main.zip",
|
||||
},
|
||||
// {
|
||||
// id: "auto-detect",
|
||||
// label: "Custom Source",
|
||||
// description:
|
||||
// "Paste a remote URL and let the backend detect whether it is a manifest, compose/config file, or ZIP app store archive.",
|
||||
// requiresUrl: true,
|
||||
// placeholder:
|
||||
// "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip",
|
||||
// exampleUrl: "https://casaos-appstore.paodayag.dev/linuxserver.zip",
|
||||
// },
|
||||
// {
|
||||
// id: "manifest-url",
|
||||
// label: "Manifest URL",
|
||||
// description:
|
||||
// "Fetch app entries from a remote JSON, YAML, CasaOS config, compose, or Umbrel manifest URL.",
|
||||
// requiresUrl: true,
|
||||
// placeholder: "https://example.com/apps.json",
|
||||
// exampleUrl:
|
||||
// "https://raw.githubusercontent.com/bigbeartechworld/big-bear-casaos/master/Apps/2fauth/config.json",
|
||||
// },
|
||||
// {
|
||||
// id: "github-archive",
|
||||
// label: "GitHub Archive ZIP",
|
||||
// description:
|
||||
// "Download a GitHub archive ZIP and scan CasaOS app folders, config.json, docker-compose.yml, JSON, or YAML manifests.",
|
||||
// requiresUrl: true,
|
||||
// placeholder:
|
||||
// "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip",
|
||||
// exampleUrl:
|
||||
// "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip",
|
||||
// },
|
||||
];
|
||||
|
||||
function slugify(value: string): string {
|
||||
|
||||
Reference in new issue
Block a user