RedBlueCarrots / WikiPath

0 stars 0 forks source link

53 minimum marketable product challenge completion handling #63

Closed RadiationOcelot closed 5 months ago

RadiationOcelot commented 5 months ago

Updates the database whenever a HTTP request is made. Checks whether a challenge is finished, and if so, updates the database accordingly, and adds points to the winning user.

Added a check to block attempts if the challenge has already finished. Currently redirects them back to viewing the challenge, but maybe there's a better way to communicate that they had run out of time?

Also allows anonymous users to see all submissions for a challenge once the challenge has finished.