ArchiveBox/archivebox/api
Claude 6a8062090b
Slim DB helpers and address PR review feedback
Helper reduction:
- Move the Django DATABASES/SQLITE_CONNECTION_OPTIONS assembly into
  core/settings.py, dropping get_database_settings() and
  get_sqlite_connection_options() from misc/db.py.
- Inline the single-use migration_table_columns() into its one migration.

Review fixes:
- search: match only scalar JSON *values* on postgres (jsonb_path_query
  over '$.**' scalar leaves), mirroring SQLite json_tree.atom so config
  keys no longer match.
- CharField clamp now also runs in SnapshotQuerySet.bulk_create (bulk paths
  bypass the pre_save signal); truncate_overlong_charfields is dual-use.
- Restore reverse-migration parity on postgres: crawls/machine/api initial
  migrations drop their rebuilt tables on reverse via drop_models_on_postgres.
- docs: give DATABASE_NAME its own section so the anchor resolves correctly.
- CI: only install postgres binaries on the shard that runs the postgres test.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019YHSjZM6TstSAMN2PhgfUg
2026-07-24 07:57:09 +00:00
..
migrations Slim DB helpers and address PR review feedback 2026-07-24 07:57:09 +00:00
__init__.py wip 2026-03-23 03:58:32 -07:00
admin.py release: archivebox 0.9.31rc42 2026-05-24 15:40:51 -07:00
apps.py wip 2026-03-23 03:58:32 -07:00
auth.py Publish local ArchiveBox changes 2026-06-02 02:25:52 -07:00
middleware.py wip 2026-03-23 03:58:32 -07:00
models.py Refactor plugins search progress and config flows 2026-06-01 00:08:27 -07:00
urls.py Exercise ArchiveBox through unified runtime lifecycles 2026-07-21 19:26:42 -07:00
v1_api.py Exercise ArchiveBox through unified runtime lifecycles 2026-07-21 19:26:42 -07:00
v1_auth.py wip 2026-03-23 03:58:32 -07:00
v1_cli.py Exercise ArchiveBox through unified runtime lifecycles 2026-07-21 19:26:42 -07:00
v1_core.py Route runtime binaries through abxpkg 2026-07-20 12:50:14 -07:00
v1_crawls.py Exercise ArchiveBox through unified runtime lifecycles 2026-07-21 19:26:42 -07:00
v1_machine.py wip 2026-03-23 03:58:32 -07:00
v1_personas.py Publish local ArchiveBox changes 2026-06-02 02:25:52 -07:00
webhooks.py release: archivebox 0.9.31rc41 2026-05-24 14:07:33 -07:00