Merge branch 'next' of github.com:coollabsio/coolify into next
This commit is contained in:
@@ -3,7 +3,7 @@ tasks:
|
|||||||
# Fix because of https://github.com/gitpod-io/gitpod/issues/16614
|
# Fix because of https://github.com/gitpod-io/gitpod/issues/16614
|
||||||
before: sudo curl -o /usr/local/bin/docker-compose -fsSL https://github.com/docker/compose/releases/download/v2.16.0/docker-compose-linux-$(uname -m)
|
before: sudo curl -o /usr/local/bin/docker-compose -fsSL https://github.com/docker/compose/releases/download/v2.16.0/docker-compose-linux-$(uname -m)
|
||||||
init: |
|
init: |
|
||||||
cp .env.example .env &&
|
cp .env.development.example .env &&
|
||||||
sed -i "s#APP_URL=http://localhost#APP_URL=$(gp url 8000)#g" .env
|
sed -i "s#APP_URL=http://localhost#APP_URL=$(gp url 8000)#g" .env
|
||||||
sed -i "s#USERID=#USERID=33333#g" .env
|
sed -i "s#USERID=#USERID=33333#g" .env
|
||||||
sed -i "s#GROUPID=#GROUPID=33333#g" .env
|
sed -i "s#GROUPID=#GROUPID=33333#g" .env
|
||||||
@@ -20,7 +20,7 @@ tasks:
|
|||||||
echo "Waiting for Sail environment to boot up."
|
echo "Waiting for Sail environment to boot up."
|
||||||
gp sync-await spin-is-ready
|
gp sync-await spin-is-ready
|
||||||
./vendor/bin/spin exec vite npm install
|
./vendor/bin/spin exec vite npm install
|
||||||
./vendor/bin/spin exec vite npm run dev
|
./vendor/bin/spin exec vite npm run dev -- --host
|
||||||
|
|
||||||
- name: Laravel Queue Worker, listening to code changes
|
- name: Laravel Queue Worker, listening to code changes
|
||||||
command: |
|
command: |
|
||||||
|
@@ -98,7 +98,8 @@ class PublicGitRepository extends Component
|
|||||||
(str($this->repository_url)->startsWith('https://') ||
|
(str($this->repository_url)->startsWith('https://') ||
|
||||||
str($this->repository_url)->startsWith('http://')) &&
|
str($this->repository_url)->startsWith('http://')) &&
|
||||||
!str($this->repository_url)->endsWith('.git') &&
|
!str($this->repository_url)->endsWith('.git') &&
|
||||||
!str($this->repository_url)->contains('github.com')
|
(!str($this->repository_url)->contains('github.com') ||
|
||||||
|
!str($this->repository_url)->contains('git.sr.ht'))
|
||||||
) {
|
) {
|
||||||
$this->repository_url = $this->repository_url . '.git';
|
$this->repository_url = $this->repository_url . '.git';
|
||||||
}
|
}
|
||||||
|
30
lang/zh-cn.json
Normal file
30
lang/zh-cn.json
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"auth.login": "登录",
|
||||||
|
"auth.login.azure": "使用 Microsoft 登录",
|
||||||
|
"auth.login.bitbucket": "使用 Bitbucket 登录",
|
||||||
|
"auth.login.github": "使用 GitHub 登录",
|
||||||
|
"auth.login.gitlab": "使用 Gitlab 登录",
|
||||||
|
"auth.login.google": "使用 Google 登录",
|
||||||
|
"auth.already_registered": "已经注册?",
|
||||||
|
"auth.confirm_password": "确认密码",
|
||||||
|
"auth.forgot_password": "忘记密码",
|
||||||
|
"auth.forgot_password_send_email": "发送密码重置邮件",
|
||||||
|
"auth.register_now": "注册",
|
||||||
|
"auth.logout": "退出登录",
|
||||||
|
"auth.register": "注册",
|
||||||
|
"auth.registration_disabled": "注册已禁用,请联系管理员",
|
||||||
|
"auth.reset_password": "重置密码",
|
||||||
|
"auth.failed": "这些凭据与我们的记录不符",
|
||||||
|
"auth.failed.callback": "处理第三方登录的回调时出错",
|
||||||
|
"auth.failed.password": "密码错误",
|
||||||
|
"auth.failed.email": "该账户未注册",
|
||||||
|
"auth.throttle": "登录次数过多,请在 :seconds 秒后重试",
|
||||||
|
"input.name": "用户名",
|
||||||
|
"input.email": "邮箱",
|
||||||
|
"input.password": "密码",
|
||||||
|
"input.password.again": "确认密码",
|
||||||
|
"input.code": "验证码",
|
||||||
|
"input.recovery_code": "恢复码",
|
||||||
|
"button.save": "保存",
|
||||||
|
"repository.url": "<span class='text-helper'>示例</span><br>对于公共代码仓库,请使用 <span class='text-helper'>https://...</span>。<br>对于私有代码仓库,请使用 <span class='text-helper'>git@...</span>。<br><br>https://github.com/coollabsio/coolify-examples <span class='text-helper'>main</span> 分支将被选择<br>https://github.com/coollabsio/coolify-examples/tree/nodejs-fastify <span class='text-helper'>nodejs-fastify</span> 分支将被选择。<br>https://gitea.com/sedlav/expressjs.git <span class='text-helper'>main</span> 分支将被选择。<br>https://gitlab.com/andrasbacsai/nodejs-example.git <span class='text-helper'>main</span> 分支将被选择"
|
||||||
|
}
|
@@ -21,7 +21,7 @@
|
|||||||
<form wire:submit='submit' class="flex items-end gap-2 pt-4">
|
<form wire:submit='submit' class="flex items-end gap-2 pt-4">
|
||||||
<div class="w-64">
|
<div class="w-64">
|
||||||
<x-forms.input label="Create new or assign existing tags"
|
<x-forms.input label="Create new or assign existing tags"
|
||||||
helper="You add more at once with space seperated list: web api something<br><br>If the tag does not exists, it will be created."
|
helper="You add more at once with space separated list: web api something<br><br>If the tag does not exists, it will be created."
|
||||||
wire:model="new_tag" />
|
wire:model="new_tag" />
|
||||||
</div>
|
</div>
|
||||||
<x-forms.button type="submit">Add</x-forms.button>
|
<x-forms.button type="submit">Add</x-forms.button>
|
||||||
|
@@ -38,7 +38,7 @@
|
|||||||
id="next_channel" label="Enable pre-release (early) updates" />
|
id="next_channel" label="Enable pre-release (early) updates" />
|
||||||
@else
|
@else
|
||||||
<x-forms.checkbox disabled instantSave
|
<x-forms.checkbox disabled instantSave
|
||||||
helper="Currently disabled. Do not recommended, only if you like to live on the edge." id="next_channel"
|
helper="Currently disabled. Not recommended. Only if you like to live on the edge." id="next_channel"
|
||||||
label="Enable pre-release (early) updates" />
|
label="Enable pre-release (early) updates" />
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
@@ -73,6 +73,9 @@ centos | fedora | rhel | ol | rocky | almalinux | amzn)
|
|||||||
if [ "$OS_TYPE" = "amzn" ]; then
|
if [ "$OS_TYPE" = "amzn" ]; then
|
||||||
dnf install -y wget git jq >/dev/null 2>&1
|
dnf install -y wget git jq >/dev/null 2>&1
|
||||||
else
|
else
|
||||||
|
if ! command -v dnf >/dev/null 2>&1; then
|
||||||
|
yum install -y dnf >/dev/null 2>&1
|
||||||
|
fi
|
||||||
dnf install -y curl wget git jq >/dev/null 2>&1
|
dnf install -y curl wget git jq >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user