feat(upload): enhance audio upload handling and user feedback
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 1m1s
ci / db / db (push) Successful in 1m16s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m12s
ci / api / api (push) Successful in 45s
ci / recommender / recommender (push) Successful in 1m50s
ci / ts / ts (packages + web) (push) Failing after 6m53s
ci / docker / docker (образы собираются — их сервер собирает сам при обновлении) (push) Successful in 1m13s

- Introduced a new warning for users uploading non-FLAC or WAV formats, indicating that these formats should only be used as a last resort.
- Added functionality to highlight files needing format attention in the upload queue.
- Updated the UI to provide clearer guidance on acceptable audio formats during uploads.
- Improved documentation to reflect changes in upload requirements and user interface updates.
This commit is contained in:
mrleo1nid committed 2026-10-21 10:07:43 +03:00
1 parent 74da457362
commit 1e3b350dfc
49 files changed
+147 -5572

No files matched your search

+2 -2
View File
@@ -33,7 +33,7 @@ func (e *env) createUser(token, username, role string) resp {
map[string]any{"username": username, "role": role, "display_name": " " + username + " "}, bearer(token))
}
// Сценарий 2 из docs/testing.md: админ создаёт модератора, модератор — пользователя,
// Админ создаёт модератора, модератор — пользователя,
// но не модератора.
func TestAdminCreatesModeratorWhoCreatesUser(t *testing.T) {
e := newEnv(t)
@@ -261,7 +261,7 @@ func TestNoOpPatch(t *testing.T) {
map[string]any{"display_name": "x"}, bearer(admin)).code())
}
// Сценарий 10 из docs/testing.md: сброс пароля → обязательная смена при входе.
// Сброс пароля → обязательная смена при входе.
func TestResetPassword(t *testing.T) {
e := newEnv(t)
e.addUser("mod", "moderator-pass-1", auth.RoleModerator)
+1 -1
View File
@@ -1,5 +1,5 @@
// Package sign — HMAC-подписи ссылок, которые клиент открывает без заголовка Authorization
// (обложки в <img>, стрим в <audio>; docs/decisions.md, ADR-006).
// (обложки в <img>, стрим в <audio>).
package sign
import (