stkit 17.3.1__tar.gz → 17.3.2__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.3.1 → stkit-17.3.2}/CHANGELOG.md +11 -0
- {stkit-17.3.1 → stkit-17.3.2}/PKG-INFO +2 -2
- {stkit-17.3.1 → stkit-17.3.2}/examples/minimal/uv.lock +8 -8
- {stkit-17.3.1 → stkit-17.3.2}/pyproject.toml +2 -2
- {stkit-17.3.1 → stkit-17.3.2}/stk/app.py +11 -1
- {stkit-17.3.1 → stkit-17.3.2}/stk/user/models.py +16 -6
- {stkit-17.3.1 → stkit-17.3.2}/stk/websocket.py +1 -1
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_production_security.py +33 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_static_versioning.py +13 -0
- {stkit-17.3.1 → stkit-17.3.2}/.gitignore +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/LICENSE +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/README.md +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/SECURITY.md +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/examples/minimal/.env-sample +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/examples/minimal/.gitignore +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/examples/minimal/README.md +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/examples/minimal/minimal/__init__.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/examples/minimal/minimal/app.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/examples/minimal/minimal/migrations/364232ae77d5_add_note.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/examples/minimal/minimal/note/__init__.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/examples/minimal/minimal/note/models.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/examples/minimal/minimal/note/templates/note/index.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/examples/minimal/minimal/note/views.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/examples/minimal/minimal/settings.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/examples/minimal/minimal/templates/layout.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/examples/minimal/pyproject.toml +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/examples/minimal/tests/__init__.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/examples/minimal/tests/test_app.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/__init__.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/__main__.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/agent_login.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/checks.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/cli/__init__.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/cli/agent.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/cli/base.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/cli/copy_rules.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/cli/database.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/cli/develop.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/cli/doctor.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/cli/main.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/cli/reports.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/cli/smoke.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/cli/users.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/cli/watch.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/extensions.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/files/__init__.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/files/models.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/files/store.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/files/views.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/mcp/__init__.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/mcp/models.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/mcp/server.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/mcp/views.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/migrations/__init__.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/migrations/env.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/migrations/script.py.mako +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/migrations/versions/stk_0001_initial_schema.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/migrations/versions/stk_0002_jobs.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/migrations/versions/stk_0003_files.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/migrations/versions/stk_0004_notifications.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/migrations/versions/stk_0005_mcp_tokens.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/migrations/versions/stk_0006_stk_mcp_token.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/migrations/versions/stk_0007_confirm_existing_users.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/notification/__init__.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/notification/models.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/notification/views.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/portal/views.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/public/__init__.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/public/models.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/public/views.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/__init__.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/CLAUDE.md +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/Dockerfile +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/README.md +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/__app__/__init__.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/__app__/app.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/__app__/settings.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/claude/skills/stk-api/SKILL.md +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/claude/skills/stk-blueprint/SKILL.md +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/claude/skills/stk-deploy/SKILL.md +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/claude/skills/stk-lessons/SKILL.md +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/claude/skills/stk-migrate/SKILL.md +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/docker-compose.yml +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/dockerignore +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/env-sample +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/github/workflows/checks.yml +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/gitignore +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/nginx/nginx.conf +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/nginx/stk.conf +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/postgres/init-db.sh +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/pyproject.toml +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/tests/__init__.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/app/tests/test_app.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/generator.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/scaffold/templates.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/security.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/settings.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/shell.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/VERSIONS.txt +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/css/app.css +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/css/layout.css +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/css/vuetify.min.css +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.animals.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.arrows-1.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.arrows-2.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.badges.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.brand-1.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.brand-2.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.buildings.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.charts.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.communication.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.computers.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.core.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.currencies.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.database.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.design-1.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.design-2.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.development.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.devices-1.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.devices-2.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.document.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.e-commerce.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.electrical.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.extensions.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.food.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.games.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.gender.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.gestures.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.health.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.laundry.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.letters.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.logic.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.map.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.math.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.media.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.mood.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.nature.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.numbers.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.photography.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.shapes.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.sport.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.symbols.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.system-1.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.system-2.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.system-3.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.text.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.vehicles.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.version-control.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.weather.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/fonts/tabler-icons.zodiac.woff2 +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/icons/tabler-icons.min.css +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/img/auth-bg.webp +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/img/favicon.ico +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/img/stk.svg +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/js/axios.min.js +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/js/components/NotificationDropdown.js +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/js/components/ThemeSwitcher.js +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/js/components/TransitionExpand.js +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/js/components/VerticalNavGroup.js +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/js/components/VerticalNavLink.js +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/js/components/VerticalNavSectionTitle.js +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/js/components/index.js +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/js/config.js +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/js/vue.min.js +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/js/vuetify.min.js +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/static/robots.txt +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/tasks/__init__.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/tasks/models.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/401.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/404.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/500.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/_brand.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/auth_layout.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/cms/activities.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/cms/jobs.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/cms/roles.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/cms/users.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/dashboard.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/index.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/layout.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/login-layout.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/mcp/tokens.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/_macros.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/_messages.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/change_password.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/confirm_email.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/email/change_notice.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/email/change_notice.txt +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/email/confirmation_instructions.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/email/confirmation_instructions.txt +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/email/login_instructions.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/email/login_instructions.txt +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/email/reset_instructions.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/email/reset_instructions.txt +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/email/reset_notice.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/email/reset_notice.txt +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/email/welcome.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/email/welcome.txt +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/forgot_password.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/login_user.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/mf_recovery.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/mf_recovery_codes.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/register_user.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/reset_password.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/send_confirmation.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/send_login.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/two_factor_select.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/two_factor_setup.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/two_factor_verify_code.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/wan_register.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/wan_signin.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/templates/security/wan_verify.html +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/user/__init__.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/user/forms.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/user/views.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/utils/email.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/utils/netguard.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/stk/utils/ratelimit.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_agent_operability.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_app_index.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_branding.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_builder_ux.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_cli.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_composition.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_confirm_migration.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_copy_rules.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_csrf_exempt.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_error_handler.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_files.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_jobs.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_mcp.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_mcp_migration.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_migration_drift.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_netguard.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_notifications.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_revision_imports.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_route_collisions.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_scaffolder.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_security_compatibility.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_shell.py +0 -0
- {stkit-17.3.1 → stkit-17.3.2}/tests/test_smoke_pages.py +0 -0
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v17.3.2 (2026-11-01)
|
|
4
|
+
|
|
5
|
+
No migration required. Requires quart-security 2.2.0, which normalizes emails more fully: an account stored with a decomposed Unicode or punycode email must be rewritten with `quart_security.normalize_email` to sign in. ASCII addresses are unaffected.
|
|
6
|
+
|
|
7
|
+
- When an admin changes a user's email, the user is signed out everywhere and their MCP tokens are revoked, so reset and confirmation links sent to the old address stop working. Retyping the same address in other case is no change (Authentication).
|
|
8
|
+
- Pages behind `auth_required`, which includes every admin page, now come back after login. Before, the user always landed on the dashboard.
|
|
9
|
+
- One mailbox is one account: `josé@` composed and decomposed, or `münchen.de` and its punycode form, no longer make separate users. Passwords match whichever Unicode form they are typed in.
|
|
10
|
+
- Passkey sign-in refuses locked and unconfirmed accounts, like password login.
|
|
11
|
+
- `STK_PUBLIC_URL` with a trailing slash no longer closes every WebSocket with 4003.
|
|
12
|
+
- A static file is cached as immutable only under the version this instance would link to. During a rolling deploy an old instance could pin old bytes under a new URL for a year. An app test that requests a made-up `?v=` and expects `immutable` must build the URL with `url_for('static', ...)` instead.
|
|
13
|
+
|
|
3
14
|
## v17.3.1 (2026-10-31)
|
|
4
15
|
|
|
5
16
|
No migration required.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: stkit
|
|
3
|
-
Version: 17.3.
|
|
3
|
+
Version: 17.3.2
|
|
4
4
|
Summary: An async Quart framework optimized for AI-assisted development workflows
|
|
5
5
|
Project-URL: Documentation, https://docs.stkit.dev
|
|
6
6
|
Project-URL: Source, https://github.com/level09/stk
|
|
@@ -28,7 +28,7 @@ Requires-Dist: pillow>=13.0.0
|
|
|
28
28
|
Requires-Dist: psycopg2-binary>=2.9.10
|
|
29
29
|
Requires-Dist: python-dotenv>=1.2.2
|
|
30
30
|
Requires-Dist: qrcode>=8.2
|
|
31
|
-
Requires-Dist: quart-security<3,>=2.
|
|
31
|
+
Requires-Dist: quart-security<3,>=2.2.0
|
|
32
32
|
Requires-Dist: quart-session>=3.0.0
|
|
33
33
|
Requires-Dist: quart>=0.20.0
|
|
34
34
|
Requires-Dist: rich>=14.0.0
|
|
@@ -1414,11 +1414,11 @@ wheels = [
|
|
|
1414
1414
|
|
|
1415
1415
|
[[package]]
|
|
1416
1416
|
name = "pyasn1"
|
|
1417
|
-
version = "0.6.
|
|
1417
|
+
version = "0.6.5"
|
|
1418
1418
|
source = { registry = "https://pypi.org/simple" }
|
|
1419
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
1419
|
+
sdist = { url = "https://files.pythonhosted.org/packages/88/7e/3c0da41061a2021cac7cd524fd57092adbe5b515e8bf9005702e366802e2/pyasn1-0.6.5.tar.gz", hash = "sha256:6b11616a6bcf3a40e635f082bb232fa57b5e0dd7f517bd7ddd69ec3794508a47", size = 155152, upload-time = "2026-10-27T06:32:49.125Z" }
|
|
1420
1420
|
wheels = [
|
|
1421
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1421
|
+
{ url = "https://files.pythonhosted.org/packages/19/1f/3eefd5c84c35cae44549ce1c7f7e58f7945b34f5a6bce07a135438522073/pyasn1-0.6.5-py3-none-any.whl", hash = "sha256:4017b0fce125096b8573b39c989fdb1a4b19cf761e683398184550fea0e66587", size = 84807, upload-time = "2026-10-27T06:32:48.045Z" },
|
|
1422
1422
|
]
|
|
1423
1423
|
|
|
1424
1424
|
[[package]]
|
|
@@ -1654,7 +1654,7 @@ wheels = [
|
|
|
1654
1654
|
|
|
1655
1655
|
[[package]]
|
|
1656
1656
|
name = "quart-security"
|
|
1657
|
-
version = "2.0
|
|
1657
|
+
version = "2.2.0"
|
|
1658
1658
|
source = { registry = "https://pypi.org/simple" }
|
|
1659
1659
|
dependencies = [
|
|
1660
1660
|
{ name = "aiosmtplib" },
|
|
@@ -1673,9 +1673,9 @@ dependencies = [
|
|
|
1673
1673
|
{ name = "webauthn" },
|
|
1674
1674
|
{ name = "wtforms" },
|
|
1675
1675
|
]
|
|
1676
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
1676
|
+
sdist = { url = "https://files.pythonhosted.org/packages/5e/89/57c9ac93ded704454db3dd97c5932cee149bcded7aa4e002a8c2dd3e3b46/quart_security-2.2.0.tar.gz", hash = "sha256:b125b0fc1523b9fddc0929fb2d1bd63768c679bbdd4bbfffb03861f81a00d7d5", size = 45480, upload-time = "2026-11-01T12:04:07.306Z" }
|
|
1677
1677
|
wheels = [
|
|
1678
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1678
|
+
{ url = "https://files.pythonhosted.org/packages/5c/54/775f754344c5602b87a59b3c6eba8db9793a18b1a7c14e47c2355f8ac479/quart_security-2.2.0-py3-none-any.whl", hash = "sha256:d3b7cd1ecabb0b9610417a10d6a056eaaf12a7959a43509af565b41942f92542", size = 52995, upload-time = "2026-11-01T12:04:05.767Z" },
|
|
1679
1679
|
]
|
|
1680
1680
|
|
|
1681
1681
|
[[package]]
|
|
@@ -1976,7 +1976,7 @@ asyncio = [
|
|
|
1976
1976
|
|
|
1977
1977
|
[[package]]
|
|
1978
1978
|
name = "stkit"
|
|
1979
|
-
version = "17.
|
|
1979
|
+
version = "17.3.2"
|
|
1980
1980
|
source = { editable = "../../" }
|
|
1981
1981
|
dependencies = [
|
|
1982
1982
|
{ name = "aiosmtplib" },
|
|
@@ -2048,7 +2048,7 @@ requires-dist = [
|
|
|
2048
2048
|
{ name = "python-dotenv", specifier = ">=1.2.2" },
|
|
2049
2049
|
{ name = "qrcode", specifier = ">=8.2" },
|
|
2050
2050
|
{ name = "quart", specifier = ">=0.20.0" },
|
|
2051
|
-
{ name = "quart-security", specifier = ">=2.0
|
|
2051
|
+
{ name = "quart-security", specifier = ">=2.2.0,<3" },
|
|
2052
2052
|
{ name = "quart-session", specifier = ">=3.0.0" },
|
|
2053
2053
|
{ name = "redis", marker = "extra == 'full'", specifier = ">=7.1.0" },
|
|
2054
2054
|
{ name = "rich", specifier = ">=14.0.0" },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "stkit"
|
|
3
|
-
version = "17.3.
|
|
3
|
+
version = "17.3.2"
|
|
4
4
|
description = "An async Quart framework optimized for AI-assisted development workflows"
|
|
5
5
|
authors = [
|
|
6
6
|
{name = "Level09", email = "hello@level09.com"}
|
|
@@ -30,7 +30,7 @@ dependencies = [
|
|
|
30
30
|
"python-dotenv>=1.2.2",
|
|
31
31
|
"qrcode>=8.2",
|
|
32
32
|
"quart>=0.20.0",
|
|
33
|
-
"quart-security>=2.
|
|
33
|
+
"quart-security>=2.2.0,<3",
|
|
34
34
|
"quart-session>=3.0.0",
|
|
35
35
|
"rich>=14.0.0",
|
|
36
36
|
"sqlalchemy[asyncio]>=2.0.41",
|
|
@@ -251,6 +251,10 @@ def register_static_versioning(app):
|
|
|
251
251
|
raise FileNotFoundError(f"no static file {values['filename']}")
|
|
252
252
|
values["v"] = _static_digest(path, path.stat().st_mtime_ns)
|
|
253
253
|
|
|
254
|
+
def _digest_of(filename):
|
|
255
|
+
path = app.static_file(filename)
|
|
256
|
+
return path and _static_digest(path, path.stat().st_mtime_ns)
|
|
257
|
+
|
|
254
258
|
@app.after_request
|
|
255
259
|
async def _cache_static(response):
|
|
256
260
|
if request.path.startswith(f"{app.static_url_path}/"):
|
|
@@ -258,7 +262,13 @@ def register_static_versioning(app):
|
|
|
258
262
|
# This response sets or clears a session cookie; a shared cache
|
|
259
263
|
# must never replay it to someone else.
|
|
260
264
|
policy = "private, no-store"
|
|
261
|
-
elif
|
|
265
|
+
elif (
|
|
266
|
+
response.status_code == 200
|
|
267
|
+
and request.endpoint == "static"
|
|
268
|
+
and request.args.get("v") == _digest_of(request.view_args["filename"])
|
|
269
|
+
):
|
|
270
|
+
# Only the version this instance would link to: during a rolling
|
|
271
|
+
# deploy an old instance must not pin old bytes under a new URL.
|
|
262
272
|
policy = "public, max-age=31536000, immutable"
|
|
263
273
|
else:
|
|
264
274
|
policy = "no-cache"
|
|
@@ -5,7 +5,13 @@ from datetime import datetime
|
|
|
5
5
|
from uuid import uuid4
|
|
6
6
|
|
|
7
7
|
from quart import g
|
|
8
|
-
from quart_security import
|
|
8
|
+
from quart_security import (
|
|
9
|
+
RoleMixin,
|
|
10
|
+
SecurityState,
|
|
11
|
+
UserMixin,
|
|
12
|
+
hash_password,
|
|
13
|
+
normalize_email,
|
|
14
|
+
)
|
|
9
15
|
from quart_security.password import hash_password_async
|
|
10
16
|
from sqlalchemy import (
|
|
11
17
|
JSON,
|
|
@@ -78,14 +84,14 @@ class User(Base, UserMixin):
|
|
|
78
84
|
|
|
79
85
|
@validates("email")
|
|
80
86
|
def _normalize_email(self, key, value):
|
|
81
|
-
# Login
|
|
82
|
-
# cannot become two accounts that differ
|
|
83
|
-
return value
|
|
87
|
+
# Login normalizes what it is given; store the same form so one mailbox
|
|
88
|
+
# cannot become two accounts that differ by case or Unicode form.
|
|
89
|
+
return normalize_email(value) if value is not None else value
|
|
84
90
|
|
|
85
91
|
@classmethod
|
|
86
92
|
def email_is(cls, email):
|
|
87
93
|
"""Match an email regardless of case, including rows stored before 17.2.1."""
|
|
88
|
-
return func.lower(cls.email) == email
|
|
94
|
+
return func.lower(cls.email) == normalize_email(email)
|
|
89
95
|
|
|
90
96
|
roles = relationship(
|
|
91
97
|
"Role", secondary=roles_users, backref="users", lazy="selectin"
|
|
@@ -135,7 +141,11 @@ class User(Base, UserMixin):
|
|
|
135
141
|
async def from_dict(self, json_dict):
|
|
136
142
|
self.name = json_dict.get("name", self.name)
|
|
137
143
|
self.username = json_dict.get("username", self.username)
|
|
138
|
-
|
|
144
|
+
email = normalize_email(json_dict.get("email", self.email))
|
|
145
|
+
if email != self.email:
|
|
146
|
+
# Reset and confirmation links sent to the old address stop working.
|
|
147
|
+
self.email = email
|
|
148
|
+
self.fs_uniquifier = uuid4().hex
|
|
139
149
|
if "password" in json_dict:
|
|
140
150
|
self.password = await hash_password_async(json_dict["password"])
|
|
141
151
|
self.password_set = True
|
|
@@ -38,7 +38,7 @@ async def ws_endpoint():
|
|
|
38
38
|
if db is not None:
|
|
39
39
|
await db.close()
|
|
40
40
|
allowed = current_app.config.get("STK_WS_ALLOWED_ORIGINS") or [
|
|
41
|
-
current_app.config.get("STK_PUBLIC_URL")
|
|
41
|
+
(current_app.config.get("STK_PUBLIC_URL") or "").rstrip("/")
|
|
42
42
|
or websocket.host_url.replace("ws://", "http://", 1)
|
|
43
43
|
.replace("wss://", "https://", 1)
|
|
44
44
|
.rstrip("/")
|
|
@@ -216,6 +216,15 @@ class ProductionSecurityTests(unittest.IsolatedAsyncioTestCase):
|
|
|
216
216
|
self.assertNotEqual((await attacker.get("/dashboard/")).status_code, 200)
|
|
217
217
|
self.assertFalse(any(c.value == sid for c in victim.cookie_jar))
|
|
218
218
|
|
|
219
|
+
async def test_websocket_accepts_public_url_with_trailing_slash(self):
|
|
220
|
+
self.app.config["STK_PUBLIC_URL"] = "http://localhost/"
|
|
221
|
+
client = self.app.test_client()
|
|
222
|
+
await self.login(client)
|
|
223
|
+
async with client.websocket(
|
|
224
|
+
"/ws", headers={"Origin": "http://localhost"}
|
|
225
|
+
) as ws:
|
|
226
|
+
await ws.receive()
|
|
227
|
+
|
|
219
228
|
async def test_websocket_rejects_foreign_origin(self):
|
|
220
229
|
client = self.app.test_client()
|
|
221
230
|
await self.login(client)
|
|
@@ -251,6 +260,30 @@ class ProductionSecurityTests(unittest.IsolatedAsyncioTestCase):
|
|
|
251
260
|
)
|
|
252
261
|
self.assertEqual(response.status_code, 400)
|
|
253
262
|
|
|
263
|
+
async def test_admin_email_change_rotates_uniquifier(self):
|
|
264
|
+
async with ext.async_session_factory() as db:
|
|
265
|
+
before = (await db.get(User, self.user_id)).fs_uniquifier
|
|
266
|
+
client = self.app.test_client()
|
|
267
|
+
await self.login(client)
|
|
268
|
+
token = await self.csrf(client)
|
|
269
|
+
response = await client.post(
|
|
270
|
+
f"/api/user/{self.user_id}",
|
|
271
|
+
json={"item": {"email": "moved@example.com"}},
|
|
272
|
+
headers={"X-CSRFToken": token},
|
|
273
|
+
)
|
|
274
|
+
self.assertEqual(response.status_code, 200)
|
|
275
|
+
async with ext.async_session_factory() as db:
|
|
276
|
+
after = (await db.get(User, self.user_id)).fs_uniquifier
|
|
277
|
+
self.assertNotEqual(before, after)
|
|
278
|
+
# Retyping the same address in other case is no change.
|
|
279
|
+
await client.post(
|
|
280
|
+
f"/api/user/{self.user_id}",
|
|
281
|
+
json={"item": {"email": "Moved@Example.com"}},
|
|
282
|
+
headers={"X-CSRFToken": token},
|
|
283
|
+
)
|
|
284
|
+
async with ext.async_session_factory() as db:
|
|
285
|
+
self.assertEqual((await db.get(User, self.user_id)).fs_uniquifier, after)
|
|
286
|
+
|
|
254
287
|
async def test_invalid_json_mutation_is_client_error(self):
|
|
255
288
|
client = self.app.test_client()
|
|
256
289
|
await self.login(client)
|
|
@@ -21,6 +21,19 @@ class StaticVersioningTests(unittest.IsolatedAsyncioTestCase):
|
|
|
21
21
|
self.assertIn("immutable", versioned.headers["Cache-Control"])
|
|
22
22
|
bare = await client.get("/static/js/config.js")
|
|
23
23
|
self.assertEqual(bare.headers["Cache-Control"], "no-cache")
|
|
24
|
+
# Another instance's version: serving these bytes under it must not stick.
|
|
25
|
+
other = await client.get("/static/js/config.js?v=deadbeef0000")
|
|
26
|
+
self.assertEqual(other.headers["Cache-Control"], "no-cache")
|
|
27
|
+
|
|
28
|
+
async def test_app_route_under_static_path_is_not_versioned(self):
|
|
29
|
+
app = Stk(__name__, config=TestingConfig)
|
|
30
|
+
|
|
31
|
+
@app.get("/static/manifest.json")
|
|
32
|
+
async def manifest():
|
|
33
|
+
return {}
|
|
34
|
+
|
|
35
|
+
response = await app.test_client().get("/static/manifest.json?v=1")
|
|
36
|
+
self.assertEqual(response.headers["Cache-Control"], "no-cache")
|
|
24
37
|
|
|
25
38
|
async def test_errors_and_session_cookies_are_never_cached_publicly(self):
|
|
26
39
|
app = Stk(__name__, config=TestingConfig)
|
|
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
|