feat(notes,profile): trash for notes and personal model connection check
Notes: - soft delete via deleted_at/purge_at with trashPurgeDays(), restore and permanent-delete routes, ?deleted=1 list switch - GET /api/notes now always returns only own notes (admin included) - purge user_notes in purgeScheduledDeletions(), skip deleted rows in reorder and in the note title worker - deleted_at/purge_at in init.sql, migration.sql, ensureUserNotesTable(), normalizeRestoreData and restore-insert Profile: - POST /api/user-settings/models/test probes a personal model from the client payload (works before save), shared probeAiModel() with the admin profile test, AI_MODEL_TEST_TIMEOUT_MS env in .env.example/compose - "Проверить" button in the model list and in the model form - password fields: autocomplete hints, values cleared on every toggle Notes page: #notesDeleted trash toggle, deleted card state, restore/permanent actions; fmtTs() uses the global fmtDateTime() instead of the non-existent window.datetime.
This commit is contained in:
@@ -79,6 +79,7 @@ services:
|
||||
AI_MODEL: ${AI_MODEL:-qwen2.5-1.5b-instruct-q4_k_m.gguf}
|
||||
AI_PROMPT: ${AI_PROMPT:-}
|
||||
AI_REQUEST_TIMEOUT_MS: ${AI_REQUEST_TIMEOUT_MS:-120000}
|
||||
AI_MODEL_TEST_TIMEOUT_MS: ${AI_MODEL_TEST_TIMEOUT_MS:-15000}
|
||||
PHOTO_AI_URL: ${PHOTO_AI_URL:-http://photo-ai:8080}
|
||||
FACE_ID_URL: ${FACE_ID_URL:-}
|
||||
FACE_ID_TIMEOUT_MS: ${FACE_ID_TIMEOUT_MS:-30000}
|
||||
|
||||
Reference in New Issue
Block a user