Commit graph

19 commits

Author SHA1 Message Date
Renovate Bot
ecef7642c9 Update dependency jakarta.xml.bind:jakarta.xml.bind-api to v4.0.4 2025-11-23 23:01:18 +00:00
Jan
3e9e9e1d34 Replaced MaterialExcelMapper with MaterialFastExcelMapper using fastexcel instead of Apache POI. 2025-11-10 22:00:31 +01:00
Jan
a17d50b9a6 Added caching for user authorities and refactored filters:
- Introduced `UserAuthorityCacheService` with support for caching user authorities using Caffeine.
- Added `CacheConfig` with Caffeine configuration for authority caching.
- Implemented `AuthorityRefreshFilter` to dynamically refresh user roles in the security context.
- Refactored filter package structure by moving existing filters to `config.filter`.
- Updated `SecurityConfig` to integrate the new `AuthorityRefreshFilter`.
- Modified `UserService` to invalidate user authority cache upon user updates.
2025-11-07 10:48:03 +01:00
Jan
ce6b8dd9b0 Integrated tariff rate calculations and customs API:
- **Backend**: Introduced `EUTaxationApiService` for TARIC data retrieval and integrated tariff rate lookup functionality. Added supporting DTOs and updated services to handle custom measures and updated logic for material and supplier changes.
- **Frontend**: Enhanced mass and single edit calculation components to include tariff rate lookup functionality and warnings. Introduced `useCustomsStore` for state management of customs data.
- **Database**: Added `nomenclature` table for storing HS code-related information.
- **Other**: Configured SOAP client for TARIC API and added logging for debugging.
2025-11-06 17:35:41 +01: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
0c51bf7c3d Add version to exec-maven-plugin and enforce role-based access for user and group endpoints 2025-10-21 21:34:20 +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
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
c03cbfb774 Add Python script for converting container rates from Excel to SQL
Bugfixing Destination Creation
2025-07-22 23:16:28 +02:00
Jan
7109a1386d Added proper exception handling, property validation service, tests for CountryController and PropertyController 2025-07-10 22:11:03 +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
851c7823e0 Remove unused DTOs and services.
Unused DTOs and transformation services were removed to clean up the codebase and reduce clutter. Added new utility exceptions and DTOs, including `NotFoundException`, `ReferencedException`, and `LocationDTO`, to improve error handling and code organization.
2025-03-30 21:17:52 +02:00
Jan
0f91ad44e8 first commit 2025-02-23 13:10:49 +01:00