Commit Graph

577 Commits

Author SHA1 Message Date
1770c604b2 serverside fixes for detecting unchanged time values 2024-11-10 15:08:41 +01:00
7ba5633463 Merge branch 'feature/test_server_1.5' into feature/extra_time_logic 2024-11-09 18:14:14 +01:00
529872b590 Allow new shipcalls up to 1 day in the past for serverside validation 2024-11-07 09:26:23 +01:00
904dc629e2 Version bump to 1.5.0.10 2024-11-07 09:19:29 +01:00
61707d8fde Apply 1 day past rule to both from and to times on eta / etd to avoid loophole 2024-11-07 08:33:22 +01:00
83e538a58b Allow new shipcalls up to 1 day in the past for serverside validation 2024-11-06 16:22:34 +01:00
7f51842ccc Version bump to 1.5.0.9 2024-11-05 14:12:04 +01:00
6b5d876cd5 added -1 day time logic to client 2024-11-05 13:26:53 +01:00
f1e1355986 more validation input fixes 2024-10-18 11:49:18 +02:00
e911da20ef Fixed tidal window validation and description output 2024-10-18 09:51:29 +02:00
2ee9af4b9d Version bump to 1.5.0.7 2024-10-17 15:41:50 +02:00
5e2cb3f745 Fixed some more small bugs in validation when only a partial times dataset is put 2024-10-17 14:49:51 +02:00
704c58222c Fix text filter if there is whitespace in the text, simplified some events 2024-10-17 07:42:36 +02:00
401e0d4ae8 bugfix for shipcall PUT validation 2024-10-16 16:16:54 +02:00
scopesorting
c0902c65ee
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-15 15:19:08 +02:00
8fe2a9ebca Fixed error in validation when times data was updated for operations 2024-09-26 15:00:41 +02:00
d62250fb4f Limit shifting number to 127 to avoid int -> uint overflow on insert 2024-09-25 07:57:58 +02:00
28404fb8b6 Version bump to 1.5.0.6 2024-09-23 08:56:55 +02:00
40e1c91755 Merge branch 'feature/extra_warnings' into release/1.5.0 2024-09-23 08:52:39 +02:00
7921a138d4 fixed bug in ship create 2024-09-23 08:39:25 +02:00
0c8a5cfc2c fixed site module include path 2024-09-23 08:24:39 +02:00
27179da2a2 fixed some missing client warnings 2024-09-22 14:43:52 +02:00
df050cb83b
Merge pull request #50 from puls200/hotfix/20240912
Hotfix/20240912
2024-09-18 08:27:36 +02:00
Max Metz
5e50e09966 when a ship is deleted, the IMO is no longer considered to exist 2024-09-17 15:33:48 +02:00
0bd526e08e Version bump to 1.5.0.5 2024-09-17 10:12:11 +02:00
8c23df8cda Added extra too far in the future validation on the client-side 2024-09-17 09:40:36 +02:00
470110ef5b Ensure both or none of the tidal window times are set when leaving the agency dialogs 2024-09-17 08:47:43 +02:00
081995990f Only allow editing (OK-Button enabled) for the assigned owner of the times record 2024-09-17 08:26:39 +02:00
d2bab6e2c2 only allow saving if ETA time is greater than ETD time when shifting 2024-09-17 08:04:26 +02:00
Max Metz
8df9034574 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-12 11:07:45 +02:00
a90eca923d
Merge pull request #49 from puls200/hotfix/20240912
Hotfix/20240912
2024-09-12 10:48:06 +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
82969c8726 Merge branch 'bugfix/validation_feedback' into release/1.5.0 2024-09-12 09:43:45 +02:00
4e39510be6 Version bump to 1.5.0.4 2024-09-11 09:11:46 +02:00
e7a6aa6584 fixed some cut and paste error and a crash when changing the assignment fails by API 2024-09-11 08:41:49 +02:00
282a860c42 Version bump to 1.5.0.2 2024-09-11 07:08:14 +02:00
a0d27289ae removed unnecessary float conversion 2024-09-10 21:46:30 +02:00
a497f7f2a0 fixed typo in error message 2024-09-10 21:15:52 +02:00
a305ee3bed Version bump to 1.5.0.2 2024-09-10 21:14:21 +02:00
38563d5b38 Simplified error display dialog 2024-09-10 18:06:28 +02:00
39c5990199
Merge pull request #48 from puls200/hotfix/20240910
Hotfix/20240910
2024-09-10 17:53:12 +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
96d0de9e56
Update validation rules document (#47)
* Update validation rules document

* clarified error message array in 400 return value

* simplified the return structure
2024-09-10 17:41:21 +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
c375b9f553 Adding proper result structure to error return message 2024-09-10 12:59:39 +02:00