stkit 17.6.0__tar.gz → 17.8.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.6.0 → stkit-17.8.0}/CHANGELOG.md +21 -0
- {stkit-17.6.0 → stkit-17.8.0}/PKG-INFO +1 -1
- {stkit-17.6.0 → stkit-17.8.0}/pyproject.toml +1 -1
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/css/layout.css +4 -1
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/js/components/ThemeSwitcher.js +0 -6
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/js/components/index.js +11 -0
- stkit-17.8.0/stk/templates/_head.html +1 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/auth_layout.html +1 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/layout.html +8 -1
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/login-layout.html +1 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/login_user.html +1 -1
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/register_user.html +1 -1
- {stkit-17.6.0 → stkit-17.8.0}/stk/websocket.py +7 -1
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_composition.py +38 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_notifications.py +6 -0
- {stkit-17.6.0 → stkit-17.8.0}/.gitignore +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/LICENSE +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/README.md +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/SECURITY.md +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/examples/minimal/.env-sample +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/examples/minimal/.gitignore +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/examples/minimal/README.md +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/examples/minimal/minimal/__init__.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/examples/minimal/minimal/app.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/examples/minimal/minimal/migrations/364232ae77d5_add_note.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/examples/minimal/minimal/note/__init__.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/examples/minimal/minimal/note/models.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/examples/minimal/minimal/note/templates/note/index.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/examples/minimal/minimal/note/views.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/examples/minimal/minimal/settings.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/examples/minimal/minimal/templates/layout.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/examples/minimal/pyproject.toml +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/examples/minimal/tests/__init__.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/examples/minimal/tests/test_app.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/examples/minimal/uv.lock +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/__init__.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/__main__.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/agent_login.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/app.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/checks.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/cli/__init__.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/cli/agent.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/cli/base.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/cli/copy_rules.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/cli/database.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/cli/develop.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/cli/doctor.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/cli/main.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/cli/reports.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/cli/smoke.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/cli/users.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/cli/watch.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/extensions.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/files/__init__.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/files/models.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/files/store.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/files/views.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/mcp/__init__.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/mcp/models.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/mcp/server.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/mcp/views.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/migrations/__init__.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/migrations/env.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/migrations/script.py.mako +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/migrations/versions/stk_0001_initial_schema.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/migrations/versions/stk_0002_jobs.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/migrations/versions/stk_0003_files.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/migrations/versions/stk_0004_notifications.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/migrations/versions/stk_0005_mcp_tokens.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/migrations/versions/stk_0006_stk_mcp_token.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/migrations/versions/stk_0007_confirm_existing_users.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/migrations/versions/stk_0008_stk_message.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/notification/__init__.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/notification/models.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/notification/views.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/portal/views.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/public/__init__.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/public/models.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/public/views.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/__init__.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/CLAUDE.md +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/Dockerfile +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/README.md +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/__app__/__init__.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/__app__/app.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/__app__/settings.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/claude/skills/stk-api/SKILL.md +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/claude/skills/stk-blueprint/SKILL.md +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/claude/skills/stk-deploy/SKILL.md +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/claude/skills/stk-lessons/SKILL.md +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/claude/skills/stk-migrate/SKILL.md +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/docker-compose.yml +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/dockerignore +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/env-sample +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/github/workflows/checks.yml +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/gitignore +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/nginx/nginx.conf +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/nginx/stk.conf +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/postgres/init-db.sh +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/pyproject.toml +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/tests/__init__.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/app/tests/test_app.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/generator.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/scaffold/templates.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/security.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/settings.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/shell.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/VERSIONS.txt +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/css/app.css +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/css/vuetify.min.css +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.animals.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.arrows-1.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.arrows-2.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.badges.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.brand-1.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.brand-2.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.buildings.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.charts.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.communication.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.computers.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.core.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.currencies.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.database.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.design-1.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.design-2.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.development.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.devices-1.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.devices-2.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.document.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.e-commerce.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.electrical.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.extensions.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.food.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.games.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.gender.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.gestures.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.health.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.laundry.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.letters.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.logic.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.map.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.math.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.media.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.mood.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.nature.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.numbers.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.photography.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.shapes.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.sport.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.symbols.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.system-1.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.system-2.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.system-3.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.text.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.vehicles.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.version-control.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.weather.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/fonts/tabler-icons.zodiac.woff2 +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/icons/tabler-icons.min.css +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/img/auth-bg.webp +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/img/favicon.ico +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/img/stk.svg +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/js/axios.min.js +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/js/components/NotificationDropdown.js +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/js/components/TransitionExpand.js +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/js/components/VerticalNavGroup.js +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/js/components/VerticalNavLink.js +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/js/components/VerticalNavSectionTitle.js +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/js/config.js +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/js/vue.min.js +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/js/vuetify.min.js +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/static/robots.txt +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/tasks/__init__.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/tasks/models.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/401.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/404.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/500.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/_brand.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/cms/activities.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/cms/jobs.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/cms/roles.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/cms/users.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/dashboard.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/index.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/mcp/tokens.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/_macros.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/_messages.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/change_password.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/confirm_email.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/email/change_notice.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/email/change_notice.txt +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/email/confirmation_instructions.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/email/confirmation_instructions.txt +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/email/login_instructions.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/email/login_instructions.txt +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/email/reset_instructions.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/email/reset_instructions.txt +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/email/reset_notice.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/email/reset_notice.txt +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/email/welcome.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/email/welcome.txt +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/forgot_password.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/mf_recovery.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/mf_recovery_codes.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/reset_password.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/send_confirmation.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/send_login.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/two_factor_select.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/two_factor_setup.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/two_factor_verify_code.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/wan_register.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/wan_signin.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/templates/security/wan_verify.html +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/user/__init__.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/user/forms.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/user/models.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/user/views.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/utils/email.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/utils/netguard.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/stk/utils/ratelimit.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_agent_operability.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_app_index.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_branding.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_builder_ux.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_cli.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_confirm_migration.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_copy_rules.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_csrf_exempt.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_error_handler.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_files.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_jobs.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_mcp.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_mcp_migration.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_migration_drift.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_model_names.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_netguard.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_production_security.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_revision_imports.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_route_collisions.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_scaffolder.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_security_compatibility.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_shell.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_smoke_pages.py +0 -0
- {stkit-17.6.0 → stkit-17.8.0}/tests/test_static_versioning.py +0 -0
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v17.8.0 (2026-11-04)
|
|
4
|
+
|
|
5
|
+
No migration required.
|
|
6
|
+
|
|
7
|
+
- `layout.html` has the blocks `app_bar_actions`, `user_menu` and `sidebar`, so an app gets a top-bar-only shell by emptying `sidebar` and adding its links to `user_menu`, instead of overriding the whole layout. The app bar's menu button only appears when the sidebar renders.
|
|
8
|
+
- The sign-in and sign-up photo loads through `url_for`, so an app's `static/img/auth-bg.webp` replaces it with a versioned URL that busts the browser's cached copy of stk's.
|
|
9
|
+
|
|
10
|
+
## v17.7.0 (2026-11-04)
|
|
11
|
+
|
|
12
|
+
No migration required.
|
|
13
|
+
|
|
14
|
+
- `_head.html`: every layout, including the sign-in pages', includes it in `<head>` outside any block, so an app's fonts, tokens and scripts stay on admin pages that empty the `css` block and on sign-in pages that replace every block. Put yours at `myapp/templates/_head.html`; stk's is empty.
|
|
15
|
+
- The root component mirrors the Vuetify theme as `dark-mode` on `<html>` and `<body>` on every page that calls `registerStkComponents`, not only on `<body>` where the theme switcher is mounted. Apps that patched this in themselves (an `html.night` mixin) can delete the patch and select on `.dark-mode`.
|
|
16
|
+
|
|
17
|
+
## v17.6.1 (2026-11-03)
|
|
18
|
+
|
|
19
|
+
No migration required.
|
|
20
|
+
|
|
21
|
+
- Navigation badges take their text colour from the theme (`on-primary`, `on-error`, `on-success`, `on-warning`) instead of white, which fell to about 2.6:1 on a light primary.
|
|
22
|
+
- `broadcast` with a non-numeric `user_id` raises a `ValueError` that names the argument and the value, instead of `int()`'s bare message.
|
|
23
|
+
|
|
3
24
|
## v17.6.0 (2026-11-03)
|
|
4
25
|
|
|
5
26
|
No migration required.
|
|
@@ -161,19 +161,22 @@
|
|
|
161
161
|
font-weight: 500;
|
|
162
162
|
margin-left: 8px;
|
|
163
163
|
background-color: rgb(var(--v-theme-primary));
|
|
164
|
-
color:
|
|
164
|
+
color: rgb(var(--v-theme-on-primary));
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
.nav-item-badge.bg-error {
|
|
168
168
|
background-color: rgb(var(--v-theme-error));
|
|
169
|
+
color: rgb(var(--v-theme-on-error));
|
|
169
170
|
}
|
|
170
171
|
|
|
171
172
|
.nav-item-badge.bg-success {
|
|
172
173
|
background-color: rgb(var(--v-theme-success));
|
|
174
|
+
color: rgb(var(--v-theme-on-success));
|
|
173
175
|
}
|
|
174
176
|
|
|
175
177
|
.nav-item-badge.bg-warning {
|
|
176
178
|
background-color: rgb(var(--v-theme-warning));
|
|
179
|
+
color: rgb(var(--v-theme-on-warning));
|
|
177
180
|
}
|
|
178
181
|
|
|
179
182
|
/* ===== Rail/Collapsed Mode ===== */
|
|
@@ -27,9 +27,6 @@ const ThemeSwitcher = {
|
|
|
27
27
|
this.$vuetify.theme.global.name = this.isDark ? 'dark' : 'light';
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
// Toggle body class for CSS targeting
|
|
31
|
-
document.body.classList.toggle('dark-mode', this.isDark);
|
|
32
|
-
|
|
33
30
|
// Save preference
|
|
34
31
|
localStorage.setItem('stk-theme', this.isDark ? 'dark' : 'light');
|
|
35
32
|
|
|
@@ -56,9 +53,6 @@ const ThemeSwitcher = {
|
|
|
56
53
|
if (this.$vuetify) {
|
|
57
54
|
this.$vuetify.theme.global.name = this.isDark ? 'dark' : 'light';
|
|
58
55
|
}
|
|
59
|
-
|
|
60
|
-
// Apply body class for CSS targeting
|
|
61
|
-
document.body.classList.toggle('dark-mode', this.isDark);
|
|
62
56
|
}
|
|
63
57
|
},
|
|
64
58
|
|
|
@@ -16,6 +16,17 @@ function registerStkComponents(app) {
|
|
|
16
16
|
app.component('notification-dropdown', NotificationDropdown);
|
|
17
17
|
app.component('theme-switcher', ThemeSwitcher);
|
|
18
18
|
|
|
19
|
+
// Vuetify 4 marks no theme on the page, so the root mirrors it as .dark-mode on <html> and <body>
|
|
20
|
+
// for app CSS that switches with the theme, on every page and whatever changes the theme.
|
|
21
|
+
app.mixin({
|
|
22
|
+
mounted() {
|
|
23
|
+
if (this !== this.$root) return;
|
|
24
|
+
this.$watch(() => this.$vuetify.theme.global.name, name => {
|
|
25
|
+
for (const el of [document.documentElement, document.body]) el.classList.toggle('dark-mode', name === 'dark');
|
|
26
|
+
}, { immediate: true });
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
|
|
19
30
|
return app;
|
|
20
31
|
}
|
|
21
32
|
|
|
@@ -0,0 +1 @@
|
|
|
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. #}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
<link rel="stylesheet" href="{{ url_for('static', filename='icons/tabler-icons.min.css') }}">
|
|
13
13
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/app.css') }}">
|
|
14
14
|
|
|
15
|
+
{% include "_head.html" %}
|
|
15
16
|
{% block css %}{% endblock %}
|
|
16
17
|
</head>
|
|
17
18
|
<body>
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;700;800&family=Be+Vietnam+Pro:wght@400;500;700&family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
|
|
20
20
|
<style>[v-cloak] { display: none !important; }</style>
|
|
21
21
|
|
|
22
|
+
{% include "_head.html" %}
|
|
22
23
|
{% block css %}{% endblock %}
|
|
23
24
|
{% block head_js %}{% endblock %}
|
|
24
25
|
</head>
|
|
@@ -28,7 +29,7 @@
|
|
|
28
29
|
<v-layout class="rounded rounded-md">
|
|
29
30
|
<!-- App Bar -->
|
|
30
31
|
<v-app-bar color="surface" density="comfortable" elevation="1">
|
|
31
|
-
{% if current_user.is_authenticated %}
|
|
32
|
+
{% if current_user.is_authenticated and self.sidebar()|trim %}
|
|
32
33
|
<v-btn icon variant="text" @click="drawer = !drawer" class="d-md-none">
|
|
33
34
|
<i class="ti ti-menu-2" style="font-size: 24px;"></i>
|
|
34
35
|
</v-btn>
|
|
@@ -45,6 +46,7 @@
|
|
|
45
46
|
{% if not current_user.is_authenticated %}
|
|
46
47
|
<v-btn href="/login" variant="text">Sign in</v-btn>
|
|
47
48
|
{% else %}
|
|
49
|
+
{% block app_bar_actions %}
|
|
48
50
|
<!-- Theme Switcher -->
|
|
49
51
|
<theme-switcher></theme-switcher>
|
|
50
52
|
|
|
@@ -83,6 +85,7 @@
|
|
|
83
85
|
<v-divider></v-divider>
|
|
84
86
|
|
|
85
87
|
<v-list density="compact">
|
|
88
|
+
{% block user_menu %}
|
|
86
89
|
<v-list-item href="/dashboard">
|
|
87
90
|
<template v-slot:prepend><i class="ti ti-layout-dashboard mr-3" style="font-size: 18px;"></i></template>
|
|
88
91
|
<v-list-item-title>My Account</v-list-item-title>
|
|
@@ -95,6 +98,7 @@
|
|
|
95
98
|
<template v-slot:prepend><i class="ti ti-shield-lock mr-3" style="font-size: 18px;"></i></template>
|
|
96
99
|
<v-list-item-title>Two-Factor Auth</v-list-item-title>
|
|
97
100
|
</v-list-item>
|
|
101
|
+
{% endblock %}
|
|
98
102
|
</v-list>
|
|
99
103
|
|
|
100
104
|
<v-divider></v-divider>
|
|
@@ -107,9 +111,11 @@
|
|
|
107
111
|
</v-list>
|
|
108
112
|
</v-card>
|
|
109
113
|
</v-menu>
|
|
114
|
+
{% endblock %}
|
|
110
115
|
{% endif %}
|
|
111
116
|
</v-app-bar>
|
|
112
117
|
|
|
118
|
+
{% block sidebar %}
|
|
113
119
|
{% if current_user.is_authenticated %}
|
|
114
120
|
<!-- Navigation Drawer (authenticated users only) -->
|
|
115
121
|
<v-navigation-drawer v-model="drawer" :rail="isNavCollapsed" :rail-width="68" width="260">
|
|
@@ -142,6 +148,7 @@
|
|
|
142
148
|
</ul>
|
|
143
149
|
</v-navigation-drawer>
|
|
144
150
|
{% endif %}
|
|
151
|
+
{% endblock %}
|
|
145
152
|
|
|
146
153
|
<!-- Main Content -->
|
|
147
154
|
<v-main class="d-flex align-center justify-center" style="min-height: 300px;">
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
<link rel="stylesheet" href="{{ url_for('static', filename='icons/tabler-icons.min.css') }}">
|
|
13
13
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/app.css') }}">
|
|
14
14
|
|
|
15
|
+
{% include "_head.html" %}
|
|
15
16
|
<style>
|
|
16
17
|
html, body { height: 100%; margin: 0; padding: 0; }
|
|
17
18
|
#app, .v-application, .v-application__wrap { min-height: 100vh; }
|
|
@@ -51,7 +51,13 @@ async def broadcast(message: dict, user_id, session=None):
|
|
|
51
51
|
With `session`, the message joins that transaction: it goes out at commit and
|
|
52
52
|
not at all on rollback. Without it, it is committed on its own session.
|
|
53
53
|
"""
|
|
54
|
-
|
|
54
|
+
try:
|
|
55
|
+
user_id = int(user_id)
|
|
56
|
+
except (TypeError, ValueError):
|
|
57
|
+
raise ValueError(
|
|
58
|
+
f"broadcast needs a numeric user id as user_id, got {user_id!r}"
|
|
59
|
+
) from None
|
|
60
|
+
row = StkMessage(user_id=user_id, payload=json.dumps(message))
|
|
55
61
|
if session is not None:
|
|
56
62
|
session.add(row)
|
|
57
63
|
return
|
|
@@ -23,6 +23,15 @@ FILES = {
|
|
|
23
23
|
{% block content %}APP INDEX {% include "ext_only.html" %}{% endblock %}
|
|
24
24
|
"""
|
|
25
25
|
),
|
|
26
|
+
"tapp/templates/_head.html": '<meta name="tapp-head">',
|
|
27
|
+
# A top-bar-only shell: no drawer, the app's links in the user menu.
|
|
28
|
+
"tapp/templates/topbar.html": textwrap.dedent(
|
|
29
|
+
"""\
|
|
30
|
+
{% extends "stk/layout.html" %}
|
|
31
|
+
{% block sidebar %}{% endblock %}
|
|
32
|
+
{% block user_menu %}<v-list-item href="/kyc/">KYC</v-list-item>{{ super() }}{% endblock %}
|
|
33
|
+
"""
|
|
34
|
+
),
|
|
26
35
|
"tapp/static/css/app.css": "/* the app's */",
|
|
27
36
|
"tapp/static/js/page.js": 'import "./shared.js";',
|
|
28
37
|
"tapp/static/js/shared.js": "// the app's, shadowing the extension's",
|
|
@@ -85,6 +94,35 @@ class CompositionTest(unittest.IsolatedAsyncioTestCase):
|
|
|
85
94
|
self.assertIn("<title>App title</title>", page)
|
|
86
95
|
self.assertIn("stkNavigation", page) # rendered by stk's layout
|
|
87
96
|
|
|
97
|
+
async def test_app_head_reaches_every_layout(self):
|
|
98
|
+
"""Pages empty or replace the css block; the head partial sits outside it."""
|
|
99
|
+
from quart import render_template
|
|
100
|
+
|
|
101
|
+
self.assertIn(
|
|
102
|
+
'name="tapp-head"',
|
|
103
|
+
await (await self.app.test_client().get("/login")).get_data(True),
|
|
104
|
+
)
|
|
105
|
+
async with self.app.test_request_context("/"):
|
|
106
|
+
for layout in ("layout.html", "auth_layout.html", "login-layout.html"):
|
|
107
|
+
page = await render_template(layout)
|
|
108
|
+
self.assertIn('name="tapp-head"', page, layout)
|
|
109
|
+
|
|
110
|
+
async def test_layout_without_the_sidebar_keeps_the_app_bar(self):
|
|
111
|
+
from types import SimpleNamespace
|
|
112
|
+
|
|
113
|
+
from quart import render_template
|
|
114
|
+
|
|
115
|
+
user = SimpleNamespace(is_authenticated=True, name="Ann", email="a@example.com")
|
|
116
|
+
async with self.app.test_request_context("/"):
|
|
117
|
+
full = await render_template("layout.html", current_user=user)
|
|
118
|
+
bar = await render_template("topbar.html", current_user=user)
|
|
119
|
+
self.assertIn("<v-navigation-drawer", full)
|
|
120
|
+
self.assertIn("ti-menu-2", full)
|
|
121
|
+
self.assertNotIn("<v-navigation-drawer", bar)
|
|
122
|
+
self.assertNotIn("ti-menu-2", bar) # no drawer to open
|
|
123
|
+
self.assertLess(bar.index('href="/kyc/"'), bar.index("Change Password"))
|
|
124
|
+
self.assertIn("<theme-switcher>", bar)
|
|
125
|
+
|
|
88
126
|
async def test_static_files_resolve_app_then_extensions_in_order(self):
|
|
89
127
|
client = self.app.test_client()
|
|
90
128
|
app_css = await (await client.get("/static/css/app.css")).get_data(True)
|
|
@@ -107,6 +107,12 @@ class NotificationTests(unittest.IsolatedAsyncioTestCase):
|
|
|
107
107
|
with self.assertRaises(ValueError):
|
|
108
108
|
await notify(self.alice, "Bad", link=link)
|
|
109
109
|
|
|
110
|
+
async def test_broadcast_names_a_non_numeric_user_id(self):
|
|
111
|
+
from stk.websocket import broadcast
|
|
112
|
+
|
|
113
|
+
with self.assertRaisesRegex(ValueError, "numeric user id.*'fixture-target'"):
|
|
114
|
+
await broadcast({"type": "x"}, "fixture-target")
|
|
115
|
+
|
|
110
116
|
async def test_push_reaches_only_the_recipient(self):
|
|
111
117
|
alice, bob = (
|
|
112
118
|
await self.client("alice@example.com"),
|
|
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
|