Commit Graph

503 Commits

Author SHA1 Message Date
9b038b3571 Database extension, first step 2024-09-01 11:33:01 +02:00
1f854b6cde Merge branch 'feature/improve_error_display' into develop 2024-08-29 09:21:52 +02:00
78ab83628b Version bump to 1.4.1 (due to API change) 2024-08-29 09:01:21 +02:00
38ed66a638 Updated YAML File to match API rule for readOnly properties 2024-08-29 08:58:28 +02:00
e890985e2d
Merge pull request #41 from puls200/hotfix/20240827
potentially resolving the 'Unknown column ... in 'field list' issue
2024-08-29 07:34:24 +02:00
Max Metz
2ac2bc196c potentially resolving the 'Unknown column ... in 'field list' issue 2024-08-28 18:44:45 +02:00
99052efd07 Fixed shipcall POST documentation for canceled field 2024-08-28 17:39:19 +02:00
b154f73ce9 Convenience: If creating a new ship fails, the ship is shown again when the dialog is re-opened 2024-08-28 17:35:58 +02:00
65779731fd Show the content of the message info from the failure exception 2024-08-28 17:04:04 +02:00
fc96f5d856
Merge pull request #40 from puls200/hotfix/20240827
removed the 'canceled may not be set on post'-issue.
2024-08-28 14:55:32 +02:00
Max Metz
a51b830cf6 removed the 'canceled may not be set on post'-issue. 2024-08-28 13:06:36 +02:00
231c9f86c4
Merge pull request #39 from puls200/hotfix/20240827
Hotfix/20240827
2024-08-28 10:24:21 +02:00
Max Metz
1be7d68f5c participant flag also resolved 2024-08-27 21:16:49 +02:00
Max Metz
cc2a54c1c6 added extensive logging for an open, unresolved issue. The issue-log may make clear, where the issue originates 2024-08-27 21:14:30 +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
8082100b7e using the @classmethod _missing_ function in an IntFlag creates an incorrect resolution of intflags. 127 was resolved as 0 due to the _missing_ function. Without that method, 127 becomes a proper multi-flag 2024-08-27 20:33:33 +02:00
Max Metz
6eab98d2a1 correcting the issue with participant_id authorization (BSMD or AGENCY check). 2024-08-27 19:23:37 +02:00
f58665f761
Merge pull request #38 from puls200/hotfix/api_input_validation_20240812
marshmallow.fields incorrectly resolved the 'required' field. Adapted…
2024-08-15 08:47:06 +02:00
Max Metz
fcc03b2ade adaptation of traffic validation (resolving open issue) 2024-08-14 19:09:35 +02:00
Max Metz
c4e5764601 /ships GET no longer blocks deleted ships from being returned. 2024-08-14 15:53:37 +02:00
Max Metz
b60874cbb0 shipcall, ship, times and user verify the validity of JSON data when receiving POST/PUT requests. 2024-08-14 15:49:28 +02:00
Max Metz
e488501837 debugging the missing column '.PORT_ADMINISTRATION' issue 2024-08-14 14:58:03 +02:00
Max Metz
4f3686e00f marshmallow.fields incorrectly resolved the 'required' field. Adapted each field to ensure that missing data properly raises an error. 2024-08-14 13:59:26 +02:00
cb0717fc82
Merge pull request #37 from puls200/hotfix/api_input_validation_20240812
added a reference check to PUT-requests (shipcall), so each provided …
2024-08-13 08:28:19 +02:00
cdf6e7d99b Reverted change to only return not deleted ships 2024-08-13 08:27:05 +02:00
Max Metz
0e8faf499d GET ships no longer returns deleted ships 2024-08-12 20:35:37 +02:00
Max Metz
22009eb469 resolving an issue where missing values for 'flags' in the Shipcall would cause rule-violations 2024-08-12 19:56:26 +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
7e6252880d
Merge pull request #36 from puls200/hotfix/20240806_api_validation
corrected open issues of the API validation functions. Made some vali…
2024-08-06 21:54:42 +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
18719f15c1
Merge pull request #35 from puls200/hotfix/api_input_validation_20240801
correcting a validation issue for 'voyage'
2024-08-01 21:25:28 +02:00
Max Metz
3ce2fc829d correcting a validation issue for 'voyage' 2024-08-01 18:34:56 +02:00
be6c898415
Merge pull request #30 from puls200/feature/api_input_validation
API Input-Validierung
2024-08-01 14:27:42 +02:00
Max Metz
5769889fea resolving the validation issue in shipcalls, which was caused by a faulty fields type in the ShipcallSchema. 2024-07-31 14:59:59 +02:00
cc724bdb30 Updated validation rule documentation 2024-07-25 11:13:51 +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
83520a2bc7 Fixed small issues for ships endpoint validation 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
e33833235d Bugfix for comparer when times value is null and DateTime.Now is inconsistent 2024-07-25 10:41:22 +02:00
d4903b80d4 Updated postman collection 2024-07-25 08:14:36 +02:00
d7de35236c Version bump to 1.4 2024-07-22 10:40:08 +02:00
14569ad7bc Reset values button on times and times terminal dialog boxes to completely undo entries.
Also fixed bug where clear context menu was disabled and wouldn't disappear
2024-07-22 08:51:20 +02:00
9bf84f8baa remove required fields for Times and Times Terminal 2024-07-22 08:22:09 +02:00
31c54f9d8f ETD is always enabled if user is bsmd group (was typo? can't recall) 2024-07-22 07:06:41 +02:00
ad16ae4945 Bugfix: ATA/ATD values do not get changed when already displayed 2024-07-18 07:22:25 +02:00
1a5591cc39 even more small fixes 2024-07-14 15:12:49 +02:00
e30309bca2 fixed more small things and version bump to 1.3.0.3 2024-07-13 19:18:41 +02:00
64977d5819 Small-time fixes to things previously changed and version bump to 1.3.0.2 2024-07-12 16:29:32 +02:00
9d017524ef Added shifting sequence number, storage hidden in flags. This is a prototype. 2024-07-12 09:32:09 +02:00
24138fc1e9 Fixed an error regarding berth display in AGENT/TERMINAL and set to+from berth info for shifting shipcalls 2024-07-11 11:39:12 +02:00