evlet 0.1.3__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- evlet-0.3.0/CHANGELOG.md +480 -0
- evlet-0.3.0/MANIFEST.in +15 -0
- {evlet-0.1.3/evlet.egg-info → evlet-0.3.0}/PKG-INFO +31 -7
- {evlet-0.1.3 → evlet-0.3.0}/README.md +27 -6
- {evlet-0.1.3 → evlet-0.3.0}/build_support.py +2 -4
- {evlet-0.1.3 → evlet-0.3.0}/docs/amendment-v2.md +2 -2
- evlet-0.3.0/docs/api-stability.md +99 -0
- evlet-0.3.0/docs/app-upgrades.md +127 -0
- {evlet-0.1.3 → evlet-0.3.0}/docs/application-generation.md +8 -8
- {evlet-0.1.3 → evlet-0.3.0}/docs/architecture.md +26 -1
- {evlet-0.1.3 → evlet-0.3.0}/docs/business-capabilities.md +192 -8
- {evlet-0.1.3 → evlet-0.3.0}/docs/cli.md +82 -6
- {evlet-0.1.3 → evlet-0.3.0}/docs/connector.md +27 -11
- {evlet-0.1.3 → evlet-0.3.0}/docs/controls.md +113 -13
- {evlet-0.1.3 → evlet-0.3.0}/docs/customizing.md +3 -1
- evlet-0.3.0/docs/document-lifecycle.md +216 -0
- {evlet-0.1.3 → evlet-0.3.0}/docs/effects.md +23 -1
- evlet-0.3.0/docs/eva.md +179 -0
- {evlet-0.1.3 → evlet-0.3.0}/docs/finite-calculations.md +5 -5
- {evlet-0.1.3 → evlet-0.3.0}/docs/getting-started.md +8 -2
- {evlet-0.1.3 → evlet-0.3.0}/docs/jobs-realtime.md +5 -2
- {evlet-0.1.3 → evlet-0.3.0}/docs/journal.md +33 -5
- evlet-0.3.0/docs/lifecycle-specification.md +549 -0
- {evlet-0.1.3 → evlet-0.3.0}/docs/meaning.md +5 -0
- evlet-0.3.0/docs/model-engine.md +733 -0
- {evlet-0.1.3 → evlet-0.3.0}/docs/performance.md +58 -4
- evlet-0.3.0/docs/printing.md +216 -0
- {evlet-0.1.3 → evlet-0.3.0}/docs/production-operations.md +5 -0
- evlet-0.3.0/docs/reports.md +151 -0
- {evlet-0.1.3 → evlet-0.3.0}/docs/routing.md +7 -3
- {evlet-0.1.3 → evlet-0.3.0}/docs/sequences.md +67 -16
- {evlet-0.1.3 → evlet-0.3.0}/docs/settings.md +28 -10
- evlet-0.3.0/docs/slips.md +213 -0
- {evlet-0.1.3 → evlet-0.3.0}/docs/states-actions.md +84 -6
- evlet-0.3.0/docs/tools.md +94 -0
- evlet-0.3.0/docs/ui-framework.md +844 -0
- {evlet-0.1.3 → evlet-0.3.0}/docs/ui.md +186 -10
- {evlet-0.1.3 → evlet-0.3.0}/evlet/__init__.py +31 -12
- {evlet-0.1.3 → evlet-0.3.0}/evlet/app.py +113 -16
- {evlet-0.1.3 → evlet-0.3.0}/evlet/assistants.py +44 -71
- evlet-0.3.0/evlet/audit.py +167 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/auth.py +47 -20
- {evlet-0.1.3 → evlet-0.3.0}/evlet/business.py +296 -62
- {evlet-0.1.3 → evlet-0.3.0}/evlet/calc.py +29 -13
- evlet-0.3.0/evlet/cli/devlink.py +54 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/cli/docs.py +1 -1
- {evlet-0.1.3 → evlet-0.3.0}/evlet/cli/install.py +93 -6
- {evlet-0.1.3 → evlet-0.3.0}/evlet/cli/main.py +94 -18
- {evlet-0.1.3 → evlet-0.3.0}/evlet/cli/playground.py +10 -5
- {evlet-0.1.3 → evlet-0.3.0}/evlet/cli/serve.py +26 -5
- {evlet-0.1.3 → evlet-0.3.0}/evlet/connectors.py +8 -3
- {evlet-0.1.3 → evlet-0.3.0}/evlet/controls.py +209 -13
- {evlet-0.1.3 → evlet-0.3.0}/evlet/controls_export.py +14 -6
- {evlet-0.1.3 → evlet-0.3.0}/evlet/corrections.py +19 -7
- {evlet-0.1.3 → evlet-0.3.0}/evlet/customization.py +105 -33
- {evlet-0.1.3 → evlet-0.3.0}/evlet/database.py +100 -20
- {evlet-0.1.3 → evlet-0.3.0}/evlet/declarations.py +1 -1
- evlet-0.3.0/evlet/devlink.py +225 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/discovery.py +22 -2
- {evlet-0.1.3 → evlet-0.3.0}/evlet/documents.py +244 -47
- {evlet-0.1.3 → evlet-0.3.0}/evlet/effects.py +41 -13
- evlet-0.3.0/evlet/eva.py +1811 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/events.py +18 -3
- {evlet-0.1.3 → evlet-0.3.0}/evlet/fields.py +145 -20
- evlet-0.3.0/evlet/forms.py +488 -0
- evlet-0.3.0/evlet/framework.py +146 -0
- evlet-0.3.0/evlet/identity.py +159 -0
- evlet-0.3.0/evlet/images.py +263 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/instances.py +22 -3
- {evlet-0.1.3 → evlet-0.3.0}/evlet/jobs.py +9 -4
- {evlet-0.1.3 → evlet-0.3.0}/evlet/journal.py +133 -17
- evlet-0.3.0/evlet/lifecycle.py +458 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/mailboxes.py +7 -2
- evlet-0.3.0/evlet/mcp.py +149 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/meaning.py +18 -4
- {evlet-0.1.3 → evlet-0.3.0}/evlet/measures.py +11 -9
- evlet-0.3.0/evlet/mentions.py +211 -0
- evlet-0.3.0/evlet/migrations.py +1338 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/models.py +56 -13
- evlet-0.3.0/evlet/naming.py +215 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/packages.py +1 -1
- evlet-0.3.0/evlet/periods.py +171 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/permissions.py +272 -41
- {evlet-0.1.3 → evlet-0.3.0}/evlet/postgres.py +12 -4
- {evlet-0.1.3 → evlet-0.3.0}/evlet/postgres_schema.py +99 -24
- evlet-0.3.0/evlet/printing.py +1389 -0
- evlet-0.3.0/evlet/query.py +328 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/reactivity.py +2 -1
- evlet-0.3.0/evlet/resources/print/fonts/NotoSans-Bold.woff2 +0 -0
- evlet-0.3.0/evlet/resources/print/fonts/NotoSans-OFL.txt +93 -0
- evlet-0.3.0/evlet/resources/print/fonts/NotoSans-Regular.woff2 +0 -0
- evlet-0.3.0/evlet/resources/print/fonts/NotoSansArabic-Bold.woff2 +0 -0
- evlet-0.3.0/evlet/resources/print/fonts/NotoSansArabic-OFL.txt +93 -0
- evlet-0.3.0/evlet/resources/print/fonts/NotoSansArabic-Regular.woff2 +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app/pyproject.toml.tpl +1 -1
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app_flat/pyproject.toml.tpl +1 -1
- evlet-0.3.0/evlet/richtext.py +613 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/routing.py +1 -1
- {evlet-0.1.3 → evlet-0.3.0}/evlet/sequences.py +88 -21
- {evlet-0.1.3 → evlet-0.3.0}/evlet/services.py +16 -9
- {evlet-0.1.3 → evlet-0.3.0}/evlet/settings.py +19 -4
- evlet-0.3.0/evlet/slips.py +372 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/states.py +8 -2
- {evlet-0.1.3 → evlet-0.3.0}/evlet/storage.py +3 -2
- evlet-0.3.0/evlet/tools.py +732 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/ui/compiler.py +2 -0
- evlet-0.3.0/evlet/ui/metadata.py +221 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/ui/registry.py +1 -1
- {evlet-0.1.3 → evlet-0.3.0}/evlet/ui/routes.py +32 -4
- {evlet-0.1.3 → evlet-0.3.0}/evlet/ui/serving.py +8 -2
- evlet-0.3.0/evlet/ui/static/assets/InterVariable-Italic-FCBEiFp6.woff2 +0 -0
- evlet-0.3.0/evlet/ui/static/assets/ai-BGEsak_j.js +38 -0
- evlet-0.3.0/evlet/ui/static/assets/app-CfRe-3Lx.css +1 -0
- evlet-0.3.0/evlet/ui/static/assets/app-UIRkbxu8.js +766 -0
- evlet-0.1.3/evlet/ui/static/assets/consent-rtOZz4Ha.js → evlet-0.3.0/evlet/ui/static/assets/consent-wUYXsFQ9.js +7 -7
- evlet-0.1.3/evlet/ui/static/assets/email-DPM3pn5B.js → evlet-0.3.0/evlet/ui/static/assets/email-DQNjtDdh.js +13 -13
- evlet-0.3.0/evlet/ui/static/assets/evlet-icon-blue.svg +6 -0
- evlet-0.3.0/evlet/ui/static/assets/evlet-logo-primary.svg +11 -0
- evlet-0.3.0/evlet/ui/static/assets/evlet-logo-white.svg +11 -0
- evlet-0.3.0/evlet/ui/static/assets/index-BsfqfnxS.css +1 -0
- evlet-0.3.0/evlet/ui/static/assets/index-DmSbFxTC.js +816 -0
- evlet-0.1.3/evlet/ui/static/assets/keys-BKzRuORv.js → evlet-0.3.0/evlet/ui/static/assets/keys-BlMYHVSC.js +1 -1
- evlet-0.3.0/evlet/ui/static/index.html +3 -0
- evlet-0.3.0/evlet/unsaved.py +373 -0
- {evlet-0.1.3 → evlet-0.3.0/evlet.egg-info}/PKG-INFO +31 -7
- {evlet-0.1.3 → evlet-0.3.0}/evlet.egg-info/SOURCES.txt +91 -184
- {evlet-0.1.3 → evlet-0.3.0}/evlet.egg-info/requires.txt +4 -0
- {evlet-0.1.3 → evlet-0.3.0}/examples/playground/app.py +55 -9
- evlet-0.3.0/examples/playground/items.py +120 -0
- evlet-0.3.0/examples/playground/migrate.py +194 -0
- evlet-0.3.0/examples/playground/models.py +164 -0
- {evlet-0.1.3 → evlet-0.3.0}/examples/playground/portal/portal.js +2 -2
- evlet-0.3.0/examples/playground/prints.py +55 -0
- evlet-0.3.0/examples/playground/reports.py +132 -0
- {evlet-0.1.3 → evlet-0.3.0}/examples/playground/settings.py +5 -1
- evlet-0.3.0/examples/playground/slips.py +85 -0
- evlet-0.3.0/examples/playground/team.py +56 -0
- evlet-0.3.0/frontend/fonts/InterVariable-Italic.woff2 +0 -0
- evlet-0.3.0/frontend/index.html +1 -0
- evlet-0.3.0/frontend/public/assets/evlet-icon-blue.svg +6 -0
- evlet-0.3.0/frontend/public/assets/evlet-logo-primary.svg +11 -0
- evlet-0.3.0/frontend/public/assets/evlet-logo-white.svg +11 -0
- evlet-0.3.0/frontend/scripts/dev-proxy.mjs +8 -0
- evlet-0.3.0/frontend/scripts/dev-proxy.test.mjs +13 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/api.ts +41 -20
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/app/app.ts +31 -17
- evlet-0.3.0/frontend/src/evlet/app/client.ts +251 -0
- evlet-0.3.0/frontend/src/evlet/app/composer.ts +50 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/app/config.ts +4 -1
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/app/context.ts +15 -2
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/app/docs.ts +37 -5
- evlet-0.3.0/frontend/src/evlet/app/filters.ts +325 -0
- evlet-0.3.0/frontend/src/evlet/app/inbox.ts +67 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/app/list-page.ts +203 -61
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/app/login.ts +7 -3
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/app/meta.ts +41 -6
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/app/palette.ts +10 -4
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/app/prefs.ts +22 -13
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/app/record-page.ts +359 -97
- evlet-0.3.0/frontend/src/evlet/app/related-panel.ts +54 -0
- evlet-0.3.0/frontend/src/evlet/app/report-page.ts +492 -0
- evlet-0.3.0/frontend/src/evlet/app/revisions.ts +77 -0
- evlet-0.3.0/frontend/src/evlet/app/screens.css +216 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/app/settings.css +13 -6
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/app/settings.ts +51 -20
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/app/shell.ts +54 -21
- evlet-0.3.0/frontend/src/evlet/app/slips.ts +264 -0
- evlet-0.3.0/frontend/src/evlet/app/unsaved-bar.ts +122 -0
- evlet-0.3.0/frontend/src/evlet/app/unsaved.ts +173 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/controls/access.ts +7 -4
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/controls/ai.ts +16 -6
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/controls/app.ts +16 -4
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/controls/client.ts +82 -6
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/controls/controls.css +57 -3
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/controls/drafts.ts +6 -1
- evlet-0.3.0/frontend/src/evlet/controls/eva.ts +189 -0
- evlet-0.3.0/frontend/src/evlet/controls/log.ts +49 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/controls/models.ts +117 -24
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/controls/naming.ts +1 -1
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/controls/people.ts +23 -6
- evlet-0.3.0/frontend/src/evlet/controls/periods.ts +51 -0
- evlet-0.3.0/frontend/src/evlet/controls/prints.ts +315 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/controls/system.ts +2 -0
- evlet-0.3.0/frontend/src/evlet/controls/unsaved.ts +61 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/dev.ts +4 -6
- evlet-0.3.0/frontend/src/evlet/eva/chat.ts +473 -0
- evlet-0.3.0/frontend/src/evlet/eva/client.ts +116 -0
- evlet-0.3.0/frontend/src/evlet/eva/eva.css +159 -0
- evlet-0.3.0/frontend/src/evlet/eva/tasks.ts +124 -0
- evlet-0.3.0/frontend/src/evlet/ids.ts +32 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/model/changes.ts +10 -2
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/model/finite.ts +35 -19
- evlet-0.3.0/frontend/src/evlet/model/links.ts +87 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/model/record.ts +73 -13
- evlet-0.3.0/frontend/src/evlet/model/schema.ts +176 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/model/session.ts +3 -3
- evlet-0.3.0/frontend/src/evlet/model/unsaved.ts +162 -0
- evlet-0.3.0/frontend/src/evlet/richtext/editor.ts +828 -0
- evlet-0.3.0/frontend/src/evlet/richtext/history.ts +55 -0
- evlet-0.3.0/frontend/src/evlet/richtext/html.ts +500 -0
- evlet-0.3.0/frontend/src/evlet/richtext/images.ts +130 -0
- evlet-0.3.0/frontend/src/evlet/richtext/model.ts +196 -0
- evlet-0.3.0/frontend/src/evlet/richtext/ops.ts +431 -0
- evlet-0.3.0/frontend/src/evlet/richtext/render.ts +308 -0
- evlet-0.3.0/frontend/src/evlet/richtext/richtext.css +120 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/router.ts +13 -2
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/settings/ai.ts +47 -10
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/ui/catalog.json +70 -9
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/ui/childtable.ts +173 -42
- evlet-0.3.0/frontend/src/evlet/ui/dateparse.ts +197 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/ui/doc.ts +63 -16
- evlet-0.3.0/frontend/src/evlet/ui/draglist.ts +178 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/ui/fields.ts +330 -61
- evlet-0.3.0/frontend/src/evlet/ui/fold.ts +202 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/ui/icon-data.ts +17 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/ui/index.ts +5 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/ui/inline.ts +27 -9
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/ui/kinds.ts +38 -39
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/ui/layers.ts +10 -4
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/ui/library.ts +24 -3
- evlet-0.3.0/frontend/src/evlet/ui/pickers.ts +562 -0
- evlet-0.3.0/frontend/src/evlet/ui/split.ts +86 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/ui/styles.css +387 -80
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/ui/table.ts +173 -21
- evlet-0.3.0/frontend/src/evlet/ui/theme.ts +62 -0
- evlet-0.3.0/frontend/src/evlet/ui/time.ts +131 -0
- evlet-0.3.0/frontend/vite.config.js +21 -0
- {evlet-0.1.3 → evlet-0.3.0}/pyproject.toml +3 -2
- evlet-0.1.3/AGENTS.md +0 -42
- evlet-0.1.3/MANIFEST.in +0 -17
- evlet-0.1.3/docs/amendment-v2-release-notes.md +0 -199
- evlet-0.1.3/docs/app-upgrades.md +0 -78
- evlet-0.1.3/docs/benchmarks/2026-10-29-postgresql.json +0 -72
- evlet-0.1.3/docs/benchmarks/2026-10-29-sqlite.json +0 -70
- evlet-0.1.3/docs/contributing.md +0 -219
- evlet-0.1.3/docs/handoff-model.md +0 -474
- evlet-0.1.3/docs/handoff-plan.md +0 -240
- evlet-0.1.3/docs/handoff-routing-controls-settings.md +0 -790
- evlet-0.1.3/docs/milestones.md +0 -53
- evlet-0.1.3/docs/model-engine-implementation-status.md +0 -883
- evlet-0.1.3/docs/model-engine.md +0 -300
- evlet-0.1.3/docs/specification.md +0 -1121
- evlet-0.1.3/docs/testcrm.md +0 -120
- evlet-0.1.3/docs/ui-design/README.md +0 -1511
- evlet-0.1.3/docs/ui-design/reference/CHANGELOG.md +0 -71
- evlet-0.1.3/docs/ui-framework.md +0 -493
- evlet-0.1.3/evlet/forms.py +0 -255
- evlet-0.1.3/evlet/mcp.py +0 -226
- evlet-0.1.3/evlet/migrations.py +0 -649
- evlet-0.1.3/evlet/query.py +0 -171
- evlet-0.1.3/evlet/ui/metadata.py +0 -110
- evlet-0.1.3/evlet/ui/static/assets/ai-DUVV29Mv.js +0 -26
- evlet-0.1.3/evlet/ui/static/assets/app-BRJBcpEG.css +0 -1
- evlet-0.1.3/evlet/ui/static/assets/app-DRbRarwF.js +0 -534
- evlet-0.1.3/evlet/ui/static/assets/evlet.svg +0 -1
- evlet-0.1.3/evlet/ui/static/assets/index-BVGf710l.js +0 -436
- evlet-0.1.3/evlet/ui/static/assets/index-mPt8bohB.css +0 -1
- evlet-0.1.3/evlet/ui/static/index.html +0 -3
- evlet-0.1.3/examples/amendment/README.md +0 -43
- evlet-0.1.3/examples/amendment/__init__.py +0 -1
- evlet-0.1.3/examples/amendment/models/__init__.py +0 -1
- evlet-0.1.3/examples/amendment/models/masters.py +0 -51
- evlet-0.1.3/examples/amendment/models/quote.py +0 -99
- evlet-0.1.3/examples/amendment/models/sales_order.py +0 -69
- evlet-0.1.3/examples/amendment/pyproject.toml +0 -20
- evlet-0.1.3/examples/amendment/reports/__init__.py +0 -1
- evlet-0.1.3/examples/amendment/reports/orders.py +0 -22
- evlet-0.1.3/examples/amendment/services/__init__.py +0 -1
- evlet-0.1.3/examples/amendment/services/integrations/__init__.py +0 -1
- evlet-0.1.3/examples/amendment/services/integrations/warehouse/__init__.py +0 -1
- evlet-0.1.3/examples/amendment/services/integrations/warehouse/checks.py +0 -13
- evlet-0.1.3/examples/amendment/services/planning.py +0 -43
- evlet-0.1.3/examples/amendment/services/stock.py +0 -8
- evlet-0.1.3/examples/amendment/setup.py +0 -3
- evlet-0.1.3/examples/amendment/views/models/sales_order.ts +0 -11
- evlet-0.1.3/examples/playground/migrate.py +0 -97
- evlet-0.1.3/examples/playground/models.py +0 -67
- evlet-0.1.3/examples/testcrm/__init__.py +0 -1
- evlet-0.1.3/examples/testcrm/models.py +0 -306
- evlet-0.1.3/examples/testcrm/pyproject.toml +0 -16
- evlet-0.1.3/examples/testcrm/setup.py +0 -3
- evlet-0.1.3/frontend/index.html +0 -1
- evlet-0.1.3/frontend/public/assets/evlet.svg +0 -1
- evlet-0.1.3/frontend/src/evlet/app/client.ts +0 -139
- evlet-0.1.3/frontend/src/evlet/app/screens.css +0 -89
- evlet-0.1.3/frontend/src/evlet/model/schema.ts +0 -110
- evlet-0.1.3/frontend/src/evlet/tests/api-fixture.json +0 -12299
- evlet-0.1.3/frontend/src/evlet/tests/api.test.ts +0 -245
- evlet-0.1.3/frontend/src/evlet/tests/assistants.test.ts +0 -156
- evlet-0.1.3/frontend/src/evlet/tests/config.test.ts +0 -44
- evlet-0.1.3/frontend/src/evlet/tests/conformance.test.ts +0 -133
- evlet-0.1.3/frontend/src/evlet/tests/connections.test.ts +0 -209
- evlet-0.1.3/frontend/src/evlet/tests/controls-models.test.ts +0 -160
- evlet-0.1.3/frontend/src/evlet/tests/controls-system.test.ts +0 -160
- evlet-0.1.3/frontend/src/evlet/tests/controls.test.ts +0 -262
- evlet-0.1.3/frontend/src/evlet/tests/dom.test.ts +0 -288
- evlet-0.1.3/frontend/src/evlet/tests/finite-benchmark.test.ts +0 -34
- evlet-0.1.3/frontend/src/evlet/tests/finite-engine.test.ts +0 -277
- evlet-0.1.3/frontend/src/evlet/tests/finite-fixtures.json +0 -31368
- evlet-0.1.3/frontend/src/evlet/tests/format.test.ts +0 -62
- evlet-0.1.3/frontend/src/evlet/tests/link-titles.test.ts +0 -39
- evlet-0.1.3/frontend/src/evlet/tests/mailboxes.test.ts +0 -159
- evlet-0.1.3/frontend/src/evlet/tests/reactive.test.ts +0 -318
- evlet-0.1.3/frontend/src/evlet/tests/record-restore.test.ts +0 -51
- evlet-0.1.3/frontend/src/evlet/tests/record.test.ts +0 -318
- evlet-0.1.3/frontend/src/evlet/tests/review-dom.test.ts +0 -198
- evlet-0.1.3/frontend/src/evlet/tests/review-model.test.ts +0 -240
- evlet-0.1.3/frontend/src/evlet/tests/review-reactive.test.ts +0 -122
- evlet-0.1.3/frontend/src/evlet/tests/router.test.ts +0 -152
- evlet-0.1.3/frontend/src/evlet/tests/screens-document.test.ts +0 -320
- evlet-0.1.3/frontend/src/evlet/tests/screens-fixture.json +0 -4441
- evlet-0.1.3/frontend/src/evlet/tests/screens-helpers.ts +0 -84
- evlet-0.1.3/frontend/src/evlet/tests/screens-list.test.ts +0 -163
- evlet-0.1.3/frontend/src/evlet/tests/screens-palette.test.ts +0 -82
- evlet-0.1.3/frontend/src/evlet/tests/screens-record.test.ts +0 -189
- evlet-0.1.3/frontend/src/evlet/tests/screens-review.test.ts +0 -231
- evlet-0.1.3/frontend/src/evlet/tests/screens-settings.test.ts +0 -243
- evlet-0.1.3/frontend/src/evlet/tests/screens-shell.test.ts +0 -182
- evlet-0.1.3/frontend/src/evlet/tests/server.ts +0 -46
- evlet-0.1.3/frontend/src/evlet/tests/setup.ts +0 -19
- evlet-0.1.3/frontend/src/evlet/tests/testcrm-deal.test.ts +0 -308
- evlet-0.1.3/frontend/src/evlet/tests/testcrm-fixture.json +0 -1
- evlet-0.1.3/frontend/src/evlet/tests/testcrm-helpers.ts +0 -82
- evlet-0.1.3/frontend/src/evlet/tests/testcrm-list.test.ts +0 -92
- evlet-0.1.3/frontend/src/evlet/tests/ui-base.test.ts +0 -227
- evlet-0.1.3/frontend/src/evlet/tests/ui-childtable.test.ts +0 -241
- evlet-0.1.3/frontend/src/evlet/tests/ui-datatable.test.ts +0 -146
- evlet-0.1.3/frontend/src/evlet/tests/ui-doc.test.ts +0 -213
- evlet-0.1.3/frontend/src/evlet/tests/ui-fields.test.ts +0 -234
- evlet-0.1.3/frontend/src/evlet/tests/ui-helpers.ts +0 -84
- evlet-0.1.3/frontend/src/evlet/tests/ui-inline.test.ts +0 -99
- evlet-0.1.3/frontend/src/evlet/tests/ui-review.test.ts +0 -253
- evlet-0.1.3/frontend/vite.config.js +0 -10
- evlet-0.1.3/requirements-dev.lock +0 -222
- evlet-0.1.3/requirements-mcp.in +0 -2
- evlet-0.1.3/requirements-mcp.lock +0 -593
- evlet-0.1.3/requirements-postgres.lock +0 -77
- evlet-0.1.3/requirements-s3.lock +0 -16
- evlet-0.1.3/requirements-server.lock +0 -180
- evlet-0.1.3/scripts/benchmark.py +0 -180
- evlet-0.1.3/scripts/benchmark_finite.py +0 -55
- evlet-0.1.3/scripts/benchmark_lines.py +0 -128
- evlet-0.1.3/scripts/check_flat_package.py +0 -35
- evlet-0.1.3/scripts/check_package.py +0 -136
- evlet-0.1.3/scripts/generate_document_fixtures.py +0 -38
- evlet-0.1.3/scripts/generate_finite_fixtures.py +0 -16
- evlet-0.1.3/scripts/generate_testcrm_fixtures.py +0 -313
- evlet-0.1.3/scripts/generate_ui_fixtures.py +0 -83
- evlet-0.1.3/scripts/generate_ui_framework_fixtures.py +0 -464
- evlet-0.1.3/scripts/playground.sh +0 -160
- evlet-0.1.3/scripts/smoke.py +0 -106
- evlet-0.1.3/scripts/smoke_cli.py +0 -132
- evlet-0.1.3/scripts/smoke_finite.py +0 -73
- evlet-0.1.3/scripts/smoke_tenants.py +0 -210
- evlet-0.1.3/scripts/testcrm.py +0 -249
- evlet-0.1.3/scripts/testcrm.sh +0 -109
- evlet-0.1.3/tests/conftest.py +0 -16
- evlet-0.1.3/tests/finite_fixtures.py +0 -447
- evlet-0.1.3/tests/fixtures/document-contract.json +0 -474
- evlet-0.1.3/tests/fixtures/document-vectors.json +0 -13
- evlet-0.1.3/tests/fixtures/record-fixture.json +0 -60
- evlet-0.1.3/tests/fixtures/test-business-schema.json +0 -788
- evlet-0.1.3/tests/fixtures/test-schema.json +0 -535
- evlet-0.1.3/tests/fixtures/ui-fixture.json +0 -4204
- evlet-0.1.3/tests/test_api.py +0 -121
- evlet-0.1.3/tests/test_api_keys.py +0 -234
- evlet-0.1.3/tests/test_assistants.py +0 -522
- evlet-0.1.3/tests/test_async_tenants.py +0 -45
- evlet-0.1.3/tests/test_builds.py +0 -345
- evlet-0.1.3/tests/test_business.py +0 -357
- evlet-0.1.3/tests/test_business_regressions.py +0 -94
- evlet-0.1.3/tests/test_cli.py +0 -103
- evlet-0.1.3/tests/test_cli_lifecycle.py +0 -657
- evlet-0.1.3/tests/test_connector.py +0 -256
- evlet-0.1.3/tests/test_connector_hardening.py +0 -159
- evlet-0.1.3/tests/test_connectors.py +0 -375
- evlet-0.1.3/tests/test_controls.py +0 -601
- evlet-0.1.3/tests/test_controls_pages.py +0 -387
- evlet-0.1.3/tests/test_corrections.py +0 -572
- evlet-0.1.3/tests/test_current_user.py +0 -71
- evlet-0.1.3/tests/test_customization.py +0 -971
- evlet-0.1.3/tests/test_database.py +0 -100
- evlet-0.1.3/tests/test_declaration_errors.py +0 -40
- evlet-0.1.3/tests/test_deployment.py +0 -55
- evlet-0.1.3/tests/test_discovery.py +0 -86
- evlet-0.1.3/tests/test_document_boundaries.py +0 -482
- evlet-0.1.3/tests/test_documents.py +0 -143
- evlet-0.1.3/tests/test_effects.py +0 -1177
- evlet-0.1.3/tests/test_events.py +0 -89
- evlet-0.1.3/tests/test_finite_expressions.py +0 -1007
- evlet-0.1.3/tests/test_forms_services.py +0 -238
- evlet-0.1.3/tests/test_generation.py +0 -149
- evlet-0.1.3/tests/test_hardening.py +0 -71
- evlet-0.1.3/tests/test_hosts_realms.py +0 -582
- evlet-0.1.3/tests/test_input_regressions.py +0 -68
- evlet-0.1.3/tests/test_instance_lock.py +0 -45
- evlet-0.1.3/tests/test_jobs.py +0 -152
- evlet-0.1.3/tests/test_journal.py +0 -627
- evlet-0.1.3/tests/test_lines.py +0 -547
- evlet-0.1.3/tests/test_mailboxes.py +0 -963
- evlet-0.1.3/tests/test_mcp_sdk.py +0 -140
- evlet-0.1.3/tests/test_meaning.py +0 -487
- evlet-0.1.3/tests/test_measures.py +0 -648
- evlet-0.1.3/tests/test_migrations.py +0 -264
- evlet-0.1.3/tests/test_model_engine.py +0 -187
- evlet-0.1.3/tests/test_models.py +0 -93
- evlet-0.1.3/tests/test_move_values.py +0 -118
- evlet-0.1.3/tests/test_nested_documents.py +0 -642
- evlet-0.1.3/tests/test_object_storage.py +0 -117
- evlet-0.1.3/tests/test_postgres.py +0 -761
- evlet-0.1.3/tests/test_review_regressions.py +0 -251
- evlet-0.1.3/tests/test_revocation.py +0 -105
- evlet-0.1.3/tests/test_routing.py +0 -317
- evlet-0.1.3/tests/test_rules_types.py +0 -789
- evlet-0.1.3/tests/test_sequences.py +0 -615
- evlet-0.1.3/tests/test_serverless.py +0 -82
- evlet-0.1.3/tests/test_settings.py +0 -330
- evlet-0.1.3/tests/test_settings_security.py +0 -379
- evlet-0.1.3/tests/test_states.py +0 -891
- evlet-0.1.3/tests/test_storage.py +0 -136
- evlet-0.1.3/tests/test_tenancy.py +0 -259
- evlet-0.1.3/tests/test_testcrm.py +0 -420
- evlet-0.1.3/tests/test_ui.py +0 -411
- evlet-0.1.3/tests/test_ui_contracts.py +0 -66
- evlet-0.1.3/tests/test_unpost_repost.py +0 -543
- {evlet-0.1.3 → evlet-0.3.0}/LICENSE +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/docs/measures.md +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/docs/postgresql.md +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/docs/tenancy-deployment.md +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/__main__.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/builds.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/cli/__init__.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/cli/app.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/cli/connector.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/cli/effects.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/cli/instance.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/cli/journal.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/cli/legacy.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/cli/project.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/cli/proxy.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/cli/setup.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/connector.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/controls_system.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/deployment.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/expressions.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/metadata.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/native.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/object_storage.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/py.typed +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/__init__.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app/.gitignore.tpl +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app/README.md.tpl +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app/__app__/__init__.py.tpl +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app/__app__/actions/__init__.py.tpl +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app/__app__/hooks.py.tpl +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app/__app__/migrations/__init__.py.tpl +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app/__app__/models/__init__.py.tpl +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app/__app__/permissions.py.tpl +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app/__app__/views/__init__.py.tpl +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app/tests/test_models.py.tpl +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app_flat/.gitignore.tpl +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app_flat/README.md.tpl +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app_flat/__init__.py.tpl +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app_flat/models/__init__.py.tpl +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app_flat/models/item.py.tpl +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/resources/templates/app_flat/setup.py.tpl +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/secrets.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/serverless.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/tenancy.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/ui/__init__.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/ui/application.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/ui/contracts.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/ui/definitions.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/ui/definitions.pyi +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/ui/expressions.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/ui/static/assets/Inter-OFL.txt +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/ui/static/assets/InterVariable-DiVDrmQJ.woff2 +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/ui/static/assets/JetBrainsMono-Medium-3S3k2nMz.woff2 +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/ui/static/assets/JetBrainsMono-OFL.txt +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet/ui/static/assets/JetBrainsMono-Regular-BQaDgvhP.woff2 +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet.egg-info/dependency_links.txt +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet.egg-info/entry_points.txt +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/evlet.egg-info/top_level.txt +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/examples/playground/manage.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/examples/playground/portal/index.html +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/examples/playground/portal/portal.css +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/examples/playground/tenants.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/examples/playground/ui.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/examples/playground/worker.py +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/.node-version +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/.npmrc +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/fonts/Inter-OFL.txt +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/fonts/InterVariable.woff2 +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/fonts/JetBrainsMono-Medium.woff2 +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/fonts/JetBrainsMono-OFL.txt +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/fonts/JetBrainsMono-Regular.woff2 +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/package-lock.json +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/package.json +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/scripts/bench-ui.mjs +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/scripts/install-ui.mjs +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/app/main.ts +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/controls/connections.ts +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/controls/keys.ts +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/dom.ts +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/model/format.ts +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/reactive.ts +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/settings/consent.ts +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/settings/email.ts +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/settings/keys.ts +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/ui/base.ts +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/ui/core.ts +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/ui/explain.ts +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/ui/list.ts +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/src/evlet/ui/tooltip.ts +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/frontend/tsconfig.json +0 -0
- {evlet-0.1.3 → evlet-0.3.0}/setup.cfg +0 -0
evlet-0.3.0/CHANGELOG.md
ADDED
|
@@ -0,0 +1,480 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
Evlet is pre-1.0 and not production ready. From 0.3, a public name or argument that is
|
|
4
|
+
removed or changed keeps working with a `DeprecationWarning` for at least one minor release
|
|
5
|
+
first ([docs/api-stability.md](docs/api-stability.md)). The notes below say what to change.
|
|
6
|
+
|
|
7
|
+
## 0.3.0 (05-11-2026)
|
|
8
|
+
|
|
9
|
+
This release adds rich text with images and mentions, unsaved changes that survive leaving a
|
|
10
|
+
record, record names, titles and times, period locks, `Meta.api`, reports and print designs, and
|
|
11
|
+
framework migrations through `evlet migrate`. It covers #66 to #118. Evlet is still not
|
|
12
|
+
production ready. The calendar engine, notifications and approval workflows are planned for 0.4.0.
|
|
13
|
+
|
|
14
|
+
### Upgrade notes
|
|
15
|
+
|
|
16
|
+
- **Run `evlet migrate` for each instance.** An instance migrated with 0.2.0 refuses to serve
|
|
17
|
+
until you do. It backs up the database, then runs the framework migrations in order:
|
|
18
|
+
`0001_startup_tables`, `0002_tool_calls`, `0003_record_names`, `0004_record_times` and
|
|
19
|
+
`0005_unsaved_changes`. Stop the server first. Migrations never run from the browser
|
|
20
|
+
([docs/app-upgrades.md](docs/app-upgrades.md#upgrade-evlet)).
|
|
21
|
+
- **Apps must allow Evlet 0.3.** Change an app's dependency from `evlet>=0.2.0,<0.3` to
|
|
22
|
+
`evlet>=0.3.0,<0.4`. New apps get this by default.
|
|
23
|
+
- **Record ids are text outside the database.** Clients read ids as 13-character strings and
|
|
24
|
+
build URLs from them; a decimal id in an API path is now a 404. Existing rows keep their ids.
|
|
25
|
+
- **Every record has `name` and `title`.** An app model that declares its own `name` field is
|
|
26
|
+
refused; rename it in an app migration before `evlet migrate` (see Changed).
|
|
27
|
+
- **`State` now shows as a badge by default.** A record's state is a coloured badge in the
|
|
28
|
+
header, with its moves as buttons. Add `show="bar"` to a State that is a real pipeline (draft,
|
|
29
|
+
submitted, approved) to keep the stage bar, or `show="none"` to hide it.
|
|
30
|
+
- **`Meta.api`.** Nothing changes for existing models (`"full"` is the default). Use `"read"` for
|
|
31
|
+
a model that only trusted Python may write, such as a ledger, and `None` for a model callers
|
|
32
|
+
must not reach. A Link from a reachable model to an `api = None` model must be `hidden=True`.
|
|
33
|
+
- **Period locks.** Opt in with `Meta.period = "<date field>"`. Once an admin sets a lock date
|
|
34
|
+
in Controls, Periods, records dated on or before it refuse every write, from HTTP and trusted
|
|
35
|
+
Python alike. Data migrations and repairs that must write there use
|
|
36
|
+
`session.unlocked_periods(reason)`, which is logged and audited.
|
|
37
|
+
- **`evlet dev` creates the first admin.** On an instance with no accounts it creates an active
|
|
38
|
+
admin with a random password and prints a one-time sign-in link. Pass `--no-link` to skip it.
|
|
39
|
+
`evlet serve`, tenants and deployments never create accounts. Use
|
|
40
|
+
`evlet users set-password <instance> <username>` to set a real password.
|
|
41
|
+
- **Rich text is sanitised on the server.** Every `RichText` write keeps only the allowed tags
|
|
42
|
+
and attributes; scripts, event handlers, `style`, `id`, other classes and `javascript:` or `data:`
|
|
43
|
+
URLs are removed, and links keep only `http`, `https` and `mailto`. `max_length` (20,000 by
|
|
44
|
+
default) counts the plain text. Code that writes HTML from Python gets the sanitised form back.
|
|
45
|
+
- **Unsaved changes have limits.** Edits left on a saved record are kept on the server for 30
|
|
46
|
+
days, 200 entries per person, and 256 KB per entry; unsaved new records stay in the browser
|
|
47
|
+
for 7 days, 20 per person. A larger entry stays only in the open tab. Admins change these in
|
|
48
|
+
Controls (`unsaved.*`). Set `Meta.autosave = False` on a model that should keep the leave
|
|
49
|
+
prompt instead.
|
|
50
|
+
- **Smaller changes that can break a client or an app.** A report filter field named `group`,
|
|
51
|
+
`model`, `sortable`, `chart`, `export` or `group_by` must be renamed. Link filter errors have
|
|
52
|
+
new text (still a 422 field error). In `/api/schema` a Currency field's code field moved from
|
|
53
|
+
`currency` to `currency_source`. Filters take only the operators of their field kind, up to 50
|
|
54
|
+
conditions, and filtering on a field the role cannot read is a 403.
|
|
55
|
+
|
|
56
|
+
### Added
|
|
57
|
+
|
|
58
|
+
- **`Meta.status` and `Select(colors=...)`.** `Meta.status = "<field>"` names a visible Select or
|
|
59
|
+
State shown as the record's status badge and as a badge in lists, for a status the system sets
|
|
60
|
+
(never a button). `colors` maps choices to `blue`, `green`, `amber`, `rose`, `violet`, `teal` or
|
|
61
|
+
`slate`. A legacy string formula may now calculate a Select. The schema adds `status` on the model
|
|
62
|
+
(for roles that can read the field) and `colors` on the field. The Playground invoice shows a
|
|
63
|
+
calculated payment status (Unpaid, Partly paid, Paid) from a new `amount_paid` field; migration
|
|
64
|
+
`0012_invoice_payment_status` adds both columns. Because the invoice now has a calculated field,
|
|
65
|
+
an update to a Playground invoice sends `If-Match` with its ETag, as every calculated document does.
|
|
66
|
+
Badge colours are display only: changing `colors` needs no migration.
|
|
67
|
+
- **Unsaved changes are kept when you leave a record, and the record is never written.** Leaving
|
|
68
|
+
a saved record with unsaved edits keeps the edited fields in the new framework table
|
|
69
|
+
`evlet_unsaved` (framework migration `0005_unsaved_changes`, so run `evlet migrate`), and the
|
|
70
|
+
next visit offers Restore or Discard, with a per-field choice when the record changed in the
|
|
71
|
+
meantime. Unsaved new records stay in the browser. Only Save writes the record, so no validator,
|
|
72
|
+
event, number or history runs on leave. New routes `GET /api/_unsaved` and
|
|
73
|
+
`GET/PUT/DELETE /api/_unsaved/<model>/<id>` (signed-in sessions only, own entries only), and
|
|
74
|
+
Controls `GET /api/_controls/unsaved` and `POST /api/_controls/unsaved/clear` (counts only).
|
|
75
|
+
New instance settings `unsaved.server_days`, `unsaved.server_entries`, `unsaved.browser_days`,
|
|
76
|
+
`unsaved.browser_entries` and `unsaved.entry_kb`, the framework schedule `evlet_unsaved_purge`,
|
|
77
|
+
the personal setting `keep_unsaved`, and `Meta.autosave` (`True` by default; `False` keeps the
|
|
78
|
+
leave prompt), which `/api/schema` shows as `autosave`. What to change: nothing, unless a model
|
|
79
|
+
should keep the leave prompt; then set `Meta.autosave = False`. Database tools that list
|
|
80
|
+
framework tables see one more ([docs/ui.md](docs/ui.md#unsaved-changes)).
|
|
81
|
+
- **Mentions in the activity composer, and a Mentions inbox.** Notes on a record are written with
|
|
82
|
+
the rich text editor; `@` opens a picker of active people, warning when someone can't open the
|
|
83
|
+
record. Journal `note` and `message` entries take `html` (sanitised, mentions kept) beside `text`.
|
|
84
|
+
Mentioned people get a row in the new per-user inbox (`evlet_inbox`, `/api/_inbox`), shown under
|
|
85
|
+
the bell in the top bar with a live unread count, and an email when their notification preferences
|
|
86
|
+
ask for one. Someone who can't open the record learns only that they were mentioned
|
|
87
|
+
([docs/journal.md](docs/journal.md#mentions)).
|
|
88
|
+
- **Images in rich text.** Paste, drop or upload a PNG, JPEG, GIF or WebP image straight into a
|
|
89
|
+
`RichText` field; SVG is refused. The browser shrinks it to 2,000 px and re-encodes it before
|
|
90
|
+
upload. Images are private attachments of the record, stored in the HTML by id only and served
|
|
91
|
+
through the record's permission-checked download route; an unsaved record's images are held for
|
|
92
|
+
the person for a day and linked on save, and removing an image from the text deletes it on save.
|
|
93
|
+
New Controls settings `files.image_max_kb` and `files.images_per_record` set their limits apart
|
|
94
|
+
from file attachments. Print Design embeds them and record emails send them inline
|
|
95
|
+
([docs/business-capabilities.md](docs/business-capabilities.md#images-in-rich-text)).
|
|
96
|
+
- **`RichText` fields and Evlet's own rich text editor.** `RichText(max_length=20000)` stores
|
|
97
|
+
formatted text as an HTML subset: paragraphs, headings 2 and 3, bulleted, numbered and check lists
|
|
98
|
+
nested up to three levels, quotes, code blocks, dividers, bold, italic, underline, strike, inline
|
|
99
|
+
code, line breaks and http, https and mailto links. The server sanitises every write with a
|
|
100
|
+
standard-library allowlist parser (`evlet/richtext.py`) and stores the plain text beside it in
|
|
101
|
+
`<name>_text` for search, filters (`contains`, `icontains`, `nicontains`, `isnull`) and list cells.
|
|
102
|
+
The browser edits it in a new editor with no dependencies (`frontend/src/evlet/richtext/`):
|
|
103
|
+
`beforeinput` handling, IME and phone keyboards, its own undo, Markdown-style shortcuts, cleaned
|
|
104
|
+
paste from Word, Outlook, Google Docs and web pages, a keyboard-reachable toolbar, a floating
|
|
105
|
+
selection toolbar and a phone toolbar above the keyboard. Print Design prints it formatted. The
|
|
106
|
+
Playground's projects gain a Brief (migration `0011_project_brief`). Nothing to change for
|
|
107
|
+
existing models ([docs/model-engine.md](docs/model-engine.md),
|
|
108
|
+
[docs/ui-framework.md](docs/ui-framework.md#rich-text)).
|
|
109
|
+
- **Field order, record tabs and Enter to move on.** `Section(..., flow="columns")` lists a
|
|
110
|
+
section's fields down the left column, then the right (full-width fields break the run); the DOM
|
|
111
|
+
and Tab follow the same order. `Meta.tabs` and `Meta.default_tab` order the record page's tabs and
|
|
112
|
+
choose the one it opens on, validated at registration. The schema adds `flow` per layout entry and
|
|
113
|
+
`tabs` and `default_tab` per model (additive). The Controls form layout gets Fields go, drag to
|
|
114
|
+
reorder fields and sections (mouse, touch and keyboard, with announcements) and a Record tabs card;
|
|
115
|
+
a layout with a tab order is saved as `{"sections", "tabs", "default_tab"}`, and plain lists load as
|
|
116
|
+
before. Tab skips read-only and calculated values. A new Appearance setting, "Enter moves to the
|
|
117
|
+
next field" (`enter_next`, off by default), speeds up data entry. The Playground's Customer uses
|
|
118
|
+
`flow="columns"` and Project sets `Meta.tabs`.
|
|
119
|
+
- **Collapsible form sections.** `evlet.Section(title, fields, *, collapsible=True, collapsed=False)`
|
|
120
|
+
in `Model.Meta.layout` is a section people can open and close; `collapsed` is `False` (open),
|
|
121
|
+
`True` (closed) or `'empty'` (closed when every field is empty on an existing record). Plain
|
|
122
|
+
`('Title', fields)` groups still work and always show. Each UI schema layout entry gains
|
|
123
|
+
`collapsible` and `collapsed` (additive). The Controls form layout gets Can collapse and Starts
|
|
124
|
+
per section, stored as optional `collapsible` and `collapsed`; older saved layouts load as before.
|
|
125
|
+
Record pages remember each person's choice per model, with Reset layout in the More menu; on phones
|
|
126
|
+
sections after the first start closed. Migration checksums do not change. The Playground's Project
|
|
127
|
+
shows all three starting states, so its Planning group is split into Planning and Schedule
|
|
128
|
+
([docs/business-capabilities.md](docs/business-capabilities.md#collapsible-sections)).
|
|
129
|
+
- **Created and last modified on every record.** Every model table gains four framework columns,
|
|
130
|
+
`evlet_created_at`, `evlet_created_by`, `evlet_modified_at` and `evlet_modified_by` (UTC times and
|
|
131
|
+
user ids), filled in the same statement as every write: the record routes, the document pipeline,
|
|
132
|
+
actions, moves, effects, void, unpost, repost and revise, `business.context(user)` and raw sessions
|
|
133
|
+
(as the engine, or `session.actor`). Record details carry them as `_audit`, outside the ETag, with
|
|
134
|
+
who as `{"id", "name"}` (null for the engine and for portal roles). The record page's Record info
|
|
135
|
+
shows "Created 2 hours ago · Aslam" and "Last modified", with the exact time on hover and a click to
|
|
136
|
+
switch to exact times, remembered per person; the Activity tab's times are relative too. A new
|
|
137
|
+
browser component, `RelativeTime`, shares one minute clock that pauses in a hidden tab
|
|
138
|
+
([docs/model-engine.md](docs/model-engine.md#record-times), [docs/ui-framework.md](docs/ui-framework.md#relative-times)).
|
|
139
|
+
What to change: run `evlet migrate`; framework migration `0004_record_times` adds the columns and
|
|
140
|
+
fills them from the Journal, or from the time in the record id. A model may not declare a field with
|
|
141
|
+
one of these names. Fixture scripts that need stable output wrap generation in
|
|
142
|
+
`evlet.audit.fixed_times()`, as they do with `sequential_ids()`.
|
|
143
|
+
- **Period locks.** `Meta.period = "posting_date"` (and optionally `Meta.period_scope`) dates a
|
|
144
|
+
model; admins set lock dates in Controls, Periods, with an audit trail. Records dated on or before
|
|
145
|
+
a lock refuse every create, change, delete, move, correction and effect row, from HTTP and trusted
|
|
146
|
+
Python alike, with `{"posting_date": "This date is in a closed period (locked up to 31-03-2026)"}`.
|
|
147
|
+
`Session.unlocked_periods(reason)` and `Context.unlocked_periods(reason)` open them for a migration
|
|
148
|
+
or repair, logged and audited. Mirror rows of a void or unpost in a closed period move to the first
|
|
149
|
+
open date ([docs/model-engine.md](docs/model-engine.md#closed-periods),
|
|
150
|
+
[docs/effects.md](docs/effects.md#closed-periods)). The Playground's ledger entries
|
|
151
|
+
(`LedgerEntry`, `api = "read"`, written by Post to ledger, totalled by the Ledger balances report) and invoices show both; migration
|
|
152
|
+
`0009_ledger` adds the table.
|
|
153
|
+
- **`Meta.api` sets how much HTTP surface a model gets.** `"full"` is the default and changes
|
|
154
|
+
nothing. `"read"` lets callers (HTTP, MCP, Eva, the connector) read the model but write it in no
|
|
155
|
+
way, for any role and whatever Controls overrides say; only trusted Python (sessions, actions,
|
|
156
|
+
moves, services, jobs) writes it, so a posting function can be the only way into a ledger.
|
|
157
|
+
`None` gives the model no surface: its routes answer 404 and it is left out of the schema,
|
|
158
|
+
Discovery, Controls and the tool lists. A Link from a model callers reach to an `api = None`
|
|
159
|
+
model must be `hidden=True` ([docs/model-engine.md](docs/model-engine.md#how-much-of-a-model-callers-reach)).
|
|
160
|
+
A Python report may read an `api = None` model; its own `roles` decide who sees what it returns
|
|
161
|
+
([docs/reports.md](docs/reports.md#models-callers-cannot-reach)).
|
|
162
|
+
Nothing to change for existing models. The schema adds `"api": "read"` on read-only models.
|
|
163
|
+
- **`evlet dev` creates the first admin.** On an instance with no accounts, `evlet dev` creates an
|
|
164
|
+
active admin (`admin`, or `--user NAME`) with a random password that is never shown and prints a
|
|
165
|
+
one-time sign-in link, so you type no password or two-step code in development. `--no-link` skips
|
|
166
|
+
both. `evlet serve`, tenants and deployments never create accounts. New
|
|
167
|
+
`evlet users set-password <instance> <username>` sets a real password from the server shell. It
|
|
168
|
+
asks twice, enforces `security.password_min`, ends the user's sessions and is audited as `cli`
|
|
169
|
+
([docs/cli.md](docs/cli.md#development-sign-in-links)).
|
|
170
|
+
- **Report view.** Reports show in the browser at `/reports/<name>`, listed in the sidebar and
|
|
171
|
+
at `/reports`: the filter bar, typed rows, totals, an optional chart, Export (CSV) and Print.
|
|
172
|
+
New, all optional: `Report.group`, `model`, `sortable`, `chart` (`evlet.Chart`, a new root
|
|
173
|
+
export) and `export`; `Column(source=...)` hides a column from people who cannot read that field;
|
|
174
|
+
`run()` may return `totals` for every row and reads the sort as `context.sort`. New route
|
|
175
|
+
`POST /api/_reports/<name>/export.csv`. The evaluate route adds `rules`. Existing reports need no
|
|
176
|
+
change; a report with a filter field named `group`, `model`, `sortable`, `chart` or `export` must
|
|
177
|
+
rename it ([docs/reports.md](docs/reports.md)).
|
|
178
|
+
- **Report groups and saved views.** `Report.group_by` keeps each group's rows together with a
|
|
179
|
+
heading and a subtotal; `run()` may return `groups` with each group's count and totals for every
|
|
180
|
+
row, and `context.sort` starts with the group column. People can save a report's filters and sort
|
|
181
|
+
as named views. `DataTable` gains `rowClass`. A filter field named `group_by` must be renamed.
|
|
182
|
+
- **Print designs.** `PrintDesign` (a new root export) prints a record or a report to PDF through
|
|
183
|
+
WeasyPrint: blocks in a header, main, footnote, footer and watermark region, Jinja templates in a
|
|
184
|
+
sandbox with every value escaped, HTML for any single block, page number formats, and a footnote
|
|
185
|
+
snapped to the bottom of the last page. `Application(prints=[...])` registers designs. Printing is
|
|
186
|
+
the new `print` operation (admin by default; other roles when their Rule names it). It needs the
|
|
187
|
+
optional extra `evlet[print]`; without it the print routes answer 503
|
|
188
|
+
([docs/printing.md](docs/printing.md)). Record views get a Print button with a PDF preview, and
|
|
189
|
+
Controls gets a block designer for stored designs. These are additions; existing apps need no change.
|
|
190
|
+
- **API stability for apps.** [docs/api-stability.md](docs/api-stability.md) names the
|
|
191
|
+
surface apps can rely on (the root exports, field keywords, lifecycle decorators and the
|
|
192
|
+
`evlet.ui` names in the app docs), the deprecation rule and what stays internal.
|
|
193
|
+
`tests/test_public_api.py` pins those names and signatures. A change needs a regenerated
|
|
194
|
+
snapshot and an entry here.
|
|
195
|
+
- **Tool Engine and Eva exports.** The root exports gain `AI` (Eva's model settings),
|
|
196
|
+
`Application(ai=...)` turns Eva on for an application, and `@api(..., tool=True)` offers an
|
|
197
|
+
app service as a tool to Eva and MCP clients ([docs/eva.md](docs/eva.md),
|
|
198
|
+
[docs/tools.md](docs/tools.md)). These are additions; existing apps need no change.
|
|
199
|
+
- **`DevSignIn` export.** The root exports gain `DevSignIn`, which serves the one-time
|
|
200
|
+
development sign-in links of `evlet dev` and `evlet playground` ([docs/cli.md](docs/cli.md#development-sign-in-links)).
|
|
201
|
+
Never wrap an application you serve with it.
|
|
202
|
+
- **Evlet upgrades go through `evlet migrate`.** `apps.lock` and the installed manifest
|
|
203
|
+
now record the Evlet version and its last framework migration. An instance migrated
|
|
204
|
+
with another Evlet version refuses to serve and asks for `evlet migrate`, which backs
|
|
205
|
+
up the database and runs ordered, checksummed framework migrations
|
|
206
|
+
(`evlet_framework_migrations`) on the staged copy. Existing instances need one
|
|
207
|
+
`evlet migrate` after upgrading; it adopts today's startup tables with no other change
|
|
208
|
+
([docs/app-upgrades.md](docs/app-upgrades.md#upgrade-evlet)).
|
|
209
|
+
- **Field retirement, safe type changes and data steps.** `RetireField` removes a field from the
|
|
210
|
+
models and API while keeping its column and values; `DropField` deletes a retired field's column
|
|
211
|
+
only with `allow_destructive=True` (`evlet migrate --allow-destructive`, which keeps a backup).
|
|
212
|
+
`AlterField` converts Integer to Decimal, widens a decimal scale, lengthens text and adds Select
|
|
213
|
+
choices, validating every stored row in the migration transaction. `RunData(function)` runs a
|
|
214
|
+
trusted data step right after its own migration; `RunData(..., maintenance=True)` may write
|
|
215
|
+
confirmed and posted records only with `--allow-maintenance`, and each such step is audited. A
|
|
216
|
+
retired Link drops its foreign key. `--plan` suggests RetireField and AlterField
|
|
217
|
+
([docs/model-engine.md](docs/model-engine.md#retiring-and-dropping-fields)).
|
|
218
|
+
`RetireField`, `DropField`, `AlterField` and `RunData` are new root exports.
|
|
219
|
+
- **Migration plans.** `evlet migrate <instance> --plan` and `database.plan(migrations)` show the
|
|
220
|
+
pending migrations and each model, field and property that differs from the models, with a
|
|
221
|
+
suggested migration; nothing is written. `evlet makemigration <app> --instance <instance>`
|
|
222
|
+
writes that suggestion into a flat app. A mismatch error now lists the same differences.
|
|
223
|
+
`AddTable(parent, name, ChildClass)` adds a child table without hand-written owner and position
|
|
224
|
+
fields, and `CreateModel` no longer compares the Python class name ([docs/model-engine.md](docs/model-engine.md#planning-a-migration)).
|
|
225
|
+
`AddTable` and `MigrationPlan` (what `database.plan()` returns) are new root exports.
|
|
226
|
+
- **Team and hierarchy row scopes.** New root exports `Hierarchy` and `any_of`. `Hierarchy(model, parent=...)` declares a reporting tree, and
|
|
227
|
+
`Hierarchy.team(field)` is a row scope over the user's linked record and everyone below it at any
|
|
228
|
+
depth, resolved in SQL with a recursive query on SQLite and PostgreSQL. `any_of(...)` combines
|
|
229
|
+
row scopes and filter objects with OR. They apply on every surface a row scope covers
|
|
230
|
+
([docs/business-capabilities.md](docs/business-capabilities.md#team-and-hierarchy-scopes)). List pages
|
|
231
|
+
now check Link values for the whole page at once instead of per row.
|
|
232
|
+
- **Light and dark themes.** Every screen of the browser UI comes in light and dark, or
|
|
233
|
+
follows the device (`theme` in Settings, Appearance: `"light"`, `"dark"` or `"system"`, now
|
|
234
|
+
the default). The server writes the theme on `<html>` before the page paints, so nothing
|
|
235
|
+
flashes, and the sign-in page keeps the browser's last theme. The sidebar, account menu,
|
|
236
|
+
palette and Docs switch it. The config block gains `"theme"`. Components use colour tokens
|
|
237
|
+
only, and a test checks WCAG AA contrast of the token pairs in both themes
|
|
238
|
+
([docs/ui-framework.md](docs/ui-framework.md#themes)).
|
|
239
|
+
- **List filters like Frappe's.** The Filter button opens rows of field, condition and value,
|
|
240
|
+
any number of them, combined with AND. The field picker searches hundreds of fields and each
|
|
241
|
+
child table's fields; conditions follow the field type (like, in, between, timespan and more);
|
|
242
|
+
values use the form's own pickers; active filters show as chips and stay in the address
|
|
243
|
+
([docs/ui.md](docs/ui.md#filters)). Links in the old `?f={"field": value}` form still open.
|
|
244
|
+
- **Filter lists and child table filters.** `filters` also takes a list of `[field, operator, value]`
|
|
245
|
+
conditions and child groups `{"child": "prices", "match": "any" | "none", "where": [...]}`,
|
|
246
|
+
compiled to `EXISTS` / `NOT EXISTS`, in Python queries and the list, aggregate and measures
|
|
247
|
+
routes ([docs/model-engine.md](docs/model-engine.md#filter-lists-and-child-tables)). New
|
|
248
|
+
operators: `between`, `nin`, `nicontains`. Each field kind now takes only its own operators
|
|
249
|
+
(a `gt` on a Boolean or `icontains` on a number is a 422), and the schema sends them as each
|
|
250
|
+
field's `operators`; child tables in the schema say whether they are `filterable`. A query
|
|
251
|
+
takes up to 50 conditions (was 20 filters). Filtering on a field or child table the role
|
|
252
|
+
cannot read is a 403, the same as an unknown one.
|
|
253
|
+
- **Pickers.** Select fields, and every select on the Settings and Controls pages, open Evlet's own list (current choice ticked, search for long
|
|
254
|
+
lists, Clear for optional fields) instead of the browser's menu. Date, date-time, time and
|
|
255
|
+
duration fields keep their typed input and add a calendar or steppers. List pages filter
|
|
256
|
+
date fields by range, with presets.
|
|
257
|
+
- **Typed dates and times** are read the forgiving way: `120627`, `1/6/27`, `1206`, `today`,
|
|
258
|
+
`+3`, `935`, `12.35pm`, `9am`, `120627 1235`, `90m`, in the day, month and year order of the
|
|
259
|
+
person's date format. Impossible dates are refused, never guessed ([docs/ui-framework.md](docs/ui-framework.md#typing-dates-and-times)).
|
|
260
|
+
- **Durations** also take `1.30` and `1:30:20` (hours, minutes, seconds), decimal units such as
|
|
261
|
+
`1.5h` or `1.5m`, and words such as `1 hr 30 mins`. A dot without a unit needs two minute digits,
|
|
262
|
+
so `1.5` is refused.
|
|
263
|
+
- **Playground items.** A new Item model has about 200 fields and two child tables (prices,
|
|
264
|
+
barcodes), to try filters at scale. Run `.venv/bin/python -m examples.playground.migrate` (migration `0005_items`) on an
|
|
265
|
+
existing Playground database.
|
|
266
|
+
- **Playground invoice numbers.** New Playground invoices are named by a naming series,
|
|
267
|
+
`INV-{YYYY}-{#####}` dated by the posting date (`INV-2026-00001`), in a new `number` field
|
|
268
|
+
(migration `0006_invoice_number`; run `python -m examples.playground.migrate`). `reference` is now
|
|
269
|
+
labelled Customer reference. `/api/schema` marks a naming series field with `naming: {"field": ...}`
|
|
270
|
+
and the placeholder `Assigned on save`, and the New screen shows that field read only
|
|
271
|
+
([docs/sequences.md](docs/sequences.md#naming-series)).
|
|
272
|
+
|
|
273
|
+
### Changed
|
|
274
|
+
|
|
275
|
+
- **Changed default: a State shows as a header badge, not a stage bar.** `State(..., show=...)`
|
|
276
|
+
takes `"badge"` (the new default: a coloured status badge in the record header, with the moves
|
|
277
|
+
as header buttons), `"bar"` (the stage bar, as before, for pipelines such as draft, submitted,
|
|
278
|
+
approved) or `"none"`. What to change: add `show="bar"` to a State that is a real pipeline
|
|
279
|
+
to keep the bar. The schema's `state` entry adds `show`. The badge and the bar now offer only
|
|
280
|
+
the moves this person may take now; states only the system reaches, and moves for other roles or
|
|
281
|
+
whose condition is not met, are plain text. `_moves` now also blocks every move on a
|
|
282
|
+
`Meta.api = "read"` model (`You cannot change this record`) and on a record in a closed period
|
|
283
|
+
(`This record is in a closed period`). The testCRM deal and the amendment quote declare
|
|
284
|
+
`show="bar"` ([docs/states-actions.md](docs/states-actions.md#how-a-state-and-a-status-show)).
|
|
285
|
+
- **Breaking: record ids are text.** New records get a 63-bit, time-ordered id (milliseconds since
|
|
286
|
+
01-01-2026 and 21 random bits), stored as before in the `INTEGER` primary key. Outside the
|
|
287
|
+
database an id is always 13 lowercase Crockford base32 characters, such as `01hc1sd9vc1ye`: JSON
|
|
288
|
+
bodies, Link values, `{"model", "id"}` References, row ids, the journal, events, Slips' `source`,
|
|
289
|
+
Eva and MCP tool arguments, and URLs (`/api/invoice/01hc1sd9vc1ye`, `/app/invoice/01hc1sd9vc1ye`).
|
|
290
|
+
Ids are never JSON numbers, because a browser cannot hold 63 bits in a number. Existing rows keep
|
|
291
|
+
their ids (42 shows as `000000000001a`); nothing is rewritten.
|
|
292
|
+
What to change: clients read ids as strings and build URLs from them. A decimal id in an API path
|
|
293
|
+
is now a 404 (the browser turns an old `/app/invoice/42` bookmark into the text id). Writes still
|
|
294
|
+
take a JSON integer for a Link or a row id. In Python, `record.id` and Link values are
|
|
295
|
+
`RecordId` (a new root export), an `int` whose `str()` is the text id; `Database.get` takes either
|
|
296
|
+
form, and services and actions may take `RecordId` arguments
|
|
297
|
+
([docs/model-engine.md](docs/model-engine.md#record-ids)).
|
|
298
|
+
- **Breaking: every record has a standard name and title.** Record models (not Table rows) gain
|
|
299
|
+
two framework columns next to `id`. `name` is the human identifier, unique per model, filled by
|
|
300
|
+
`Meta.naming`: a naming series (which now fills `name` by default), the model's
|
|
301
|
+
`autoname(self, context)` method (`Naming()`), or people typing it (`Naming(manual=True)`), on
|
|
302
|
+
create, on confirm (`assign_on="confirm"`, gap-free numbers for confirmable documents) or on
|
|
303
|
+
entering a state. Once assigned, people who may write the field can change it with a normal
|
|
304
|
+
edit; Links point to the id, so nothing else changes. `title` is the display text Link pickers,
|
|
305
|
+
lists, search and Eva show: a declared `title` field, or kept in sync from `Meta.title_field` or a
|
|
306
|
+
`Meta.title = "{first_name} {last_name}"` template, falling back to the name, then the text id.
|
|
307
|
+
Record pages show the title as the heading and the name in mono next to it
|
|
308
|
+
([docs/model-engine.md](docs/model-engine.md#name-and-title)).
|
|
309
|
+
What to change: an `Application` refuses a model that declares its own `name` field; rename it in
|
|
310
|
+
an app migration, such as `RenameField('customer', 'name', 'customer_name')`, and point
|
|
311
|
+
`Meta.title_field` at it (or rename it to `title`). Then run `evlet migrate`: framework migration
|
|
312
|
+
`0003_record_names` adds the columns to existing tables and fills every title. API responses and
|
|
313
|
+
the schema now include `name` and `title`; the schema's `title_field` is `title`.
|
|
314
|
+
The Playground's `Customer.name` is now `customer_name`, `Employee.name` is `full_name`, `Project.name` is `title`, and invoice
|
|
315
|
+
numbers moved from `number` into `name` (migration `0008_record_names`).
|
|
316
|
+
- **Link filters that read another field follow it in the form.** For a Link such as
|
|
317
|
+
`branch = Link(Branch, filters={"company": Ref("company")})`, the picker now lists only records
|
|
318
|
+
that fit the form's current, unsaved values (before, it ignored `filters`), and asks for an empty
|
|
319
|
+
referenced field first. Changing a field checks every Link whose filters read it, on the same row
|
|
320
|
+
and on Table rows through `Ref("parent.<field>")`: a value that still fits stays, one that no
|
|
321
|
+
longer fits is cleared with a note such as "Cleared because Company changed", and chains clear
|
|
322
|
+
together. The field error is plainer: "Port office is not in Summit Services." with one filter
|
|
323
|
+
and readable titles, "Choose Company first." for an empty referenced field, and otherwise "This
|
|
324
|
+
Branch doesn't fit the other values on this form." It never shows a title the role cannot read.
|
|
325
|
+
What to change: code or tests that match the old text "The selected record does not match the
|
|
326
|
+
current filters" match the new messages; the error stays a field error with status 422. The
|
|
327
|
+
schema sends `behavior.<field>.filters` for models with no other rules too. The Playground's
|
|
328
|
+
Invoice has a Project limited to the customer's projects (migration `0010_invoice_project`)
|
|
329
|
+
([docs/business-capabilities.md](docs/business-capabilities.md#link-filters), [docs/ui.md](docs/ui.md#link-filters)).
|
|
330
|
+
- **Columns menu with drag and a pinned range.** Child tables and reports share one Columns menu:
|
|
331
|
+
drag a grip (mouse, touch, or Space and the arrow keys) to reorder, and drag columns above a
|
|
332
|
+
divider, or use the pin button, to pin any number of them on the left. `TablePrefs` gains an
|
|
333
|
+
optional `pinned` count; prefs saved without it keep the first column pinned. The up and down
|
|
334
|
+
arrow buttons are gone. Its dragging uses the shared `dragList`, as the form layout editor does. A child table's Focus view keeps a compact record header (mark, type,
|
|
335
|
+
title, number, Back to form) above the table and the save bar below it (the `heading` option of `ChildTable`).
|
|
336
|
+
- **Where a Currency field's code comes from.** `Currency(currency=...)` also takes
|
|
337
|
+
`"link.field"` (a field of a linked record) and `"settings.app.key"` (an app setting). In
|
|
338
|
+
`/api/schema`, `currency` now only ever holds a code; a field on the record (`"code_field"`)
|
|
339
|
+
is sent as `currency_source: {"field": "code_field"}` instead of `currency: "code_field"`.
|
|
340
|
+
A client that read the field name from `currency` should read `currency_source`.
|
|
341
|
+
- **Account links are audited.** `LocalAuth.link_user` and `unlink_user` take an `actor` and write
|
|
342
|
+
each change to the Controls audit log (area Users); `evlet link-user` records `cli`.
|
|
343
|
+
- **Form fields** are 40 px tall with a soft focus ring, a 14 px label and a blue required
|
|
344
|
+
mark. `help_text` now shows under the input (an error takes its place). The new
|
|
345
|
+
`tooltip=` field option puts its text behind a ? icon at the end of the input; Controls can
|
|
346
|
+
change it and exports it.
|
|
347
|
+
- Integer and Decimal fields show their `suffix` after the value at rest too (`5.00%`).
|
|
348
|
+
- **Compact Related block on the record page.** The side panel lists each related model as a
|
|
349
|
+
36px row: icon, name, count and chevron, as real links. Relations with records come first, most
|
|
350
|
+
records first. Those with none fold into one line, "No records: ...", and each name still opens
|
|
351
|
+
the Related tab. Five rows show at first and "Show all" expands the rest; the choice is kept per
|
|
352
|
+
user and model. The count no longer runs into the name.
|
|
353
|
+
- **Offline docs show user guides only.** Handoff plans, the model engine ledger,
|
|
354
|
+
milestone notes, the specification and the testCRM notes moved to `docs/internal/`.
|
|
355
|
+
They are no longer in the wheel or shown by `evlet docs`. The contributor guide moved
|
|
356
|
+
to `CONTRIBUTING.md`.
|
|
357
|
+
- **Smaller source distribution.** The sdist no longer carries tests, scripts, lock
|
|
358
|
+
files, internal docs or the browser test fixtures. It keeps what building and
|
|
359
|
+
installing Evlet needs, including the browser interface source.
|
|
360
|
+
- **Version 0.3.0.** Generated apps and the examples require `evlet>=0.3.0,<0.4`. Apps that
|
|
361
|
+
declare `evlet>=0.2.0,<0.3` must widen the range to install with 0.3.0.
|
|
362
|
+
|
|
363
|
+
### Fixed
|
|
364
|
+
|
|
365
|
+
- **Focus in the editable child table.** Clicking a cell focuses it while another cell is
|
|
366
|
+
being edited, with one active cell at a time (a cell that can't be committed keeps the focus,
|
|
367
|
+
and an unchanged cell never blocks). Tab and Shift Tab reach every editable cell from a cell in
|
|
368
|
+
navigation mode too, then go on to Add row. A choice from a dropdown or Link search returns the
|
|
369
|
+
focus to its cell, so Tab and Enter continue as the footer says.
|
|
370
|
+
- **Letter avatars and record tiles are centred again.** A record page's meta row styled
|
|
371
|
+
every nested `span`, which turned the avatar and the rounded-square tile there into flex boxes
|
|
372
|
+
with the letter off-centre. The rule now reaches only the row's own items, and `.avatar` and
|
|
373
|
+
`.org-mark` set `line-height:1`.
|
|
374
|
+
- The Link field's record mark no longer stretches across the input.
|
|
375
|
+
- **Unreadable dates, times and durations keep the field's value** on blur or Enter and say what
|
|
376
|
+
was typed ("Couldn't read 1.62 as a duration"). The API keeps accepting only the stored forms.
|
|
377
|
+
- The record state bar no longer stacks vertically: the time picker's spinner had reused its `.stepper` class and now uses `.time-stepper`.
|
|
378
|
+
|
|
379
|
+
## 0.2.0 (02-11-2026)
|
|
380
|
+
|
|
381
|
+
This release replaces the browser interface with Evlet's own UI framework, adds the
|
|
382
|
+
model engine, and adds Controls and Settings for administrators. It covers #30 to #63.
|
|
383
|
+
|
|
384
|
+
### Upgrading from 0.1.2
|
|
385
|
+
|
|
386
|
+
- **Apps must allow Evlet 0.2.** Apps declaring `evlet>=0.1.2,<0.2` refuse to load on
|
|
387
|
+
0.2.0. Change the dependency to `evlet>=0.2.0,<0.3`. New apps get this by default.
|
|
388
|
+
- **SolidJS is gone.** The browser interface is Evlet's own UI framework
|
|
389
|
+
(`frontend/src/evlet/`). The Vue harness, the Projects demo and the Python page renderer
|
|
390
|
+
were removed from it. Python pages, native panels, report screens and form dialogs keep
|
|
391
|
+
their Python APIs, routes and tests but are not shown in the browser
|
|
392
|
+
([docs/ui.md](docs/ui.md#not-rendered-by-this-interface)).
|
|
393
|
+
- **Security defaults changed.** Sessions last 12 hours (was 8) and sign-in locks after 5
|
|
394
|
+
failures (was 10). Set `security = Security(session_hours=..., lockout=...)` in an
|
|
395
|
+
instance's `config.py` to choose other starting values. Saved settings looser than the
|
|
396
|
+
new values are clamped.
|
|
397
|
+
- **Two-step sign-in is enforced.** People in a role that requires two-step set it up at
|
|
398
|
+
their next sign-in and can't use the app until they do. Admins should sign in right
|
|
399
|
+
after upgrading. `evlet users reset-two-step` resets it from the shell.
|
|
400
|
+
- **New core dependency: `cryptography`.** It encrypts connector secrets, mailbox
|
|
401
|
+
sign-ins and two-step secrets (AES-GCM). It installs automatically with Evlet.
|
|
402
|
+
- **Proxies must be listed.** `X-Forwarded-For` is only trusted from addresses in
|
|
403
|
+
`Instance(trusted_proxies=...)`. Behind a reverse proxy, add it, or every visitor looks
|
|
404
|
+
like the proxy. Controls warns when it sees forwarded headers from an unlisted proxy.
|
|
405
|
+
- **Run `evlet migrate`** for each instance after upgrading. Migrations never run from
|
|
406
|
+
the browser.
|
|
407
|
+
|
|
408
|
+
### Model engine
|
|
409
|
+
|
|
410
|
+
- Expressions: automatic rounding to the target field, dates (`today()`, `days()`, date
|
|
411
|
+
arithmetic), Link hops, `when(cond, a, b)`, with a TypeScript mirror in the browser.
|
|
412
|
+
- Rules: `initial`, `applies_when`, `required_when`, `locked_when`, `Recompute`
|
|
413
|
+
migrations, and new field types (Phone, Percent, Time, Duration, Tags, Ref).
|
|
414
|
+
- Child tables (`Table`) with row limits, paging and batched loading, tested at 1,000 rows.
|
|
415
|
+
- States and moves: `State`, `Move`, locked and final states, asked values, `available_when`.
|
|
416
|
+
- Corrections: `void`, `revise`, and admin-only `unpost` and `repost` of posted documents.
|
|
417
|
+
Unpost keeps the document number and cancels what was posted with reversing entries. A
|
|
418
|
+
record that has ever posted can't be deleted.
|
|
419
|
+
- Effects: posting rows with `Effect`, `Swap` and `Negate`, balance checks and
|
|
420
|
+
`evlet effects check`.
|
|
421
|
+
- Sequences: gapless numbering with period resets and scopes.
|
|
422
|
+
- Journal: an append-only record history with a hash chain and `journal verify`.
|
|
423
|
+
- Measures: totals and counts declared on models, served by one aggregate API.
|
|
424
|
+
- Meaning: `key_fields`, `relations`, `Meta.attachments` and `view_for`.
|
|
425
|
+
- Posted records are never recalculated by `Recompute` unless an admin runs
|
|
426
|
+
`evlet migrate <instance> --recompute-posted`. Void records are always skipped.
|
|
427
|
+
|
|
428
|
+
### Browser interface
|
|
429
|
+
|
|
430
|
+
- Evlet's own UI framework: fine-grained reactivity, no virtual DOM, no runtime
|
|
431
|
+
dependencies.
|
|
432
|
+
- A component library, and generated screens for every model: lists, boards, record
|
|
433
|
+
pages, child tables, a command palette, actions and the journal.
|
|
434
|
+
- Login, Docs, the account menu and personal settings.
|
|
435
|
+
- Fonts are bundled under the OFL. The dark theme is hidden for now.
|
|
436
|
+
- testCRM (`examples/testcrm`), a CRM written as `models.py` only, used as the working
|
|
437
|
+
example and end-to-end test.
|
|
438
|
+
|
|
439
|
+
### Routing and hosts
|
|
440
|
+
|
|
441
|
+
- A route table with reserved paths, `routes.py` and `evlet routes`.
|
|
442
|
+
- Sub-hosts, sign-in realms (desk, portal, public) and their cookies, API scopes, static
|
|
443
|
+
and server frontends, and a customer portal through `evlet_user_links`.
|
|
444
|
+
- `evlet proxy` generates reverse-proxy configuration.
|
|
445
|
+
|
|
446
|
+
### Controls (administrators)
|
|
447
|
+
|
|
448
|
+
- Users, roles, permission overrides, an append-only audit log and a config version.
|
|
449
|
+
- Fields added from Controls (`x_` fields) are visible to every staff role by default.
|
|
450
|
+
Portal roles see them only when an admin grants them.
|
|
451
|
+
- Naming series over the gapless sequence counters.
|
|
452
|
+
- Apps, routing, jobs and audit pages, and export of overrides as code.
|
|
453
|
+
- Opening Controls can be given to a role without making it admin. Only admins grant admin.
|
|
454
|
+
- An override that no longer validates denies access and is listed under Needs attention.
|
|
455
|
+
- Any change in Controls asks for a two-step code, valid for 10 minutes on that session.
|
|
456
|
+
|
|
457
|
+
### Settings and security
|
|
458
|
+
|
|
459
|
+
- Two-step sign-in (TOTP) with backup codes, checked per session.
|
|
460
|
+
- Sensitive personal settings ask for a two-step code, or the password when two-step is off.
|
|
461
|
+
- Ending access goes through one function. A password change and "Sign out everywhere"
|
|
462
|
+
ask whether to also revoke API keys. A two-step reset, deactivation and break-glass
|
|
463
|
+
always revoke them.
|
|
464
|
+
|
|
465
|
+
### Connectors and integrations
|
|
466
|
+
|
|
467
|
+
- Connectors with encrypted secrets, email accounts and personal API keys.
|
|
468
|
+
- Remote MCP for AI assistants, with OAuth 2.1 and PKCE.
|
|
469
|
+
- Personal mailboxes that link messages to records for models that opt in with
|
|
470
|
+
`Meta.mail`.
|
|
471
|
+
|
|
472
|
+
### Fixes
|
|
473
|
+
|
|
474
|
+
- A dropped IMAP connection during sign-in no longer deletes the saved mailbox sign-in.
|
|
475
|
+
- The PostgreSQL CI job runs every test file that has PostgreSQL variants.
|
|
476
|
+
- Deleting a parent with more than 100 legacy child rows no longer fails.
|
|
477
|
+
|
|
478
|
+
## 0.1.2
|
|
479
|
+
|
|
480
|
+
Merged UI and CLI release. See the `archive/release-pypi-0.1.2` tag.
|
evlet-0.3.0/MANIFEST.in
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
include README.md CHANGELOG.md build_support.py
|
|
2
|
+
include docs/*.md
|
|
3
|
+
include examples/playground/*.py
|
|
4
|
+
recursive-include examples/playground/portal *.html *.css *.js
|
|
5
|
+
include frontend/package.json frontend/package-lock.json frontend/index.html frontend/vite.config.js
|
|
6
|
+
include frontend/.node-version frontend/.npmrc frontend/tsconfig.json
|
|
7
|
+
recursive-include frontend/src *.ts *.css *.json
|
|
8
|
+
prune frontend/src/evlet/tests
|
|
9
|
+
recursive-include frontend/scripts *.mjs
|
|
10
|
+
recursive-include frontend/public *.svg
|
|
11
|
+
recursive-include frontend/fonts *.woff2 *.txt
|
|
12
|
+
recursive-include evlet/ui/static *.html *.js *.css *.svg *.woff2 *-OFL.txt
|
|
13
|
+
recursive-include evlet *.pyi py.typed
|
|
14
|
+
recursive-include evlet/resources *.tpl *.woff2 *-OFL.txt
|
|
15
|
+
prune tests
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: evlet
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: A small Python application framework with SQLite and a neutral UI schema
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Homepage, https://github.com/evlet-io/evlet
|
|
@@ -17,6 +17,9 @@ Requires-Dist: psycopg[binary]<4,>=3.3.6; extra == "postgres"
|
|
|
17
17
|
Requires-Dist: psycopg-pool<4,>=3.3.3; extra == "postgres"
|
|
18
18
|
Provides-Extra: s3
|
|
19
19
|
Requires-Dist: boto3<2,>=1.43.119; extra == "s3"
|
|
20
|
+
Provides-Extra: print
|
|
21
|
+
Requires-Dist: weasyprint<71,>=70; extra == "print"
|
|
22
|
+
Requires-Dist: jinja2<4,>=3.1; extra == "print"
|
|
20
23
|
Provides-Extra: dev
|
|
21
24
|
Requires-Dist: pytest<10,>=8; extra == "dev"
|
|
22
25
|
Requires-Dist: uvicorn<1,>=0.34; extra == "dev"
|
|
@@ -83,10 +86,14 @@ For virtual environment setup and each step explained, read
|
|
|
83
86
|
- [Model engine](docs/model-engine.md) and [business capabilities](docs/business-capabilities.md):
|
|
84
87
|
database queries, accounts, child rows, actions and private attachments.
|
|
85
88
|
- [UI guide](docs/ui.md): the browser interface, its routes and the Python page API.
|
|
89
|
+
- [Reports](docs/reports.md): filters, typed rows, totals, a chart, CSV export and print, in the browser and for Eva.
|
|
90
|
+
- [Slips](docs/slips.md): forms presented from code that save nothing until handed in.
|
|
86
91
|
- [Routing](docs/routing.md): frontends, reserved paths, `routes.py` and `evlet routes`.
|
|
92
|
+
- [API stability](docs/api-stability.md): the names apps can rely on, deprecations and what is internal.
|
|
87
93
|
- [UI framework](docs/ui-framework.md): Evlet's own browser framework and components.
|
|
88
94
|
|
|
89
|
-
`evlet dev --instance acme` reloads Python changes while you work.
|
|
95
|
+
`evlet dev --instance acme` reloads Python changes while you work. At startup it
|
|
96
|
+
prints a one-time sign-in link, so you can skip the sign-in form. Stop the server
|
|
90
97
|
and run `evlet migrate acme` when a model change needs a migration.
|
|
91
98
|
|
|
92
99
|
## Explore without a project
|
|
@@ -99,20 +106,37 @@ evlet docs
|
|
|
99
106
|
The Playground uses temporary demo data. Use an instance for records you want to keep. Offline documentation
|
|
100
107
|
opens at **http://127.0.0.1:8001**.
|
|
101
108
|
|
|
109
|
+
`evlet playground` prints a sign-in link when it starts:
|
|
110
|
+
|
|
111
|
+
```text
|
|
112
|
+
Sign in as demo-admin (works once, for 10 minutes):
|
|
113
|
+
http://127.0.0.1:8000/_dev/signin?token=...
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Open it to sign straight in. On an instance with no accounts, `evlet dev` first creates an
|
|
117
|
+
admin named `admin` (`--user NAME` picks another name) with a random password that is never
|
|
118
|
+
shown; on an empty Playground it is `demo-admin`. Set a real password later with
|
|
119
|
+
`evlet users set-password`. Run
|
|
120
|
+
`evlet dev-link` in another terminal for a fresh link once the first one is used or
|
|
121
|
+
expired. Use `--user NAME` to sign in as someone else, or `--no-link` to skip the
|
|
122
|
+
link. Links exist only under `evlet playground` and `evlet dev`, never under
|
|
123
|
+
`evlet serve`; see [development sign-in links](docs/cli.md#development-sign-in-links).
|
|
124
|
+
|
|
102
125
|
## Optional capabilities
|
|
103
126
|
|
|
104
|
-
PostgreSQL and
|
|
127
|
+
PostgreSQL, S3 and PDF printing are available as `evlet[postgres]`, `evlet[s3]` and
|
|
128
|
+
`evlet[print]` ([print designs](docs/printing.md)). The existing
|
|
105
129
|
[tenant deployment](docs/tenancy-deployment.md), [jobs and live updates](docs/jobs-realtime.md),
|
|
106
|
-
[connector](docs/connector.md), [PostgreSQL](docs/postgresql.md) and
|
|
130
|
+
[connector](docs/connector.md), [Tool Engine](docs/tools.md), [Eva](docs/eva.md), [PostgreSQL](docs/postgresql.md) and
|
|
107
131
|
[operations](docs/production-operations.md) guides describe their limits.
|
|
108
132
|
No database server, Redis, Docker or worker is required for a local SQLite app.
|
|
109
133
|
|
|
110
134
|
## Work on Evlet itself
|
|
111
135
|
|
|
112
|
-
See [the contributor guide](
|
|
113
|
-
builds and package checks. [Milestone notes](docs/milestones.md) record the
|
|
136
|
+
See [the contributor guide](CONTRIBUTING.md) for a source checkout, frontend
|
|
137
|
+
builds and package checks. [Milestone notes](docs/internal/milestones.md) record the
|
|
114
138
|
completed backend work. Development builds use a `.dev0` version so they can be
|
|
115
|
-
distinguished from published packages. This
|
|
139
|
+
distinguished from published packages. This branch contains unreleased fixes.
|
|
116
140
|
|
|
117
141
|
## License
|
|
118
142
|
|
|
@@ -57,10 +57,14 @@ For virtual environment setup and each step explained, read
|
|
|
57
57
|
- [Model engine](docs/model-engine.md) and [business capabilities](docs/business-capabilities.md):
|
|
58
58
|
database queries, accounts, child rows, actions and private attachments.
|
|
59
59
|
- [UI guide](docs/ui.md): the browser interface, its routes and the Python page API.
|
|
60
|
+
- [Reports](docs/reports.md): filters, typed rows, totals, a chart, CSV export and print, in the browser and for Eva.
|
|
61
|
+
- [Slips](docs/slips.md): forms presented from code that save nothing until handed in.
|
|
60
62
|
- [Routing](docs/routing.md): frontends, reserved paths, `routes.py` and `evlet routes`.
|
|
63
|
+
- [API stability](docs/api-stability.md): the names apps can rely on, deprecations and what is internal.
|
|
61
64
|
- [UI framework](docs/ui-framework.md): Evlet's own browser framework and components.
|
|
62
65
|
|
|
63
|
-
`evlet dev --instance acme` reloads Python changes while you work.
|
|
66
|
+
`evlet dev --instance acme` reloads Python changes while you work. At startup it
|
|
67
|
+
prints a one-time sign-in link, so you can skip the sign-in form. Stop the server
|
|
64
68
|
and run `evlet migrate acme` when a model change needs a migration.
|
|
65
69
|
|
|
66
70
|
## Explore without a project
|
|
@@ -73,20 +77,37 @@ evlet docs
|
|
|
73
77
|
The Playground uses temporary demo data. Use an instance for records you want to keep. Offline documentation
|
|
74
78
|
opens at **http://127.0.0.1:8001**.
|
|
75
79
|
|
|
80
|
+
`evlet playground` prints a sign-in link when it starts:
|
|
81
|
+
|
|
82
|
+
```text
|
|
83
|
+
Sign in as demo-admin (works once, for 10 minutes):
|
|
84
|
+
http://127.0.0.1:8000/_dev/signin?token=...
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Open it to sign straight in. On an instance with no accounts, `evlet dev` first creates an
|
|
88
|
+
admin named `admin` (`--user NAME` picks another name) with a random password that is never
|
|
89
|
+
shown; on an empty Playground it is `demo-admin`. Set a real password later with
|
|
90
|
+
`evlet users set-password`. Run
|
|
91
|
+
`evlet dev-link` in another terminal for a fresh link once the first one is used or
|
|
92
|
+
expired. Use `--user NAME` to sign in as someone else, or `--no-link` to skip the
|
|
93
|
+
link. Links exist only under `evlet playground` and `evlet dev`, never under
|
|
94
|
+
`evlet serve`; see [development sign-in links](docs/cli.md#development-sign-in-links).
|
|
95
|
+
|
|
76
96
|
## Optional capabilities
|
|
77
97
|
|
|
78
|
-
PostgreSQL and
|
|
98
|
+
PostgreSQL, S3 and PDF printing are available as `evlet[postgres]`, `evlet[s3]` and
|
|
99
|
+
`evlet[print]` ([print designs](docs/printing.md)). The existing
|
|
79
100
|
[tenant deployment](docs/tenancy-deployment.md), [jobs and live updates](docs/jobs-realtime.md),
|
|
80
|
-
[connector](docs/connector.md), [PostgreSQL](docs/postgresql.md) and
|
|
101
|
+
[connector](docs/connector.md), [Tool Engine](docs/tools.md), [Eva](docs/eva.md), [PostgreSQL](docs/postgresql.md) and
|
|
81
102
|
[operations](docs/production-operations.md) guides describe their limits.
|
|
82
103
|
No database server, Redis, Docker or worker is required for a local SQLite app.
|
|
83
104
|
|
|
84
105
|
## Work on Evlet itself
|
|
85
106
|
|
|
86
|
-
See [the contributor guide](
|
|
87
|
-
builds and package checks. [Milestone notes](docs/milestones.md) record the
|
|
107
|
+
See [the contributor guide](CONTRIBUTING.md) for a source checkout, frontend
|
|
108
|
+
builds and package checks. [Milestone notes](docs/internal/milestones.md) record the
|
|
88
109
|
completed backend work. Development builds use a `.dev0` version so they can be
|
|
89
|
-
distinguished from published packages. This
|
|
110
|
+
distinguished from published packages. This branch contains unreleased fixes.
|
|
90
111
|
|
|
91
112
|
## License
|
|
92
113
|
|