ArchiveBox/archivebox/api
Nick Sweeting b0a47e8bf5
wip: snapshot live progress, universal --init, runner perms, supervisord SIGINT
- Snapshot detail page: embed scoped live-progress monitor (same-origin
  /progress.json on whichever host the page is served from); hide admin
  action buttons when scoped; per-snapshot perms via can_view_snapshot.
- crawl_file API: respect crawl-level permissions; PUBLIC/UNLISTED served
  to guests, PRIVATE returns 404 for non-admin/non-owner.
- CrawlRunner: replace allow_paused_snapshot_maintenance with
  allow_maintenance_on_inactive_crawl so SEALED crawls don't short-circuit
  the cancellation guard for legitimate maintenance hooks (search backend
  backfill, fs migration, etc.). Fixes infinite STARTED loop on snapshots
  with queued search_backend results.
- Universal `--init` flag: works on any subcommand (server, update, add,
  shell, install, ...). Detected at module load, stripped from argv, and
  consumed in the dispatcher so subprocesses inherit a clean env.
- supervisord_util.run_runner_worker: route Ctrl+C through
  supervisor.signalProcess(name, "SIGINT") instead of raw os.kill on a
  cached pid, gated on statename=RUNNING. Prevents killing unrelated
  processes when the worker's pid has been reused by the OS.
- Login page: remove non-functional password-reset links; add
  has_real_admin_users template tag to gate the bootstrap hint.
- Add page: hide underline on the "Get the extension" link.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-30 04:45:15 -07:00
..
migrations wip 2026-03-23 03:58:32 -07: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 backup: save in-progress dev changes 2026-05-28 05:20:52 -07:00
middleware.py wip 2026-03-23 03:58:32 -07:00
models.py wip 2026-03-23 03:58:32 -07:00
urls.py release: archivebox 0.9.33rc29 2026-05-28 15:35:33 -07:00
v1_api.py Prepare ArchiveBox 0.9.30rc81 demo release 2026-05-18 01:51:55 -07:00
v1_auth.py wip 2026-03-23 03:58:32 -07:00
v1_cli.py wip: snapshot live progress, universal --init, runner perms, supervisord SIGINT 2026-05-30 04:45:15 -07:00
v1_core.py wip: snapshot live progress, universal --init, runner perms, supervisord SIGINT 2026-05-30 04:45:15 -07:00
v1_crawls.py wip: snapshot live progress, universal --init, runner perms, supervisord SIGINT 2026-05-30 04:45:15 -07:00
v1_machine.py wip 2026-03-23 03:58:32 -07:00
v1_personas.py Prepare ArchiveBox 0.9.30rc81 demo release 2026-05-18 01:51:55 -07:00
webhooks.py release: archivebox 0.9.31rc41 2026-05-24 14:07:33 -07:00