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
|
6505ad758f
|
bsmd authorization for times PUT
|
2024-09-10 17:45:32 +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
|
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
|
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
|
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
|
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
|
e1d9570268
|
solving the concatenation issue of a list and a None-type.
|
2024-08-27 20:52:10 +02:00 |
|
Max Metz
|
e526337c6a
|
added a reference check to PUT-requests (shipcall), so each provided ID must exist. Corrected some input validation functions to solve known bugs
|
2024-08-12 19:43:19 +02:00 |
|
Max Metz
|
d54fed9160
|
corrected open issues of the API validation functions. Made some validation errors more verbose, improved robustness, refactored some of the methods and adapted many unit tests to the novel format.
|
2024-08-06 20:46:40 +02:00 |
|
Max Metz
|
cd8c246d72
|
adapting times POST, PUT, DELETE to properly include the special case, where a BSMD user should also be allowed to handle times entries of an AGENCY, if the agency has the flag set.
|
2024-07-25 10:42:44 +02:00 |
|
Max Metz
|
3d2e1f5158
|
Added input validation for API requests. Refactored some methods, added docstrings. Solved marshmallow-warnings in BreCal.schemas.model. Added unit tests, now totaling 215. Added proposals to refactor all SQL queries into an object at BreCal.database.sql_queries.SQLQuery for better standardization. Created a helper-object to handle Emails, which prepares the notification-feature.
|
2024-07-25 10:42:44 +02:00 |
|