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
mail_sync_state.json · 1.8 KB · 22 lines
1{
2 "name": "mail_sync_state",
3 "title": "Mail Sync Folders",
4 "version": 1,
5 "description": "Where the sync has got to in one folder of one account: the server's UIDVALIDITY for the folder and the highest UID already copied. A message is imported when its UID is above last_uid, whatever its flags, which is why mail already read in another program is still copied (the predecessor searched UNSEEN and missed it). last_uid moves only after the rows for those messages are written, so a pass that dies half way repeats a little work and loses none; the repeat is harmless because every row id is derived from the message, not from the attempt. When the server reports a different UIDVALIDITY every stored UID is meaningless, and the folder starts again from a recent window, relying on the same dedupe. Written only by system_mail_sync; the owner may read it.",
6 "fields": [
7 {"name": "id"},
8 {"name": "account_id", "type": "relation", "required": true,
9 "relation": {"collection": "mail_accounts", "display_field": "email_address"}, "label": "Account"},
10 {"name": "folder", "type": "text", "required": true, "label": "Folder", "validation": {"max_length": 1000}},
11 {"name": "role", "type": "enum", "default": "other", "enum": ["inbox", "sent", "other"], "label": "Role",
12 "help": "sent means messages here were sent by the account's owner."},
13 {"name": "uidvalidity", "type": "text", "label": "UIDVALIDITY", "validation": {"max_length": 20}},
14 {"name": "last_uid", "type": "integer", "default": "0", "label": "Last UID copied"},
15 {"name": "owner_id", "type": "text", "label": "Owner"},
16 {"name": "created_at", "type": "datetime", "label": "Created", "read_only": true}
17 ],
18 "views": {
19 "list_mode": "table",
20 "list_fields": ["account_id", "folder", "role", "last_uid"]
21 }
22}