Nico Athanassiadis d0baa11d3b Fixed behavior of valid from date when creating new template
Previously if you created a new grading template chose a date for `Valid from` field and then added a criterion.
The valid from date would reset to null. This would create a validation error on save.
This creates unnecessary confusion for the user.

Now when you have chosen a date and then choose to add a criterion to the template the date does not reset.

The reason for this was that the AutoSave() added to the field was using the wrong event to trigger the setValidFrom().
Since we use bootstraps date picker we have to trigger on "changeDate" event.
2024-11-26 06:26:45 +01:00
2013-10-10 11:16:14 +09:00
2015-02-05 15:56:03 +01:00
2024-10-30 10:19:50 +01:00
2024-10-30 10:19:50 +01:00
2024-04-22 09:30:47 +02:00

Working with the API

The API is protected by OAuth 2 acting as a resource server verifying tokens using token introspection.

When developing it uses a locally running instance of an authorization server that is run inside Docker. It can be started with docker compose -f docker-compose.yml up. Since there is no frontend to interact with the authorization server there's a helper script in GetToken.java that can be run directly with java GetToken.java to run through the authorization flow and get an access token.

Once the token has been obtained go to the Swagger UI to interact with the API. Click the "Authorize" button in the top right and paste the access token to log in.

Description
No description provided
Readme 76 MiB
Languages
Java 91%
HTML 8.6%
CSS 0.3%
JavaScript 0.1%