Commit Graph
166 Commits
Author SHA1 Message Date
F4ilji 92bb10faba fix: add CSRF token and cookies to deploy API requests 2026-07-02 13:17:24 +05:00
F4ilji 6fb0079e7c feat: add deploy route and sidebar navigation 2026-07-02 12:50:09 +05:00
F4ilji 13d7d36088 feat: add deploy dashboard page with components 2026-07-02 12:48:49 +05:00
F4ilji 8bc5c367d6 revert: remove deploy UI, controller, actions, tasks, and routes
- Remove Deploy/Index.vue, DeployController, DeploySiteAction, DeployTask
- Remove deploy routes from web.php
- Remove deploy menu item from menuConfig
- Remove deploy button and methods from Main.vue
- Remove deploy logging channel from logging.php
- Keep _deploy/ folder for future CI/CD setup
2026-07-02 12:00:48 +05:00
F4ilji 3da95da099 fix: use X-CSRF-TOKEN header to match Main.vue pattern
X-XSRF-TOKEN is for Laravel's cookie-based CSRF verification,
but this app uses meta tag CSRF. Main.vue uses X-CSRF-TOKEN
and works correctly.
2026-07-02 01:36:05 +05:00
F4ilji de4fdc2c72 fix: add credentials same-origin to Deploy fetch calls
Without this, session cookie is not sent with fetch() requests,
causing server to redirect to login (returning HTML instead of JSON).
2026-07-02 01:29:05 +05:00
F4ilji b42a733f53 error alert change 2026-07-02 01:24:58 +05:00
F4ilji 8364b220cc feat: add Integration Credentials CRUD and Deploy UI
Integration Credentials:
- Add IntegrationCredential model with encrypted payload
- Add full CRUD: ManageIntegrationCredentialsAction, 4 Tasks, Controller, Requests
- Add migration for integration_credentials table
- Add Vue pages: Index, Create, Edit
- AI tasks now read API keys from DB instead of .env
- Add sidebar menu item

Deploy UI:
- Add DeployTask with full deploy lifecycle management
- Extend DeployController with index, log, history endpoints
- Add Deploy/Index.vue with live polling and deploy log viewer
- Add sidebar menu item and QuickAction for Sveden

UI:
- Add 'key' icon to SidebarNavItem
- Change deploy button color to amber in Main.vue
2026-07-02 01:03:13 +05:00
F4ilji 938578d217 fix: handle non-JSON server responses in Sveden upload 2026-07-01 13:58:46 +05:00
F4ilji d83ecc3747 debug: show actual error message in Sveden upload 2026-07-01 13:33:49 +05:00
F4ilji 80b88405f1 fix: resolve Sveden upload permissions and CSRF cookie issue
- Add hostgroup (GID 1000) to Dockerfile so www-data inside container can write to sveden/
- Add credentials: 'same-origin' to fetch calls in Sveden.vue and QuickUpload.vue to send session cookies
2026-07-01 13:10:59 +05:00
F4ilji c9fca0bf29 feat: add Sveden update feature
- SvedenController: upload zip and extract to public/sveden
- UpdateSvedenAction: orchestrates temp file handling and extraction
- ExtractSvedenArchiveTask: validates and extracts sveden/abitur folders with security checks
- Sveden.vue: upload UI with progress indicator
- Added routes: GET/POST /dashboard/sveden
- Added quick action: Обновить Sveden
2026-06-30 16:12:16 +05:00
F4ilji 20f615365b changes 2026-04-17 12:38:39 +05:00
F4ilji 3669a0d982 changes 2026-04-14 23:10:00 +05:00
F4ilji 2e77978d5c changes 2026-04-13 14:37:57 +05:00
F4ilji 5eb5a7bc06 changes 2026-04-10 10:51:42 +05:00
F4ilji 9e35cf848d changes 2026-04-10 09:01:47 +05:00
F4ilji 4aa4b9cadf changes 2026-04-09 17:23:10 +05:00
F4ilji 4bde0b10d0 changes 2026-04-09 13:35:02 +05:00
F4ilji e986940680 changes 2026-04-09 09:09:17 +05:00
F4ilji 169a2f5654 changes 2026-04-08 14:14:38 +05:00
F4iljiandQwen-Coder bd28fc60d7 feat(ssr): вынести обработку SSR ошибок в отдельный файл
- Создан resources/js/ssr/errorHandler.js для логирования SSR ошибок
- SSR ошибки теперь записываются в storage/logs/ssr-errors.log
- Обновлён ssr.js с использованием кастомного error handler
- Добавлен storage/logs в .gitignore

Теперь SSR ошибки не засоряют основные логи приложения

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-07 22:55:31 +05:00
F4iljiandQwen-Coder d7c6d23a6b fix(ssr): добавить route mixin для SSR совместимости Ziggy
- Создан RouteMixin.js для предоставления route() всем компонентам
- Обновлён ssr.js с правильным импортом Router и созданием route функции
- Исправлен BackButton.vue с проверкой this.route перед использованием
- Добавлена обработка ошибок для route() с fallback на '#'

Решает ошибку: ReferenceError: route is not defined at Proxy.resolvedLink

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-07 22:41:14 +05:00
F4ilji 3798d01da1 changes 2026-04-07 22:30:06 +05:00
F4iljiandQwen-Coder 438f7df855 fix(ssr): пересобрать SSR бандл, Ziggy routes и Livewire ассеты
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-07 22:15:45 +05:00
F4ilji 936b1fb5b0 changes 2026-04-07 17:54:26 +05:00
F4ilji 1256adba98 changes 2026-03-23 10:50:31 +05:00
F4ilji b1c4f7b054 changes 2026-03-21 15:40:18 +05:00
F4ilji d0a106159d changes 2026-03-21 00:53:49 +05:00
F4ilji 836452add6 Changes 2026-03-20 23:35:09 +05:00
F4ilji a3948c872e Changes 2026-03-20 21:47:02 +05:00
F4ilji ae7b42acbe return LinksReform.js 2026-01-27 14:16:41 +05:00
F4ilji 7f93aa185e change LinksReform.js 2026-01-26 10:24:59 +05:00
F4ilji 2b4b97cd7e change EducationSection.vue 2026-01-26 10:13:05 +05:00
F4ilji 537fa2b0b5 Refactor VkPostPublisher to simplify message formatting and enhance PostListItem layout for better author display 2025-11-25 16:10:50 +05:00
F4ilji 864795749e Update pagination limit and improve author display in PostListItem 2025-11-20 15:58:48 +05:00
F4ilji de4f8e27b8 Update ListBlock label to include exhibitions in InfoSection.vue 2025-11-20 15:04:49 +05:00
F4ilji 2297aab379 Added a check for the emptiness of the array for added programs in Departments/Show.vue 2025-10-08 01:11:52 +05:00
F4ilji 6a279d4942 small changes 2025-10-08 01:08:07 +05:00
F4ilji d6a5db711d changes 2025-10-05 18:04:32 +05:00
F4ilji f4bfa04690 Refactor Time.vue layout by removing unnecessary margin from schedule and date/time blocks for improved styling consistency. 2025-09-29 16:44:25 +05:00
F4ilji ddefe4995e Remove progress bar from TvSliderBody component and increase slide duration from 9000ms to 15000ms for improved user experience. 2025-09-29 15:45:15 +05:00
F4ilji 4146880905 Add time method to TvController and update routes to include time endpoint for TV functionality. 2025-09-28 12:36:38 +05:00
F4ilji 72af09d93d Add Yandex Metrika integration for tracking; update FindSliderBySlugTask to ensure active slides are filtered correctly based on time; enhance app.blade.php for conditional Yandex Metrika script inclusion based on environment. 2025-09-27 22:35:36 +05:00
F4ilji 02fb2554c1 Enhance FindSliderBySlugTask to filter slides based on current time, ensuring only active slides within the valid time range are retrieved; update SlidesRelationManager to set default and minimum dates for start and end times. Improve Slider component styling for better visibility during loading state. 2025-09-27 14:11:25 +05:00
F4ilji 3b55909906 Refactor BackButton component in Show.vue to use route name instead of URL; update PostAuthorsList.vue to correct conditional rendering for authors list display. 2025-09-11 12:37:49 +05:00
F4ilji b905ba4cb5 Refactor VK service URLs in CreateVkPostJob and UpdateVkPostJob to use 'vk.ru' instead of 'vk.com' for consistency; update BasicCarousel component to improve button visibility and touch event handling. 2025-09-09 12:14:58 +05:00
F4ilji ddf9f3a5dc Enhance WorkersRelationManager actions to clear cache before editing and detaching workers; update BasicCarousel button classes for improved visibility on larger screens. 2025-09-08 21:28:46 +05:00
F4ilji ff33023643 Add @gladesinger/vue3-yandex-smartcaptcha dependency, replace vue3-yandex-smartcaptcha with YandexSmartCaptcha in CaptchaBlock component, and update PersonalDataBlock label for compliance with data protection laws. 2025-09-05 17:13:04 +05:00
F4ilji c8ab16aecb Add @gladesinger/vue3-yandex-smartcaptcha dependency, refactor CaptchaBlock component to use YandexSmartCaptcha, and update PersonalDataBlock label for compliance with data protection laws. 2025-09-05 17:12:37 +05:00