.. include:: /Includes.rst.txt .. _feature-1791523425: ============================================== Feature: Copy the allocation photos of Horilla ============================================== Description =========== The stage ``asset-allocations`` copies the handover and return photos of Horilla's assignments into the files of the allocation. They are read from a copy of Horilla's media directory, configured with the new optional setting ``MIGRATION_MEDIA_DIR``. A missing photo (``photoMissing``), one that is not a JPEG, PNG or PDF of at most 10 MB (``photoRefused``) and every photo when no media directory is set (``photosNotCopied``) are reported, and the allocation is imported without them. A path leading outside the media directory counts as missing. A file taken over this way has no uploader. Impact ====== The uploader of an asset file becomes optional in the database (one migration). Only with ``MIGRATION_ENABLED=1`` and the asset package installed are photos copied. .. index:: CLI, Database, package:adsum-assets