You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Major refactor of backend code (first DSAV-Dodeka/backend#56 and then DSAV-Dodeka/backend#59). The first got rid of the whole DbOperations and the unnecessary extra layer and was only about the database. The second completely refactored how the code was organized, separating out all the important functions relating to auth. It partially re-introduced some extra layer for database access to allow the actual application to decide on the schema. The new version is much more easily testable and does not rely on fragile mocks. Another major upside to this is that it allows for the package to be completely separated or removed in the future, without impacting the application-specific code.
Introduction of roles through the scope mechanism (contributions for delete role by @lalamiko7), so now someone can have a "Bestuur" role or ".ComCom" role. There are no uses for it, yet.
Klassementen! Instead of just loading a .json, you can now add events and update points, and even have them be hidden by a certain date (major contributions by @lalamiko7). This requires quite a few complex queries.
A number of dependencies have been upgraded. The most major one is v2 of Pydantic (which we use to validate all our data models), which now has a Rust core and should mean some performance boost.
We now do some linting on our code (using ruff)
Some minor tests and other general codebase improvements
Redis has been updated from version 6.2 to 7.2 and Postgres from 14 to 16.