askrobots / dbbasic-object-server
Public
Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.
danq9
signup: the person chooses the password and name on the confirm page
83c7aa6
2 weeks, 5 days ago
History
dbbasic-package.json · 3.4 KB · 65 lines
| 1 | { |
| 2 | "id": "app-worker", |
| 3 | "name": "Worker", |
| 4 | "version": "0.1.0", |
| 5 | "description": "Public creator profiles + follow graph + moderated guestbook -- a faithful port of a private predecessor-system audit, not part of this repo: a public profile (bio, free-text skills, experience, location, education, website, social links), a directed follower->following edge (follows), and a moderated guestbook (profile_comments, pending/approved/rejected, only-approved is publicly visible). This is a PUBLIC CREATOR PROFILE, NOT a task marketplace: the source had no skills-matching, no availability, and no rating/review system (those were commented-out stubs in the source model and are not built here). Storefront/cart/checkout in the source came from its catalog app (a separate concern -- see this codebase's app-catalog/app-orders, not touched by this package). Public profile pages need a site_routes record mapping /u/{username} to site_profile, and /profile/edit to site_profile_edit -- not seeded by this package, same precedent as app-notes' /notes/{note_id:uuid}. Deferred to a later slice (fields are carried, behavior is not): anonymous guestbook posting (v1 is signed-in only; the source's anonymous path needs the anti-abuse stack in plan/vocabulary/02-public-write-hardening-spec.md -- rate limits, honeypot, timing token -- none of which this package builds), cross-user comment moderation (the profile_comments status transitions are owner-gated to the COMMENTER's owner_id, not the profile owner -- the same cross-user moderation gap app-forum documents for is_pinned/is_locked/is_solved; a profile-owner-scoped or moderator-role permission rule closes it, not built here), full profile aggregation of the user's other public content (this package includes one opportunistic aggregation -- recent public articles, fetched without a hard dependency on app-articles -- links/notes/files/templates aggregation is not built), ratings/reviews (a commented-out stub in the source model, never built there, not built here), a storefront/cart/checkout (that is the catalog's orders, a separate concern from this package), and follow-edge deduplication (follows has no server-side unique_together equivalent -- the follow button checks client-side before creating an edge, but the raw records API does not enforce uniqueness).", |
| 6 | "compatibility": { |
| 7 | "dbbasic_object_server": ">=0.1.0" |
| 8 | }, |
| 9 | "dependencies": [], |
| 10 | "objects": [ |
| 11 | { |
| 12 | "id": "site_profile", |
| 13 | "path": "objects/site/profile.py" |
| 14 | }, |
| 15 | { |
| 16 | "id": "site_profile_edit", |
| 17 | "path": "objects/site/profile_edit.py" |
| 18 | } |
| 19 | ], |
| 20 | "schemas": [ |
| 21 | { |
| 22 | "collection": "profiles", |
| 23 | "path": "schemas/profiles.json" |
| 24 | }, |
| 25 | { |
| 26 | "collection": "follows", |
| 27 | "path": "schemas/follows.json" |
| 28 | }, |
| 29 | { |
| 30 | "collection": "profile_comments", |
| 31 | "path": "schemas/profile_comments.json" |
| 32 | } |
| 33 | ], |
| 34 | "permissions": [ |
| 35 | { |
| 36 | "path": "permissions/rules.json" |
| 37 | } |
| 38 | ], |
| 39 | "seed": [ |
| 40 | { |
| 41 | "collection": "profiles", |
| 42 | "path": "seed/profiles.tsv" |
| 43 | }, |
| 44 | { |
| 45 | "collection": "follows", |
| 46 | "path": "seed/follows.tsv" |
| 47 | }, |
| 48 | { |
| 49 | "collection": "profile_comments", |
| 50 | "path": "seed/profile_comments.tsv" |
| 51 | } |
| 52 | ], |
| 53 | "migrations": [], |
| 54 | "nav": [ |
| 55 | { |
| 56 | "id": "profile", |
| 57 | "label": "Profile", |
| 58 | "path": "/profile/edit", |
| 59 | "blurb": "Your public creator profile: bio, skills, experience", |
| 60 | "surface": "member", |
| 61 | "group": "Publishing", |
| 62 | "order": 230 |
| 63 | } |
| 64 | ] |
| 65 | } |