Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve github app validation #859

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,24 @@ export const AddGithubProvider = () => {
/>
<br />

<div className="flex w-full justify-end">
<div className="flex w-full items-center justify-between">
<a
href={
isOrganization && organizationName
? `https://github.com/organizations/${organizationName}/settings/installations`
: "https://github.com/settings/installations"
}
className={`text-muted-foreground text-sm hover:underline duration-300
${
isOrganization && !organizationName
? "pointer-events-none opacity-50"
: ""
}`}
target="_blank"
rel="noopener noreferrer"
>
Unsure if you already have an app?
</a>
<Button
disabled={isOrganization && organizationName.length < 1}
type="submit"
Expand Down
16 changes: 8 additions & 8 deletions apps/dokploy/templates/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -881,8 +881,8 @@ export const templates: TemplateData[] = [
},
tags: ["forum", "community", "discussion"],
load: () => import("./discourse/index").then((m) => m.generate),
},
{
},
{
id: "immich",
name: "Immich",
version: "v1.121.0",
Expand All @@ -896,8 +896,8 @@ export const templates: TemplateData[] = [
},
tags: ["photos", "videos", "backup", "media"],
load: () => import("./immich/index").then((m) => m.generate),
},
{
},
{
id: "twenty",
name: "Twenty CRM",
version: "latest",
Expand All @@ -911,8 +911,8 @@ export const templates: TemplateData[] = [
},
tags: ["crm", "sales", "business"],
load: () => import("./twenty/index").then((m) => m.generate),
},
{
},
{
id: "yourls",
name: "YOURLS",
version: "1.9.2",
Expand All @@ -926,8 +926,8 @@ export const templates: TemplateData[] = [
},
tags: ["url-shortener", "php"],
load: () => import("./yourls/index").then((m) => m.generate),
},
{
},
{
id: "ryot",
name: "Ryot",
version: "v7.10",
Expand Down