mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 10:23:30 +00:00
Adds self-hosted GitLab OAuth sources so Coolify can connect to a self-managed GitLab instance, list private repositories, clone over an OAuth token, and deploy (the GitLab counterpart to GitHub Apps). Hardening: authenticated, one-time team-bound OAuth callback state; token redaction in deploy logs; custom host port/path kept in clone and ls-remote URLs; submodule OAuth auth; system-wide source selection. Covered by unit and feature tests. cosigned by OpenAI Codex at M1 Max
23 lines
948 B
PHP
23 lines
948 B
PHP
<div>
|
|
<x-slot:title>
|
|
{{ data_get_str($project, 'name')->limit(10) }} > New | Coolify
|
|
</x-slot>
|
|
@if ($type === 'public')
|
|
<livewire:project.new.public-git-repository :type="$type" />
|
|
@elseif ($type === 'private-gh-app')
|
|
<livewire:project.new.github-private-repository :type="$type" />
|
|
@elseif ($type === 'private-gitlab-app')
|
|
<livewire:project.new.gitlab-private-repository :type="$type" />
|
|
@elseif ($type === 'private-deploy-key')
|
|
<livewire:project.new.github-private-repository-deploy-key :type="$type" />
|
|
@elseif ($type === 'dockerfile')
|
|
<livewire:project.new.simple-dockerfile :type="$type" />
|
|
@elseif ($type === 'docker-compose-empty')
|
|
<livewire:project.new.docker-compose :type="$type" />
|
|
@elseif ($type === 'docker-image')
|
|
<livewire:project.new.docker-image :type="$type" />
|
|
@else
|
|
<livewire:project.new.select />
|
|
@endif
|
|
</div>
|