Module reference
On this page
One reference page per module the fork adds. They are written for operators and contributors: what the module is for, its concepts and data model, who may do what, the API, the configuration keys, the UI, how it interacts with the other modules, its limits, what is still open, and where the code lives.
For the big picture see Architecture; for HTTP conventions, authentication, errors and the endpoint tables see API reference; for screens see Design. Status and open points are tracked in Roadmap and status, which is the single source of truth.
| Module | Page | Design document (history and rationale) |
|---|---|---|
| Custom fields | Custom fields | Custom fields design |
| Workflows | Workflows | Workflow design |
| Approvals | Approvals | Forms and approvals design (Approvals) |
| Automation | Automation | Automation design |
| Dashboards and reports | Dashboards and reports | Dashboards design |
| Forms | Forms | Forms and approvals design (Forms) |
How the modules fit together #
- Custom fields add typed data to tasks. Workflows, automation, forms and reports all refer to a field as
cf_<id>. - Workflows add statuses and transitions to a project. Approvals make a transition wait for named people.
- Automation reacts to events from all of the others (task changes, status changes, field changes, approvals, form submissions, time) and acts through the normal model functions as the rule's owner.
- Forms turn submissions into tasks through the normal create path, so workflows, custom fields and automation apply.
- Dashboards and reports count tasks, statuses and history, always limited to what the viewer can read.
Every page follows the same outline: Overview, Concepts, Data model, Permissions, API, Configuration keys, UI, Events and interaction with other modules, Limits and safety, Known gaps and open decisions, Where the code lives.
Configuration keys at a glance #
Settings come from config.yml or from environment variables; environment variables override the file. The variable name is VIKUNJA_ plus the key in upper case with dots as underscores, so automation.ticker.interval is VIKUNJA_AUTOMATION_TICKER_INTERVAL. The full list with comments is config-raw.json. config.yml.sample is generated from it with mage generate:config-yaml; edit the JSON, not the sample.
The fork's keys, with their defaults (the meaning of each is on the module page):
| Key | Default | Module |
|---|---|---|
forms.enabled | true | Forms |
forms.maxbodysize | 262144 | Forms |
forms.maxattachments | 5 | Forms |
forms.maxattachmentsize | 10MB | Forms |
forms.public.enabled | true | Forms |
forms.public.attachments | false | Forms |
forms.public.ratelimit | 10 | Forms |
forms.public.formratelimit | 300 | Forms |
forms.public.requestratelimit | 60 | Forms |
automation.enabled | true | Automation |
automation.maxdepth | 3 | Automation |
automation.maxactions | 25 | Automation |
automation.steptimeout | 10s | Automation |
automation.runtimeout | 60s | Automation |
automation.ratelimit | 60 | Automation |
automation.workers | 4 | Automation |
automation.maxattempts | 5 | Automation |
automation.maxconsecutivefailures | 20 | Automation |
automation.pollinterval | 1s | Automation |
automation.cachettl | 30s | Automation |
automation.retention | 30 | Automation |
automation.ticker.interval | 30s | Automation |
automation.ticker.maxtasks | 100 | Automation |
automation.ticker.maxscan | 5000 | Automation |
automation.waitmax | 720h | Automation |
automation.maxpendingwaits | 1000 | Automation |
automation.maxrulesperproject | 100 | Automation |
automation.webhook.maxbody | 65536 | Automation |
automation.webhook.tolerance | 5m | Automation |
automation.webhook.ratelimit | 60 | Automation |
automation.scripts.enabled | true | Automation |
automation.scripts.timeout | 5s | Automation |
automation.scripts.conditiontimeout | 1s | Automation |
automation.scripts.maxsource | 65536 | Automation |
automation.scripts.maxapicalls | 100 | Automation |
automation.scripts.maxhttprequests | 5 | Automation |
automation.scripts.maxresponsesize | 1048576 | Automation |
automation.scripts.maxlogsize | 16384 | Automation |
automation.scripts.maxcallstack | 512 | Automation |
automation.scripts.maxresults | 200 | Automation |
automation.scripts.httptimeout | 10s | Automation |
reports.cachettl | 30s | Dashboards and reports |
reports.maxgroups | 200 | Dashboards and reports |
reports.maxbuckets | 366 | Dashboards and reports |
reports.maxrows | 50000 | Dashboards and reports |
reports.timeout | 20s | Dashboards and reports |
The modules without keys of their own (custom fields, workflows, approvals) share the instance's database and file settings. Besides these keys, service.publicurl, service.secret, service.timezone, service.ipextractionmethod, service.trustedproxies, outgoingrequests.allownonroutableips and outgoingrequests.proxyurl come from upstream and are used by the fork as described on the module pages.