summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-01-04Support ldap in authJoel Klinghed
Non-test auth is now using ldap for account syncing and authentication. Test auth is still using hardcoded users (user and other). But it is now also possible to login as "other".
2025-01-04Add docker compose for developmentJoel Klinghed
As both compiling, tests and well, running, needs mariadb setup add a docker image for it. Also prepare for ldap support by adding a openldap image as well. Included .env as well, used by sqlx when compiling query!.
2025-01-03Add more testsJoel Klinghed
Use project_check_maintainer correctly, should not panic (by .unwrap) but forward the error (by ?).
2025-01-03Add initital testsJoel Klinghed
Also add /users endpoint.
2024-12-31Rename migration so its actually picked upJoel Klinghed
Must be <version>_<description>.sql.
2024-12-30Add methods for modifying projectsJoel Klinghed
While doing that I realized I had forgotten to declare maintainers for projects. Also added default roles and changed so that review_users only contains overrides, so that changes to the project users is instantly applied to all reviews (unless there is an override).
2024-12-30Remove unused lifetimeJoel Klinghed
2024-12-29cargo clippyJoel Klinghed
2024-12-29Minor cleanupJoel Klinghed
Let auth::stage() deal with having to clone the string It shouldn't force the caller to create a String object.
2024-12-29cargo updateJoel Klinghed
2024-12-29Add openapi generation using utoipaJoel Klinghed
2024-12-29Rework auth to include sessionJoel Klinghed
The actual authentication is still fake.
2024-12-28Improve error handling (404) and remove projectid from review api callJoel Klinghed
Also move reviews to under project to make it obvious that projectid is just that.
2024-12-28fixup! Database connectionJoel Klinghed
2024-12-28cargo fmtJoel Klinghed
2024-12-28Hints for emacsJoel Klinghed
2024-12-28Database connectionJoel Klinghed
2024-12-21Initial commitJoel Klinghed