Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model and Migration Updates #13

Open
wants to merge 469 commits into
base: main
Choose a base branch
from
Open

Conversation

hezhongq
Copy link

@hezhongq hezhongq commented Oct 8, 2023

Description

This PR includes minor updates to models and migrations for the User, Course, CourseRole, and UserVerification tables. The changes mainly involve adding or adjusting attributes and associations.

Changes Made

  • Added missing attributes and associations for User, Course, CourseRole, and UserVerification, task, taskGroup, criteria, and mark models.
  • Generated migration files for each model to update the database schema.
  • Ensured that associations are defined correctly in both model files and migration files.

ryu-kyu and others added 30 commits June 17, 2023 10:41
- There were several issues from IBS-29 which have been addressed/fixed
   1. Form submission wasn't handled correctly. Was resolved via
      checking for errors on submission.
   2. Admin role cannot be assigned. Only student role can be assigned.
   3. `update_user_info` query need not be set for submission
      (optional).
   4. All controllers now have default values so that MUI doesn't
      complain about components being uncontrolled/controlled.
- Added in more descriptive toast messages.
- Handle backend resposes better.
- Implemented deletion of roles (this feature)
   - Added in support for deleting all user roles.
   - Handle the case where each user can be deleted individually.
[IBS-16] Create add/delete/get view for task groups
…Admin

[IBS-30] Upload roles for users from admin
[IBS-12] Add 3 extra features to Aggregated Grades Table
…ttaches Authorization header to every request
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.

7 participants