From 6f76f6c176df37cad362f19cc00efc080dd10b43 Mon Sep 17 00:00:00 2001 From: Disco DeDisco Date: Fri, 8 May 2026 21:29:21 -0400 Subject: [PATCH] =?UTF-8?q?post=20aperture=20refactor=20(May-8b):=20Post.t?= =?UTF-8?q?itle=20field;=20Line.author=20PROTECT=20FK=20+=20created=5Fat;?= =?UTF-8?q?=20Note.grant=5Fif=5Fnew=20admin-vs-Look!=20format=20dispatch?= =?UTF-8?q?=20w.=20note-ref=20anchor;=20bottom-anchored=20aperture=20w.=20?= =?UTF-8?q?shared-between=20header=20+=20per-Line=20user/timestamp;=20dott?= =?UTF-8?q?ed-=3F=20Brief=20square;=20reserved=20adman=20seed=20=E2=80=94?= =?UTF-8?q?=20TDD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - schema: billboard/0004 adds Post.title (CharField 35) + Line.author (PROTECT FK, related_name=authored_lines) + Line.created_at (auto_now_add); RunPython backfill stamps existing rows (note_unlock → "Notes & recognitions" + author=adman; user_post → first-line glean + author=Post.owner). - lyric/0003 seeds adman User (system author for note unlock + share invite Lines); apps.lyric.models gains RESERVED_USERNAMES = {"adman"}, is_reserved_username() guard in dashboard.set_profile, get_or_create_adman() lazy fetch (TransactionTestCase flushes the seed). - drama: Note.grant_if_new dispatches via _ADMIN_NOTE_SLUGS = {"super-schizo","super-nomad"} — admin slugs use "The administration recognizes…" prose; everyone else uses "Look!—new Note unlocked." Both wrap Note name in ``. Header Line dropped (test_two_different_grants_share_one_post asserts 2 lines, not 3). Note.display_name property added (slug.title() default — "super-schizo" → "Super-Schizo"). User.active_title_display returns donned recognition title or "Earthman" default. - billboard models: Post.name property removed → my_posts.html, _applet-my-posts.html, PostSerializer switched to Post.title. LineForm.save(for_post, author) + ExistingPostLineForm.save(author) signature + all callers (api.views, billboard.views.new_post + view_post + share_post). billboard.views.share_post authors via get_or_create_adman; new_post truncates first line for Post.title via _truncate_post_title. - post.html:

post title heading; .post-shared-recipients (commas only) + .post-shared-self lines ("just me, X the Earthman" / "& me, X the Y" 0/≥1 split); #id_post_table is now a