Development

The canonical source repository is soerennb/nextcloud-proofing_gallery.

See the detailed development guide, architecture, privacy model, operations guide, and contribution guide. Public interfaces and security expectations must remain covered by unit, browser, package, and compatibility tests.

Tests focus on access and privacy boundaries, data integrity, core workflows, and meaningful failure cases. Fixed labels, CSS classes and cosmetic defaults do not need standalone tests. Routine browser runs use Chromium; the weekly workflow and explicit comprehensive runs also check the review viewer in Firefox and WebKit. See the detailed development guide for the separate protected-route checks and compatibility matrix.

Gallery favicons use the silhouette in img/app.svg, with a white symbol on a fixed blue background in img/favicon.svg. After changing the vector, update the Safari silhouette in img/favicon-mask.svg and rebuild the committed ICO and touch icon with the canonical container renderer:

docker compose exec -T --user "$(id -u):$(id -g)" nextcloud php custom_apps/proofing_gallery/scripts/build-favicons.php

The renderer is only needed for development. Runtime links use content hashes and direct app paths, bypassing the Nextcloud theming favicon cache. The gallery page, public gallery and gallery-unavailable page use these icons; other Nextcloud pages and the design preview iframe retain their existing icons.