v2.2.0
See also the changelog.
Added (backend)
<server>/admin/class/get_meta/{recent_number}/
(this returns the most recent classifications of each type, recent_number/2 for each type)<server>/admin/class/new/
(creates a new points and training classification)<server>/admin/class/modify/
(modifies a classification)<server>/admin/class/remove/{class_id}
(removes classification with id class_id)<server>/member/get_with_info/{rank_type}/
(Will replace<server>/members/class/get/{rank_type}/
, but added with different name to avoid breaking change, this also returns last_updated and whether the classification is frozen)- The last_updated column is now updated when new events are added.
- (Senne)
<server>/admin/update/training
has been added (not yet in use by frontend) as the start of the training registration update. - New
update_by_unique
store method for updating an entire row based on a simple where condition.
Internal (backend)
- The backend and deployment repository have been merged together, making deployment and versioning a lot easier. We now use a bunch of Nu scripts instead of shell scripts and the deployment will now use
tidploy
. This done in a series of commits from 4602abd to around 414bc23. - Logging has been much improved throughout the backend, so errors can now be properly seen. Error handling has also been improved (especially for the store module). Some common startup errors now have better messages that indicate what's wrong. Documentation has been improved and all database queries now properly catch some specific errors. See #31.