462653dbe1updating rule 0004A&0004B by using a rounding method for time differences.
scopesorting
2023-12-19 08:55:00 +0100
d042371125bugfix of 0004A and B, where the tide window may have deviated by few seconds, so the wrong state would be concluded.
scopesorting
2023-12-07 11:54:37 +0100
73e729010dAutomatically open a dialog for an outgoing call after an incoming call was created. The dialog is filled with the defaults of the incoming call, adding two days to ETA to set the ETD.Daniel Schick2023-12-17 17:05:26 +0100
305cc0d3e1only undeleted berths and ships to select, but display allDaniel Schick2023-12-15 16:58:50 +0100
99c798bfe0changing 'exit' with sys.exit to avoid 'NameError' for the exit call
scopesorting
2023-12-07 09:12:04 +0100
31a5034e17Solving: RemovedInMarshmallow4Warning: Passing field metadata as keyword arguments is deprecated. Use the explicit argument instead. Additional metadata: {'Required': False}
scopesorting
2023-12-07 09:10:52 +0100
dfdd4da1d8correcting minor typos in the documentation and verbosity
scopesorting
2023-12-15 14:15:43 +0100
2f67e58acecreated a feature flag, which disables the PORT_ADMINISTRATION validation rules. Currently, the flag is 'hardcoded' once in the library. Adapting the test to properly facilitate the feature flag
scopesorting
2023-12-12 13:20:31 +0100
08ab984096updating the sql handler's method of filtering for the filled-in header
scopesorting
2023-11-29 15:21:20 +0100
836c1aa802fixing the 'KeyError' when using an empty times dataframe. Returning 'green'
scopesorting
2023-11-28 14:17:07 +0100
6ce6e882e9more concise evaluation messages for 0001. Adding newlines (works on Windows) when multiple evaluation messages are shown. Properly adding the ShipcallType filters for each rule (whether incoming, outgoing or shifting). Added a regular expression to abbreviate an evaluation message when 512 characters are exceeded.
scopesorting
2023-11-30 17:34:44 +0100
d004e77650created a feature flag, which disables the PORT_ADMINISTRATION validation rules. Currently, the flag is 'hardcoded' once in the library. Adapting the test to properly facilitate the feature flag
scopesorting
2023-12-12 13:20:31 +0100
378274a176Logical delete of berths and ships in RoleEditor.Daniel Schick2023-12-15 16:31:28 +0100
1848f8d18cchanging 'exit' with sys.exit to avoid 'NameError' for the exit call
scopesorting
2023-12-07 09:12:04 +0100
dc3c3d2bf4Solving: RemovedInMarshmallow4Warning: Passing field metadata as keyword arguments is deprecated. Use the explicit argument instead. Additional metadata: {'Required': False}
scopesorting
2023-12-07 09:10:52 +0100
e6be49e903correcting minor typos in the documentation and verbosity
scopesorting
2023-12-15 14:15:43 +0100
3844b57db0created a feature flag, which disables the PORT_ADMINISTRATION validation rules. Currently, the flag is 'hardcoded' once in the library. Adapting the test to properly facilitate the feature flag
scopesorting
2023-12-12 13:20:31 +0100
8bcb910d0eupdating the sql handler's method of filtering for the filled-in header
scopesorting
2023-11-29 15:21:20 +0100
ce32ccab15fixing the 'KeyError' when using an empty times dataframe. Returning 'green'
scopesorting
2023-11-28 14:17:07 +0100
a23135b3cemore concise evaluation messages for 0001. Adding newlines (works on Windows) when multiple evaluation messages are shown. Properly adding the ShipcallType filters for each rule (whether incoming, outgoing or shifting). Added a regular expression to abbreviate an evaluation message when 512 characters are exceeded.
scopesorting
2023-11-30 17:34:44 +0100
3dbbac20edcreated a feature flag, which disables the PORT_ADMINISTRATION validation rules. Currently, the flag is 'hardcoded' once in the library. Adapting the test to properly facilitate the feature flag
scopesorting
2023-12-12 13:20:31 +0100
ba424b18b0clear controls properly when assignment gets reset in shipcall controlDaniel Schick2023-12-14 16:58:53 +0100
9945cc139bReset tooltip if evaluation message is emptyDaniel Schick2023-12-14 16:09:46 +0100
dcbff82afbsolving version conflicts of bugfix/empty_times with the remote version of bugfix/empty_times
bugfix/empty_times
scopesorting
2023-12-12 13:27:09 +0100
aa1512c802created a feature flag, which disables the PORT_ADMINISTRATION validation rules. Currently, the flag is 'hardcoded' once in the library. Adapting the test to properly facilitate the feature flag
scopesorting
2023-12-12 13:20:31 +0100
d363c3554badapting 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.
feature/input_validation
scopesorting
2023-12-07 12:01:41 +0100
82309a53d6bugfix of 0004A and B, where the tide window may have deviated by few seconds, so the wrong state would be concluded.
hotfix/hotfix_20231207
scopesorting
2023-12-07 11:54:37 +0100
c0a9557584changing 'exit' with sys.exit to avoid 'NameError' for the exit call
scopesorting
2023-12-07 09:12:04 +0100
7bcce95b36Solving: RemovedInMarshmallow4Warning: Passing field metadata as keyword arguments is deprecated. Use the explicit argument instead. Additional metadata: {'Required': False}
scopesorting
2023-12-07 09:10:52 +0100
dd8530c1adMerge branch 'develop' of github.com:puls200/brecal into feature/input_validation merging develop and novel branch
scopesorting
2023-12-07 08:18:54 +0100
bea2a147d8Changed search box watermark for better understandingDaniel Schick2023-12-05 09:06:48 +0100
Merge pull request #20 from puls200/bugfix/piersidepuls2002023-12-01 09:48:27 +0200
ad593ff2a2more concise evaluation messages for 0001. Adding newlines (works on Windows) when multiple evaluation messages are shown. Properly adding the ShipcallType filters for each rule (whether incoming, outgoing or shifting). Added a regular expression to abbreviate an evaluation message when 512 characters are exceeded.
scopesorting
2023-11-30 17:34:44 +0100
fce8ce0c68changing the ParticipantType to an IntFlag, so multiple roles are possible. Adapting every validation rule (0001, 0003, 0004, 0005), which may be affected by this change. Changing the filter for a participant type to properly include the change. Changing the pier_side rule (0006B), which uses the shipcall and times_terminal. New shipcalls should now be evaluated properly, unless no participant is assigned at all. If the ladder case can occur, the validation rules 0001N+0001O will be added (held back for now).
scopesorting
2023-11-30 15:53:42 +0100
6f9b4a6b5aremoving verbosity in validation rule functions, and returning 'None', when a selected times dataframe is empty. In case of empty results, the function now properly computes the delta towards a query time and returns YELLOW, when a violation is observed. This should finally fix the bugs for 0001 A-M
scopesorting
2023-11-29 15:21:20 +0100
9a12d74e77updating validation rules 0001 A-M. Instead of filtering by times_df (which may not exist), the rules make use of the shipcall_participant_map. When one of the participants in a rule is not assigned, no violation is observed. When there are multiple entries of a participant (due to an input bug), the function still verifies properly. When critical time is observed, and there is not yet an entry for the respective key time, there will be a 'yellow' state.
scopesorting
2023-11-29 08:52:37 +0100
9f61e2af38updating check_time_delta_violation_query_time_to_now: no longer ignoring events of the past (delta<=0)
scopesorting
2023-11-28 16:48:20 +0100
4859ff6803ensuring that len(df_times) always works. Preventing 'None' from occuring
scopesorting
2023-11-28 14:49:40 +0100
377ec85ce9more concise evaluation messages for 0001. Adding newlines (works on Windows) when multiple evaluation messages are shown. Properly adding the ShipcallType filters for each rule (whether incoming, outgoing or shifting). Added a regular expression to abbreviate an evaluation message when 512 characters are exceeded.
scopesorting
2023-11-30 17:34:44 +0100
a0785d012cchanging the ParticipantType to an IntFlag, so multiple roles are possible. Adapting every validation rule (0001, 0003, 0004, 0005), which may be affected by this change. Changing the filter for a participant type to properly include the change. Changing the pier_side rule (0006B), which uses the shipcall and times_terminal. New shipcalls should now be evaluated properly, unless no participant is assigned at all. If the ladder case can occur, the validation rules 0001N+0001O will be added (held back for now).
scopesorting
2023-11-30 15:53:42 +0100
efff2fdf82removing verbosity in validation rule functions, and returning 'None', when a selected times dataframe is empty. In case of empty results, the function now properly computes the delta towards a query time and returns YELLOW, when a violation is observed. This should finally fix the bugs for 0001 A-M
scopesorting
2023-11-29 15:21:20 +0100
d6a6cc00ffupdating validation rules 0001 A-M. Instead of filtering by times_df (which may not exist), the rules make use of the shipcall_participant_map. When one of the participants in a rule is not assigned, no violation is observed. When there are multiple entries of a participant (due to an input bug), the function still verifies properly. When critical time is observed, and there is not yet an entry for the respective key time, there will be a 'yellow' state.
scopesorting
2023-11-29 08:52:37 +0100
0a9ba0b381more concise evaluation messages for 0001. Adding newlines (works on Windows) when multiple evaluation messages are shown. Properly adding the ShipcallType filters for each rule (whether incoming, outgoing or shifting). Added a regular expression to abbreviate an evaluation message when 512 characters are exceeded.
bugfix/header_but_missing_times
scopesorting
2023-11-30 17:34:44 +0100
dc79f05b8bchanging the ParticipantType to an IntFlag, so multiple roles are possible. Adapting every validation rule (0001, 0003, 0004, 0005), which may be affected by this change. Changing the filter for a participant type to properly include the change. Changing the pier_side rule (0006B), which uses the shipcall and times_terminal. New shipcalls should now be evaluated properly, unless no participant is assigned at all. If the ladder case can occur, the validation rules 0001N+0001O will be added (held back for now).
scopesorting
2023-11-30 15:53:42 +0100
8e9be1eae5Merge branch 'bugfix/header_but_missing_times' of github.com:puls200/brecal into bugfix/header_but_missing_times
scopesorting
2023-11-29 15:21:43 +0100
d47f85ea44removing verbosity in validation rule functions, and returning 'None', when a selected times dataframe is empty. In case of empty results, the function now properly computes the delta towards a query time and returns YELLOW, when a violation is observed. This should finally fix the bugs for 0001 A-M
scopesorting
2023-11-29 15:21:20 +0100
c6a31390e7helper commit to let this run in test systemDaniel Schick2023-11-29 12:29:32 +0200
e884b20c39updating validation rules 0001 A-M. Instead of filtering by times_df (which may not exist), the rules make use of the shipcall_participant_map. When one of the participants in a rule is not assigned, no violation is observed. When there are multiple entries of a participant (due to an input bug), the function still verifies properly. When critical time is observed, and there is not yet an entry for the respective key time, there will be a 'yellow' state.
scopesorting
2023-11-29 08:52:37 +0100
ecdf66bff2updating check_time_delta_violation_query_time_to_now: no longer ignoring events of the past (delta<=0)
scopesorting
2023-11-28 16:48:20 +0100
Merge pull request #16 from puls200/feature/hotfix_20231114puls2002023-11-22 10:30:04 +0100
fd0efe0046adding schedule routine jobs, which will be executed in a background thread within WSGI while running the Flask application.
scopesorting
2023-11-21 12:47:04 +0100
9346920a97potentially solving the 'shipcall_id' error log
scopesorting
2023-11-21 11:51:49 +0100
a5220fd6f2refactoring: simplification of error messages. These now stem from a string, which is the function name. Previously, the inspect module was used with a rather complex function call to obtain the method's name. The simplification makes code more readable for future work.
scopesorting
2023-11-20 16:43:27 +0100
49bbb77624refactoring a few methods
scopesorting
2023-11-20 16:35:31 +0100
40dc022b25fixing np to_list error, which may have caused the evaluation function to stop altogether.
hotfix/hotfix_20231120
scopesorting
2023-11-20 16:22:58 +0100
c6d1bf30a6adapting rules 0001-L & 0001-M (times terminal) and 0006-B. However, for 0006-B the provided solution is not verified, as the errors could not be reproduced locally.
scopesorting
2023-11-14 12:06:39 +0100
Merge pull request #15 from puls200/feature/hotfix_20231110
v0.9.6.0_devel
puls2002023-11-10 18:07:12 +0100
e9aace6268creating stub objects for every single validation function. Unit tests are created for each function to check whether they return 'GREEN' whenever no violation is expected, or 'YELLOW'/'RED' when a rule violation is artificially forced. The test framework now successfully runs 116 unit tests. Adapted some validation functions, applied refactoring and solved potential obstacles along the way. At least from the perspective of unit tests, every function now works as expected.
scopesorting
2023-11-03 19:45:55 +0100