Commit graph

  • 4d54417b80 Fix normal build main neosam 2024-06-29 12:58:10 +00:00
  • 6d9b898238 Install more rust tools on build action neosam 2024-06-29 12:56:38 +00:00
  • 1b9b5c3a5e Comment formatting check neosam 2024-06-29 12:49:55 +00:00
  • 14cc281c27 Fix nix-env command when installing cargo again neosam 2024-06-29 12:46:10 +00:00
  • 8f6947ca6a Fix nix-env command when installing cargo neosam 2024-06-29 12:45:28 +00:00
  • 4a32382293 Try to set up build in nixos neosam 2024-06-29 12:44:33 +00:00
  • f65d358fcf Update rust build action neosam 2024-06-29 12:02:33 +00:00
  • 724759d1d8 Set version to 0.1.5 Simon Goller 2024-06-28 15:05:54 +02:00
  • e8131196aa Update version to 0.1.5-dev Simon Goller 2024-06-28 08:33:07 +02:00
  • 9e932e1aca Fix deleting extra hours Simon Goller 2024-06-27 21:05:42 +02:00
  • 7825a2d172 Set version to 0.1.4 Simon Goller 2024-06-27 14:55:32 +02:00
  • c9e526492c Add endpoints for working hours Simon Goller 2024-06-27 14:55:05 +02:00
  • d1f6db2104 Set version to 0.1.3-dev Simon Goller 2024-06-27 07:26:02 +02:00
  • c95da03670 Update offline queries Simon Goller 2024-06-26 20:46:50 +02:00
  • e477f068dd Set version to 0.1.2 Simon Goller 2024-06-26 20:45:42 +02:00
  • 036551ba39 Fix total amount of extra hours in report Simon Goller 2024-06-26 20:44:20 +02:00
  • 56fe23f8bc Set version to 0.1.1 Simon Goller 2024-06-26 15:26:02 +02:00
  • 20aa0118f4 Fix reporting for weekly extra hours Simon Goller 2024-06-26 15:25:04 +02:00
  • 375c048f2c Remove duplicate sales user verification method Simon Goller 2024-06-26 15:00:10 +02:00
  • 29f94a8e37 Allow sales person to insert extra_hours Simon Goller 2024-06-26 14:54:14 +02:00
  • 9011f223c7 Add REST service which provides the version Simon Goller 2024-06-26 13:04:35 +02:00
  • ef897bc80f Set version to 0.1.1-dev and print version on startup Simon Goller 2024-06-25 18:01:15 +02:00
  • bf31ab7209 CI checks formatting and OIDC build Simon Goller 2024-06-25 13:36:34 +02:00
  • 2cb5fdf674 Use offline build on CI Simon Goller 2024-06-25 13:35:20 +02:00
  • ef2bbd22cf Disable dependency to service in rest-types by default Simon Goller 2024-06-25 13:28:51 +02:00
  • 12e61d6bc2
    Create rust.yml Simon Goller 2024-06-25 13:29:52 +02:00
  • 4138db0295 Update prepared queries Simon Goller 2024-06-24 12:46:46 +02:00
  • c8f28e1f7b Add endpoint to add extra_hours Simon Goller 2024-06-24 08:31:47 +02:00
  • d4adcb182f Add basic employee hour balance report Simon Goller 2024-06-23 18:12:54 +02:00
  • 0eb885216a Add new migration for new queries Simon Goller 2024-06-19 15:11:31 +02:00
  • d48c97edac Introduce is_paid attribute to SalesUser Simon Goller 2024-06-19 09:59:14 +02:00
  • 17e16d35a7 Another try to fix the logout Simon Goller 2024-06-18 09:19:49 +02:00
  • f11ff6612c Fix logout endpoint Simon Goller 2024-06-18 09:04:26 +02:00
  • ee18140ccf Update prepared SQL statements Simon Goller 2024-06-18 08:07:11 +02:00
  • 7d59cbde11 Add logout url Simon Goller 2024-06-18 08:01:52 +02:00
  • eb54665596 Add background color to sales person Simon Goller 2024-06-18 06:27:29 +02:00
  • b4b926a8e4 Adjust shift plan based on authentication Simon Goller 2024-06-14 13:23:12 +02:00
  • f894bf325d Add endpoint to copy shift plan week Simon Goller 2024-06-14 09:53:57 +02:00
  • e7af89f1cd Set session duration to 50 minutes Simon Goller 2024-06-13 07:59:25 +02:00
  • bd887cfd7b Add endpoint to get sales_person for current user Simon Goller 2024-06-12 12:04:41 +02:00
  • 42ebce15e8 sqlx prepare for new query Simon Goller 2024-06-12 08:05:33 +02:00
  • 20a5f5859b Let expire the user cookie more quickly Simon Goller 2024-06-12 07:59:51 +02:00
  • e1f9936b62 Add REST endpoint to find bookings per week Simon Goller 2024-06-12 07:38:51 +02:00
  • 47a3de3c54 Remove axum-utils from dependencies Simon Goller 2024-06-10 08:45:07 +02:00
  • f7f789f3c0 Fix OIDC build Simon Goller 2024-06-10 08:40:48 +02:00
  • 315f715215 Improve experience for dev setup Simon Goller 2024-06-10 08:37:46 +02:00
  • 764faa6e6b Use rest-types to export TOs to the frontend Simon Goller 2024-06-06 08:29:56 +02:00
  • 91559224e5 Fix clippy findings Simon Goller 2024-06-06 08:08:30 +02:00
  • 99b9d85e47 Remove build.nix and use it on another repo Simon Goller 2024-06-06 07:47:40 +02:00
  • 69c357b69e Fix import warnings Simon Goller 2024-06-06 07:33:54 +02:00
  • 506791fa6a Make auth-info endpoint machine readable Simon Goller 2024-06-05 22:30:09 +02:00
  • e2f5b04ff1 Improve feature management Simon Goller 2024-06-05 21:21:42 +02:00
  • 258726cd87 Disable features Simon Goller 2024-06-05 18:04:27 +02:00
  • 3c670d50d3 Use OIDC username Simon Goller 2024-06-05 18:00:05 +02:00
  • 9888ac4062 Display some more OIDC information Simon Goller 2024-06-05 16:36:31 +02:00
  • 1565fc0017 Add aditional oidc endpoint to get user info Simon Goller 2024-06-05 16:01:46 +02:00
  • 46a833cc1d Fix startup issue Simon Goller 2024-06-05 11:29:25 +02:00
  • 9944d9ffc4 Add separate oidc authenticate endpoint Simon Goller 2024-06-05 11:02:41 +02:00
  • 0bf1f1a540 Add ci sqlx files Simon Goller 2024-06-04 20:48:46 +02:00
  • a868ceb0cd Add oidc support Simon Goller 2024-06-04 20:07:58 +02:00
  • ed609cf06c Cargo clippy and cargo fmt Simon Goller 2024-05-09 15:00:50 +02:00
  • b0000c0117 Wrap Context with Autentication enum Simon Goller 2024-05-09 14:58:19 +02:00
  • bf94ec33de Basic rest implementation for connecting user to sales-person Simon Goller 2024-05-09 14:16:47 +02:00
  • e3ec694876 Add checks for booking and fix database timestamps Simon Goller 2024-05-09 09:45:53 +02:00
  • bc8a534353 Add id check for booking Simon Goller 2024-05-09 08:11:38 +02:00
  • 418a2944f7 Add nix files Simon Goller 2024-05-09 07:18:35 +02:00
  • 8ea16624ad Add rest service for booking Simon Goller 2024-05-09 07:16:38 +02:00
  • d8dcc7099d Prepare sqlx for offline checks Simon Goller 2024-05-09 07:16:15 +02:00
  • 71c1432fd1 Add booking dao implementations Simon Goller 2024-05-07 18:19:00 +02:00
  • 4bca60a23c Implement booking service without validity checks Simon Goller 2024-05-07 08:31:50 +02:00
  • 8efc3843ad Add sales-person REST service Simon Goller 2024-05-06 15:15:47 +02:00
  • ad88a1c983 Add service for sales_persond Simon Goller 2024-05-06 13:33:54 +02:00
  • 20828fb4a1 Add context reqruied later for authentication Simon Goller 2024-05-03 19:01:26 +02:00
  • 9a367c9260 Move the error type test functions into its own module Simon Goller 2024-05-03 06:42:45 +02:00
  • 8f378472ea Add REST endpoint for slot Simon Goller 2024-05-02 23:25:04 +02:00
  • 82e89baeeb Restructuring: Move permission code in separate modules Simon Goller 2024-04-30 15:06:12 +02:00
  • b964063dbb Finalize permission service Simon Goller 2024-04-29 06:29:25 +02:00
  • d45ccf9523 REST servcie restructuring Simon Goller 2024-04-28 22:30:10 +02:00
  • 2931d37602 Fix clippy finding Simon Goller 2024-04-28 16:02:03 +02:00
  • 691eccc2a4 Create service and DAO layer for user-role-privilege system Simon Goller 2024-04-28 16:01:18 +02:00
  • ab260120f2 Create the roles and privileges required for MVP Simon Goller 2024-04-27 15:43:59 +02:00
  • 3b20d12ba1 Add unit tests for the services Simon Goller 2024-04-27 00:03:15 +02:00
  • 926ac006e7 Return the username in a separate service Simon Goller 2024-04-26 22:41:44 +02:00
  • 789981ee92 Imporove datamodel Simon Goller 2024-04-26 22:30:10 +02:00
  • dccfa2d4cf Initial commit Simon Goller 2024-04-26 21:34:00 +02:00