Commit graph

18 commits

Author SHA1 Message Date
Jan
8cb922a88d Updated properties and enhanced SecurityConfig
- Changed `server.forward-headers-strategy` to `native` in `application.properties`.
- Added exclusion for `/login/oauth2/code/**` in CSRF configuration.
2025-10-25 16:45:01 +02:00
Jan
3f0644c1e9 Set dynamic redirect URI in SecurityConfig and updated properties 2025-10-25 16:17:56 +02:00
Jan
b33e28a248 Removed Azure redirect URI 2025-10-25 11:47:22 +02:00
Jan
e7ba98bdd7 Added Azure redirect URI in properties and dynamic backend URL in frontend configuration 2025-10-24 20:14:24 +02:00
Jan
e79db9e1b7 Introduced Flyway 2025-10-24 06:21:11 +02:00
Jan
a83ee4dacd - added actuator
- optimized dockerfile
2025-10-23 20:59:48 +02:00
Jan
c071609eb2 Refactor & Enhancements:
- Refactored `validateApp` in `AppsService` to return `Optional<App>` instead of `null`.
- Updated `JwtTokenService` to handle `expiration` parameter and use `App` object for token creation.
- Improved `TokenController` to work with the updated service layer.
- Fixed typo in `Report.vue` ("Airfreight" to "Air freight").
- Updated application properties to use `SPRING_PROFILES_ACTIVE`.
- Added `.dockerignore`, `dockerfile`, and `docker-compose.yml`, enabling Docker support.
- Removed unused Maven plugins and updated `vite.config.js` build directory.
- Introduced Gitea CI workflows for building and pushing Docker images.
2025-10-23 14:52:28 +02:00
Jan
a76de8e53c - Refactoring: put all models in subdirectories under model:
* model/db -> entities
  * model/excel -> excel parsing
  * model/calulation -> for logistic cost calculation
  * model/azuremaps -> geocding

- added endpoints & service & repo to manage external apps.
- added jwt issuer service & oauth/token endpoint for external apps.
2025-10-21 21:23:27 +02:00
Jan
79dea999ad - intermediate commit 2025-10-12 13:41:37 +02:00
Jan
10687ffe5d - Integrated entra id into "prod"-profile 2025-10-02 21:46:38 +02:00
Jan
f6160a4153 - Integrated the frontend within the static folder of the backend:
* changed the build target of npm run build to the static folder of the spring project.
  * integrated the the npm build into the maven build
  * adjusted the spring config:
      * removed cors configs
      * added frontend config with the routes to frontend in static folder
2025-10-02 17:32:37 +02:00
Jan
5e114ce859 Added errors to database and simple error view in frontend 2025-09-19 17:00:18 +02:00
Jan
32feeb06a0 BACKEND: Introduce AzureMapsController for managing Azure Maps configuration with Entra ID integration; add endpoints for configuration retrieval, health checks, and role-based permissions; enhance country dataset in alldata.sql with names for better clarity. 2025-09-04 16:43:02 +02:00
Jan
dd56a539ef FRONTEND: Enhance calculation search functionality with debounce support, filter toggles, and new input handling; add AutoSuggestSearchBar component and Spinner UI for improved UX; update checkbox styles and introduce PremiseStore for state management.
BACKEND: Added filter to allow CORS. To be removed for prod
2025-08-07 11:20:43 +02:00
Jan
5ec07294d3 Remove unused classes, enhance repository queries, and update schema
Deleted `NodePredecessor` class and legacy query structures. Improved repository queries with grouped logic and added support for optional fields like `is_required`. Updated SQL schema and data to include additional countries (`BQ`, `XK`) and align unique constraints. Introduced `SecurityConfig` for profile-specific security chains.
2025-07-03 17:04:28 +02:00
Jan
af76f6821b Refactor bulk services and enhance database schema.
Replaced `TemplateGenerationService` with `TemplateExportService` and introduced `ExcelMapper` classes for enhanced sheet handling. Updated the database schema to refine node predecessor handling and added new utility methods in repositories. These changes aim to improve bulk operations and data consistency.
2025-04-15 22:09:47 +02:00
Jan
19d8d236fa Add database schema and configuration properties
Introduced MySQL configuration and properties setup in `application.properties`. Added a comprehensive database schema covering users, logistics, packaging, and calculations. Updated `.gitignore` to exclude the `env.properties` file.
2025-02-25 18:31:47 +01:00
Jan
0f91ad44e8 first commit 2025-02-23 13:10:49 +01:00