-
Notifications
You must be signed in to change notification settings - Fork 4
Feat/custom cell timeout #321
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 17 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
b8ff295
WIP: added groups attribute to AssignmentSettings
nadjajovancevic fd0147d
fix: add deleted lines back
nadjajovancevic e19ec64
fix: add missing attribute (group) in test_base_handler.py
nadjajovancevic 0da68dd
fix: explicitly check if file is a jupyter notebook instead of using …
nadjajovancevic a36a6e5
test: rewrote test to check the inclusion of python files
nadjajovancevic c72bd72
WIP: add cell_timeout to assignment settings
nadjajovancevic bccf0a9
WIP: create function to validate user custom cell timeout against con…
nadjajovancevic c0b033e
WIP: initial API endpoint for config
nadjajovancevic 2aa5c95
refactor: assign min/max values to correct variable
nadjajovancevic 892f925
WIP: set default cell timeout in config file
nadjajovancevic 32d34f5
test: write API test for api/config endpoint
nadjajovancevic 425a6b6
fix: set correct seconds for max_cell_timeout
nadjajovancevic 96bcdb9
refactor: remove unnecessary help function
nadjajovancevic eaa732d
Merge branch 'release-0.9.1' into feat/custom-cell-timeout
nadjajovancevic c953c80
chore: fix a help comment
nadjajovancevic be95663
Merge remote-tracking branch 'origin/feat/custom-cell-timeout' into f…
nadjajovancevic 30cecf4
fix: delete function that was merged wrongly after merge conflict
nadjajovancevic 076765a
refactor: define parameter types and change name of a variable
nadjajovancevic 739574a
chore: change a help comment
nadjajovancevic 55460c6
fix: remove wrongly merged code
nadjajovancevic f8f054f
fix: remove unnecessary argument passed to timeout_func
nadjajovancevic 384b5c5
fix: rewrite tests to adhere to new implementation of timeout_func
nadjajovancevic ad56cf8
fix: set parameter type to parent class
nadjajovancevic ea397c7
test: test setting default_cell_timeout to an invalid value
nadjajovancevic 5cac6e4
fix: change timeout_func trait type to Int
nadjajovancevic 92a9929
refactor: refactor _determine_cell_timeout func
nadjajovancevic d91a05b
fix: validate config values of default, min and max cell timeout
nadjajovancevic 48699ee
config: set default_cell_timeoutin grader_service_config.py for docker
nadjajovancevic 44fb918
fix: pass the result of _determine_cell_timeout correctly
nadjajovancevic 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| meta { | ||
| name: get-config | ||
| type: http | ||
| seq: 2 | ||
| } | ||
|
|
||
| get { | ||
| url: {{grader-base-url}}/api/config | ||
| body: none | ||
| auth: inherit | ||
| } | ||
|
|
||
| settings { | ||
| encodeUrl: true | ||
| timeout: 0 | ||
| } |
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
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.