Commit Graph

29 Commits

Author SHA1 Message Date
Gan, Jimmy bc079ead05 RESTORE: Admin quotation detail template improvements
 Fixed admin quotation detail template structure:
   - Corrected block structure for proper inheritance
   - Updated to use Bootstrap Icons (bi-*) for consistency
   - Improved header layout with proper title and back button
   - Enhanced visual consistency across admin pages

CHANGES:
- Switch from FontAwesome to Bootstrap Icons in quotation templates
- Better template block organization
- Consistent header styling with other admin pages
- Improved navigation flow

SAFE: Only template improvements, no functionality changes
2025-07-11 13:36:33 +08:00
Gan, Jimmy ea5b4e5f18 🔐 RESTORE: Admin password reset functionality
 Added admin password reset capability with:
   - Generate secure temporary passwords (12 chars with symbols)
   - Create password reset links with 15-min expiry
   - Beautiful modal UI with copy-to-clipboard functionality
   - Toggle password visibility for security
   - Reset buttons in both users list and user detail pages
   - Proper error handling and loading states
   - Responsive design for mobile/desktop

FEATURES:
- Admins can reset any user's password instantly
- Users get both temporary password and reset link options
- Secure password generation with proper entropy
- Audit logging of all password reset actions
- Professional UI with Bootstrap modals and tooltips

SAFE: Only affects admin functionality, calculator unchanged
2025-07-11 13:36:05 +08:00
Gan, Jimmy fefe9b10c0 🎯 RESTORE: Enhanced admin user management functionality
 Added user search functionality to admin users page
 Created comprehensive user detail template with:
   - Complete user information display
   - User action buttons (activate/deactivate/delete)
   - Quotation history for each user
   - Improved tooltips and responsive design
 Enhanced admin users table with better action buttons
 Added proper error handling and confirmation dialogs

SAFE: Only affects admin pages, calculator functionality unchanged
2025-07-11 13:34:56 +08:00
Gan, Jimmy 2027c443d3 Rollback to much earlier stable commit (22249e30) + CDK version fix 2025-07-10 15:42:12 +08:00
Shang, Xiaomeng 22249e300a SECRET_KEY 2025-06-27 17:15:06 +02:00
Shang, Xiaomeng c4c6588ac5 UPDATE db 2025-06-27 15:10:04 +02:00
Shang, Xiaomeng 55bffe71f4 CDK 2025-06-27 14:52:21 +02:00
Gopinathan, Anup Raj d7a9e2a35b Pull request #4: Fix environment variables
Merge in DCF/mold_cost_calculator from Fix-environment-variables to master

* commit '5f4973ed116d4a503bd7a69d0712f616924d3196':
  add secret key
  Adding secret key to the env
2025-06-26 08:58:43 +00:00
Anup Raj Gopinathan 5f4973ed11 add secret key 2025-06-26 10:43:46 +02:00
Anup Raj Gopinathan f19bd324f2 Adding secret key to the env 2025-06-26 10:34:55 +02:00
Gopinathan, Anup Raj 0082e9d761 Pull request #3: Increase Memory
Merge in DCF/mold_cost_calculator from IncreaseMemory to master

* commit '3f878a5fbe48f16ebddc97656a565ba069132b74':
  Increase Memory
2025-06-26 04:25:09 +00:00
Anup Raj Gopinathan 3f878a5fbe Increase Memory 2025-06-26 06:24:02 +02:00
Gopinathan, Anup Raj 332cc9f629 Pull request #2: AWS Setup
Merge in DCF/mold_cost_calculator from AWS-Setup to master

* commit 'ec05c201f2cdcc8ec085353ebca369eda3085a3f':
  Revert static file fix
  Try another fix
  Try another fix
  Try fix for Font files
  Fix stack name
  Add a db handler
  Remove Mangum
  Update the API Gateway Resource Policy
  Update lambda configuration
  Update stack name
  Change the App Shortname
  Initial jenkins version
  Core App changes to make it AWS compatible
2025-06-25 15:24:16 +00:00
Anup Raj Gopinathan ec05c201f2 Revert static file fix 2025-06-25 16:49:02 +02:00
Anup Raj Gopinathan cc74e3ef41 Try another fix 2025-06-25 16:46:50 +02:00
Anup Raj Gopinathan 30ba68a799 Try another fix 2025-06-25 16:24:29 +02:00
Anup Raj Gopinathan e533a98b84 Try fix for Font files 2025-06-25 16:13:50 +02:00
Anup Raj Gopinathan 2e5159686b Fix stack name 2025-06-25 15:36:38 +02:00
Anup Raj Gopinathan b8611232ea Add a db handler 2025-06-25 15:34:37 +02:00
Anup Raj Gopinathan 4eb4e8db5f Remove Mangum 2025-06-25 15:29:21 +02:00
Anup Raj Gopinathan ffff5c0869 Update the API Gateway Resource Policy 2025-06-25 15:03:42 +02:00
Anup Raj Gopinathan 57b6d5eb75 Update lambda configuration 2025-06-25 14:51:37 +02:00
Anup Raj Gopinathan 42fa8536e0 Update stack name 2025-06-25 14:24:13 +02:00
Anup Raj Gopinathan 1eabd56455 Change the App Shortname 2025-06-25 14:20:36 +02:00
Anup Raj Gopinathan 0e4f834409 Initial jenkins version 2025-06-25 13:22:01 +02:00
Anup Raj Gopinathan b5849c7fbd Core App changes to make it AWS compatible 2025-06-25 10:15:06 +02:00
Gopinathan, Anup Raj a1694d1b75 Pull request #1: Restructure the app folder
Merge in DCF/mold_cost_calculator from development to master

* commit '370dbc96bf2088b7b4ce2b0ccd0546632ee4589a':
  Restructure the app folder
2025-06-25 07:37:35 +00:00
Anup Raj Gopinathan 370dbc96bf Restructure the app folder 2025-06-24 15:03:16 +02:00
Gan, Jimmy 9b84cee5be Initial commit - Mold Cost Calculator Application (Security Fixed) 2025-06-24 10:28:55 +08:00