apluslms / a-plus-rst-tools

Tools to publish RST course content for mooc-grader and a-plus. Should be cloned as a course submodule.
MIT License
6 stars 24 forks source link

Default active elements to allow unofficial submissions #165

Closed lainets closed 1 year ago

lainets commented 1 year ago

This allows submission after the deadline. Needed for https://github.com/apluslms/a-plus/issues/487

164 should be fixed first so that the behaviour can be easily changed if the teacher wants to.

It should probably not be enabled by default if max submissions is specfied. As accept_unofficial_submits is a category specific setting, this would either mean disabling unofficial submission if even one active element exercise has max submissions specified or two different default categories for active elements depending on whether max submission is specified or not.

I would say that it is enough that the default active elements category defaults to unofficial submission being allowed. If the teacher changes the category of an active element exercise, they need to set accept_unofficial_submits to True themselves for that category if they want the exercise to be submittable after the deadline.