Private
Public Access
Adds an admin-only dashboard (apps/core) surfacing feeds that are failing to fetch, with error messages, subscriber counts, and a one-click retry that resets backoff and re-queues the fetch. Hardens config/settings/prod.py with the remaining standard Django security settings (HSTS preload, nosniff, referrer-policy, frame-options, SameSite cookies) plus a Content-Security-Policy header via django-csp, as a second layer behind nh3's HTML sanitization of feed content. Adds docs/install.md (pip + gunicorn + systemd + nginx, SQLite and Postgres both covered) plus the systemd units and nginx snippet it references, LICENSE (AGPL-3.0-or-later, matching pyproject.toml), and an updated README. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
58 lines
1.2 KiB
TOML
58 lines
1.2 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "evection"
|
|
version = "0.1.0"
|
|
description = "Self-hosted RSS/Atom feed reader, inspired by FreshRSS, built in Python/Django."
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
license = { text = "AGPL-3.0-or-later" }
|
|
dependencies = [
|
|
"django>=5.0,<5.3",
|
|
"celery>=5.3,<6",
|
|
"redis>=5,<6",
|
|
"feedparser>=6.0,<7",
|
|
"requests>=2.31,<3",
|
|
"nh3>=0.2,<1",
|
|
"defusedxml>=0.7,<1",
|
|
"django-environ>=0.11,<1",
|
|
"django-htmx>=1.17,<2",
|
|
"psycopg[binary]>=3.1,<4",
|
|
"gunicorn>=21,<24",
|
|
"django-csp>=4.0,<5",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8,<9",
|
|
"pytest-django>=4.8,<5",
|
|
"factory_boy>=3.3,<4",
|
|
"responses>=0.25,<1",
|
|
"freezegun>=1.4,<2",
|
|
"ruff>=0.4",
|
|
"black>=24",
|
|
]
|
|
|
|
[tool.setuptools]
|
|
py-modules = []
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
exclude = [".venv", "migrations"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I"]
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
target-version = ["py311", "py312"]
|
|
extend-exclude = "migrations"
|
|
|
|
[tool.pytest.ini_options]
|
|
DJANGO_SETTINGS_MODULE = "config.settings.test"
|
|
python_files = ["test_*.py", "*_test.py", "tests.py"]
|
|
testpaths = ["apps"]
|