Commit Graph

18 Commits

Author SHA1 Message Date
obervinov 4273c541c5 Add API tokens and OAuth2 client support for external integrations
- Personal API tokens (model, user-settings UI, admin, management command,
  DRF auth class) for non-interactive API access from automations like n8n.
  Raw token shown once; only a SHA-256 hash is stored; last_used_at writes
  are throttled.
- OAuth2 authorization server via django-oauth-toolkit with authorization
  server metadata and optional, off-by-default Dynamic Client Registration
  (RFC 7591), so remote OAuth/MCP clients can authenticate and self-register.
- Tests for token auth, DCR gating and the management commands, plus
  .env.example and README documentation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 19:15:31 +04:00
Herculino Trotta d17b9d5736 fix: dev image fails due to the environment being overwritten at runtime 2025-12-26 10:30:22 -03:00
icovada bc65980511 migrate dev dockerfile to uv 2025-12-21 16:12:18 +01:00
Herculino Trotta 372ec2f30f Merge branch 'main' into feat/replace-webpack+bootstrap 2025-11-23 23:08:02 -03:00
Herculino Trotta eb4723e890 feat: cleanup vite configs 2025-11-23 20:15:06 -03:00
Herculino Trotta 5d7dd622f5 feat: add internal_port env var 2025-11-09 15:42:42 -03:00
Herculino Trotta 046e02d506 feat(app): add environment variables to automatically create superuser on startup 2025-03-31 02:11:13 -03:00
Herculino Trotta 6c17b3babb fix(docker:single): procrastinate starts before django 2025-02-05 10:52:21 -03:00
Herculino Trotta 85794f5c01 feat: expose current version 2025-01-31 11:15:15 -03:00
Herculino Trotta 0b66b23f16 docker: add single-container support 2025-01-28 23:34:48 -03:00
Herculino Trotta 93774cca64 docker: update python image from slim-buster to slim-bookworm 2025-01-26 11:16:39 -03:00
Herculino Trotta c7174e7b53 docs: remove unused dependencies 2024-10-31 16:17:24 -03:00
Herculino Trotta d2be0be72d docker: try to reduce image size 2024-10-25 15:48:36 -03:00
Herculino Trotta 49db2089e8 build: replace celery with procrastinate 2024-10-11 14:11:40 -03:00
Herculino Trotta 3319e833e2 build: remove unused code from Dockerfile 2024-10-11 01:57:16 -03:00
Herculino Trotta fde0dd420a build: remove fixtures 2024-10-11 01:54:53 -03:00
Herculino Trotta 3dde44b1cd changes 2024-10-09 00:31:21 -03:00
Herculino Trotta 50b0c6ce01 initial commit 2024-09-26 11:00:40 -03:00