4f96ff066c
fixed serverside path
2024-12-11 11:36:16 +01:00
2600b6ebc3
Switched to PROD version
2024-12-11 11:32:44 +01:00
27e20e15f7
fixed bug in participant API GET with user_id parameter
2024-12-11 09:39:26 +01:00
c253de0ba8
fixed missing shipcall id in backend result
2024-12-07 14:49:58 +01:00
c322564996
Fixed ship add in backend
2024-12-05 08:51:02 +01:00
8e2adb3daa
Changed settings and colors for test version
2024-11-19 14:06:11 +01:00
3775d6775c
adding missing defaults when shipcall is not yet created
2024-11-14 11:47:57 +01:00
2576127b79
serverside fixes for detecting unchanged time values
2024-11-14 11:45:24 +01:00
b070979723
Allow new shipcalls up to 1 day in the past for serverside validation
2024-11-08 09:41:04 +01:00
d6e3ae20c1
Allow new shipcalls up to 1 day in the past for serverside validation
2024-11-08 09:37:46 +01:00
72d3ad05bf
Added validation rules regarding port_id (for berth and participant assignment)
2024-10-23 09:55:56 +02:00
0d7861ec36
If a PUT or DELETE operation is attempted on a non-existant object, 404 is returned
2024-10-21 10:37:35 +02:00
4531eda8f1
more validation input fixes
2024-10-19 19:59:38 +02:00
b5b78a9c7e
Fixed tidal window validation and description output
2024-10-19 19:59:17 +02:00
f0720b9b1d
Fixed some more small bugs in validation when only a partial times dataset is put
2024-10-19 19:58:46 +02:00
11098da25b
bugfix for shipcall PUT validation
2024-10-19 19:56:29 +02:00
scopesorting
fb8b732b1d
regardless of the BSMD flag, BSMD users are now able to perform shipc… ( #51 )
...
* regardless of the BSMD flag, BSMD users are now able to perform shipcall PUT-requests
* regardless of the BSMD flag, BSMD users are now able to perform shipcall PUT-requests
* docstrings and BSMD-flag handling
2024-10-19 19:56:08 +02:00
1d64a83d32
Fixed error in validation when times data was updated for operations
2024-09-30 08:32:18 +02:00
f3c5111265
Upgrade to python 3.12 on the server, exported current requirements
2024-09-23 08:09:59 +02:00
ed6f5ab648
essential bugfixes
2024-09-20 09:46:48 +02:00
Max Metz
7abf0e26e2
when a ship is deleted, the IMO is no longer considered to exist
2024-09-18 08:34:21 +02:00
Max Metz
cc29320c87
BSMD-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
2024-09-18 08:33:59 +02:00
5ce866936d
unified return structure to use error_field instead of message key to correspond to API specification
2024-09-16 14:17:30 +02:00
a68a768277
fixed bug in ports GET
2024-09-15 16:13:47 +02:00
489dfc2ed6
added port_id and ports endpoint to flask app (no validation yet!), reading works
2024-09-13 17:45:31 +02:00
cc17e6c33a
Merge branch 'feature/1.6_database_changes' into develop
2024-09-12 11:48:56 +02:00
5625cbac49
reverted settings for test version
2024-09-12 11:31:16 +02:00
Max Metz
aaea8441f6
shifting the ship-id check into the validation object
2024-09-12 10:22:27 +02:00
Max Metz
82ad56812e
correcting 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)
2024-09-12 10:19:26 +02:00
Max Metz
7c5bc626d0
improving documentation
2024-09-10 17:47:44 +02:00
Max Metz
6505ad758f
bsmd authorization for times PUT
2024-09-10 17:45:32 +02:00
Max Metz
5b68ef95cb
adapting exception handling and error responses for 400 responses. Using a simplified format, which only uses the keys 'error_field' and 'error_description'
2024-09-10 17:37:08 +02:00
Max Metz
590df30fef
A ship's IMO-validation was used in POST and PUT requests. This caused an issue for POST requests.
2024-09-10 14:48:20 +02:00
Max Metz
c90b002806
Times POST no longer raises a ValidationError when the provided time is in the past.
2024-09-10 14:17:03 +02:00
Max Metz
7a97cd7d95
format of exceptions now always follows baseline format. 'errors'-key is always a list of dictionaries.
2024-09-10 13:50:13 +02:00
Max Metz
9127cdeac8
BSMD users are now allowed to POST times entry, if they are assigned to the ShipcallParticipantMap or the special BSMD-flag-clause takes place
2024-09-09 17:06:03 +02:00
Max Metz
d2cd233f13
creating 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.
2024-09-09 12:46:55 +02:00
Max Metz
85973ad848
creating a default error response format for each API route
2024-09-09 12:21:32 +02:00
Max Metz
61b00b8b22
auto-converting non-lists to list values.
2024-09-09 11:55:58 +02:00
Max Metz
ab7b1ed34f
every 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.
2024-09-05 12:46:04 +02:00
Max Metz
c7371a945a
adapting traffic light validation 0002-C. This no longer requires ETA verification. Adapted the description when the error occurs and renamed the function.
2024-09-04 12:21:22 +02:00
Max Metz
e4d0ea2301
fixed serialization of marshmallow.ValidationErrors. This was caused by the 'valid_data' containing datetime objects, which were not serializable natively.
2024-09-04 12:11:32 +02:00
Max Metz
2f678267c8
time estimations are no longer dependency on times POST requests. This refers to eta_berth, etd_berth, operations_start, operations_end.
2024-09-04 11:41:03 +02:00
Max Metz
2c0a73113b
shipcall PUTs may no longer change the shipcall type
2024-09-04 11:17:32 +02:00
Max Metz
3d2405e8fb
maintenance of API Input Validation (ship & times)
2024-09-04 10:27:46 +02:00
Max Metz
1ff972883f
adding input validation for time intervals
2024-09-04 10:27:38 +02:00
Max Metz
4b5ff90b34
properly serializing ValidationError exceptions.
2024-09-04 08:30:46 +02:00
6cfd311bbb
Version bump to 1.6
2024-09-04 08:09:13 +02:00
ed7c4fbfbb
Created test version including version bump to 1.5.0
2024-08-30 11:27:10 +02:00
Max Metz
2ac2bc196c
potentially resolving the 'Unknown column ... in 'field list' issue
2024-08-28 18:44:45 +02:00