Add personal notes, DeepSearch history, backup offload, and gateway auth throttling

Also streamline the top navigation: drop the Tools dropdown, make Quizzes
and Battles icon-only entries, and remove the Workspace, Containers and
Editor entry points from the project detail page.
This commit is contained in:
2026-09-12 20:32:31 +02:00
parent c4f7d01b2d
commit cae139ead9
158 changed files with 6156 additions and 377 deletions
+23
View File
@@ -280,6 +280,29 @@ def test_profile_renders_heatmap_and_streak(app_server):
assert "1 day streak" in html
def test_search_users_includes_avatar_seed_for_custom_seed(app_server):
s, name = _signup_media()
r = s.post(
f"{BASE_URL}/profile/{name}/regenerate-avatar",
headers=JSON_media,
)
assert r.status_code == 200, r.text[:300]
seed = r.json()["data"]["avatar_seed"]
assert seed
found = s.get(f"{BASE_URL}/profile/search", params={"q": name}).json()["results"]
match = next(x for x in found if x["username"] == name)
assert match["avatar_seed"] == seed
def test_search_users_avatar_seed_null_without_custom_seed(app_server):
s, name = _signup_media()
found = s.get(f"{BASE_URL}/profile/search", params={"q": name}).json()["results"]
match = next(x for x in found if x["username"] == name)
assert match.get("avatar_seed") is None
def test_profile_badges_json_has_non_null_names(app_server):
import time
from devplacepy.database import get_table, refresh_snapshot