apluslms / radar

Web service for analyzing program code similarity
4 stars 10 forks source link

Add Dolos integration to Radar #50

Closed mikaelGusse closed 1 week ago

mikaelGusse commented 1 month ago

Description

What?

Add Dolos integration to Radar. Radar now has a button in each exercise's page which automatically sends the submissions into a locally running Dolos instance and opens up a new page with the results.

image image image

Why?

Dolos is a modern and in some ways superior way of conducting source code comparison. This works as a way for users to more efficiently detect plagiarism and take action.

How?

Added views to Radar which proxy calls from Dolos through the Radar service. This allows us to restrict access to Dolos using Radar accounts without modifying Dolos code. Radar additionally downloads any static files from Dolos and modifies them to also do their calls through the proxy.

Testing

Remember to add or update unit tests for new features and changes.

What type of test did you run?

Tried out the changes in minus and locally.

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!