Merge dev branch into master - Instructor rating fix and database improvements #1127
+0
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR merges the latest development changes from the
dev
branch intomaster
, incorporating several important fixes and improvements that are ready for production deployment.Key Changes
🐛 Bug Fix: Missing Instructor Average Rating (#1125)
instructor.rating = instructor.average_rating_for_course(course)
intcf_website/views/browse.py
🗄️ Database Infrastructure Improvements
scripts/local_dump.sh
- Local database backup functionalityscripts/prod_dump.sh
- Production database backup via EC2 SSHscripts/dump.sh
(replaced by the new specialized scripts)⚙️ Configuration Updates
.env.example
with additional environment variables and clearer documentation.gitignore
with new entries for better development experiencedocker-compose.yml
configurationFiles Changed
tcf_website/views/browse.py
- Instructor rating fixscripts/
- Database management script improvements.env.example
- Environment configuration updates.gitignore
- Additional ignore patternsdocker-compose.yml
- Configuration improvementsTesting
Deployment Notes
This merge brings the master branch up to date with the latest stable development changes. The instructor rating fix addresses a user-facing issue, while the database improvements enhance developer experience and system reliability.
Commits included:
811a6bab
- Merge pull request Bug: Missing average rating from course instructor card #1125 (instructor rating fix)367a7ab8
- fix(browse): give instructors rating attribute for their average rating for a coursec8c0ccda
- fix: update prod db dump script via EC2 ssh28d3053f
- fix: update local db reset scripts and upgrade to postgres 17.5This pull request was created as a result of the following prompt from Copilot chat.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.