Commit graph

423 commits

Author SHA1 Message Date
Jan
4fe7e91119 retry 2 2025-10-23 17:02:49 +02:00
Jan
7abfc2578d refactor again 2025-10-23 16:51:25 +02:00
Jan
d327b1649c Refactor Gitea CI workflow, because of missing CA in actions 2025-10-23 16:38:50 +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
23ee5fad79 Bugfix: improve geocoding logic for Azure Maps API; enhance validation and address mapping in batch processing 2025-10-21 13:09:56 +02:00
Jan
2aaf820bdc Bugfix:
- taking the newest validity tuple, when fetching reports
- risk and changes are only calculated for main run (and not all sections)
2025-10-19 21:56:32 +02:00
Jan
0c88c5ed0f Bugfix: takes property set into account when collecting comparable reports. 2025-10-19 19:55:19 +02:00
Jan
67fc5607e3 Bugfix: creates a copy of all matrix rates if only container rates are updated and vice versa 2025-10-19 19:06:11 +02:00
Jan
d10f301b3d Bugfix: change risk only for none matrix rates. 2025-10-19 17:31:16 +02:00
Jan
b19e16fbb0 Bugfix: fixed reporting for user generated nodes 2025-10-19 17:24:23 +02:00
Jan
a2e0029dfe Bugfix: update url, when remove line from mass edit view 2025-10-19 15:27:30 +02:00
Jan
de896cea30 Bugfix: price mass edit 2025-10-19 15:06:55 +02:00
Jan
3d3a4dbfab Bugfix: user supplier "source"-type bugfix 2025-10-19 14:55:54 +02:00
Jan
c573d7647f - fixed bug in material mass edit
- removed geocoding from bulk import (temporarly)
2025-10-19 13:47:40 +02:00
Jan
108e89195c - fixed pagination error on delete etc. 2025-10-19 13:39:53 +02:00
Jan
3b05befa92 added missing changes to perious commit 2025-10-19 13:05:00 +02:00
Jan
f657ff2c80 - Added geocoding functionality:
- Implemented address verification and geolocation in `CreateNewNode`.
  - Integrated `GeoApiService` with error handling using `GeocodingException`.
  - Updated `NodeController` for geocoding and user node creation.
  - Refactored related components and store for enhanced geolocation support.
2025-10-19 12:20:28 +02:00
Jan
d7bc62c713 - Better error handling during calculation
- Bugfixes in calculation (error in getByMappingIdAndCountryId)
2025-10-18 22:20:51 +02:00
Jan
78bd0ad6d6 - Calculations can be started now with any validity period and property set.
- added preflight check for validity period, property set and all route sections
2025-10-18 19:52:10 +02:00
Jan
dac371b481 Bugfix: Reset pagination position on delete (my calculations) 2025-10-18 10:13:05 +02:00
Jan
8aca48b5ec Bugfix: Check premise access rights works as expected. 2025-10-18 09:45:26 +02:00
Jan
20ad15e4e4 Refactoring premiss edit:
- fixed bug in mass edit, when editing single value
2025-10-18 09:28:11 +02:00
Jan
20fa52826a reworked "my calculation" page:
- select over multiple pages
- reopen completed calculations
2025-10-17 22:35:33 +02:00
Jan
3141e62b08 - intermediate commit 2025-10-13 14:00:28 +02:00
Jan
79dea999ad - intermediate commit 2025-10-12 13:41:37 +02:00
Jan
7eaba06e6a Merge branch 'EntraID-Integration' 2025-10-07 15:55:20 +02:00
Jan
431694ce22 - added navigation guards
- added roles to endpoints
- added user ids where needed
2025-10-07 15:53:37 +02:00
Jan
5760c7d30c - implemented simulated user in dev profile 2025-10-05 13:15:26 +02:00
Jan
4c34a1bade - Introduced "devpage" to show calculation dumps and change active user in "dev"-profile 2025-10-04 10:47:52 +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
cb51789a84 - Enhanching errors if wrong sheet is uploaded 2025-09-30 20:42:16 +02:00
Jan
fd8226d4c1 - Fix for Sprechende Fehlermeldungen beim Upload #29 2025-09-30 19:39:31 +02:00
Jan
4079229956 - Fix for Neue Meotrolregion angelegt inkl. Rate, wird aber nicht beim Routing berücksichtigt #43 2025-09-30 18:50:42 +02:00
Jan
3d3f3e8406 - Added responsibility to the single edit component
- Updated property help texts
- fixed chain resolver bug
2025-09-30 17:15:12 +02:00
Jan
508d95d7c3 Refined UI text for improved clarity and consistency across components. 2025-09-29 21:36:12 +02:00
Jan
1fa1680535 Updated SQL seed data descriptions for clarity and consistency. Added unique constraint validation and error highlighting in Excel mappers. Enhanced validation methods and refactored utilities for better maintainability. 2025-09-29 21:19:27 +02:00
Jan
ee989d1bfc - Improved file input handling in bulk operations: added in-memory blob storage, reset on re-selection, and error handling for file reading. Adjusted indentation and refined event logic. 2025-09-29 18:52:53 +02:00
Jan
f9828029a9 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	src/frontend/src/components/layout/config/BulkOperations.vue
2025-09-29 18:47:59 +02:00
Jan
1fe4d700aa - Enhanced bulk import error messaging and input file handling.
- Improved calculation view and tree view display.
- Added draft clearing for container rates and corrected indentation issues.
- Various frontend usability and styling refinements.
2025-09-29 18:46:55 +02:00
Anja Guenther
13c2e627ee fix for the datums hölle 2025-09-28 20:48:01 +02:00
Jan
d997178d00 added dynamic scaling for route section heights in reports and adjusted query ordering for calculation jobs 2025-09-28 20:07:14 +02:00
Jan
01125fc875 fixed Reportingstruktur angleichen #25 2025-09-28 18:05:56 +02:00
Jan
0028ab8977 further optical enhancments for calculation dump 2025-09-28 13:57:49 +02:00
Jan
82d0a7c711 further optical enhancments for calculation dump 2025-09-28 13:45:19 +02:00
Jan
fcc8e811da tree view removed batches for better readability 2025-09-28 13:27:54 +02:00
Jan
3f34f9bee9 fixed indentation of tree node 2025-09-28 13:25:27 +02:00
Jan
fd785a2b71 - enhanced calculation dump view 2025-09-28 12:25:15 +02:00