Commit Graph

446 Commits

Author SHA1 Message Date
scopesorting
16c8bebfe0 adapting shipcall, times and user to include ValidationError (marshmallow). Adjusting the Schemas for User, Times and Shipcall to be validated with additional input validators. Creating a set of tests for the input validations. 2024-05-27 15:09:29 +02:00
scopesorting
6aaaa32445 slight adjustments to prepare the authentification validation 2024-05-27 15:01:44 +02:00
Max Metz
199b4339fa refactored the shipcall's GET mysql-query into a separate file and reused it in the evaluation routine. 2024-05-27 15:00:29 +02:00
Max Metz
20f139ebd9 refactoring SQL get-query for shipcall into a separate utility-section, so it becomes reusable 2024-05-27 15:00:29 +02:00
Max Metz
c1f91a3ef8 implementing more input-validation-functions for shipcalls and ships. Beginning to refactor some of the validation functions into more readable Python classes. 2024-05-27 15:00:29 +02:00
Max Metz
d81e0e2ecc implementing POST-request input validation for shipcalls. Creating many tests and applying slight updates to the Notifier (not implemented yet) 2024-05-27 15:00:29 +02:00
Max Metz
5e9d6af416 adapting rule 0005A and refactoring header-checks. Solving a conflict between versions, where there was a premature exit for time-agreement-rules. 2024-05-27 15:00:28 +02:00
Max Metz
7c39ec1031 setting up a local mysql database and running the API locally, which requires slight adaptations. Implementing input validation for POST requests of shipcalls and adapting enumerators, as well as data models. 2024-05-27 15:00:28 +02:00
scopesorting
cdd305fd05 removing workspace file from VSCode 2024-05-27 15:00:28 +02:00
scopesorting
fc19beb313 updating STUB objects, slightly adapting data models 2024-05-27 15:00:28 +02:00
scopesorting
5953bb8a40 git ignoring VSCode 2024-05-27 15:00:28 +02:00
scopesorting
d810256596 enumerators are now IntEnum objects, which provides simpler typing. 2024-05-27 15:00:28 +02:00
scopesorting
863d265669 implementing notifications, working on input validation. rebase. 2024-05-27 15:00:28 +02:00
scopesorting
1cc47d1eaf implementing an EmailHandler to send out emails (potentially with attachment). 2024-05-27 15:00:28 +02:00
scopesorting
29de011229 partial commit of integrating the input validation (references and mandatory fields) 2024-05-27 15:00:28 +02:00
scopesorting
3f08c342c7 adapting shipcall, times and user to include ValidationError (marshmallow). Adjusting the Schemas for User, Times and Shipcall to be validated with additional input validators. Creating a set of tests for the input validations. 2024-05-27 15:00:28 +02:00
scopesorting
39fbe67938 slight adjustments to prepare the authentification validation 2024-05-27 15:00:28 +02:00
50e9261267 avoid thread termination by catching exception thrown on failed times GET 2024-05-15 09:48:45 +02:00
97d4fa9faf Bugfix for update deadlock and increased version to 1.2.1.1 2024-05-15 09:48:22 +02:00
c5df95625d reduced retry to single request and reset the error text line 2024-05-13 19:31:59 +02:00
6973ec64fe Fixed wrong Uri reference for devel version 2024-05-13 19:29:47 +02:00
d4fe104984 Added log4net settings to App.config 2024-05-13 19:25:54 +02:00
1bb4cc5225 Increased version to 1.3 2024-05-06 13:45:05 +02:00
ecddc43633 Bugfix mixup enabled/readonly 2024-05-05 11:18:50 +02:00
8698d3a1f5 increased 1 hour comparison by 60 seconds to avoid seconds deviation 2024-05-05 11:18:35 +02:00
f07cadef80 fixed another SQL typo 2024-05-05 11:18:13 +02:00
f7604b055e fixed schedule sql 2024-05-05 11:17:58 +02:00
76bf4f01bd Maximum threshold should still be allowed (e.g. 1 hour) 2024-05-05 11:17:36 +02:00
3b01dbb7aa set schedule logging to INFO and using correct query for schedule test calls 2024-05-02 09:44:00 +02:00
707ffd0d59 Fix for traffic light status 2024-05-02 09:43:35 +02:00
45db6daffe
Merge pull request #29 from puls200/bugfix/fix_20240429
fixing: generator didn't stop after throw()
2024-04-30 06:58:49 +02:00
Max Metz
105718e2a6 fixing: generator didn't stop after throw() 2024-04-29 16:51:41 +02:00
01753540fe
Merge pull request #28 from puls200/bugfix/fix_20240429
adapting validation rules for version 1.2. Rules 0002: the time-diffe…
2024-04-29 13:43:46 +02:00
Max Metz
7f50624d23 adapting validation rules for version 1.2. Rules 0002: the time-difference threshold for 'disagreement' is expanded to 1 hour. There is now element-wise comparison of elements to circumvent instabilities from rounding pd.Timestamp objects. Rules 0001 L&M and 0003: created a feature flag, which skips the evaluation of Terminal times altogether. For version 1.2, this feature flag is enabled. 2024-04-29 12:59:14 +02:00
0fb425d970 Updated with comment from Basti to (temporarily) deaktivate rules for the terminal 2024-04-29 09:59:28 +02:00
7723a595ee Calling dialog for outgoing shipcall async to show incoming call asap 2024-04-25 10:36:43 +02:00
3569360600 Optics adjustment: Scrollbar width, text cutoff with ... and set textareas to readonly but enabled for better viewing 2024-04-25 10:36:29 +02:00
4766584512 Fixed bug where app was accidentally switched to en-us locale by old ENI code 2024-04-25 10:36:13 +02:00
dba5cb3523 added latest rules from current excel document 2024-04-25 09:38:06 +02:00
140f335704 Neue Release Notes 2024-04-25 09:08:27 +02:00
3ec97ccb2c Update Ampelfunktion.md
Neue Beschreibung ergänzt
2024-04-25 09:08:27 +02:00
130f9ff5d4 Update Ampelfunktion.md
Überschriften ergänzt
2024-04-25 09:08:26 +02:00
776efd0399 First draft of traffic light rules converted from Excel to markdown 2024-04-25 09:08:26 +02:00
ef017eee61 Make lock time editable only for port authority and show it in the overview grid 2024-04-23 17:40:21 +02:00
2e3a957947 Added history filter for own shipcalls only, added wait cursor for longer reloading ops 2024-04-23 17:40:05 +02:00
916cbde312 Removed seconds from ATA/ATD display 2024-04-23 17:39:53 +02:00
d54140e397 Fixed a bug where complete shiplist was selectable instead of only non-deleted ships after closing the shiplist editor 2024-04-23 17:39:40 +02:00
82c9b14f73 localized the shipcall type combobox selection 2024-04-23 17:39:25 +02:00
8c7169d291 Fixed bug where ship was not initially shown in overview 2024-04-23 17:39:05 +02:00
378e568124 pimped up the optics of a shipcall cell (a bit) 2024-04-23 17:38:49 +02:00