Archive viewer: galleries open by the page #14

Open
opened 2026-10-17 17:49:45 +01:00 by spark · 1 comment
Owner

The Liga archive (adf17dbd-9ebe-4ad0-beba-5bf0a1c2a21f) is already indexed: about 152,000 photos and 3,500 galleries. Opening anything on the public page loaded that whole set into one response, and a gallery, a person or a face had no URL.

Nextcloud is only used at sign-in and for the original-file link. Browsing reads Postgres.

Shipped in #13 (a1e1f697).

  • Gallery responses are 48 thumbs. Faces load when a photo is opened.
  • People, similar faces and the player directory join cloud_files for the source instead of a list of photo ids.
  • Sign-in stores the viewer's grant. Later requests do not call Nextcloud.
  • Links: /arquivo/<source>, /g/<folder>, /p/<person>, /f/<face>.
The Liga archive (`adf17dbd-9ebe-4ad0-beba-5bf0a1c2a21f`) is already indexed: about 152,000 photos and 3,500 galleries. Opening anything on the public page loaded that whole set into one response, and a gallery, a person or a face had no URL. Nextcloud is only used at sign-in and for the original-file link. Browsing reads Postgres. Shipped in https://git.bitreport.pt/BitReport.pt/photoreport/pulls/13 (`a1e1f697`). - Gallery responses are 48 thumbs. Faces load when a photo is opened. - People, similar faces and the player directory join `cloud_files` for the source instead of a list of photo ids. - Sign-in stores the viewer's grant. Later requests do not call Nextcloud. - Links: `/arquivo/<source>`, `/g/<folder>`, `/p/<person>`, `/f/<face>`.
Author
Owner

Deployed. API health is a1e1f69713eb5f83de644967bfd0bdd00cc40b97. pr-api and pr-site are on that commit.

Migration 20261017210000_archive_viewer_pages is applied (archive_grants and the folder/file indexes). The public page answers: https://events.next.photoreport.pt/arquivo/adf17dbd-9ebe-4ad0-beba-5bf0a1c2a21f

Archive tests: 34 passed. API and site typecheck passed.

Deployed. API health is `a1e1f69713eb5f83de644967bfd0bdd00cc40b97`. pr-api and pr-site are on that commit. Migration `20261017210000_archive_viewer_pages` is applied (`archive_grants` and the folder/file indexes). The public page answers: https://events.next.photoreport.pt/arquivo/adf17dbd-9ebe-4ad0-beba-5bf0a1c2a21f Archive tests: 34 passed. API and site typecheck passed.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: BitReport.pt/photoreport#14