FIX: 11 bugs bảo mật/ổn định (static mount chặn dotfile, delete traversal, cleanup giữ clips serverFileId, upload whitelist, password strength, auth audio endpoints, pedalboard==0.9.19, vendor CDN local) + FEATURE: Carla bridge preview/export MIDI notes âm VSTi (POST /midi-render, /carla-play-notes, nút Preview VSTi/Export MIDI->Audio; pedalboard 0.9.19 raw MIDI bytes; SONICFORGE_STORAGE_DIR cô lập test storage)
This commit is contained in:
@@ -12,3 +12,9 @@ os.environ.setdefault(
|
||||
"SONICFORGE_DB_PATH",
|
||||
os.path.join(tempfile.gettempdir(), "sonicforge_test.db"),
|
||||
)
|
||||
# Cô lập storage khỏi app production (đang chạy root, ghi sf_scan_state.json
|
||||
# vào storage thật → pytest gặp PermissionError khi file root-owned).
|
||||
os.environ.setdefault(
|
||||
"SONICFORGE_STORAGE_DIR",
|
||||
os.path.join(tempfile.gettempdir(), "sonicforge_test_storage"),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user