Commit graph

15 commits

Author SHA1 Message Date
Simon Goller
d4adcb182f Add basic employee hour balance report 2024-06-23 18:12:54 +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
258726cd87 Disable features 2024-06-05 18:04:27 +02:00
Simon Goller
3c670d50d3 Use OIDC username 2024-06-05 18:00:05 +02:00
Simon Goller
a868ceb0cd Add oidc support 2024-06-04 20:07:58 +02:00
Simon Goller
bc8a534353 Add id check for booking
It now checks if sales_person_id and slot_id actually exists.
2024-05-09 08:11:38 +02:00
Simon Goller
8ea16624ad Add rest service for booking 2024-05-09 07:16:38 +02:00
Simon Goller
8efc3843ad Add sales-person REST service 2024-05-06 15:15:47 +02:00
Simon Goller
20828fb4a1 Add context reqruied later for authentication 2024-05-03 19:01:26 +02:00
Simon Goller
8f378472ea Add REST endpoint for slot 2024-05-02 23:25:04 +02:00
Simon Goller
82e89baeeb Restructuring: Move permission code in separate modules 2024-04-30 15:06:12 +02:00
Simon Goller
d45ccf9523 REST servcie restructuring
App devices which implementation will be used.  For now,
the types of the implementations must be defined manually.
This is requied because the State in the REST endpoints must
contain a type which can provide all services.
2024-04-28 22:30:10 +02:00
Simon Goller
926ac006e7 Return the username in a separate service
This allows us to use a service implementation which
returns a dummy user during development and the actual authenticated
user during production.  It also simplifies tests.
2024-04-26 22:41:44 +02:00
Simon Goller
dccfa2d4cf Initial commit 2024-04-26 21:34:00 +02:00