Sign-in via django-allauth: emailed one-time codes, GitHub, Discord, and Forgejo instances as OpenID Connect apps registered in admin. Regular users never have a password; sysadmins sign in only at /admin/ and are redirected there from the normal sign-in. Organizations at the URL root with owner and collaborator roles, a per-member project-create grant, and invites by username or email. Email invites carry a bearer token stored only as a hash. The last owner can't leave, be removed or be demoted. Permission checks live in intent/access.py. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
724 B
TOML
33 lines
724 B
TOML
[project]
|
|
name = "intent"
|
|
version = "0.1.0"
|
|
description = "Track the why behind features, across implementations."
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"django>=5.2,<5.3",
|
|
"django-allauth[socialaccount]>=65.21",
|
|
"django-storages[s3]>=1.14.6",
|
|
"gunicorn>=26.2.0",
|
|
"python-ulid>=4.0.1",
|
|
"sentry-sdk[django]>=2.73.0",
|
|
"whitenoise>=6.12.0",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=9.1.1",
|
|
"pytest-django>=4.14.0",
|
|
"ruff>=0.17.3",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py313"
|
|
extend-exclude = ["*/migrations/*"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B", "DJ"]
|
|
|
|
[tool.pytest.ini_options]
|
|
DJANGO_SETTINGS_MODULE = "config.settings.test"
|
|
testpaths = ["tests"]
|