• 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
..
0323f5b7b4a9_add_confidence_and_review_status_to_.py Loading commit data...
0c9ff986c2e6_replace_channels_with_radio.py Loading commit data...
20a199643cc2_use_sha256_fingerprint_hash_for_.py Loading commit data...
28cc64af2c16_add_user_roles_and_soundmarks_table.py Loading commit data...
33120d763567_redesign_soundmarks_drops_and_business_.py Loading commit data...
347da5d41656_add_user_id_to_remix_jobs.py Loading commit data...
348a47d4b742_add_password_hash_to_users.py Loading commit data...
4551428f6b16_add_synced_lyrics_to_library_songs_and_.py Loading commit data...
499ebec0825d_guest_discovery_rate_limiting_user_.py Loading commit data...
4e6ef348478e_add_track_number_to_library_songs.py Loading commit data...
6015f865f019_replace_geo_drops_with_live_locations.py Loading commit data...
63839d131d50_add_soundmark_proposals_and_votes.py Loading commit data...
6c99d29c0175_add_has_completed_onboarding_to_users.py Loading commit data...
704f3f6d4916_add_identified_tracks_cache_table.py Loading commit data...
83f2d110f07c_add_room_messages_dm_threads_messages_.py Loading commit data...
99b0833a4bd2_baseline_schema.py Loading commit data...
9f59c50ce5ca_add_confidence_and_source_to_discovered_.py Loading commit data...
9f6585c71f80_add_discovery_attempts_table.py Loading commit data...
a6f66b340a16_add_is_liked_playlist_to_playlists.py Loading commit data...
b1f4a0d7e3c2_add_is_active_and_suspended_until_to_.py Loading commit data...
c3a7e5f91b04_add_invite_code_pin_location_to_rooms.py Loading commit data...
d22ca64d291e_add_username_to_auth_attempts.py Loading commit data...
d7aa8b954a33_add_remix_channels_and_correction_tables.py Loading commit data...
e612e2750fa2_add_soundmark_tiers_playlists_and_.py Loading commit data...
e9d581074a3f_add_fingerprint_to_library_songs.py Loading commit data...
f3514f910205_add_approved_chats_and_chat_scan_jobs_.py Loading commit data...