mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-09-27 14:04:08 -03:00
After migrating to centralized sidecar storage users had no indication where their files went, and portable-mode installs silently placed the sidecar root inside the plugin folder where a reinstall or git clean would delete it. - Migration now also covers models excluded from the library view and returns the resolved sidecar root in its result payload - get_settings exposes the resolved sidecar root, whether it is the default, and whether it lives inside the installation folder - New POST /api/lm/sidecars/open-location endpoint opens (or copies) the sidecar storage folder - Settings UI always shows the effective storage path with an open-folder button, and warns when the root is inside the installation folder (portable-mode hazard) - Migration confirmation shows the destination; on completion a result dialog summarizes moved/skipped/conflict counts with the storage location and an open-folder action - Ignore /sidecars/ at the repository root so portable-mode sidecars are never committed Refs #1045
78 lines
2.1 KiB
Plaintext
78 lines
2.1 KiB
Plaintext
# serializer version: 1
|
|
# name: TestModelLibraryHandlerSnapshots.test_check_model_exists_empty_response
|
|
dict({
|
|
'downloadedVersionIds': list([
|
|
]),
|
|
'modelType': None,
|
|
'success': True,
|
|
'versions': list([
|
|
]),
|
|
})
|
|
# ---
|
|
# name: TestNodeRegistryHandlerSnapshots.test_register_nodes_error_response
|
|
dict({
|
|
'message': '0 nodes registered successfully',
|
|
'success': True,
|
|
})
|
|
# ---
|
|
# name: TestNodeRegistryHandlerSnapshots.test_register_nodes_success_response
|
|
dict({
|
|
'message': '1 nodes registered successfully',
|
|
'success': True,
|
|
})
|
|
# ---
|
|
# name: TestSettingsHandlerSnapshots.test_get_settings_response_format
|
|
dict({
|
|
'messages': list([
|
|
]),
|
|
'settings': dict({
|
|
'civitai_api_key_set': True,
|
|
'huggingface_api_key_set': False,
|
|
'language': 'en',
|
|
'llm_api_key_set': False,
|
|
'other_models_paths_available': False,
|
|
'sidecar_storage_root': '/sidecars',
|
|
'sidecar_storage_root_in_repo': False,
|
|
'sidecar_storage_root_is_default': True,
|
|
'standalone_mode': False,
|
|
'theme': 'dark',
|
|
}),
|
|
'success': True,
|
|
})
|
|
# ---
|
|
# name: TestSettingsHandlerSnapshots.test_update_settings_success_response
|
|
dict({
|
|
'success': True,
|
|
})
|
|
# ---
|
|
# name: TestUtilityFunctionSnapshots.test_calculate_recipe_fingerprint_various_inputs
|
|
list([
|
|
'',
|
|
'abc123:1.0',
|
|
'abc123:1.0|def456:0.75',
|
|
'abc123:0.5|def456:1.0',
|
|
'abc123:0.8',
|
|
'12345:1.0',
|
|
'',
|
|
'',
|
|
'',
|
|
])
|
|
# ---
|
|
# name: TestUtilityFunctionSnapshots.test_sanitize_folder_name_various_inputs
|
|
dict({
|
|
'': '',
|
|
' spaces ': 'spaces',
|
|
'___underscores___': 'underscores',
|
|
'folder with spaces': 'folder with spaces',
|
|
'folder"with"quotes': 'folder_with_quotes',
|
|
'folder*with*asterisks': 'folder_with_asterisks',
|
|
'folder.with.dots': 'folder.with.dots',
|
|
'folder/with/slashes': 'folder_with_slashes',
|
|
'folder<with>brackets': 'folder_with_brackets',
|
|
'folder?with?questions': 'folder_with_questions',
|
|
'folder\\with\\backslashes': 'folder_with_backslashes',
|
|
'folder|with|pipes': 'folder_with_pipes',
|
|
'normal_folder': 'normal_folder',
|
|
})
|
|
# ---
|