34 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 7ff860feca feat: block destructive DB commands in production
Listen for CommandStarting event and throw RuntimeException for
migrate:fresh, migrate:refresh, migrate:reset, db:wipe, db:seed
when APP_ENV=production. Prevents accidental data loss even with --force.

Also removes old non-functional closure-based override in routes/console.php.
2026-09-18 02:54:42 +05:00
F4ilji 6ed11cab2d change 2026-07-02 17:11:38 +05:00
F4ilji fce1d3f454 fix: proper route structure - API in api.php, web in web.php 2026-07-02 17:10:44 +05:00
F4ilji b2fec84080 fix: empty api.php since deploy routes moved to web 2026-07-02 17:05:55 +05:00
F4ilji 74d7c2b563 fix: add session middleware for API auth 2026-07-02 17:00:32 +05:00
F4ilji ae4cdc5efc fix: correct path to API routes file 2026-07-02 16:45:59 +05:00
F4ilji ca23c6d669 fix: use auth:web middleware for API routes 2026-07-02 16:42:39 +05:00
F4ilji 814c06bbb4 fix: correct path to dashboard API routes 2026-07-02 13:09:55 +05:00
F4ilji 73d123a62d feat: add deploy API endpoints 2026-07-02 12:48:09 +05:00
F4ilji a3948c872e Changes 2026-03-20 21:47:02 +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 16e7b9fe46 add time_added field to FilesBlock; update file upload logic to set timestamp and improve file display in FileBlock with additional metadata 2025-07-25 12:36:17 +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 453fb4cccc major change fixing bugs when running SSR in the project 2025-04-26 22:59:46 +05:00
F4ilji 88e729aa87 added API VICON integration for updating admission plans via admin panel (queued).
Updated exams and contests display on programs/show page.
Added relevant enums for admission plans.
2025-04-09 15:58:29 +05:00
F4ilji 5cd6ff11b5 Rework admin panel and other 2025-04-02 18:37:20 +05:00
F4ilji 49072e50c7 Rework frontend 2025-03-23 00:38:16 +05:00
f4ilji 3385dc5807 Changes 2025-01-30 00:31:40 +05:00
f4ilji bad611eb84 Changes 2025-01-15 15:31:37 +05:00
f4ilji 6b48c31afd Changes 2025-01-13 13:56:50 +05:00
f4ilji abc6bcf1ba Changes 2025-01-08 22:48:54 +05:00
f4ilji da4df5b89c Changes 2024-12-24 19:33:35 +05:00
f4ilji 5d66a2cc5a Changes 2024-12-24 16:20:50 +05:00
f4ilji bbc9fda376 Changes 2024-11-25 14:23:49 +05:00
f4ilji fbea6ecd48 Changes 2024-11-07 16:11:35 +05:00
f4ilji 4b693240e0 Changes 2024-11-05 15:08:08 +05:00
f4ilji db9849e3f4 Changes 2024-11-01 00:38:22 +05:00
f4ilji 866efa03c1 correct mistake 2024-10-30 12:34:37 +05:00
f4ilji 1f13cb033a Add navigationGroup to UrlLinkResource 2024-10-29 15:31:12 +05:00
f4ilji 6d516d1750 Changes 2024-10-28 12:57:16 +05:00
f4ilji dd3a0c6ecd Changes 2024-10-14 14:56:10 +05:00
f4ilji cebc584a14 Changes 2024-10-04 12:48:19 +05:00
f4ilji b686638a39 first commit 2024-09-19 16:06:49 +05:00