-
Notifications
You must be signed in to change notification settings - Fork 56
Unsubmit Support (Resolves #271) #312
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
facf611
Merge pull request #1 from source-academy/master
jiachen247 0b0e202
Merge pull request #2 from source-academy/master
jiachen247 4219aca
Merge remote-tracking branch 'upstream/master'
jiachen247 2510dc1
implement unsubmit
jiachen247 6c8f07a
changed map to each
jiachen247 dc2e17a
fix credo
jiachen247 351f203
made changes from review
jiachen247 f8219a2
made changes from review
jiachen247 44eb6c0
fix credo
jiachen247 7df1488
use default answer changeset
jiachen247 c018990
Merge branch 'master' into unsubmit
jiachen247 384e141
add test cases
jiachen247 bd2fd72
Merge branch 'master' into unsubmit
martin-henz 8568d98
Merge branch 'master' into unsubmit
martin-henz bdd5632
Merge branch 'master' into unsubmit
jiachen247 e7ed2ed
Merge remote-tracking branch 'upstream/master'
jiachen247 5467acb
Merge branch 'master' into unsubmit
jiachen247 33d55f8
rename autograding_errors to autograding_results
jiachen247 407f2ff
add unsubmit fields to db
jiachen247 991c5c2
reflect unsubmit fields
jiachen247 eef3b76
Merge branch 'master' into unsubmit
jiachen247 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
priv/repo/migrations/20190530065753_add_unsubmit_fields.exs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| defmodule Cadet.Repo.Migrations.AddUnsubmitFields do | ||
| use Ecto.Migration | ||
|
|
||
| def change do | ||
| alter table(:submissions) do | ||
| add(:unsubmitted_by_id, references(:users), null: true) | ||
| add(:unsubmitted_at, :timestamp, null: true) | ||
| end | ||
| end | ||
| end |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.