29 Commits
Author SHA1 Message Date
F4ilji d6c0f48d48 feat(analytics): add site analytics with grouped navigation sections
- Add Analytics container: models, tasks, jobs, controllers, routes, services
- Add analytics config with section groups (structure, institute, content, services)
- Add database tables: analytics_sessions, analytics_hits, analytics_daily_stats
- Add frontend: Analytics page, section detail, chart, overview, navigation components
- Add consent banner and JS tracking service (sendBeacon + Inertia listener)
- Add permission sync for view_analytics, view_any_analytic
- Fix trailing slash URL matching in GetNavigationSectionsTask
- Fix event propagation on expand arrows in navigation sections
- Fix RecordVisitJob to not depend on dropped analytics_geo_cache table
- Replace plain text views/visitors with badge-style icons
- Group navigation sections by category with separate blocks
- Add config-driven non-CMS sections (faculties, divisions, DPO, journals)
- Remove Events, TV, Sveden from analytics sections
2026-09-18 22:18:04 +05:00
F4ilji db968ad9b0 Simplify Jenkins proxy: remove port exposure, add proxy_redirect 2026-07-02 21:43:56 +05:00
F4ilji e0ceecf157 Add Jenkins prefix /jenkins for nginx proxy 2026-07-02 21:39:35 +05:00
F4ilji f652308421 Add jenkins service to docker-compose.yml 2026-07-02 21:15:27 +05:00
F4ilji 48ffd217b8 fix: secure deploy API, remove Docker-in-Docker, add DB backup
- Add web+superadmin middleware to /api/deploy routes
- Return JSON 403 in EnsureUserIsSuperadmin for API requests
- Remove Docker CLI and docker.sock from app container
- Replace docker compose restart with supervisorctl
- Add mysqldump backup step before migrations
2026-07-02 17:26:38 +05:00
F4ilji cc98d509e5 fix: add Docker CLI to PHP container for deploy script
- Install docker-ce-cli + docker-compose-plugin in Dockerfile
- Mount Docker socket in docker-compose.yml
- Add www-data to docker group for socket access
2026-07-02 01:50:40 +05:00
F4ilji a3948c872e Changes 2026-03-20 21:47:02 +05:00
F4ilji 596e14feee remove jenkins in docker-compose.yml 2026-01-09 14:09:55 +05:00
F4ilji 2d101dcdda feat: Refactor MainController and related tasks to follow Porto architecture
- Moved logic from MainController to dedicated action and task classes.
- Introduced GetMainPageDataAction, GetEducationsDataTask, GetRecentPostsTask, GetUpcomingEventsTask, and GetPageDataTask for better separation of concerns.
- Updated routes to use the new MainController from the Main container.
- Deprecated the old MainController with a clear message for future removal.
- Updated caching mechanisms to use the new task classes.
- Adjusted environment variable access to use config() instead of env() for better practice.
- Added new MainPageResource for structured data response.
- Updated .gitignore to exclude QWEN.md.
- Added Jenkins service to docker-compose for CI/CD integration.
2025-12-16 12:20:01 +05:00
F4ilji e62b442991 Error correction and preparation of the project for initial deployment 2025-08-11 16:12:10 +05:00
F4ilji e92e8a912c adding new configuration for http testing 2025-06-14 23:09:35 +05:00
F4ilji 7f000877ee added SSL certificate let's encrypt 2025-05-19 22:15:23 +05:00
F4ilji c01016a154 Migrate backend to Porto architecture and fix minor bugs
- Fully transitioned the backend to the Porto architectural pattern
- Improved code organization and maintainability
- Fixed minor bugs and inconsistencies
2025-05-12 08:47:43 +05:00
F4ilji 1df3ad490c fix bugs 2025-04-30 11:37:34 +05:00
F4ilji ab0eb1d3ab start supervisor 2025-04-27 19:35:41 +05:00
F4ilji 1399e2b8de splitting nginx configuration into prod and local 2025-04-17 21:50:21 +05:00
f4ilji 6b48c31afd Changes 2025-01-13 13:56:50 +05:00
f4ilji 0a5ff27966 Changes 2025-01-12 14:43:16 +05:00
f4ilji accdf0da3e Changes 2025-01-10 00:29:21 +05:00
f4ilji b6bb795f47 Changes 2024-11-25 17:44:36 +05:00
f4ilji b26b52bdc0 Changes 2024-11-22 14:00:01 +05:00
f4ilji 2ecc35ccb3 Changes 2024-11-22 13:34:23 +05:00
f4ilji c2076d132b Changes 2024-11-22 01:33:31 +05:00
f4ilji 431755ab9b Changes 2024-11-20 18:54:29 +05:00
f4ilji f091b29b63 Changes 2024-11-13 13:38:58 +05:00
f4ilji 63e760872b Changes 2024-11-02 15:46:48 +05:00
f4ilji 34983efe79 Changes 2024-11-02 13:14:37 +05:00
f4ilji db9849e3f4 Changes 2024-11-01 00:38:22 +05:00
f4ilji b686638a39 first commit 2024-09-19 16:06:49 +05:00