Commit graph

78 commits

Author SHA1 Message Date
Simon Goller
724759d1d8 Set version to 0.1.5
Some checks failed
Rust / build (push) Failing after 41s
2024-06-28 15:05:54 +02:00
Simon Goller
e8131196aa Update version to 0.1.5-dev 2024-06-28 08:33:22 +02:00
Simon Goller
9e932e1aca Fix deleting extra hours 2024-06-27 21:05:42 +02:00
Simon Goller
7825a2d172 Set version to 0.1.4 2024-06-27 14:55:32 +02:00
Simon Goller
c9e526492c Add endpoints for working hours
It has an endpoint to show and to delete working hours
2024-06-27 14:55:05 +02:00
Simon Goller
d1f6db2104 Set version to 0.1.3-dev 2024-06-27 07:26:02 +02:00
Simon Goller
c95da03670 Update offline queries 2024-06-26 20:46:50 +02:00
Simon Goller
e477f068dd Set version to 0.1.2 2024-06-26 20:45:42 +02:00
Simon Goller
036551ba39 Fix total amount of extra hours in report 2024-06-26 20:44:20 +02:00
Simon Goller
56fe23f8bc Set version to 0.1.1 2024-06-26 15:26:02 +02:00
Simon Goller
20aa0118f4 Fix reporting for weekly extra hours 2024-06-26 15:25:04 +02:00
Simon Goller
375c048f2c Remove duplicate sales user verification method 2024-06-26 15:00:10 +02:00
Simon Goller
29f94a8e37 Allow sales person to insert extra_hours 2024-06-26 14:54:14 +02:00
Simon Goller
9011f223c7 Add REST service which provides the version 2024-06-26 13:04:35 +02:00
Simon Goller
ef897bc80f Set version to 0.1.1-dev and print version on startup 2024-06-25 18:01:15 +02:00
Simon Goller
bf31ab7209 CI checks formatting and OIDC build 2024-06-25 13:36:34 +02:00
Simon Goller
2cb5fdf674 Use offline build on CI 2024-06-25 13:35:20 +02:00
Simon Goller
ef2bbd22cf Disable dependency to service in rest-types by default 2024-06-25 13:31:46 +02:00
Simon Goller
12e61d6bc2
Create rust.yml 2024-06-25 13:29:52 +02:00
Simon Goller
4138db0295 Update prepared queries 2024-06-24 12:46:46 +02:00
Simon Goller
c8f28e1f7b Add endpoint to add extra_hours 2024-06-24 08:31:47 +02:00
Simon Goller
d4adcb182f Add basic employee hour balance report 2024-06-23 18:12:54 +02:00
Simon Goller
0eb885216a Add new migration for new queries 2024-06-19 15:11:31 +02:00
Simon Goller
d48c97edac Introduce is_paid attribute to SalesUser 2024-06-19 09:59:14 +02:00
Simon Goller
17e16d35a7 Another try to fix the logout 2024-06-18 09:19:49 +02:00
Simon Goller
f11ff6612c Fix logout endpoint 2024-06-18 09:04:26 +02:00
Simon Goller
ee18140ccf Update prepared SQL statements 2024-06-18 08:07:11 +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
f894bf325d Add endpoint to copy shift plan week 2024-06-14 09:53:57 +02:00
Simon Goller
e7af89f1cd Set session duration to 50 minutes 2024-06-13 07:59:25 +02:00
Simon Goller
bd887cfd7b Add endpoint to get sales_person for current user 2024-06-12 12:04:41 +02:00
Simon Goller
42ebce15e8 sqlx prepare for new query 2024-06-12 08:05:33 +02:00
Simon Goller
20a5f5859b Let expire the user cookie more quickly
This will hopefully fix the OIDC issue by causing the backend
to refresh the token more frequently.
2024-06-12 07:59:51 +02:00
Simon Goller
e1f9936b62 Add REST endpoint to find bookings per week 2024-06-12 07:38:51 +02:00
Simon Goller
47a3de3c54 Remove axum-utils from dependencies 2024-06-10 08:45:07 +02:00
Simon Goller
f7f789f3c0 Fix OIDC build 2024-06-10 08:40:48 +02:00
Simon Goller
315f715215 Improve experience for dev setup 2024-06-10 08:37:46 +02:00
Simon Goller
764faa6e6b Use rest-types to export TOs to the frontend 2024-06-06 08:29:56 +02:00
Simon Goller
91559224e5 Fix clippy findings 2024-06-06 08:08:30 +02:00
Simon Goller
99b9d85e47 Remove build.nix and use it on another repo 2024-06-06 07:47:40 +02:00
Simon Goller
69c357b69e Fix import warnings 2024-06-06 07:33: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
9888ac4062 Display some more OIDC information 2024-06-05 16:36:31 +02:00
Simon Goller
1565fc0017 Add aditional oidc endpoint to get user info 2024-06-05 16:01:46 +02:00
Simon Goller
46a833cc1d Fix startup issue 2024-06-05 11:29:25 +02:00