Commit graph

18 commits

Author SHA1 Message Date
Simon Goller
d48c97edac Introduce is_paid attribute to SalesUser 2024-06-19 09:59:14 +02:00
Simon Goller
7d59cbde11 Add logout url 2024-06-18 08:01:52 +02:00
Simon Goller
eb54665596 Add background color to sales person 2024-06-18 06:27:29 +02:00
Simon Goller
b4b926a8e4 Adjust shift plan based on authentication 2024-06-14 13:23:12 +02:00
Simon Goller
bd887cfd7b Add endpoint to get sales_person for current user 2024-06-12 12:04:41 +02:00
Simon Goller
e1f9936b62 Add REST endpoint to find bookings per week 2024-06-12 07:38:51 +02:00
Simon Goller
506791fa6a Make auth-info endpoint machine readable 2024-06-05 22:30:09 +02:00
Simon Goller
e2f5b04ff1 Improve feature management
By default, it will build with the dev-setup where authenticated
user will be faked since there is no login page on the local dev
setup.  In order to compile it with oidc, disable default features
and enable the oidc feature.
2024-06-05 21:21:42 +02:00
Simon Goller
ed609cf06c Cargo clippy and cargo fmt 2024-05-09 15:00:50 +02:00
Simon Goller
bf94ec33de Basic rest implementation for connecting user to sales-person 2024-05-09 14:16:47 +02:00
Simon Goller
e3ec694876 Add checks for booking and fix database timestamps 2024-05-09 09:45:53 +02:00
Simon Goller
71c1432fd1 Add booking dao implementations 2024-05-07 18:19:00 +02:00
Simon Goller
8efc3843ad Add sales-person REST service 2024-05-06 15:15:47 +02:00
Simon Goller
8f378472ea Add REST endpoint for slot 2024-05-02 23:25:04 +02:00
Simon Goller
691eccc2a4 Create service and DAO layer for user-role-privilege system 2024-04-28 16:01:18 +02:00
Simon Goller
3b20d12ba1 Add unit tests for the services 2024-04-27 00:03:15 +02:00
Simon Goller
789981ee92 Imporove datamodel
Tables now contain update_timestamp and update_process and
update_timestamp will be automatically set via a trigger.
Also the I removed the IDs from the tables as they are not
required for the auth system.  The names are the identifier.
2024-04-26 22:30:10 +02:00
Simon Goller
dccfa2d4cf Initial commit 2024-04-26 21:34:00 +02:00