feat(storage): add private object storage and bounded image uploads

This commit is contained in:
2026-11-15 20:16:06 +03:00
parent ec540a1a72
commit f449033e15
51 changed files with 5196 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
from conftest import check, headers
def test_history_acl_precedes_query_validation(client, actors, chat):
path = f"/api/v1/chats/{chat['id']}/messages"
check(
client.get(
path,
headers=headers(actors[2]),
params={"limit": 0, "cursor": "broken"},
),
404,
"Error",
)
check(
client.get(
path,
headers=headers(actors[0]),
params={"limit": 0, "cursor": "broken"},
),
400,
"Error",
)