fix: add target='_blank' for linnk in notice board

update DB
This commit is contained in:
Dr.Lt.Data 2024-06-19 01:23:17 +09:00
parent 0e4f1713a4
commit ae0e901a2a
8 changed files with 80 additions and 9 deletions

View File

@ -10461,6 +10461,17 @@
"install_type": "git-clone", "install_type": "git-clone",
"description": "Unofficial Luma API-ComfyUI version.[w/WARN: This project is for learning purpose only!]" "description": "Unofficial Luma API-ComfyUI version.[w/WARN: This project is for learning purpose only!]"
}, },
{
"author": "chris-the-wiz",
"title": "EmbeddingsCurveEditor_ComfyUI",
"id": "embeddings-curve-editor",
"reference": "https://github.com/chris-the-wiz/EmbeddingsCurveEditor_ComfyUI",
"files": [
"https://github.com/chris-the-wiz/EmbeddingsCurveEditor_ComfyUI"
],
"install_type": "git-clone",
"description": "Edit embeddings with a curve. Actually should work on any 1D input tensor. Tested with IPAdapter-Plus."
},

View File

@ -2254,6 +2254,7 @@
"https://github.com/JayLyu/ComfyUI_BaiKong_Node": [ "https://github.com/JayLyu/ComfyUI_BaiKong_Node": [
[ [
"BK_ColorSelector", "BK_ColorSelector",
"BK_GradientImage",
"BK_Img2Color" "BK_Img2Color"
], ],
{ {
@ -5935,9 +5936,9 @@
"https://github.com/badayvedat/ComfyUI-fal-Connector": [ "https://github.com/badayvedat/ComfyUI-fal-Connector": [
[ [
"BooleanInput_fal", "BooleanInput_fal",
"ComboInput_fal",
"FloatInput_fal", "FloatInput_fal",
"IntegerInput_fal", "IntegerInput_fal",
"SaveImage_fal",
"StringInput_fal" "StringInput_fal"
], ],
{ {
@ -7223,6 +7224,14 @@
"title_aux": "Comfy-Topaz" "title_aux": "Comfy-Topaz"
} }
], ],
"https://github.com/chris-the-wiz/EmbeddingsCurveEditor_ComfyUI": [
[
"Embeddings Curve Editor"
],
{
"title_aux": "EmbeddingsCurveEditor_ComfyUI"
}
],
"https://github.com/chrisfreilich/virtuoso-nodes": [ "https://github.com/chrisfreilich/virtuoso-nodes": [
[ [
"BlackAndWhite", "BlackAndWhite",
@ -8520,12 +8529,18 @@
], ],
"https://github.com/exdysa/comfyui-selector": [ "https://github.com/exdysa/comfyui-selector": [
[ [
"Fork",
"ForkClip",
"Recourse", "Recourse",
"Selector" "Recourse+/-",
"RecourseCkpt",
"RecourseImage",
"Selector",
"Unite"
], ],
{ {
"author": "\"\u02f6\ud835\udfa2\u292c\u2ad2\u2d56s\u143c\u02f6\"", "author": "\"\u02f6\ud835\udfa2\u292c\u2ad2\u2d56s\u143c\u02f6\"",
"description": "\"Selector and Recourse for exdysa workflow. Preset aspect ratios, general settings, fallback switches.\"", "description": "\"EXDYSA. Selector and Recourse. Presets & failsafes. Work flow.\"",
"nickname": "\"Selector\"", "nickname": "\"Selector\"",
"title": "\"Selector\"", "title": "\"Selector\"",
"title_aux": "comfyui-selector" "title_aux": "comfyui-selector"

View File

@ -2249,6 +2249,11 @@
"last_update": "2024-06-14 10:59:30", "last_update": "2024-06-14 10:59:30",
"author_account_age_days": 5517 "author_account_age_days": 5517
}, },
"https://github.com/chris-the-wiz/EmbeddingsCurveEditor_ComfyUI": {
"stars": 0,
"last_update": "2024-06-18 15:50:52",
"author_account_age_days": 1791
},
"https://github.com/chrisfreilich/virtuoso-nodes": { "https://github.com/chrisfreilich/virtuoso-nodes": {
"stars": 48, "stars": 48,
"last_update": "2024-05-23 01:15:43", "last_update": "2024-05-23 01:15:43",

View File

@ -23,7 +23,7 @@ sys.path.append(glob_path)
import cm_global import cm_global
from manager_util import * from manager_util import *
version = [2, 38, 1] version = [2, 38, 2]
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '') version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')
comfyui_manager_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) comfyui_manager_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))

View File

@ -1128,6 +1128,19 @@ async def channel_url_list(request):
return web.Response(status=200) return web.Response(status=200)
def add_target_blank(html_text):
pattern = r'(<a\s+href="[^"]*"\s*[^>]*)(>)'
def add_target(match):
if 'target=' not in match.group(1):
return match.group(1) + ' target="_blank"' + match.group(2)
return match.group(0)
modified_html = re.sub(pattern, add_target, html_text)
return modified_html
@PromptServer.instance.routes.get("/manager/notice") @PromptServer.instance.routes.get("/manager/notice")
async def get_notice(request): async def get_notice(request):
url = "github.com" url = "github.com"
@ -1148,6 +1161,8 @@ async def get_notice(request):
# markdown_content += f"<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;()" # markdown_content += f"<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;()"
markdown_content += f"<BR>Manager: {core.version_str}" markdown_content += f"<BR>Manager: {core.version_str}"
markdown_content = add_target_blank(markdown_content)
try: try:
if core.comfy_ui_required_commit_datetime.date() > core.comfy_ui_commit_datetime.date(): if core.comfy_ui_required_commit_datetime.date() > core.comfy_ui_commit_datetime.date():
markdown_content = f'<P style="text-align: center; color:red; background-color:white; font-weight:bold">Your ComfyUI is too OUTDATED!!!</P>' + markdown_content markdown_content = f'<P style="text-align: center; color:red; background-color:white; font-weight:bold">Your ComfyUI is too OUTDATED!!!</P>' + markdown_content

View File

@ -13,7 +13,17 @@
{
"author": "chris-the-wiz",
"title": "EmbeddingsCurveEditor_ComfyUI",
"id": "embeddings-curve-editor",
"reference": "https://github.com/chris-the-wiz/EmbeddingsCurveEditor_ComfyUI",
"files": [
"https://github.com/chris-the-wiz/EmbeddingsCurveEditor_ComfyUI"
],
"install_type": "git-clone",
"description": "Edit embeddings with a curve. Actually should work on any 1D input tensor. Tested with IPAdapter-Plus."
},
{ {
"author": "AustinMroz", "author": "AustinMroz",
"title": "ComfyUI-WorkflowCheckpointing", "title": "ComfyUI-WorkflowCheckpointing",

View File

@ -2254,6 +2254,7 @@
"https://github.com/JayLyu/ComfyUI_BaiKong_Node": [ "https://github.com/JayLyu/ComfyUI_BaiKong_Node": [
[ [
"BK_ColorSelector", "BK_ColorSelector",
"BK_GradientImage",
"BK_Img2Color" "BK_Img2Color"
], ],
{ {
@ -5935,9 +5936,9 @@
"https://github.com/badayvedat/ComfyUI-fal-Connector": [ "https://github.com/badayvedat/ComfyUI-fal-Connector": [
[ [
"BooleanInput_fal", "BooleanInput_fal",
"ComboInput_fal",
"FloatInput_fal", "FloatInput_fal",
"IntegerInput_fal", "IntegerInput_fal",
"SaveImage_fal",
"StringInput_fal" "StringInput_fal"
], ],
{ {
@ -7223,6 +7224,14 @@
"title_aux": "Comfy-Topaz" "title_aux": "Comfy-Topaz"
} }
], ],
"https://github.com/chris-the-wiz/EmbeddingsCurveEditor_ComfyUI": [
[
"Embeddings Curve Editor"
],
{
"title_aux": "EmbeddingsCurveEditor_ComfyUI"
}
],
"https://github.com/chrisfreilich/virtuoso-nodes": [ "https://github.com/chrisfreilich/virtuoso-nodes": [
[ [
"BlackAndWhite", "BlackAndWhite",
@ -8520,12 +8529,18 @@
], ],
"https://github.com/exdysa/comfyui-selector": [ "https://github.com/exdysa/comfyui-selector": [
[ [
"Fork",
"ForkClip",
"Recourse", "Recourse",
"Selector" "Recourse+/-",
"RecourseCkpt",
"RecourseImage",
"Selector",
"Unite"
], ],
{ {
"author": "\"\u02f6\ud835\udfa2\u292c\u2ad2\u2d56s\u143c\u02f6\"", "author": "\"\u02f6\ud835\udfa2\u292c\u2ad2\u2d56s\u143c\u02f6\"",
"description": "\"Selector and Recourse for exdysa workflow. Preset aspect ratios, general settings, fallback switches.\"", "description": "\"EXDYSA. Selector and Recourse. Presets & failsafes. Work flow.\"",
"nickname": "\"Selector\"", "nickname": "\"Selector\"",
"title": "\"Selector\"", "title": "\"Selector\"",
"title_aux": "comfyui-selector" "title_aux": "comfyui-selector"

View File

@ -1,7 +1,7 @@
[project] [project]
name = "comfyui-manager" name = "comfyui-manager"
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI." description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
version = "2.38.1" version = "2.38.2"
license = "LICENSE" license = "LICENSE"
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"] dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]