Skip to content

Backend Release to Main [3.06]#2214

Merged
one-community merged 34 commits into
mainfrom
development
May 14, 2026
Merged

Backend Release to Main [3.06]#2214
one-community merged 34 commits into
mainfrom
development

Conversation

@one-community
Copy link
Copy Markdown
Member

@one-community one-community commented May 13, 2026

Includes: Rithika taking over for Aditya-feat: Add New Bar Chart Card to the Lessons Learned Section on the Total Construction Summary Page 4959+#2093, Sundar: 🔥 fix cors issue due to header policies #2209, Diya 🔥 fix(userStatus): Fixed User Lifecycle Issues 5264+#2212, Siri Sudheeksha Vavila: Feature/siri phase4 hours logging 5226+#2197, Sai Sandeep taking over for Kristin: Phase 4 - Support Team Backend (Permissions + Daily Log Access) #1898, Sayali: 🔥 change promotion-eligibility endpoint from GET to POST to resolve req.body.requestor undefined issue in production #2201, Abhinav kitchen inventory management create database models and backend api endpoints for transplanting and harvesting events #2097, Abhinav kitchen inventory management planting trimming culling events #2109, Abhinav kitchen inventory management create backend api endpoints to get events to the calendar #2082, Abhinav - Kitchen Inventory Management - Create Backend API endpoints to add and retrieve Processing projects #2025,

KH07 and others added 30 commits November 13, 2025 15:14
Co-authored-by: Nathan Hoffman <nathanahoffman@gmail.com>
- Validates hours is a positive finite number
- Checks task ownership (studentId match)
- Rejects if task already completed or graded
- Caps loggedHours at suggestedTotalHours
- Auto-transitions status assigned -> in_progress on first log
- Returns loggedHours, suggestedTotalHours, status, canMarkDone
Validate projectId (ObjectId when not ALL), startDate and endDate
before querying; return 400 for invalid values. Replace console.error
with logger.logException for structured error logging.

Made-with: Cursor
Extract buildProjectIdFilter and calculateChangePercentage; add
end-of-day constants for month boundaries. Simplify getLessonsLearnt
aggregation and map building. Replace console.error with
logger.logException in all handler catch blocks.

Made-with: Cursor
Cover validation (invalid projectId, startDate, endDate), filter
construction (projectId ALL/valid, date range), changePercentage
cases (+100%, 0%, +/-50%, +0.0%, multi-project), and 500 + logger
on aggregate error.

Made-with: Cursor
…Bar-Chart-Card-to-the-Lessons-Learned-Section-on-the-Total-Construction-Summary-Page

Rithika taking over for Aditya-feat: Add New Bar Chart Card to the Lessons Learned Section on the Total Construction Summary Page
Sundar: 🔥 fix cors issue due to header policies
…hours-logging

Siri - Feature: phase4 hours logging
one-community and others added 4 commits May 12, 2026 00:19
…team-backend

Sai Sandeep taking over for Kristin: Phase 4 - Support Team Backend (Permissions + Daily Log Access)
…leFlow

Diya🔥 fix(userStatus): Fixed User Lifecycle Issues
@sonarqubecloud
Copy link
Copy Markdown

@one-community one-community merged commit 7d44d2f into main May 14, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants