Closed khattam2 closed 3 months ago
Fixes #1226
What?
check_submission_allowed messages all have the same severity
Why?
submission_check is given a flag whether it should print the strings as errors or warnings but this does not make sense
How?
The flag has been removed and severity is decided by the statement.
Remember to add or update unit tests for new features and changes.
What type of test did you run?
[ADD A DESCRIPTION ABOUT WHAT YOU TESTED MANUALLY]
Did you test the changes in
Think of what is affected by these changes and could become broken
Clean up your git commit history before submitting the pull request!
This PR requires some more changes to correctly classify and display error/warning/info messages from functions one_has_submissions() and one_has_access().
one_has_submissions()
one_has_access()
I will be making these changes myself.
Fixes #1226
Description
What?
check_submission_allowed messages all have the same severity
Why?
submission_check is given a flag whether it should print the strings as errors or warnings but this does not make sense
How?
The flag has been removed and severity is decided by the statement.
Testing
Remember to add or update unit tests for new features and changes.
What type of test did you run?
[ADD A DESCRIPTION ABOUT WHAT YOU TESTED MANUALLY]
Did you test the changes in
Think of what is affected by these changes and could become broken
Translation
Programming style
Have you updated the README or other relevant documentation?
Is it Done?
Clean up your git commit history before submitting the pull request!