Max Metz
|
95c771b7d1
|
implemented PUT-request validation. It validates the user's authority, as well as the respective PUT data. Both, POST-request and PUT-request, of shipcalls are now input-validated.
|
2024-05-27 15:33:33 +02:00 |
|
Max Metz
|
7c8cd3763a
|
added an optional argument 'instance_path' to the create_app function. This does not change the current behaviour, but allows for easier local testing and development. Added roughly 40 unit tests to verify the input validation of shipcalls (mostly for POST requests). Updated pytests to support the 'ignore_terminal_flag', which was enabled in version 1.2. The flag is tested to ensure proper behaviour. Included most of the shipcall input validation rules for POST and PUT requests
|
2024-05-27 15:33:33 +02:00 |
|
Max Metz
|
98b8845015
|
extending the capabilities of InputValidationShipcall and performing unit tests to check proper implementation.
|
2024-05-27 15:33:33 +02:00 |
|
Max Metz
|
ea5aa132d2
|
refactoring 'validate_post_shipcall_data' into a novel object InputValidationShipcall. Implemented the majority of rules for POST and PUT requests. Unit tests have not been created & run yet
|
2024-05-27 15:33:32 +02:00 |
|
Max Metz
|
e465ff0c59
|
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:33:32 +02:00 |
|
Max Metz
|
b38cec3a37
|
implementing POST-request input validation for shipcalls. Creating many tests and applying slight updates to the Notifier (not implemented yet)
|
2024-05-27 15:33:29 +02:00 |
|
Max Metz
|
e85c994692
|
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:29:46 +02:00 |
|
scopesorting
|
a38dada3de
|
removing workspace file from VSCode
|
2024-05-27 15:23:38 +02:00 |
|
scopesorting
|
2dcd74f5e5
|
updating STUB objects, slightly adapting data models
|
2024-05-27 15:23:33 +02:00 |
|
scopesorting
|
3633993ca6
|
implementing notifications, working on input validation
|
2024-05-27 15:20:42 +02:00 |
|
scopesorting
|
6890f0126b
|
partial commit of integrating the input validation (references and mandatory fields)
|
2024-05-27 15:10:36 +02:00 |
|
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 |
|