• Aryan Noshirvnai's avatar
    Redesign Soundmarks: ephemeral user drops + business applications · a57cf516
    Aryan Noshirvnai authored
    Full replacement of the major/community tiers and propose+vote mechanism
    with: any user drops a song at their current location (24h TTL via a
    read-time cutoff filter, clustered within 25m via union-find at query
    time), and businesses become persistent, playlist-owning soundmarks only
    through a self-service application a super admin approves - replacing the
    old admin-picks-an-existing-owner flow entirely.
    
    - Soundmark splits into two tables: soundmarks (business-only now, owner
      required) and the new SoundmarkDrop/BusinessApplication.
    - SoundmarkProposal/SoundmarkProposalVote retired outright.
    - New endpoints: POST /drop, POST/GET /business-applications(/mine),
      approve/reject. /nearby now returns {businesses, drop_clusters}.
    - Migration wipes existing major/community rows (kept business ones,
      per the user's explicit direction), tightens business_owner_id to
      NOT NULL - verified both directions against a scratch DB copy.
    - tests/test_soundmarks.py rewritten for the new shape; full backend
      suite green (506 passed).
    a57cf516
Name
Last commit
Last update
alembic Loading commit data...
deploy Loading commit data...
scripts Loading commit data...
src Loading commit data...
tests Loading commit data...
.env.example Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
Dockerfile Loading commit data...
README.md Loading commit data...
alembic.ini Loading commit data...
changes.md Loading commit data...
docker-compose.yml Loading commit data...
requirements-remix.txt Loading commit data...
requirements.txt Loading commit data...
setup.sh Loading commit data...