Commit Graph

546 Commits

Author SHA1 Message Date
Kirik e5fc0fa4e4 Update departure time text and improve forms
Remove specific time details from departure info on plan page.
Add email domain blocking, extended validation, and multi-admin
Telegram notifications in forms.
2026-01-27 15:26:42 +01:00
Telegram Bot 5ab79a65b2 Удалено фото из галереи: Gallery-20260116-1.png 2026-01-16 20:22:07 +03:00
Telegram Bot 23d4bf9a7e Добавлено фото в галлерею 2026-01-16 20:21:41 +03:00
Telegram Bot 788b450cd5 Удалено фото из галереи: Gallery-20260116-1.png 2026-01-16 20:17:48 +03:00
Telegram Bot 0fd2d6d6b9 Удален пост: Proverka 2026-01-16 20:00:02 +03:00
Telegram Bot a691f1e43f Добавлен новый пост: Proverka
🤖 Создано через Telegram бота
2026-01-16 19:59:26 +03:00
Telegram Bot b0f1f762e2 Добавлено фото в галлерею 2026-01-16 19:55:11 +03:00
Telegram Bot 9c2865dcb4 Удален пост: Ижжевск 2026-01-15 22:24:42 +03:00
Telegram Bot 4bc7eeb0f0 Синхронизация репозитория 2026-01-15 22:24:06 +03:00
Kirik 38bacfd09c Add .pdf format specification to notification upload label 2025-11-28 11:27:55 +01: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 4776b309c0 Update Norilsk post preview image to WebP format
- severnyy-veter-20251006: Norilsk-20251006-1.jpg -> Norilsk-20251006-1.webp
- Reduces preview image file size on main page
2025-11-12 20:55:05 +01:00
Kirik 8e5ddd0fa1 Fix: Update correct posts with WebP image links
- svyato-vvedenskaya-ostrovnaya-pustyn-20250601: Pokrov-20250908-1.webp
- zabroshennye-karery-20250602: Vetchi-20250908-1.webp
- Revert Pokrov-20230204 to original image
- Revert Vetchi_20241012_0 to original image
2025-11-12 20:46:15 +01:00
Kirik c64ac91ab1 Update preview images to WebP format for main page posts
- Vetchi: jpg -> Vetchi-20250908-1.webp
- Pokrov: jpg -> Pokrov-20250908-1.webp
- Knyazhigory: jpg -> Knyazhigory-20250925-1.webp
- Gurevo: jpg -> Gurevo-20250908-1.webp
- Suzdal: jpg -> Suzdal-20250925-1.webp

Reduced file size on homepage by using WebP images from S3
2025-11-12 20:39:51 +01:00
Kirik 93dc90ce31 Remove consent header from form checkbox, keep only in explanations section
- Remove 'СОГЛАСИЕ НА ОБРАБОТКУ ПЕРСОНАЛЬНЫХ ДАННЫХ' header from privacy consent checkbox in form
- Keep only 'Я выражаю своё согласие на обработку персональных данных' text
- Header remains in 'Пояснения к форме' section for clarity
- Update CHANGES.md with complete documentation of today's work
2025-11-11 09:32:44 +01:00
Kirik 2510dc9110 Update plan page: remove Moscow region, simplify conditions, update text
- Remove 'Московскую область' from trip description
- Replace intro text with 'Хотите присоединится к поездке?...'
- Remove 'Поездки без дронов' section and custom trip proposal text
- Keep only 'Дронослёты' section with 5-day deadline
- Add consent header in explanations section
2025-11-10 20:58:19 +01:00
Kirik 7bacf51dd1 Add custom file upload button with Russian label 'Выбрать файл'
- Replace standard browser file input with custom styled button
- Add blue button label 'Выбрать файл' instead of 'Choose File'
- Display selected filename with checkmark after selection
- Hide default file input element
2025-11-10 20:06:24 +01:00
Kirik 85d39db6bc Update plan page content with form improvements
- Change field label from 'Имя' to 'Фамилия, имя'
- Make phone field required (add * and required attribute)
- Update drone flight conditions section title to 'Дронослёты'
- Change submission deadline from 7 to 5 days
- Add detailed departure time info with location dependency
- Update BVS field label with new text for registration numbers
- Add PDF file upload for drone registration notice
- Update trip period label from 'Выберите поездку' to 'Выберите мероприятие'
- Add consent header 'СОГЛАСИЕ НА ОБРАБОТКУ ПЕРСОНАЛЬНЫХ ДАННЫХ' in bold centered
- Update consent text for data processing privacy policy
- Add enctype multipart/form-data for file uploads
2025-11-10 19:27:39 +01:00
Kirik 2f20c1652a Clean up test webhook marker from plan page 2025-11-05 15:11:29 +01:00
Kirik 6cd8708c16 Test webhook with new domain - check if auto deploy works 2025-11-05 15:02:58 +01:00
Kirik 765b9c5f9f Remove test marker 2025-11-05 14:55:19 +01:00
Kirik 120eec4f4f Test: add 11 to check if deploy is working 2025-11-05 14:52:24 +01:00
Kirik 32d69043f3 Update trips without drones section - combine submission and discussion into one line 2025-11-05 14:30:08 +01:00
Kirik 956ce4b8f9 Optimize background image and clean up test content
- Convert DESKTOP_NEW_1.jpg (4.5MB) to DESKTOP_NEW_1.webp (571KB)
- Reduce dimensions from 5418x3070 to 1920x1088
- 87% size reduction for faster page load
- Update config.toml to use optimized WebP background
- Remove test text from map.md page
2025-10-27 17:02:42 +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 f902109b04 Fix plan form: add AJAX submit handler binding
- Add onsubmit handler to plan form
- Form now uses JavaScript fetch instead of standard POST
- Fixes white page issue with JSON response
2025-10-27 15:42:48 +01:00
Telegram Bot bec2feb35a Синхронизация репозитория 2025-10-26 22:35:55 +03:00
Telegram Bot 3d522fac92 Добавлен новый пост: Test post
🤖 Создано через Telegram бота
2025-10-26 22:27:52 +03:00
reddragon333 654d9abd1b Delete content/post/testovyy-post-20251023.md 2025-10-26 17:12:25 +01:00
Kirik c0ffaa3687 Merge branch 'main' of github.com:reddragon333/ptp 2025-10-26 16:47:26 +01:00
Kirik 60ead4e6d7 Fix forms 404: change action to /forms/ paths 2025-10-26 16:46:28 +01:00
Telegram Bot 4167e36921 Добавлен новый пост: Тестовый пост
🤖 Создано через Telegram бота
2025-10-26 18:31:55 +03:00
Kirik 6e8750fe37 Merge branch 'main' of github.com:reddragon333/ptp 2025-10-17 18:01:55 +02:00
Kirik 61a4a42cc4 Добавлен тестовый текст на страницу карты 2025-10-17 17:57:43 +02:00
www-data da2bcec6d6 Добавлен новый пост: Северный ветер
🤖 Создано через Telegram бота
2025-10-06 16:40:11 +03:00
www-data e172c50123 Добавлен новый пост: Поездка выходного дня
🤖 Создано через Telegram бота
2025-09-25 01:18:34 +03:00
www-data 6fc12f81d4 Добавлен новый пост: Дронослёт в июле 2025
🤖 Создано через Telegram бота
2025-09-25 01:13:07 +03:00
www-data f86983cb23 Добавлен новый пост: Дронослёт в июне 2025 года
🤖 Создано через Telegram бота
2025-09-12 00:14:22 +03:00
www-data 8e65c97b93 Добавлен новый пост: Заброшенные карьеры
🤖 Создано через Telegram бота
2025-09-08 23:10:35 +03:00
www-data a467a5507d Добавлен новый пост: Свято-Введенская островная пустынь
🤖 Создано через Telegram бота
2025-09-08 23:04:44 +03:00
www-data 79478eb7dd Удален пост: Свято-Введенская островная пустынь 2025-09-08 22:59:48 +03:00
www-data 24c0806d6c Добавлен новый пост: Свято-Введенская островная пустынь
🤖 Создано через Telegram бота
2025-09-08 22:56:46 +03:00
www-data 2045b08915 Удален пост: Bdhdndnd 2025-09-03 18:40:59 +03:00
www-data c73c8284d7 Удален пост: Dhdhhd 2025-09-03 18:40:52 +03:00
www-data cd5ed17acd Добавлен новый пост: Bdhdndnd
🤖 Создано через Telegram бота
2025-09-03 18:39:58 +03:00
www-data 41a25c4823 Добавлен новый пост: Dhdhhd
🤖 Создано через Telegram бота
2025-09-03 18:29:58 +03:00
Kirik 4eb7a82673 Restore full repository structure with S3 fixes
- Fixed S3 upload functionality with direct HTTP requests
- Added AWS Signature V4 authentication for REG.RU S3
- Resolved telegram bot photo upload issues
- Updated s3_helper.py with proper error handling
- Fixed forms_helper.php function calls
- Updated send_plan_simple.php to return JSON responses
2025-09-03 17:28:07 +02:00
Kirik f02f7bc27c Переделан send_plan_simple.php по образцу рабочего send_ask.php
- Убраны эмодзи из заголовков на странице plan
- Упрощена структура PHP скрипта как в send_ask.php
- Убрана вся сложная отладка и проверки
- Используется стандартный redirect с параметрами success/error
- Возвращена форма на send_plan_simple.php
2025-09-03 15:25:09 +02:00
Kirik f1e03c20f8 Добавлен тестовый PHP скрипт для диагностики
- test.php - простейший скрипт без зависимостей
- Временно переключена форма на test.php
- Покажет работает ли PHP, структуру файлов и POST данные
- Поможет диагностировать проблему с send_plan_simple.php
2025-09-03 15:19:48 +02:00
Kirik 71fdcb3d76 Добавлена отладка для диагностики проблем формы
- Подробные логи в JavaScript консоли браузера
- Проверка существования файлов в PHP
- Отладочные сообщения в error_log
- Обработка случаев когда сервер возвращает не JSON
2025-09-03 13:16:02 +02:00