-
Notifications
You must be signed in to change notification settings - Fork 297
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
Development
: Remove unnecessary build plan information from the exam conduction payload
#8059
Conversation
WalkthroughThe recent updates focus on enhancing security and testing for programming exercises within a learning management system. Key changes include stripping build scripts and configurations from programming exercises to safeguard sensitive information during quiz conduction. Additionally, the testing framework has been expanded to cover new scenarios involving text, modeling, and programming exercises, ensuring a more robust examination process. These changes contribute to a secure and comprehensive testing environment for students. Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, can you add/extend a test for this change?
Is this only an issue for this one endpoint? If not, you should probably add this to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good 😃
But yeah this should probably be checked in a test :)
2d01333
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reapproving as only the server tests have change since my previous review
...w1/artemis/exercise/programmingexercise/ProgrammingExerciseGitlabJenkinsIntegrationTest.java
Outdated
Show resolved
Hide resolved
c25d901
...in/www1/artemis/exercise/programmingexercise/ProgrammingExerciseTemplateIntegrationTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reapprove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested locally, works as exepected. Thanks for fixing this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Integrated code lifecycle
: Remove build script and config from student examDevelopment
: Remove unnecessary build plan information from the exam conduction payload
Checklist
General
Server
Changes affecting Programming Exercises
Motivation and Context
Build script and config are included in the server payload sent to the client when a student exam is being conducted. They contain information the student should not be able to see.
Description
This PR removes both fields before the payload is sent to the client.
Exam Mode Testing
Prerequisites:
buildScript
andbuildPlanConfiguration
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Review Progress
Performance Review
Code Review
Exam Mode Test
Test Coverage
Server
Screenshots
Summary by CodeRabbit