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
app_settings.json · 1.2 KB · 49 lines
1{
2 "name": "app_settings",
3 "title": "App Settings",
4 "version": 1,
5 "description": "Server-wide, admin-managed configuration for app packages: one key/value per row, keys namespaced by app (payments.overpayment_policy). The settings sibling of user_prefs (per-user) and feature_flags (on/off switches); operator/infra config stays in env. Hooks and the daemon read these with code-side defaults, so an absent row always means the documented default.",
6 "fields": [
7 {
8 "name": "id"
9 },
10 {
11 "name": "key",
12 "type": "text",
13 "required": true,
14 "label": "Key",
15 "validation": {
16 "max_length": 120,
17 "pattern": "^[a-z0-9_]+(\\.[a-z0-9_]+)+$"
18 }
19 },
20 {
21 "name": "value",
22 "type": "text",
23 "required": true,
24 "label": "Value",
25 "validation": {
26 "max_length": 500
27 }
28 },
29 {
30 "name": "description",
31 "type": "text",
32 "label": "Description",
33 "validation": {
34 "max_length": 300
35 }
36 }
37 ],
38 "views": {
39 "list_mode": "table",
40 "list_fields": [
41 "key",
42 "value",
43 "description"
44 ]
45 },
46 "hooks": {
47 "before_write": "hook_app_settings"
48 }
49}