mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-14 19:14:27 +05:00
Compare commits
3 Commits
v6.0.0-bet
...
v5.1.7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
195b7fa926 | ||
|
|
12919c7140 | ||
|
|
e590f668e6 |
@@ -16,8 +16,9 @@ from typing import List
|
|||||||
|
|
||||||
from utils.fs_utils import get_data_dir
|
from utils.fs_utils import get_data_dir
|
||||||
|
|
||||||
SUFFIX_BLACKLIST: List[str] = ["None", "mcu", "obico", "bambu", "companion"]
|
# suffixes that are not allowed to be used for instances
|
||||||
|
# because they would cause conflicts with other components or are reserved
|
||||||
|
SUFFIX_BLACKLIST: List[str] = ["None", "mcu", "obico", "bambu", "companion", "hmi"]
|
||||||
|
|
||||||
@dataclass(repr=True)
|
@dataclass(repr=True)
|
||||||
class BaseInstance:
|
class BaseInstance:
|
||||||
|
|||||||
@@ -150,9 +150,9 @@ class ExtensionSubmenu(BaseMenu):
|
|||||||
if website or repo:
|
if website or repo:
|
||||||
links_lines: List[str] = ["Links:"]
|
links_lines: List[str] = ["Links:"]
|
||||||
if website:
|
if website:
|
||||||
links_lines.append(f"- Website: {website}")
|
links_lines.append(f"● {website}")
|
||||||
if repo:
|
if repo:
|
||||||
links_lines.append(f"- GitHub: {repo}")
|
links_lines.append(f"● {repo}")
|
||||||
|
|
||||||
links_text = Logger.format_content(
|
links_text = Logger.format_content(
|
||||||
links_lines,
|
links_lines,
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
"module": "gcode_shell_cmd_extension",
|
"module": "gcode_shell_cmd_extension",
|
||||||
"maintained_by": "dw-0",
|
"maintained_by": "dw-0",
|
||||||
"display_name": "G-Code Shell Command",
|
"display_name": "G-Code Shell Command",
|
||||||
"description": ["Run a shell commands from gcode."]
|
"description": ["Run a shell commands from gcode."],
|
||||||
|
"updates": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,8 @@
|
|||||||
"maintained_by": "Staubgeborener",
|
"maintained_by": "Staubgeborener",
|
||||||
"display_name": "Klipper-Backup",
|
"display_name": "Klipper-Backup",
|
||||||
"description": ["Backup all your Klipper files to GitHub"],
|
"description": ["Backup all your Klipper files to GitHub"],
|
||||||
|
"website": "https://klipperbackup.xyz",
|
||||||
|
"repo": "https://github.com/Staubgeborener/klipper-backup",
|
||||||
"updates": true
|
"updates": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
"module": "mainsail_theme_installer_extension",
|
"module": "mainsail_theme_installer_extension",
|
||||||
"maintained_by": "dw-0",
|
"maintained_by": "dw-0",
|
||||||
"display_name": "Mainsail Theme Installer",
|
"display_name": "Mainsail Theme Installer",
|
||||||
"description": ["Install Mainsail Themes maintained by the Mainsail community."]
|
"description": ["Install Mainsail Themes maintained by the Mainsail community."],
|
||||||
|
"website": "https://docs.mainsail.xyz/theming/themes",
|
||||||
|
"updates": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
"description": [
|
"description": [
|
||||||
"Companion for Mobileraker, enabling push notification for Klipper using Moonraker."
|
"Companion for Mobileraker, enabling push notification for Klipper using Moonraker."
|
||||||
],
|
],
|
||||||
|
"repo": "https://github.com/Clon1998/mobileraker_companion",
|
||||||
"updates": true
|
"updates": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
"- 25FPS High-Def Webcam Streaming",
|
"- 25FPS High-Def Webcam Streaming",
|
||||||
"- Free 4.9-Star Mobile App"
|
"- Free 4.9-Star Mobile App"
|
||||||
],
|
],
|
||||||
|
"website": "https://obico.io",
|
||||||
|
"repo": "github.com/TheSpaghettiDetective/moonraker-obico",
|
||||||
"updates": true
|
"updates": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
"- Live Gcode preview",
|
"- Live Gcode preview",
|
||||||
"- And much much more!"
|
"- And much much more!"
|
||||||
],
|
],
|
||||||
|
"repo": "https://github.com/crysxd/OctoApp-Plugin",
|
||||||
"updates": true
|
"updates": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
"- Real-time Notifications",
|
"- Real-time Notifications",
|
||||||
"- Live Streaming, and More!"
|
"- Live Streaming, and More!"
|
||||||
],
|
],
|
||||||
|
"website": "https://octoeverywhere.com",
|
||||||
|
"repo": "github.com/QuinnDamerell/OctoPrint-OctoEverywhere",
|
||||||
"updates": true
|
"updates": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
"maintained_by": "Kragrathea",
|
"maintained_by": "Kragrathea",
|
||||||
"display_name": "PrettyGCode for Klipper",
|
"display_name": "PrettyGCode for Klipper",
|
||||||
"description": ["3D G-Code viewer for Klipper"],
|
"description": ["3D G-Code viewer for Klipper"],
|
||||||
|
"repo": "https://github.com/Kragrathea/pgcode",
|
||||||
"updates": true
|
"updates": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,13 +1,16 @@
|
|||||||
{
|
{
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"index": 10,
|
"index": 10,
|
||||||
"module": "simply_print_extension",
|
"module": "simply_print_extension",
|
||||||
"maintained_by": "dw-0",
|
"maintained_by": "dw-0",
|
||||||
"display_name": "SimplyPrint",
|
"display_name": "SimplyPrint",
|
||||||
"description": [
|
"description": [
|
||||||
"3D Printer Cloud Management Software.",
|
"3D Printer Cloud Management Software.",
|
||||||
"\n\n",
|
"\n\n",
|
||||||
"3D printing doesn't have to be a complicated, analog, SD card-filled experience; step into the future of modern 3D printing"
|
"3D printing doesn't have to be a complicated, analog, SD card-filled experience; step into the future of modern 3D printing"
|
||||||
]
|
],
|
||||||
}
|
"website": "https://simplyprint.io",
|
||||||
|
"repo": "https://github.com/SimplyPrint",
|
||||||
|
"updates": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
"\n\n",
|
"\n\n",
|
||||||
"Note: This extension installs Spoolman using Docker. Docker must be installed on your system before installing Spoolman."
|
"Note: This extension installs Spoolman using Docker. Docker must be installed on your system before installing Spoolman."
|
||||||
],
|
],
|
||||||
|
"repo": "https://github.com/Donkie/Spoolman",
|
||||||
"updates": true
|
"updates": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"maintained_by": "nlef",
|
"maintained_by": "nlef",
|
||||||
"display_name": "Moonraker Telegram Bot",
|
"display_name": "Moonraker Telegram Bot",
|
||||||
"description": ["Control your printer with the Telegram messenger app."],
|
"description": ["Control your printer with the Telegram messenger app."],
|
||||||
"project_url": "https://github.com/nlef/moonraker-telegram-bot",
|
"repo": "https://github.com/nlef/moonraker-telegram-bot",
|
||||||
"updates": true
|
"updates": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,10 +42,13 @@ from utils.sys_utils import (
|
|||||||
def get_kiauh_version() -> str:
|
def get_kiauh_version() -> str:
|
||||||
"""
|
"""
|
||||||
Helper method to get the current KIAUH version by reading the latest tag
|
Helper method to get the current KIAUH version by reading the latest tag
|
||||||
:return: string of the latest tag
|
:return: string of the latest tag or a default value if no tags exist
|
||||||
"""
|
"""
|
||||||
lastest_tag: str = get_local_tags(Path(__file__).parent.parent)[-1]
|
tags = get_local_tags(Path(__file__).parent.parent)
|
||||||
return lastest_tag
|
if tags:
|
||||||
|
return tags[-1]
|
||||||
|
else:
|
||||||
|
return "v?.?.?"
|
||||||
|
|
||||||
|
|
||||||
def convert_camelcase_to_kebabcase(name: str) -> str:
|
def convert_camelcase_to_kebabcase(name: str) -> str:
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ function moonraker_systemd() {
|
|||||||
###
|
###
|
||||||
# any moonraker client that uses "moonraker" in its own name must be blacklisted using
|
# any moonraker client that uses "moonraker" in its own name must be blacklisted using
|
||||||
# this variable, otherwise they will be falsely recognized as moonraker instances
|
# this variable, otherwise they will be falsely recognized as moonraker instances
|
||||||
blacklist="obico"
|
blacklist="obico|hmi|telegram-bot"
|
||||||
|
|
||||||
ignore="${SYSTEMD}/moonraker-(${blacklist}).service"
|
ignore="${SYSTEMD}/moonraker-(${blacklist}).service"
|
||||||
match="${SYSTEMD}/moonraker(-[0-9a-zA-Z]+)?.service"
|
match="${SYSTEMD}/moonraker(-[0-9a-zA-Z]+)?.service"
|
||||||
|
|||||||
Reference in New Issue
Block a user