Compare commits

..

6 Commits

Author SHA1 Message Date
community-scripts-pr-app[bot]
6220e272af Update CHANGELOG.md (#4185)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-05-02 23:37:53 +02:00
Bram Suurd
dc36ba409c Changed the random script button to be the same as all the other buttons (#4183) 2025-05-02 17:40:37 +02:00
community-scripts-pr-app[bot]
15deb9c658 Update versions.json (#4175) 2025-05-02 17:38:49 +02:00
community-scripts-pr-app[bot]
07d87334d5 Update CHANGELOG.md (#4182)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-05-02 16:13:13 +02:00
Slaviša Arežina
39300b2b6e Fix typo in sed command (#4179) 2025-05-02 13:08:56 +02:00
DrDonoso
3b2aa30d48 Fix habitica config path (#4181) 2025-05-02 11:36:14 +02:00
6 changed files with 119 additions and 100 deletions

View File

@@ -14,6 +14,24 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment. All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
## 2025-05-02
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- NetBox: Fix typo in sed command, preventing install [@tremor021](https://github.com/tremor021) ([#4179](https://github.com/community-scripts/ProxmoxVE/pull/4179))
### 🌐 Website
- #### 🐞 Bug Fixes
- Changed the random script button to be the same as all the other buttons [@BramSuurdje](https://github.com/BramSuurdje) ([#4183](https://github.com/community-scripts/ProxmoxVE/pull/4183))
- #### 📝 Script Information
- Habitica: correct config path [@DrDonoso](https://github.com/DrDonoso) ([#4181](https://github.com/community-scripts/ProxmoxVE/pull/4181))
## 2025-05-01 ## 2025-05-01
### 🚀 Updated Scripts ### 🚀 Updated Scripts

View File

@@ -12,7 +12,7 @@
"documentation": "https://github.com/HabitRPG/habitica/wiki", "documentation": "https://github.com/HabitRPG/habitica/wiki",
"website": "https://habitica.com/", "website": "https://habitica.com/",
"logo": "https://raw.githubusercontent.com/selfhst/icons/refs/heads/main/svg/habitica.svg", "logo": "https://raw.githubusercontent.com/selfhst/icons/refs/heads/main/svg/habitica.svg",
"config_path": "/etc/headscale/config.yaml", "config_path": "/opt/habitica/config.json",
"description": "Habitica is an open-source habit-building program that treats your life like a role-playing game. Level up as you succeed, lose HP as you fail, and earn Gold to buy weapons and armor!", "description": "Habitica is an open-source habit-building program that treats your life like a role-playing game. Level up as you succeed, lose HP as you fail, and earn Gold to buy weapons and armor!",
"install_methods": [ "install_methods": [
{ {
@@ -35,11 +35,6 @@
{ {
"text": "It takes a minute or two after installation for web UI to start, please be patient.", "text": "It takes a minute or two after installation for web UI to start, please be patient.",
"type": "info" "type": "info"
},
{
"text": "Config file is at `/opt/habitica/config.json`",
"type": "info"
} }
] ]
} }

View File

@@ -1,43 +1,48 @@
[ [
{ {
"name": "stackblitz-labs/bolt.diy", "name": "emqx/emqx",
"version": "1.0.0-draft", "version": "e5.9.0",
"date": "2025-05-01T11:34:18Z" "date": "2025-05-02T11:07:10Z"
}, },
{ {
"name": "n8n-io/n8n", "name": "nzbgetcom/nzbget",
"version": "n8n@1.91.0", "version": "v24.8",
"date": "2025-04-28T15:38:56Z" "date": "2025-03-18T07:33:51Z"
},
{
"name": "semaphoreui/semaphore",
"version": "v2.14.7",
"date": "2025-05-02T07:57:33Z"
}, },
{ {
"name": "Jackett/Jackett", "name": "Jackett/Jackett",
"version": "v0.22.1837", "version": "v0.22.1846",
"date": "2025-05-01T06:01:00Z" "date": "2025-05-02T06:04:23Z"
}, },
{ {
"name": "NodeBB/NodeBB", "name": "apache/couchdb",
"version": "v4.3.0", "version": "3.5.0-RC1",
"date": "2025-05-01T04:13:41Z" "date": "2025-05-02T04:34:23Z"
}, },
{ {
"name": "keycloak/keycloak", "name": "theonedev/onedev",
"version": "26.2.2", "version": "v11.9.0",
"date": "2025-04-30T06:14:22Z" "date": "2025-05-02T02:44:12Z"
},
{
"name": "documenso/documenso",
"version": "v1.10.0",
"date": "2025-05-02T02:06:44Z"
},
{
"name": "Brandawg93/PeaNUT",
"version": "v5.7.3",
"date": "2025-05-02T01:16:34Z"
}, },
{ {
"name": "syncthing/syncthing", "name": "syncthing/syncthing",
"version": "v2.0.0-beta.9", "version": "v2.0.0-rc.14",
"date": "2025-04-12T13:58:29Z" "date": "2025-05-01T23:50:42Z"
},
{
"name": "ollama/ollama",
"version": "v0.6.7-rc1",
"date": "2025-04-29T18:57:54Z"
},
{
"name": "HabitRPG/habitica",
"version": "v5.36.1",
"date": "2025-04-30T19:44:44Z"
}, },
{ {
"name": "home-assistant/core", "name": "home-assistant/core",
@@ -45,14 +50,54 @@
"date": "2025-04-25T07:47:57Z" "date": "2025-04-25T07:47:57Z"
}, },
{ {
"name": "runtipi/runtipi", "name": "keycloak/keycloak",
"version": "v4.0.0", "version": "26.2.2",
"date": "2025-04-30T18:37:46Z" "date": "2025-04-30T06:14:22Z"
},
{
"name": "stackblitz-labs/bolt.diy",
"version": "v0.0.7-hf1",
"date": "2025-03-10T20:49:39Z"
},
{
"name": "Koenkk/zigbee2mqtt",
"version": "2.3.0",
"date": "2025-05-01T18:24:31Z"
}, },
{ {
"name": "netbox-community/netbox", "name": "netbox-community/netbox",
"version": "v4.2.9", "version": "v4.3.0",
"date": "2025-04-30T18:32:46Z" "date": "2025-05-01T16:46:17Z"
},
{
"name": "runtipi/runtipi",
"version": "v4.0.1",
"date": "2025-05-01T15:37:16Z"
},
{
"name": "fallenbagel/jellyseerr",
"version": "preview-typeorm-fix",
"date": "2025-05-01T14:47:45Z"
},
{
"name": "n8n-io/n8n",
"version": "n8n@1.91.0",
"date": "2025-04-28T15:38:56Z"
},
{
"name": "NodeBB/NodeBB",
"version": "v4.3.0",
"date": "2025-05-01T04:13:41Z"
},
{
"name": "ollama/ollama",
"version": "v0.6.7-rc2",
"date": "2025-04-30T20:57:45Z"
},
{
"name": "HabitRPG/habitica",
"version": "v5.36.1",
"date": "2025-04-30T19:44:44Z"
}, },
{ {
"name": "readeck/readeck", "name": "readeck/readeck",
@@ -79,11 +124,6 @@
"version": "v1.129.0rc1", "version": "v1.129.0rc1",
"date": "2025-04-16T15:18:13Z" "date": "2025-04-16T15:18:13Z"
}, },
{
"name": "nzbgetcom/nzbget",
"version": "v24.8",
"date": "2025-03-18T07:33:51Z"
},
{ {
"name": "Graylog2/graylog2-server", "name": "Graylog2/graylog2-server",
"version": "6.3.0-alpha.2", "version": "6.3.0-alpha.2",
@@ -169,21 +209,11 @@
"version": "v1.5.2", "version": "v1.5.2",
"date": "2025-04-29T20:42:32Z" "date": "2025-04-29T20:42:32Z"
}, },
{
"name": "emqx/emqx",
"version": "e5.9.0-rc.1",
"date": "2025-04-29T20:30:20Z"
},
{ {
"name": "MediaBrowser/Emby.Releases", "name": "MediaBrowser/Emby.Releases",
"version": "4.8.11.0", "version": "4.8.11.0",
"date": "2025-03-10T06:39:11Z" "date": "2025-03-10T06:39:11Z"
}, },
{
"name": "semaphoreui/semaphore",
"version": "v2.14.6",
"date": "2025-04-29T15:18:03Z"
},
{ {
"name": "hargata/lubelog", "name": "hargata/lubelog",
"version": "v1.4.7", "version": "v1.4.7",
@@ -479,11 +509,6 @@
"version": "v1.20.7", "version": "v1.20.7",
"date": "2025-04-19T20:35:09Z" "date": "2025-04-19T20:35:09Z"
}, },
{
"name": "theonedev/onedev",
"version": "v11.8.7",
"date": "2025-04-19T11:19:29Z"
},
{ {
"name": "caddyserver/caddy", "name": "caddyserver/caddy",
"version": "v2.10.0", "version": "v2.10.0",
@@ -539,11 +564,6 @@
"version": "v3.0.1", "version": "v3.0.1",
"date": "2025-04-17T14:06:09Z" "date": "2025-04-17T14:06:09Z"
}, },
{
"name": "documenso/documenso",
"version": "v1.10.0-rc.5",
"date": "2025-04-17T13:01:43Z"
},
{ {
"name": "neo4j/neo4j", "name": "neo4j/neo4j",
"version": "2025.04.0", "version": "2025.04.0",
@@ -569,11 +589,6 @@
"version": "v4.1.0", "version": "v4.1.0",
"date": "2025-04-15T16:18:29Z" "date": "2025-04-15T16:18:29Z"
}, },
{
"name": "Brandawg93/PeaNUT",
"version": "v5.7.2",
"date": "2025-04-15T15:44:49Z"
},
{ {
"name": "slskd/slskd", "name": "slskd/slskd",
"version": "0.22.5", "version": "0.22.5",
@@ -664,11 +679,6 @@
"version": "v1.10.0", "version": "v1.10.0",
"date": "2025-04-07T14:32:15Z" "date": "2025-04-07T14:32:15Z"
}, },
{
"name": "fallenbagel/jellyseerr",
"version": "preview-back-to-axios",
"date": "2025-04-07T09:23:08Z"
},
{ {
"name": "Dolibarr/dolibarr", "name": "Dolibarr/dolibarr",
"version": "21.0.1", "version": "21.0.1",
@@ -719,11 +729,6 @@
"version": "v25.4.0", "version": "v25.4.0",
"date": "2025-04-05T04:14:57Z" "date": "2025-04-05T04:14:57Z"
}, },
{
"name": "Koenkk/zigbee2mqtt",
"version": "2.2.1",
"date": "2025-04-04T20:15:48Z"
},
{ {
"name": "Athou/commafeed", "name": "Athou/commafeed",
"version": "5.7.0", "version": "5.7.0",
@@ -864,11 +869,6 @@
"version": "v0.22.1", "version": "v0.22.1",
"date": "2025-03-18T21:01:22Z" "date": "2025-03-18T21:01:22Z"
}, },
{
"name": "apache/couchdb",
"version": "3.4.3.post1",
"date": "2025-03-18T09:44:59Z"
},
{ {
"name": "authelia/authelia", "name": "authelia/authelia",
"version": "v4.39.1", "version": "v4.39.1",

View File

@@ -16,7 +16,10 @@ import React from "react";
import { Badge } from "./ui/badge"; import { Badge } from "./ui/badge";
import { Button } from "./ui/button"; import { Button } from "./ui/button";
import { DialogTitle } from "./ui/dialog"; import { DialogTitle } from "./ui/dialog";
import { Sparkles } from "lucide-react"; // <- Hinzugefügt import { Sparkles } from "lucide-react";
import { TooltipContent, TooltipProvider } from "./ui/tooltip";
import { TooltipTrigger } from "./ui/tooltip";
import { Tooltip } from "./ui/tooltip";
export const formattedBadge = (type: string) => { export const formattedBadge = (type: string) => {
switch (type) { switch (type) {
@@ -111,16 +114,19 @@ export default function CommandMenu() {
</kbd> </kbd>
</Button> </Button>
<Button <TooltipProvider>
variant="outline" <Tooltip delayDuration={100}>
size="icon" <TooltipTrigger asChild>
onClick={openRandomScript} <Button variant="outline" size="icon" onClick={openRandomScript} disabled={isLoading} className="hidden lg:flex">
title="Open random script" <Sparkles className="size-4" />
disabled={isLoading} <span className="sr-only">Open Random Script</span>
className="h-9 w-9"
>
<Sparkles className="h-5 w-5" />
</Button> </Button>
</TooltipTrigger>
<TooltipContent>
<p>Open Random Script</p>
</TooltipContent>
</Tooltip>
</TooltipProvider>
</div> </div>
<CommandDialog open={open} onOpenChange={setOpen}> <CommandDialog open={open} onOpenChange={setOpen}>

View File

@@ -41,8 +41,8 @@ export default function CodeCopyButton({
return ( return (
<div className="mt-4 flex"> <div className="mt-4 flex">
<Card className="flex items-center overflow-x-auto bg-primary-foreground pl-4"> <Card className="flex items-center overflow-x-auto bg-primary-foreground pl-4 [&::-webkit-scrollbar]:h-1.5 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-muted-foreground/20">
<div className="overflow-x-auto whitespace-pre-wrap text-nowrap break-all pr-4 text-sm"> <div className="overflow-x-auto whitespace-pre-wrap text-nowrap break-all pr-4 text-sm [&::-webkit-scrollbar]:h-1.5 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-muted-foreground/20">
{!isMobile && children ? children : "Copy install command"} {!isMobile && children ? children : "Copy install command"}
</div> </div>
<button <button

View File

@@ -54,7 +54,7 @@ cd /opt
RELEASE=$(curl -fsSL https://api.github.com/repos/netbox-community/netbox/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') RELEASE=$(curl -fsSL https://api.github.com/repos/netbox-community/netbox/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
curl -fsSL "https://github.com/netbox-community/netbox/archive/refs/tags/v${RELEASE}.zip" -o $(basename "https://github.com/netbox-community/netbox/archive/refs/tags/v${RELEASE}.zip") curl -fsSL "https://github.com/netbox-community/netbox/archive/refs/tags/v${RELEASE}.zip" -o $(basename "https://github.com/netbox-community/netbox/archive/refs/tags/v${RELEASE}.zip")
unzip -q "v${RELEASE}.zip" unzip -q "v${RELEASE}.zip"
mv /opt/netbox-${RELEASE}/ /opt/netbox mv /opt/netbox-"${RELEASE}"/ /opt/netbox
$STD adduser --system --group netbox $STD adduser --system --group netbox
chown --recursive netbox /opt/netbox/netbox/media/ chown --recursive netbox /opt/netbox/netbox/media/
@@ -68,8 +68,8 @@ ESCAPED_SECRET_KEY=$(printf '%s\n' "$SECRET_KEY" | sed 's/[&/\]/\\&/g')
sed -i 's/ALLOWED_HOSTS = \[\]/ALLOWED_HOSTS = ["*"]/' /opt/netbox/netbox/netbox/configuration.py sed -i 's/ALLOWED_HOSTS = \[\]/ALLOWED_HOSTS = ["*"]/' /opt/netbox/netbox/netbox/configuration.py
sed -i "s|SECRET_KEY = ''|SECRET_KEY = '${ESCAPED_SECRET_KEY}'|" /opt/netbox/netbox/netbox/configuration.py sed -i "s|SECRET_KEY = ''|SECRET_KEY = '${ESCAPED_SECRET_KEY}'|" /opt/netbox/netbox/netbox/configuration.py
sed -i "/DATABASE = {/,/}/s/'USER': '[^']*'/'USER': '$DB_USER'/" /opt/netbox/netbox/netbox/configuration.py sed -i "/DATABASES = {/,/}/s/'USER': '[^']*'/'USER': '$DB_USER'/" /opt/netbox/netbox/netbox/configuration.py
sed -i "/DATABASE = {/,/}/s/'PASSWORD': '[^']*'/'PASSWORD': '$DB_PASS'/" /opt/netbox/netbox/netbox/configuration.py sed -i "/DATABASES = {/,/}/s/'PASSWORD': '[^']*'/'PASSWORD': '$DB_PASS'/" /opt/netbox/netbox/netbox/configuration.py
$STD /opt/netbox/upgrade.sh $STD /opt/netbox/upgrade.sh
ln -s /opt/netbox/contrib/netbox-housekeeping.sh /etc/cron.daily/netbox-housekeeping ln -s /opt/netbox/contrib/netbox-housekeeping.sh /etc/cron.daily/netbox-housekeeping
@@ -85,7 +85,7 @@ mv /opt/netbox/contrib/*.service /etc/systemd/system/
systemctl daemon-reload systemctl daemon-reload
systemctl enable -q --now netbox netbox-rq systemctl enable -q --now netbox netbox-rq
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt echo "${RELEASE}" >/opt/"${APPLICATION}"_version.txt
echo -e "Netbox Secret: \e[32m$SECRET_KEY\e[0m" >>~/netbox.creds echo -e "Netbox Secret: \e[32m$SECRET_KEY\e[0m" >>~/netbox.creds
msg_ok "Installed NetBox" msg_ok "Installed NetBox"