de94d63a41Make nomination comboboxes dependant on selected harbourDaniel Schick2024-09-19 09:25:24 +0200
3b3601baebAdded agency port dependency when editing shipcallsDaniel Schick2024-09-19 09:10:15 +0200
7abf0e26e2when a ship is deleted, the IMO is no longer considered to exist
Max Metz
2024-09-17 15:33:48 +0200
cc29320c87BSMD-flag check was executed on the wrong ID. Now, it correctly uses the assigned agency's ID to determine the presence of a BSMD flag
Max Metz
2024-09-12 11:07:45 +0200
8df9034574BSMD-flag check was executed on the wrong ID. Now, it correctly uses the assigned agency's ID to determine the presence of a BSMD flag
Max Metz
2024-09-12 11:07:45 +0200
Merge pull request #49 from puls200/hotfix/20240912puls2002024-09-12 10:48:06 +0200
aaea8441f6shifting the ship-id check into the validation object
Max Metz
2024-09-12 10:22:27 +0200
82ad56812ecorrecting an issue in the DELETE methods for SHIPS and TIMES, where the ID may have been provided as a null value or was incorrectly converted (string instead of integer)
Max Metz
2024-09-12 10:18:41 +0200
82969c8726Merge branch 'bugfix/validation_feedback' into release/1.5.0Daniel Schick2024-09-12 09:43:45 +0200
5b68ef95cbadapting exception handling and error responses for 400 responses. Using a simplified format, which only uses the keys 'error_field' and 'error_description'
Max Metz
2024-09-10 17:37:08 +0200
590df30fefA ship's IMO-validation was used in POST and PUT requests. This caused an issue for POST requests.
Max Metz
2024-09-10 14:48:20 +0200
c90b002806Times POST no longer raises a ValidationError when the provided time is in the past.
Max Metz
2024-09-10 14:17:03 +0200
7a97cd7d95format of exceptions now always follows baseline format. 'errors'-key is always a list of dictionaries.
Max Metz
2024-09-10 13:50:13 +0200
c375b9f553Adding proper result structure to error return messageDaniel Schick2024-09-10 12:59:39 +0200
Merge pull request #46 from puls200/hotfix/20240909puls2002024-09-09 19:54:34 +0200
67c852482eAdded some warnings if time intervals or particular values lie in the past for shipcall and agencyDaniel Schick2024-09-09 16:24:29 +0200
9127cdeac8BSMD users are now allowed to POST times entry, if they are assigned to the ShipcallParticipantMap or the special BSMD-flag-clause takes place
Max Metz
2024-09-09 17:06:03 +0200
d2cd233f13creating default handlers for every kind of Exception in the /api/ routes. Those default functions also create automatic logging with the .warning level. Relocated the .impl-calls into the Try-Exception-blocks, so they are properly logged and avoid system failures.
Max Metz
2024-09-09 12:46:55 +0200
85973ad848creating a default error response format for each API route
Max Metz
2024-09-09 12:21:32 +0200
61b00b8b22auto-converting non-lists to list values.
Max Metz
2024-09-09 11:55:05 +0200
Merge pull request #45 from puls200/hotfix/20240905_validation_error_typepuls2002024-09-05 18:40:30 +0200
ab7b1ed34fevery ValidationError is defined to return a dictionary. In case of validation errors without such a call, a function enforces a default with an undefined key to ensure the correct format.
Max Metz
2024-09-05 12:46:04 +0200
7ad8011c52Merge branch 'release/1.5.0' of github.com:puls200/brecal into release/1.5.0
Max Metz
2024-09-05 11:55:34 +0200
1243ebf9e7Adjusted error formatting and bumped test version to 1.5.0.1Daniel Schick2024-09-05 06:49:25 +0200
Merge pull request #44 from puls200/hotfix/20240903_maintenance_1.5.0puls2002024-09-05 05:59:44 +0200
facafd09baadapting the .md documentation for the traffic state rules.
Max Metz
2024-09-04 12:29:06 +0200
c7371a945aadapting traffic light validation 0002-C. This no longer requires ETA verification. Adapted the description when the error occurs and renamed the function.
Max Metz
2024-09-04 12:21:22 +0200
e4d0ea2301fixed serialization of marshmallow.ValidationErrors. This was caused by the 'valid_data' containing datetime objects, which were not serializable natively.
Max Metz
2024-09-04 12:11:05 +0200
bc73bb3c08fixed serialization of marshmallow.ValidationErrors. This was caused by the 'valid_data' containing datetime objects, which were not serializable natively.
Max Metz
2024-09-04 12:11:05 +0200
2f678267c8time estimations are no longer dependency on times POST requests. This refers to eta_berth, etd_berth, operations_start, operations_end.
Max Metz
2024-09-04 11:41:03 +0200
a8d0356eb7added the shipcall PUT rule to the docs/ApiValidatioNRules.md document
Max Metz
2024-09-04 11:19:47 +0200
2c0a73113bshipcall PUTs may no longer change the shipcall type
Max Metz
2024-09-04 11:17:32 +0200
126faff281Removed ETA as required field from shipcall PUT/POSTDaniel Schick2024-09-04 11:13:38 +0200
3d2405e8fbmaintenance of API Input Validation (ship & times)
Max Metz
2024-09-04 09:41:58 +0200
1ff972883fadding input validation for time intervals
Max Metz
2024-09-03 13:07:45 +0200