Hayden
21df85136d
Merge 9c957977d0
into 22ad513c72
2025-04-11 09:49:48 -04:00
Laurent Erignoux
2b71aab299
User missing ( #7439 )
...
* Ensuring a 401 error is returned when user data is not found in multi-user context.
* Returning a 401 error when provided comfy-user does not exists on server side.
2025-04-01 13:53:52 -04:00
Chenlei Hu
ce9b084279
[nit] Format error strings ( #7345 )
2025-03-21 19:08:25 -04:00
comfyanonymous
f4411250f3
Repeat frontend version warning at the end.
...
This way someone running ComfyUI with the command line is more likely to
actually see it.
2025-03-12 07:13:40 -04:00
huchenlei
cfbe4b49ca
Access package version
2025-03-10 20:43:59 -04:00
Chenlei Hu
7946049794
nit
2025-03-10 15:14:40 -04:00
Chenlei Hu
1f138dd382
Only check frontend package if using default frontend
2025-03-10 15:07:44 -04:00
comfyanonymous
29832b3b61
Warn if frontend package is older than the one in requirements.txt
2025-03-08 03:51:36 -05:00
comfyanonymous
c3d9cc4592
Print the frontend version in the log.
2025-03-07 19:56:26 -05:00
Dr.Lt.Data
1650cda030
Fixed: Incorrect guide message for missing frontend. ( #7105 )
...
`{sys.executable} -m pip` -> `{sys.executable} -s -m pip`
https://github.com/comfyanonymous/ComfyUI/pull/7047#issuecomment-2697876793
2025-03-06 15:23:23 -05:00
comfyanonymous
745b13649b
Add update instructions for the portable.
2025-03-04 23:34:36 -05:00
Dr.Lt.Data
2b140654c7
suggest absolute full path to the requirements.txt
instead of just requirements.txt
( #7079 )
...
For users of the portable version, there are occasional instances where commands are misinterpreted.
2025-03-04 23:29:34 -05:00
Dr.Lt.Data
d6e5d487ad
improved: better frontend package installation guide ( #7047 )
...
* improved: better installation guide
- change `pip` to `{sys.executable} -m pip`
modified: To prevent the guide message from being obscured by a complex error message, apply `exit` instead of `raise`.
* ruff fix
2025-03-03 04:40:23 -05:00
comfyanonymous
6752a826f6
Make the missing frontend package error more obvious.
2025-03-02 15:43:56 -05:00
Chenlei Hu
04cf0ccb51
Use comfyui_frontend_package pypi package to manage frontend dependency (Frontend v1.10.17) ( #7021 )
...
* Use frontend pypi package
* Remove web/
* nit
* nit
* Update importlib logic
* Remove unused gh action
* Update code owners
* Update codeowners
* error message
2025-03-02 14:18:33 -05:00
hayden
9c957977d0
Repair the file operation abnormality and add a log record
2025-01-24 16:58:40 +08:00
hayden
2cf95ed231
Change property name
2025-01-24 14:37:34 +08:00
hayden
d8eae1b241
Add folder content caching
2025-01-23 13:53:41 +08:00
hayden
82c3afe077
Optimize file scanning performance using multi-threading
2025-01-23 13:09:07 +08:00
hayden
0e86405198
Optimize file scanning using scandir
2025-01-23 12:53:22 +08:00
Chenlei Hu
a058f52090
[i18n] Add /i18n endpoint to provide all custom node translations ( #6558 )
...
* [i18n] Add /i18n endpoint to provide all custom node translations
* Sort glob result for deterministic ordering
* Update comment
2025-01-22 17:15:45 -05:00
hayden
7bba21af47
Add output manager
2025-01-22 15:58:33 +08:00
Dr.Lt.Data
c515bdf371
fixed: robust loading comfy.settings.json
( #6383 )
...
https://github.com/comfyanonymous/ComfyUI/issues/6371
2025-01-07 16:03:56 -05:00
comfyanonymous
b7572b2f87
Fix and enforce no trailing whitespace.
2024-12-31 03:16:37 -05:00
comfyanonymous
d9b7cfac7e
Fix and enforce new lines at the end of files.
2024-12-30 04:14:59 -05:00
comfyanonymous
e1dec3c792
Fix formatting.
2024-12-28 05:33:17 -05:00
Zoltán Dócs
96697c4bc5
serve workflow templates from custom_nodes ( #6193 )
...
* add GET /workflow_templates
* serve workflow templates from custom_nodes
* refactor into custom_node_manager, add test
* remove unused import
* revert changes in folder_paths
* Remove trailing whitespace.
* account for multiple custom_nodes paths
2024-12-28 05:30:04 -05:00
comfyanonymous
b504bd606d
Add ruff rule for empty line with trailing whitespace.
2024-12-28 05:23:08 -05:00
filtered
9cfd185676
Add option to log non-error output to stdout ( #6243 )
...
* nit
* Add option to log non-error output to stdout
- No change to default behaviour
- Adds CLI argument: --log-stdout
- With this arg present, any logging of a level below logging.ERROR will be sent to stdout instead of stderr
2024-12-27 14:40:05 -05:00
Chenlei Hu
d7969cb070
Replace print with logging ( #6138 )
...
* Replace print with logging
* nit
* nit
* nit
* nit
* nit
* nit
2024-12-20 16:24:55 -05:00
catboxanon
3cacd3fca5
Support preview images embedded in safetensors metadata ( #6119 )
...
* Support preview images embedded in safetensors metadata
* Add unit test for safetensors embedded image previews
2024-12-19 14:01:56 -08:00
Hayden
5747bc6457
Optimize model library ( #5841 )
...
* Move model manager routes
* Add experiment model manager api
* Fix cache causing returns to be empty
* Fix unable to compare sub-dir caches
* Skip non-existent folders
* Add model preview
* Revert 'Move model manager routes'
* move model_filemanager.py to app/
* Update model_manager.py
3.8 compatibility
---------
2024-12-11 18:12:04 -05:00
lky
24dc581dc3
fix multi add makedirs error ( #5786 )
...
try to start multiple comfyui server at the same time, and this got error
2024-11-26 15:34:19 -05:00
Chenlei Hu
22a1d7ce78
Fix 3.8 compatibility in user_manager.py ( #5645 )
2024-11-16 20:42:21 -05:00
pythongosssss
6ee066a14f
Live terminal output ( #5396 )
...
* Add /logs/raw and /logs/subscribe for getting logs on frontend
Hijacks stderr/stdout to send all output data to the client on flush
* Use existing send sync method
* Fix get_logs should return string
* Fix bug
* pass no server
* fix tests
* Fix output flush on linux
2024-11-08 19:13:34 -05:00
Chenlei Hu
c49025f01b
Allow POST /userdata/{file}
endpoint to return full file info ( #5446 )
...
* Refactor listuserdata
* Full info param
* Add tests
* Fix mock
* Add full_info support for move user file
2024-11-04 13:57:21 -05:00
Chenlei Hu
ce759b7db6
Revert download to .tmp in frontend_management ( #5369 )
2024-10-25 19:26:13 -04:00
Alex "mcmonkey" Goodwin
c695c4af7f
Frontend Manager: avoid redundant gh calls for static versions ( #5152 )
...
* Frontend Manager: avoid redundant gh calls for static versions
* actually, removing old tmpdir isn't needed
I tested - downloader code handles this case well already
(also rmdir was wrong func anyway, needed shutil.rmtree if it had content)
* add code comment
2024-10-16 03:35:37 -04:00
comfyanonymous
6f021d8aa0
Let --verbose have an argument for the log level.
2024-10-04 10:05:34 -04:00
huchenlei
38c69080c7
Add docstring
2024-09-20 03:16:23 -04:00
Chenlei Hu
369a6dd2c4
Remove empty spaces in user_manager.py ( #4917 )
2024-09-13 23:30:44 -04:00
Chenlei Hu
d2247c1e61
Normalize path returned by /userdata to always use / as separator ( #4906 )
2024-09-13 03:45:31 -04:00
Chenlei Hu
cb12ad7049
Add full_info flag in /userdata endpoint to list out file size and last modified timestamp ( #4905 )
...
* Add full_info flag in /userdata endpoint to list out file size and last modified timestamp
* nit
2024-09-13 02:40:59 -04:00
Robin Huang
b962db9952
Add cli arg to override user directory ( #4856 )
...
* Override user directory.
* Use overridden user directory.
* Remove prints.
* Remove references to global user_files.
* Remove unused replace_folder function.
* Remove newline.
* Remove global during get_user_directory.
* Add validation.
2024-09-12 08:10:27 -04:00
Darion
967867d48c
fix: url decode filename from API ( #4801 )
2024-09-08 21:02:32 -04:00
Chenlei Hu
e91662e784
Get logs endpoint & system_stats additions ( #4690 )
...
* Add route for getting output logs
* Include ComfyUI version
* Move to own function
* Changed to memory logger
* Unify logger setup logic
* Fix get version git fallback
---------
Co-authored-by: pythongosssss <125205205+pythongosssss@users.noreply.github.com>
2024-08-30 12:46:37 -04:00
Chenlei Hu
ca4b8f30e0
Cleanup empty dir if frontend zip download failed ( #4574 )
2024-08-27 02:07:25 -04:00
Chenlei Hu
f2298799ba
Fix annotation ( #4035 )
2024-07-16 18:20:39 -04:00
comfyanonymous
e1630391d6
Allow version names like v0.0.1 for the FrontendManager.
2024-07-16 11:29:38 -04:00
Chenlei Hu
99458e8aca
Add FrontendManager
to manage non-default front-end impl ( #3897 )
...
* Add frontend manager
* Add tests
* nit
* Add unit test to github CI
* Fix path
* nit
* ignore
* Add logging
* Install test deps
* Remove 'stable' keyword support
* Update test
* Add web-root arg
* Rename web-root to front-end-root
* Add test on non-exist version number
* Use repo owner/name to replace hard coded provider list
* Inline cmd args
* nit
* Fix unit test
2024-07-16 11:26:11 -04:00