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

Add soft_extended_due_date field to Group model #687

Merged
merged 7 commits into from
Sep 3, 2024

Conversation

MattyMay
Copy link
Contributor

Includes server-side validation to ensure extended_due_date < soft_extended_due_date

@james-perretta should the student view of a group be changed to only show the soft_extended_due_date like how soft_deadline and hard_deadline work?

Includes server-side validation to ensure `extended_due_date <
soft_extended_due_date`
@james-perretta
Copy link
Contributor

@MattyMay Yes, students should only see the soft_extended_due_date when requesting their group object. We should chat about how to handle the backwards-incompatibility of the change for API users

Migration:
1. Add soft_extended_due_date column
2. Add hard_extended_due_date column
3. Copy extended_due_date column to both new columns
4. Delete extended_due_date column

deprecated extended_due_date behavior:
- reads from soft_extended_due_date field
- writes through to soft_extended_due_date and hard_extended_due_date
@MattyMay MattyMay marked this pull request as ready for review August 27, 2024 14:35
- add docstring to extended_deadline
- add exception message check to
  test_error_soft_extended_due_date_after_extended_due_date
- rename test for consistency
@james-perretta james-perretta merged commit c1d3ca9 into develop Sep 3, 2024
2 checks passed
@james-perretta james-perretta deleted the add-soft-extended-due-date branch September 3, 2024 21:08
MattyMay added a commit that referenced this pull request Sep 17, 2024
This reverts commits:
    5627a33
    3cc3ec5
    c1d3ca9
    d551ed6
    05abe1d
    3961e97
    d547de6
    0cc31c2
    3e7870f

The state of the repo is now the same as 3adb817
james-perretta added a commit that referenced this pull request Sep 19, 2024
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.

2 participants