Commit Graph

5 Commits

Author SHA1 Message Date
Telegram Bot 4bc7eeb0f0 Синхронизация репозитория 2026-01-15 22:24:06 +03:00
Kirik ac334495b9 Make drone serial number field mandatory in trip form
- Added required validation for bvs_number field in send_plan.php
- Updated form label to show asterisk (*) indicating required field
- Implemented file attachment support in email notifications (multipart MIME)
- Files are now temporarily saved and automatically deleted after email is sent
2025-11-20 00:41:48 +01:00
Kirik b08063eb1b Update December flights form and trip data
- Update form fields: Change 'Имя' to 'Фамилия, имя', add required phone field
- Add PDF upload for drone registration notice (BVS notice)
- Update trip conditions: Change 'Поездки с полетами дронов' to 'Дронослёты'
- Update submission deadline from 7 days to 5 days for drone flights
- Add detailed time departure info with location dependency
- Update privacy consent text and add centered consent header
- Hide November 2025 flights (set active: false)
- Update December 2025 flights image to winter drone photo
- Add backend validation for phone field and PDF file upload (max 5MB, PDF only)
- Update email notification function for consistent handling
2025-11-10 19:10:07 +01:00
Kirik e26c35e488 Fix ask form and improve .env parsing
- Add AJAX handler to ask.md (same as plan.md)
- Improve load_env_file() to strip inline comments and spaces
- Create ERRORS_COLLECTION.md documenting all 7 error categories
- Fixes white page/JSON display issue in ask form
2025-10-27 16:35:59 +01:00
Kirik 776dbb5e76 Fix forms: return JSON instead of redirect for AJAX compatibility
- send_plan.php: replace redirect with JSON response
- send_ask.php: replace redirect with JSON response
- Fixes white page issue (fetch API doesn't follow redirects)
- Update .gitignore: allow forms folder but protect .env file
2025-10-27 15:35:46 +01:00