LSYC CRANE & MAST 2026 — COMPLETE REBUILD
LOGIN RULES: usernames 4–20 characters; passwords 4–20 characters.
Allowed username characters: letters, numbers, underscore, period, hyphen.
WARNING: short passwords are easier to guess. Prefer stronger ones for internet use.

INCLUDED: 184 boat records and 199 linked photographs from the existing October 8 snapshot.
Each boat supports THREE photograph slots. Adding a boat adds three empty slots automatically.
This package does not automatically include changes made on the current live website after that backup.

INSTALL SAFELY:
1. Keep the existing app and its database untouched until testing is complete.
2. Extract the ZIP into the parent of your intended installation folder. It contains one LSYC-CRANE-MAST-2026 folder.
3. Verify index.html, api.php, config.php, photos/, data/ and .htaccess are in the same app folder.
4. Confirm PHP 8.1+, PDO_SQLITE, ZipArchive, HTTPS, writable data and photos folders.
5. Test that data/lsyc.sqlite, config.php, INSTALL-KEY.txt, and direct photos/ URLs cannot be downloaded publicly.
6. Open app URL, use installation key privately to create administrator. Delete INSTALL-KEY.txt after setup.
7. Verify 184 boat records and 199 photographs. Compare with any newer changes.
8. Create Big Crane, Small Crane, Yard Lead accounts; test each role on different devices.
9. Test photo upload and replacement on iPhone, mast assignment, occupied rack warning, and downloadable full ZIP backup.
10. Do not direct crews to this site until live tests succeed.

Permissions: Big and Small Crane Leads can replace/add sling photos; Yard Lead can update mast storage and mast notes; Administrator controls all.
Mast rack A–I, slot 1–12, Inside/Middle/Outside.
Database snapshots do not include photos; download complete backups regularly.
OFFLINE checks only: PHP and JS syntax, SQLite integrity, photograph links, ZIP archive. Live operation not yet verified.
