44 Commits
Author SHA1 Message Date
Tống Thành Đạt f6f2e0e03b feat(admin): implement unified submission and newsletter management
Introduce a centralized system to manage all website form submissions and newsletter subscriptions.
- Add `Submission` and `NewsletterSubscription` models with MongoDB schema validation
- Implement `submissionController` and `newsletterSubscriptionController` for CRUD operations and filtering
- Create a unified admin UI for reviewing submissions across different sources (home, request, contact, partnership, newsletter)
- Add database migration scripts for creating collections and indexes
- Refactor partnership inquiry forms to use a fixed field structure
- Update admin navigation and server CORS settings to support PATCH requests
2026-04-24 17:11:23 +07:00
tienduy caf38e8750 Update: Home, About fixed btn, UI Dashboard responesive 2026-04-23 20:05:41 +07:00
tienduy 4ba3eb4a82 Refactor: remove unused APIs, controllers, models and data files. Update: icon picker all system, Dashboard, Main UI more respone, Change: Logo, favicon. 2026-04-23 18:44:37 +07:00
tienduy 26e6b9e7cf Merge branch 'develop' of https://gits.techvanguard.vn/UKSOURCE/cms.lams into develop 2026-04-23 01:18:23 +07:00
tienduy 9c266f71f3 Fix: about feature 2026-04-23 01:17:51 +07:00
tienduy 897d1d658f Merge pull request 'fix: center EditorJS image block in editor; rename Programmes button to Edit' (#8) from feat/truong-20042026-ProgrammeBlog into develop
Reviewed-on: UKSOURCE/cms.lams#8
2026-04-22 18:12:58 +00:00
nhuttruong 5d201db3e4 fix: center EditorJS image block in editor; rename Programmes button to Edit 2026-04-22 23:01:19 +07:00
Tống Thành Đạt c0ea0dcb4d Merge branch 'develop' into fea/dat-20042026-CMS-Partnerships-Accreditation-History-Admissions-Policies 2026-04-22 19:28:05 +07:00
tienduy 7c21bbd1af Add icon colection 2026-04-22 19:15:52 +07:00
Tống Thành Đạt 64b1b77d30 Merge branch 'develop' into fea/dat-20042026-CMS-Partnerships-Accreditation-History-Admissions-Policies 2026-04-22 18:08:53 +07:00
tienduy f685ff88ee Fix: migrate footer, delete more file view 2026-04-22 16:40:30 +07:00
Tống Thành Đạt 5d0fae6d51 feat(cms): enhance content editors and implement automatic ID generation
Improve the CMS administration interface across multiple pages (Accreditation, Admissions, History, Partnerships, and Policies) with a focus on usability and data integrity.
Key changes include:
- Implement `ensureUniqueIds` utility to automatically generate and maintain unique slugs for content items, removing the need for manual ID entry in the UI.
- Refactor the Admissions calculator to support detailed per-option editing via a new dedicated view and routes.
- Replace basic datalists with a custom, searchable icon combobox component for better visual selection.
- Update `_renderSingletonPageView` to handle active tab persistence via query parameters.
- Streamline editor configurations by removing redundant fields and improving help text.
- Enhance the Admissions "Key Dates" editor with a dynamic table interface for managing columns and rows.
- Normalize data payloads in controllers to ensure consistent API responses and internal linking.
2026-04-21 12:37:19 +07:00
Tống Thành Đạt 122df1a46e Merge branch 'develop' into fea/dat-20042026-CMS-Partnerships-Accreditation-History-Admissions-Policies 2026-04-21 12:33:11 +07:00
Tống Thành Đạt 5615c494cf style(cms): improve editor ui and implement collapsible item cards
Enhance the CMS administration interface by introducing a more refined design system for content editors. This update replaces generic Bootstrap utility classes with dedicated CMS styling to improve visual hierarchy and usability.
Key changes:
- Introduce `cms-editor-group` and `cms-item-card` classes for consistent grouping and item styling.
- Implement collapsible functionality for item cards to manage long lists of content more effectively.
- Standardize editor buttons, including new styles for drag handles, remove buttons, and add buttons.
- Update the fixed bottom action bar with improved backdrop filters, shadows, and spacing.
- Refactor editor scripts across Accreditation, Admissions, History, Partnerships, and Policies to utilize the new UI components and collapse logic.
- Add comprehensive CSS to `main.ejs` to support the new CMS design tokens and layout behaviors.
2026-04-20 20:10:27 +07:00
nhuttruong 30b90051c9 feat: add programme module and blog integration
- Add Programme Mongoose model with sub-schemas and migrateFromJson static method
- Add programme CRUD controller with audit logging and icon sanitization
- Add programme admin views (index, edit) with tabbed form and dynamic arrays
- Add seed migration script for programmes
- Add /api/programmes and /api/programmes/:id public API endpoints
- Register programme routes in admin and public router
- Update dashboard with Programmes card and API endpoint entries
- Update admin sidebar layout to include Programmes nav link
2026-04-20 18:40:29 +07:00
xuanduong ac5fa14c97 Adding backend of Student Support, Contact, Request 2026-04-20 16:22:37 +07:00
Tống Thành Đạt 8b6bf5fe6e feat(cms): add management for partnerships, history, accreditation, admissions, and policies pages
Implement a singleton page content system to manage static informational pages. This includes:
- New controllers, models, and data files for Partnerships, History, Accreditation, Admissions, and Policies.
- Admin routes and views for updating page content.
- Public API endpoints for fetching page data.
- Migration scripts for initializing page data.
- Updated admin navigation layout to include a dropdown for "About" sections.
- Audit action constants for tracking updates to these pages.
2026-04-20 14:08:38 +07:00
nguyenvanbao 8b3f0534d8 Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into fea/bao-10022026-AuditLog 2026-02-10 16:46:39 +07:00
nguyenvanbao 970fcbac7d feat: implement comprehensive audit logging system 2026-02-10 16:42:35 +07:00
Wini_Fy 5e7de227ec feat: add password toggle visibility and rename forgot-password to change-password 2026-02-10 10:24:35 +07:00
LNHA 09f5c12a2f feat: Add initial admin dashboard, login page, and main layout, including a new logo and updated gitignore. 2026-02-07 10:29:10 +07:00
LNHA 84097e6ed6 Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into hoanganh-03022026-appointment-contact-pricing 2026-02-07 09:38:53 +07:00
nhuthuy 8232a36e71 feat(about): sync FE-BE data and image upload 2026-02-06 01:58:56 +07:00
LNHA 1def614ca6 Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into hoanganh-03022026-appointment-contact-pricing 2026-02-05 16:18:58 +07:00
LNHA 6e0a97edef feat: Implement admin management for FAQ, Testimonial, and Video Gallery sections with new controllers, views, and routing. 2026-02-05 16:03:37 +07:00
nhuthuy fb8676879d feat/huy-05022026-cms-add-footer-api-management 2026-02-05 15:31:19 +07:00
r2xrzh9q2z-lab ae468e7f26 fea Visa-VisaDetail 2026-02-05 12:49:59 +07:00
Wini_Fy 7ba051ffc5 Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into fea/thanh-02022026-news 2026-02-05 10:54:30 +07:00
Wini_Fy 7dd52d8669 refactor: remove camp location functionality 2026-02-05 10:52:27 +07:00
nhuthuy f25f6b9156 add api headermenu and crud management 2026-02-05 01:42:40 +07:00
vanbao 00f93cefab Merge pull request 'fix/bao-04022026-1625-service-management' (#17) from fix/bao-04022026-1625-service-management into main
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#17
2026-02-04 09:27:48 +00:00
Wini_Fy 01d315afb8 refactor: enhance admin dashboard and layout with blog management links 2026-02-04 16:03:28 +07:00
nguyenvanbao 7e50772f3f style: resolve merge conflicts and format admin routes 2026-02-04 13:32:35 +07:00
nguyenvanbao 7115cb735a Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into fix/bao-04022026-service-management 2026-02-04 11:50:51 +07:00
nguyenvanbao 37123976c6 fix: enhance FAQ management and add delete confirmation modal 2026-02-04 11:48:04 +07:00
r2xrzh9q2z-lab 2563ddf5ee fix conflig pull request 2026-02-04 09:26:50 +07:00
Wini_Fy c098043b44 Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into fea/thanh-02022026-news 2026-02-04 09:22:24 +07:00
r2xrzh9q2z-lab 25df84fe8c Fix merge conflicts with main 2026-02-04 09:21:15 +07:00
nguyenvanbao a1984189bd Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into fea/bao-03022026-Admin-Management-Service 2026-02-04 09:18:42 +07:00
r2xrzh9q2z-lab 6f82b2c35c UI Visa-VisaDetail 2026-02-04 09:17:57 +07:00
Wini_Fy 538317eade feat:Add blog management page and enhance admin layout 2026-02-03 17:04:28 +07:00
nguyenvanbao 9dc02974a4 feat: add service management module with CRUD operations 2026-02-03 16:20:07 +07:00
LNHA df8e1f9665 feat: Implement core admin panel functionalities including appointment, contact, and pricing management with associated models, controllers, views, and routes. 2026-02-03 14:58:00 +07:00
r2xrzh9q2z-lab d1b931d547 first commit 2026-02-02 11:07:09 +07:00