Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.

0 downloads

Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-object-server.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-object-server.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-object-server.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

danq9 signup: the person chooses the password and name on the confirm page 83c7aa6 2 weeks, 5 days ago History
profiles.json · 2.9 KB · 91 lines
1{
2 "name": "profiles",
3 "title": "Profiles",
4 "version": 1,
5 "description": "Public creator profiles: bio, free-text skills, experience, location, education, and social links. A faithful port of a private predecessor-system's worker/profile model, not part of this repo -- id is the id of the account it belongs to (one profile per user), not a separately generated record id. skills is a plain free-text field, matching the source: NOT a relation, NOT a skills-matching taxonomy. The source model also carried commented-out rating/review stub fields; those were never built there and are not built here -- see dbbasic-package.json's deferred list.",
6 "fields": [
7 {
8 "name": "id"
9 },
10 {
11 "name": "display_name",
12 "type": "text",
13 "label": "Display Name",
14 "validation": {"max_length": 120}
15 },
16 {
17 "name": "bio",
18 "type": "textarea",
19 "label": "Bio"
20 },
21 {
22 "name": "skills",
23 "type": "text",
24 "label": "Skills",
25 "validation": {"max_length": 500},
26 "help": "Free text, e.g. \"Python, woodworking, tax prep\" -- carried from the source as-is. Not a relation to a skills collection and not matched against anything; there is no availability field and no marketplace matching in this package."
27 },
28 {
29 "name": "experience",
30 "type": "textarea",
31 "label": "Experience"
32 },
33 {
34 "name": "location",
35 "type": "text",
36 "label": "Location",
37 "validation": {"max_length": 200}
38 },
39 {
40 "name": "education",
41 "type": "text",
42 "label": "Education",
43 "validation": {"max_length": 200}
44 },
45 {
46 "name": "website",
47 "type": "text",
48 "label": "Website",
49 "validation": {"max_length": 300}
50 },
51 {
52 "name": "social_links",
53 "type": "textarea",
54 "label": "Social Links",
55 "help": "One URL per line (or a JSON array of URLs) -- either shape is accepted; this package renders whichever it finds without imposing its own format on the source data."
56 },
57 {
58 "name": "is_active",
59 "type": "boolean",
60 "default": "true",
61 "label": "Active",
62 "help": "Inactive profiles are carried but not surfaced as a hidden-from-public-page flag in v1 -- the public read rule has no row_filter on this field (see permissions/rules.json); hiding inactive profiles from /u/{username} is a straightforward later addition, not built here."
63 },
64 {
65 "name": "owner_id",
66 "type": "text",
67 "label": "Owner"
68 },
69 {
70 "name": "created_at",
71 "type": "datetime",
72 "label": "Created",
73 "read_only": true
74 }
75 ],
76 "forms": {
77 "default": {
78 "fields": [
79 "display_name", "bio", "skills", "experience", "location",
80 "education", "website", "social_links", "is_active"
81 ]
82 }
83 },
84 "views": {
85 "list_mode": "cards",
86 "list_fields": ["display_name", "skills", "location"]
87 },
88 "search": {
89 "fields": ["display_name", "skills", "bio"]
90 }
91}