Commit Graph

600 Commits

Author SHA1 Message Date
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
bac3421a64 Fix text filter if there is whitespace in the text, simplified some events 2024-10-19 19:57:07 +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
4a0943c64f Version bump to 1.6.0.4 2024-10-19 19:51:32 +02:00
2a47dd6534 Avoid harbour selection changed event when initializing dialog 2024-10-19 19:39:03 +02:00
dd5d334e96 Version bump to 1.6.0.3 2024-10-01 08:37:34 +02:00
34c91497f3 Only allow harbours to be selected where the current user is assigned to 2024-10-01 08:36:30 +02:00
e18188cd85 don't allow a changed port when creating departure after a new arrival 2024-10-01 08:19:11 +02:00
4b1f773c6f changed last change highlight colors 2024-09-30 08:36:45 +02:00
1d64a83d32 Fixed error in validation when times data was updated for operations 2024-09-30 08:32:18 +02:00
0eaea46409 Limit shifting number to 127 to avoid int -> uint overflow on insert 2024-09-30 08:31:50 +02:00
f3c5111265 Upgrade to python 3.12 on the server, exported current requirements 2024-09-23 08:09:59 +02:00
d7919922fc Version bump to 1.6.0.2 and making 1.6.0.2 the minimum win client version 2024-09-20 14:10:14 +02:00
90d32a26f1 Show last change date permanently in the header. Latest value is highlighted 2024-09-20 12:24:59 +02:00
ed6f5ab648 essential bugfixes 2024-09-20 09:46:48 +02:00
12c1fc59b1 Merge branch 'feature/client_with_ports' into develop 2024-09-19 09:45:38 +02:00
a06ec0eabb Bump version to 1.6.0.1 2024-09-19 09:26:46 +02:00
de94d63a41 Make nomination comboboxes dependant on selected harbour 2024-09-19 09:25:24 +02:00
3b3601baeb Added agency port dependency when editing shipcalls 2024-09-19 09:10:15 +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
402c9807c9 Merge branch 'bugfix/extend_clientside_validation' into develop 2024-09-17 09:45:54 +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
6215449bc8 Filter berths in combobox by selected port. Might still need some work.. 2024-09-16 16:38:55 +02:00
80ad3e8e5a Show port in shipcall control overview at the bottom left 2024-09-16 16:02:57 +02:00
948684455d Add port selection to shipcall create / edit dialog 2024-09-16 15:31:12 +02:00
0e7493366c Added port filter to main screen and allowed port filtering 2024-09-16 14:18:57 +02:00
775fa3a7e2 Simple purge script for data pertaining to a specific participant 2024-09-16 14:18:57 +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
c796be2892 Upgraded client library references due to security warnings 2024-09-12 16:44:15 +02:00
6a6ffa38f9 extended OpenAPI with port endpoint and refs, adjusted some code to compile 2024-09-12 16:43:39 +02:00
a2c56e9696 Changes for linter to return no messages at all for warning level 2024-09-12 15:52:24 +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
79ed86937c Merge branch 'release/1.5.0' into develop 2024-09-12 11:23:08 +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