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.
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.