mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-16 18:02:58 +08:00
trust mark for author
This commit is contained in:
parent
1db1ca5ce6
commit
b9f38f0d9c
@ -5,6 +5,7 @@
|
|||||||

|

|
||||||
|
|
||||||
## NOTICE
|
## NOTICE
|
||||||
|
* V2.37 Show a ✅ mark to accounts that have been active on GitHub for more than six months.
|
||||||
* V2.33 Security policy is applied.
|
* V2.33 Security policy is applied.
|
||||||
* V2.21 [cm-cli](docs/en/cm-cli.md) tool is added.
|
* V2.21 [cm-cli](docs/en/cm-cli.md) tool is added.
|
||||||
* V2.18 to V2.18.3 is not functioning due to a severe bug. Users on these versions are advised to promptly update to V2.18.4. Please navigate to the `ComfyUI/custom_nodes/ComfyUI-Manager` directory and execute `git pull` to update.
|
* V2.18 to V2.18.3 is not functioning due to a severe bug. Users on these versions are advised to promptly update to V2.18.4. Please navigate to the `ComfyUI/custom_nodes/ComfyUI-Manager` directory and execute `git pull` to update.
|
||||||
|
|||||||
@ -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, 36, 1]
|
version = [2, 37]
|
||||||
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__), '..'))
|
||||||
|
|||||||
@ -208,9 +208,11 @@ async def populate_github_stats(json_obj, json_obj_github):
|
|||||||
if url in json_obj_github:
|
if url in json_obj_github:
|
||||||
json_obj['custom_nodes'][i]['stars'] = json_obj_github[url]['stars']
|
json_obj['custom_nodes'][i]['stars'] = json_obj_github[url]['stars']
|
||||||
json_obj['custom_nodes'][i]['last_update'] = json_obj_github[url]['last_update']
|
json_obj['custom_nodes'][i]['last_update'] = json_obj_github[url]['last_update']
|
||||||
|
json_obj['custom_nodes'][i]['trust'] = json_obj_github[url]['author_account_age_days'] > 180
|
||||||
else:
|
else:
|
||||||
json_obj['custom_nodes'][i]['stars'] = -1
|
json_obj['custom_nodes'][i]['stars'] = -1
|
||||||
json_obj['custom_nodes'][i]['last_update'] = -1
|
json_obj['custom_nodes'][i]['last_update'] = -1
|
||||||
|
json_obj['custom_nodes'][i]['trust'] = False
|
||||||
return json_obj
|
return json_obj
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -563,9 +563,17 @@ export class CustomNodesInstaller extends ComfyDialog {
|
|||||||
data1.innerHTML = i+1;
|
data1.innerHTML = i+1;
|
||||||
|
|
||||||
var data2 = document.createElement('td');
|
var data2 = document.createElement('td');
|
||||||
data2.style.maxWidth = "100px";
|
data2.style.maxWidth = "120px";
|
||||||
data2.className = "cm-node-author"
|
data2.className = "cm-node-author"
|
||||||
data2.textContent = ` ${data.author}`;
|
data2.textContent = ` ${data.author}`;
|
||||||
|
|
||||||
|
if(data.trust) {
|
||||||
|
data2.textContent = `1${data.author}`;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
data2.textContent = ` ${data.author}`;
|
||||||
|
}
|
||||||
|
|
||||||
data2.style.whiteSpace = "nowrap";
|
data2.style.whiteSpace = "nowrap";
|
||||||
data2.style.overflow = "hidden";
|
data2.style.overflow = "hidden";
|
||||||
data2.style.textOverflow = "ellipsis";
|
data2.style.textOverflow = "ellipsis";
|
||||||
|
|||||||
@ -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.36.1"
|
version = "2.37"
|
||||||
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"]
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user