Commit Graph
44 Commits
Author SHA1 Message Date
smhk1376 fe3d153ef1 Add local database dump directory to .gitignore to prevent accidental commits of backups.
Deploy edu.mstaut.ir / deploy (push) Failing after 34s
2026-10-20 01:21:16 +03:30
smhk1376andCursor 29b71c228e Fix Gitea deploy: restore VPS shell workflow without GitHub Actions.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-20 01:20:36 +03:30
smhk1376 e1b5286946 Refactor deployment workflow to utilize GitHub Actions for improved efficiency. Updated deploy.yml to include actions for checkout and Node.js setup, streamlined build process for Next.js with prebuilt assets, and revised deployment script to eliminate unnecessary steps. Enhanced documentation for clarity on automated deployment process. 2026-10-20 01:17:13 +03:30
smhk1376andCursor bd2cfa5a26 Add rich HTML course lead/body and refresh AI course media from delivery v2.
Deploy edu.mstaut.ir / deploy (push) Has been cancelled
Course detail pages can show sanitized HTML ad copy under the hero and a structured body; posters and brochures are updated for both AI workshops.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-20 00:54:30 +03:30
smhk1376 afd2b3333c Update docs/deployment.md
Deploy edu.mstaut.ir / deploy (push) Successful in 11m1s
2026-10-16 14:17:55 +00:00
smhk1376 05b0a1af72 Update image references to use WebP format for improved performance and remove unused design candidates from the project. Adjusted placeholder image handling in the faculty import script and updated metadata for various pages to reflect the new image paths. 2026-10-16 17:45:55 +03:30
smhk1376 5b0a394216 Refactor BrandLogo component to use native img element for improved loading performance and adjust styling for better responsiveness. Removed fixed width/height attributes to maintain aspect ratio.
Deploy edu.mstaut.ir / deploy (push) Successful in 11m53s
2026-10-16 17:28:12 +03:30
smhk1376andCursor 2709181557 Size horizontal logo to full header height without zoom.
Deploy edu.mstaut.ir / deploy (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 17:22:48 +03:30
smhk1376andCursor 6745fcdc3f Restore large horizontal logo in header slot without changing header height.
Deploy edu.mstaut.ir / deploy (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 17:22:01 +03:30
smhk1376andCursor 2f80b96a95 Keep horizontal header logo; fix oversized stretch scaling.
Replace the 235% zoom hack with header-slot height and object-contain so aspect ratio stays correct.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 17:20:48 +03:30
smhk1376andCursor cf29d44ff8 Revert header logo to the agreed seal mark size.
Deploy edu.mstaut.ir / deploy (push) Successful in 12m1s
The temporary horizontal wordmark used 235% height and overpowered the header.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 17:06:25 +03:30
smhk1376andCursor c97498a2ae Fix deploy health check for /mstcontroller and cut ready-loop waste.
Deploy edu.mstaut.ir / deploy (push) Successful in 5m56s
Admin login moved off /admin; old path caused 404 spam for up to two minutes. Slim smoke checks, shorter retries, quieter migrate logs, and npm ci without audit in the image build.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 16:57:31 +03:30
smhk1376andCursor 69bdaf0113 Clear stale git lock files before production checkout fetch.
Deploy edu.mstaut.ir / deploy (push) Has been cancelled
Interrupted shallow fetches leave shallow.lock and block the next deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 16:33:28 +03:30
smhk1376andCursor 8eee3242bf Trigger deploy workflow with a no-op docs probe.
Deploy edu.mstaut.ir / deploy (push) Failing after 12s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 16:32:11 +03:30
smhk1376 4405097f56 Refactor course management features and enhance navigation. Updated course data structure to include new fields for poster and brochure images, improved tag management, and refined admin filters for better usability. Adjusted navigation links to align with the updated course and faculty structure. 2026-10-16 16:27:24 +03:30
smhk1376andCursor 2b0db26a93 Ship site UI checklist, move admin to /mstcontroller, and add safe taxonomy label migration.
Deploy edu.mstaut.ir / deploy (push) Has been cancelled
Production already has migrations through 008; 009 only updates four seed labels by id. Faculty sync remains upsert-by-email/name and does not wipe curated data.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 16:26:21 +03:30
smhk1376andCursor 3eea1c35a6 Update course banners, brochures, and archive offerings.
Deploy edu.mstaut.ir / deploy (push) Has been cancelled
Ship delivery webp assets for AI Fluency and organizational AI transformation, keep brochure-only courses without fake card banners, and seed nine past open-education courses for production.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 16:12:36 +03:30
smhk1376 6e2c9f1ad7 Remove unused probe-taxonomy script and refactor CategoryCourseExplorer component. Updated navigation logic to streamline category and tag selection, replacing router usage with local state management for improved performance. 2026-10-16 14:08:11 +03:30
smhk1376andCursor de800d27b1 Apply the public site UI checklist.
Align header, footer, brand, homepage course preview, faculty links, and the course catalog with the documented changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 14:05:33 +03:30
smhk1376 8886aa8640 changes 2026-10-15 10:10:30 +03:30
smhk1376andCursor a99af426db Merge origin/master: keep upload volume and secure DATABASE_URL
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 21:07:35 +03:30
smhk1376 66a8e8f213 Enhance image upload functionality for admin and improve course navigation. Added support for image uploads in course forms and generic forms, utilizing a new ImageUploadField component. Updated navigation to dynamically include course tags and refined layout components for better user experience. Configured Docker for persistent uploads with a dedicated volume. 2026-10-11 21:05:52 +03:30
smhk1376andCursor ef1ccea0ad Security: sanitize database credentials and IP addresses from files and configs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-02 14:32:24 +03:30
smhk1376 ab7fcd41d8 Implement faculty page redirect and enhance course management features. Added a redirect for the faculty page to an external URL. Updated course data structure to include new fields for poster and brochure images, and introduced tagging functionality for courses. Enhanced admin course filters to support tag-based filtering and improved course form for tag management. Updated navigation links to reflect changes in course and faculty structure. 2026-10-02 14:20:58 +03:30
smhk1376 0e2fcaacdd . 2026-09-29 11:32:15 +03:30
smhk1376 5252968f78 . 2026-09-29 11:18:40 +03:30
smhk1376 434e5c91b7 . 2026-09-29 11:09:14 +03:30
smhk1376 7b36e335b3 . 2026-09-29 10:53:51 +03:30
smhk1376 27b2c893ea Update environment variables and improve layout components. Added NEXT_PUBLIC_SITE_URL to docker-compose for site URL configuration. Refined metadata generation in layout files to reflect the new site URL. Enhanced layout structure in professional and main components for better dynamic content handling. 2026-09-29 10:45:25 +03:30
smhk1376 58a0d95bb2 . 2026-09-29 04:36:02 +03:30
smhk1376 6909a935fd Update database connection details and enhance course management functionality. Changed DATABASE_URL in deployment workflow to a direct connection string. Added course pruning logic in seed script to maintain database integrity. Updated faculty and registration forms to include additional fields for better data capture. Refined layout components for improved user experience and responsiveness. 2026-09-29 04:25:30 +03:30
smhk1376 0874b968ba Refactor HomeTemplate and layout components for improved structure and responsiveness. Adjusted CSS animations for better visual performance and updated layout links to enhance navigation. Removed unused brand link from the professional layout and streamlined section structures for clarity. 2026-09-24 16:54:52 +03:30
smhk1376 b6ff82fad9 Refactor global styles and layout components for improved responsiveness and performance. Added viewport settings, adjusted overflow handling, and removed legacy animations for mobile optimization. Enhanced image handling and ensured consistent minimum width across various components. 2026-09-24 16:38:35 +03:30
smhk1376 fdb2023353 Remove unused favicon files and update layout metadata for icon definitions. Adjusted image handling in components for better responsiveness and consistency. 2026-09-24 15:58:21 +03:30
smhk1376 de76c14c59 Remove legacy static directory from Dockerfile and deployment workflow to prevent Next.js warnings. Updated verification steps in GitHub Actions to ensure the absence of the static directory in the built image. 2026-09-24 15:51:43 +03:30
smhk1376 19fe962143 Update deployment workflow and layout metadata for Next.js application. Added environment variable for site URL in the GitHub Actions workflow and adjusted metadata generation to use this variable. Enhanced icon definitions for better responsiveness in layout. 2026-09-24 15:47:02 +03:30
smhk1376 95841ab09a Refactor Dockerfile.prebuilt and GitHub Actions workflow for streamlined Next.js deployment. Consolidated file copying in Dockerfile to simplify the build context. Updated workflow to assemble a complete standalone tree and verify artifact integrity before building the Docker image. 2026-09-24 15:35:51 +03:30
smhk1376 13d122e905 Refactor Dockerfile and .dockerignore for clarity and build context. Updated paths in Dockerfile.prebuilt to reflect new directory structure and improved .dockerignore to better manage ignored files. Enhanced GitHub Actions workflow to ensure proper build context for Docker image creation. 2026-09-24 15:31:06 +03:30
smhk1376 9b48611a61 Remove ESLint configuration from Next.js and adjust GitHub Actions to disable fast CI builds. This streamlines the build process for Docker deployments. 2026-09-24 15:26:43 +03:30
smhk1376 19b75671a0 Update Docker Compose, Next.js config, and GitHub Actions for optimized CI/CD. Added local build notes, skipped ESLint during CI builds, and modified deployment to use prebuilt artifacts for faster image creation. 2026-09-24 15:25:08 +03:30
smhk1376 648777c649 Refactor Dockerfile and GitHub Actions workflow for improved build performance. Removed caching for npm installs, disabled BuildKit in the workflow, and streamlined the Docker build command. 2026-09-24 15:11:37 +03:30
smhk1376 f585a5e35e Optimize Dockerfile and Next.js configuration for CI/CD efficiency. Implemented caching for npm installs, disabled React Compiler in Docker builds, and adjusted build command to use webpack. Updated GitHub Actions workflow to enhance build process with BuildKit support. 2026-09-24 15:05:23 +03:30
smhk1376 44f4fa98e2 Enhance Next.js configuration and dependencies for improved functionality and localization support. Added support for internationalization with next-intl, updated global styles, and integrated new fonts. Removed default home page and updated README with project details and setup instructions. 2026-09-24 14:53:01 +03:30
smhk1376 2911dea00b Initial commit from Create Next App 2026-09-21 20:38:58 +03:30