stkit 17.8.0__tar.gz → 17.9.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.
- {stkit-17.8.0 → stkit-17.9.0}/CHANGELOG.md +9 -0
- {stkit-17.8.0 → stkit-17.9.0}/PKG-INFO +1 -1
- {stkit-17.8.0 → stkit-17.9.0}/pyproject.toml +1 -1
- {stkit-17.8.0 → stkit-17.9.0}/stk/cli/doctor.py +42 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/cli/smoke.py +10 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/js/components/index.js +4 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/js/config.js +4 -0
- stkit-17.9.0/stk/templates/_head.html +3 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/auth_layout.html +1 -2
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/layout.html +1 -2
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/login-layout.html +1 -2
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_branding.py +6 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_composition.py +11 -0
- stkit-17.8.0/stk/templates/_head.html +0 -1
- {stkit-17.8.0 → stkit-17.9.0}/.gitignore +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/LICENSE +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/README.md +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/SECURITY.md +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/examples/minimal/.env-sample +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/examples/minimal/.gitignore +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/examples/minimal/README.md +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/examples/minimal/minimal/__init__.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/examples/minimal/minimal/app.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/examples/minimal/minimal/migrations/364232ae77d5_add_note.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/examples/minimal/minimal/note/__init__.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/examples/minimal/minimal/note/models.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/examples/minimal/minimal/note/templates/note/index.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/examples/minimal/minimal/note/views.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/examples/minimal/minimal/settings.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/examples/minimal/minimal/templates/layout.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/examples/minimal/pyproject.toml +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/examples/minimal/tests/__init__.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/examples/minimal/tests/test_app.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/examples/minimal/uv.lock +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/__init__.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/__main__.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/agent_login.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/app.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/checks.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/cli/__init__.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/cli/agent.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/cli/base.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/cli/copy_rules.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/cli/database.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/cli/develop.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/cli/main.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/cli/reports.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/cli/users.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/cli/watch.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/extensions.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/files/__init__.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/files/models.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/files/store.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/files/views.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/mcp/__init__.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/mcp/models.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/mcp/server.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/mcp/views.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/migrations/__init__.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/migrations/env.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/migrations/script.py.mako +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/migrations/versions/stk_0001_initial_schema.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/migrations/versions/stk_0002_jobs.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/migrations/versions/stk_0003_files.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/migrations/versions/stk_0004_notifications.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/migrations/versions/stk_0005_mcp_tokens.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/migrations/versions/stk_0006_stk_mcp_token.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/migrations/versions/stk_0007_confirm_existing_users.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/migrations/versions/stk_0008_stk_message.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/notification/__init__.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/notification/models.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/notification/views.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/portal/views.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/public/__init__.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/public/models.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/public/views.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/__init__.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/CLAUDE.md +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/Dockerfile +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/README.md +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/__app__/__init__.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/__app__/app.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/__app__/settings.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/claude/skills/stk-api/SKILL.md +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/claude/skills/stk-blueprint/SKILL.md +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/claude/skills/stk-deploy/SKILL.md +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/claude/skills/stk-lessons/SKILL.md +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/claude/skills/stk-migrate/SKILL.md +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/docker-compose.yml +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/dockerignore +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/env-sample +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/github/workflows/checks.yml +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/gitignore +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/nginx/nginx.conf +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/nginx/stk.conf +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/postgres/init-db.sh +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/pyproject.toml +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/tests/__init__.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/app/tests/test_app.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/generator.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/scaffold/templates.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/security.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/settings.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/shell.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/VERSIONS.txt +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/css/app.css +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/css/layout.css +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/css/vuetify.min.css +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.animals.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.arrows-1.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.arrows-2.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.badges.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.brand-1.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.brand-2.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.buildings.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.charts.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.communication.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.computers.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.core.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.currencies.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.database.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.design-1.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.design-2.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.development.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.devices-1.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.devices-2.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.document.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.e-commerce.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.electrical.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.extensions.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.food.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.games.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.gender.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.gestures.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.health.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.laundry.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.letters.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.logic.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.map.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.math.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.media.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.mood.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.nature.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.numbers.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.photography.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.shapes.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.sport.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.symbols.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.system-1.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.system-2.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.system-3.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.text.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.vehicles.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.version-control.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.weather.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/fonts/tabler-icons.zodiac.woff2 +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/icons/tabler-icons.min.css +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/img/auth-bg.webp +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/img/favicon.ico +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/img/stk.svg +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/js/axios.min.js +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/js/components/NotificationDropdown.js +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/js/components/ThemeSwitcher.js +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/js/components/TransitionExpand.js +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/js/components/VerticalNavGroup.js +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/js/components/VerticalNavLink.js +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/js/components/VerticalNavSectionTitle.js +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/js/vue.min.js +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/js/vuetify.min.js +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/static/robots.txt +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/tasks/__init__.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/tasks/models.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/401.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/404.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/500.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/_brand.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/cms/activities.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/cms/jobs.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/cms/roles.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/cms/users.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/dashboard.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/index.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/mcp/tokens.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/_macros.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/_messages.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/change_password.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/confirm_email.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/email/change_notice.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/email/change_notice.txt +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/email/confirmation_instructions.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/email/confirmation_instructions.txt +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/email/login_instructions.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/email/login_instructions.txt +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/email/reset_instructions.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/email/reset_instructions.txt +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/email/reset_notice.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/email/reset_notice.txt +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/email/welcome.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/email/welcome.txt +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/forgot_password.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/login_user.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/mf_recovery.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/mf_recovery_codes.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/register_user.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/reset_password.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/send_confirmation.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/send_login.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/two_factor_select.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/two_factor_setup.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/two_factor_verify_code.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/wan_register.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/wan_signin.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/templates/security/wan_verify.html +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/user/__init__.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/user/forms.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/user/models.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/user/views.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/utils/email.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/utils/netguard.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/utils/ratelimit.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/stk/websocket.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_agent_operability.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_app_index.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_builder_ux.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_cli.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_confirm_migration.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_copy_rules.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_csrf_exempt.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_error_handler.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_files.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_jobs.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_mcp.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_mcp_migration.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_migration_drift.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_model_names.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_netguard.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_notifications.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_production_security.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_revision_imports.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_route_collisions.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_scaffolder.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_security_compatibility.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_shell.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_smoke_pages.py +0 -0
- {stkit-17.8.0 → stkit-17.9.0}/tests/test_static_versioning.py +0 -0
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v17.9.0 (2026-11-04)
|
|
4
|
+
|
|
5
|
+
No migration required. Apps with their own `_head.html` must add their favicon link to it.
|
|
6
|
+
|
|
7
|
+
- `configureApp(config)` and `registerAppComponents(app)`: functions an app defines in a script from `_head.html` to change the Vuetify config and add global components, instead of copying `config.js` or `components/index.js`. A copied `index.js` silently dropped 17.8.0's `dark-mode` mirror in one app.
|
|
8
|
+
- `stk doctor` warns about every app template or static file that replaces a stk file whole, since a copy stops receiving stk's fixes. Templates that extend `stk/<name>`, `_brand.html`, `_head.html`, `index.html`, `dashboard.html` and images pass.
|
|
9
|
+
- `stk smoke` runs the signed-in pages again in the dark theme (`dashboard dark`, `dashboard-dark.png`) with the same checks except copy, so a page that breaks only at night fails.
|
|
10
|
+
- The meta description is `APP_DESCRIPTION` (none when empty), not stk's tagline, and the favicon link moved into `_head.html`, so an app's own `_head.html` owns its favicon in any format.
|
|
11
|
+
|
|
3
12
|
## v17.8.0 (2026-11-04)
|
|
4
13
|
|
|
5
14
|
No migration required.
|
|
@@ -15,6 +15,7 @@ from stk.cli.base import app_spec, cli_app, project_root, run_async
|
|
|
15
15
|
from stk.migrations import build_alembic_config, sync_url
|
|
16
16
|
|
|
17
17
|
CORE_STATIC = Path(stk.__file__).parent / "static"
|
|
18
|
+
CORE_TEMPLATES = Path(stk.__file__).parent / "templates"
|
|
18
19
|
|
|
19
20
|
OK = "ok"
|
|
20
21
|
WARN = "warn"
|
|
@@ -240,6 +241,46 @@ def _check_repl():
|
|
|
240
241
|
return _finding("shell", OK, "ptpython: highlighting and completion")
|
|
241
242
|
|
|
242
243
|
|
|
244
|
+
# Files stk ships for an app to replace; every other shadowed file is a copy.
|
|
245
|
+
OVERRIDE_SLOTS = ("_brand.html", "_head.html", "index.html", "dashboard.html", "img/")
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
def _shadowed(folders, core):
|
|
249
|
+
for folder in folders:
|
|
250
|
+
for path in sorted(folder.rglob("*")):
|
|
251
|
+
name = path.relative_to(folder).as_posix()
|
|
252
|
+
if (
|
|
253
|
+
path.is_file()
|
|
254
|
+
and (core / name).is_file()
|
|
255
|
+
and not name.startswith(OVERRIDE_SLOTS)
|
|
256
|
+
):
|
|
257
|
+
yield name, path
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
def _check_overrides(app):
|
|
261
|
+
"""A copied stk file stops receiving stk's fixes, and nothing else says so."""
|
|
262
|
+
copies = (
|
|
263
|
+
[
|
|
264
|
+
f"templates/{name}"
|
|
265
|
+
for name, path in _shadowed(app.template_folders[:-1], CORE_TEMPLATES)
|
|
266
|
+
if f"stk/{name}" not in path.read_text() # extends the original
|
|
267
|
+
]
|
|
268
|
+
+ [
|
|
269
|
+
f"static/{name}"
|
|
270
|
+
for name, _ in _shadowed(app.static_folders[:-1], CORE_STATIC)
|
|
271
|
+
]
|
|
272
|
+
)
|
|
273
|
+
if not copies:
|
|
274
|
+
return _finding("overrides", OK, "no copies of stk files")
|
|
275
|
+
return _finding(
|
|
276
|
+
"overrides",
|
|
277
|
+
WARN,
|
|
278
|
+
f"copies of stk files miss its fixes: {', '.join(copies)}",
|
|
279
|
+
'extend "stk/<name>" and override a block; app CSS, scripts and '
|
|
280
|
+
"config and components go in _head.html: configureApp(config), registerAppComponents(app)",
|
|
281
|
+
)
|
|
282
|
+
|
|
283
|
+
|
|
243
284
|
def build_doctor_report():
|
|
244
285
|
"""Return every finding, plus the worst status seen."""
|
|
245
286
|
findings = [_check_env_file(project_root())]
|
|
@@ -257,6 +298,7 @@ def build_doctor_report():
|
|
|
257
298
|
_check_admin(),
|
|
258
299
|
_check_agent_login(app.config),
|
|
259
300
|
_check_public_url(app.config),
|
|
301
|
+
_check_overrides(app),
|
|
260
302
|
]
|
|
261
303
|
findings += [_check_assets(), _check_browser(), _check_repl()]
|
|
262
304
|
if any(item["status"] == FAIL for item in findings):
|
|
@@ -387,6 +387,16 @@ async def _run_playwright_smoke(base_url, token, extra_paths, copy_allow):
|
|
|
387
387
|
]
|
|
388
388
|
for path in extra_paths:
|
|
389
389
|
pages.append(await _visit_smoke_page(context, base_url, path, path))
|
|
390
|
+
# Again in the dark theme the switcher stores: text and surfaces that
|
|
391
|
+
# only one theme breaks. The copy is the same in both, so it is read once.
|
|
392
|
+
await context.add_init_script("localStorage.setItem('stk-theme', 'dark')")
|
|
393
|
+
for name, path in [
|
|
394
|
+
("dashboard", "/dashboard/"),
|
|
395
|
+
("admin-users", "/users/"),
|
|
396
|
+
*((path, path) for path in extra_paths),
|
|
397
|
+
]:
|
|
398
|
+
dark = await _visit_smoke_page(context, base_url, f"{name} dark", path)
|
|
399
|
+
pages.append(dark | {"text": "", "rows": []})
|
|
390
400
|
await context.close()
|
|
391
401
|
await browser.close()
|
|
392
402
|
except PlaywrightError as exc:
|
|
@@ -27,6 +27,10 @@ function registerStkComponents(app) {
|
|
|
27
27
|
},
|
|
28
28
|
});
|
|
29
29
|
|
|
30
|
+
// The app's own global components: define `function registerAppComponents(app)` in a script
|
|
31
|
+
// loaded from _head.html, instead of copying this file.
|
|
32
|
+
if (typeof registerAppComponents === 'function') registerAppComponents(app);
|
|
33
|
+
|
|
30
34
|
return app;
|
|
31
35
|
}
|
|
32
36
|
|
|
@@ -148,3 +148,7 @@ const config = {
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
|
+
|
|
152
|
+
// The app's changes to this config (theme colours, component defaults): define
|
|
153
|
+
// `function configureApp(config)` in a script loaded from _head.html, instead of copying this file.
|
|
154
|
+
if (typeof configureApp === 'function') configureApp(config);
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<title>{{ config.APP_NAME }}</title>
|
|
6
|
-
<meta name="description" content="
|
|
6
|
+
{% if config.APP_DESCRIPTION %}<meta name="description" content="{{ config.APP_DESCRIPTION }}">{% endif %}
|
|
7
7
|
<meta name="author" content="{{ config.APP_NAME }}">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
-
<link rel="icon" href="/static/img/favicon.ico" type="image/x-icon">
|
|
10
9
|
|
|
11
10
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/vuetify.min.css') }}">
|
|
12
11
|
<link rel="stylesheet" href="{{ url_for('static', filename='icons/tabler-icons.min.css') }}">
|
|
@@ -5,11 +5,10 @@
|
|
|
5
5
|
<meta charset="utf-8">
|
|
6
6
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
7
7
|
<title>{% block title %}{{ config.APP_NAME }}{% endblock %}</title>
|
|
8
|
-
<meta name="description" content="
|
|
8
|
+
{% if config.APP_DESCRIPTION %}<meta name="description" content="{{ config.APP_DESCRIPTION }}">{% endif %}
|
|
9
9
|
<meta name="author" content="{{ config.APP_NAME }}">
|
|
10
10
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
11
11
|
{{ import_map() }}
|
|
12
|
-
<link rel="icon" href="/static/img/favicon.ico" type="image/x-icon">
|
|
13
12
|
|
|
14
13
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/vuetify.min.css') }}">
|
|
15
14
|
<link rel="stylesheet" href="{{ url_for('static', filename='icons/tabler-icons.min.css') }}">
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<title>{{ config.APP_NAME }} - Security</title>
|
|
6
|
-
<meta name="description" content="
|
|
6
|
+
{% if config.APP_DESCRIPTION %}<meta name="description" content="{{ config.APP_DESCRIPTION }}">{% endif %}
|
|
7
7
|
<meta name="author" content="{{ config.APP_NAME }}">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
-
<link rel="icon" href="/static/img/favicon.ico" type="image/x-icon">
|
|
10
9
|
|
|
11
10
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/vuetify.min.css') }}">
|
|
12
11
|
<link rel="stylesheet" href="{{ url_for('static', filename='icons/tabler-icons.min.css') }}">
|
|
@@ -7,6 +7,7 @@ from stk.settings import TestingConfig
|
|
|
7
7
|
|
|
8
8
|
class AcmeConfig(TestingConfig):
|
|
9
9
|
APP_NAME = "Acme"
|
|
10
|
+
APP_DESCRIPTION = "Invoices that send themselves."
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
class BrandingTests(unittest.IsolatedAsyncioTestCase):
|
|
@@ -18,6 +19,11 @@ class BrandingTests(unittest.IsolatedAsyncioTestCase):
|
|
|
18
19
|
self.assertIn("Acme", html)
|
|
19
20
|
self.assertNotIn("Project stk", html)
|
|
20
21
|
self.assertNotIn("New to stk", html)
|
|
22
|
+
self.assertIn(
|
|
23
|
+
'<meta name="description" content="Invoices that send themselves.">', html
|
|
24
|
+
)
|
|
25
|
+
self.assertNotIn("framework for the next decade", html)
|
|
26
|
+
self.assertIn('rel="icon"', html) # from stk's _head.html
|
|
21
27
|
|
|
22
28
|
def test_logo_lives_in_brand_partial(self):
|
|
23
29
|
templates = pathlib.Path(__file__).parent.parent / "stk" / "templates"
|
|
@@ -123,6 +123,17 @@ class CompositionTest(unittest.IsolatedAsyncioTestCase):
|
|
|
123
123
|
self.assertLess(bar.index('href="/kyc/"'), bar.index("Change Password"))
|
|
124
124
|
self.assertIn("<theme-switcher>", bar)
|
|
125
125
|
|
|
126
|
+
def test_doctor_names_copies_of_stk_files_but_not_slots(self):
|
|
127
|
+
from stk.cli.doctor import _check_overrides
|
|
128
|
+
|
|
129
|
+
finding = _check_overrides(self.app)
|
|
130
|
+
self.assertEqual(finding["status"], "warn")
|
|
131
|
+
# index.html and _head.html are slots, topbar.html extends stk's layout.
|
|
132
|
+
self.assertIn(
|
|
133
|
+
"copies of stk files miss its fixes: static/css/app.css", finding["detail"]
|
|
134
|
+
)
|
|
135
|
+
self.assertNotIn("html", finding["detail"])
|
|
136
|
+
|
|
126
137
|
async def test_static_files_resolve_app_then_extensions_in_order(self):
|
|
127
138
|
client = self.app.test_client()
|
|
128
139
|
app_css = await (await client.get("/static/css/app.css")).get_data(True)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{# Every layout includes this in <head>, outside any block a page can empty. Put the app's own fonts, tokens and scripts in myapp/templates/_head.html. #}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|