Commit Graph

  • e122d79502 Implemented the feature to ignore port administration. However, the flag is currently disabled. scopesorting 2023-12-19 09:22:06 +0100
  • dcefa8e721 correcting 0004A & 0004B scopesorting 2023-12-19 09:20:21 +0100
  • 462653dbe1 updating rule 0004A&0004B by using a rounding method for time differences. scopesorting 2023-12-19 08:55:00 +0100
  • d042371125 bugfix 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
  • 3c7268f9f2 new development version Daniel Schick 2023-12-18 09:37:20 +0100
  • e49b788b3d Added Canceled Checkbox to BSMD dialog box Daniel Schick 2023-12-17 17:29:39 +0100
  • 73e729010d Automatically 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 Schick 2023-12-17 17:05:26 +0100
  • 24757c1702 Version bump 1.0.0 -> 1.1.0 v1.1.0.0_devel Daniel Schick 2023-12-17 11:12:52 +0100
  • 305cc0d3e1 only undeleted berths and ships to select, but display all Daniel Schick 2023-12-15 16:58:50 +0100
  • 99c798bfe0 changing 'exit' with sys.exit to avoid 'NameError' for the exit call scopesorting 2023-12-07 09:12:04 +0100
  • 31a5034e17 Solving: 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
  • dfdd4da1d8 correcting minor typos in the documentation and verbosity scopesorting 2023-12-15 14:15:43 +0100
  • 2f67e58ace created 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
  • ad7637368b removing unused if-statements scopesorting 2023-11-30 15:53:42 +0100
  • 08ab984096 updating the sql handler's method of filtering for the filled-in header scopesorting 2023-11-29 15:21:20 +0100
  • 836c1aa802 fixing the 'KeyError' when using an empty times dataframe. Returning 'green' scopesorting 2023-11-28 14:17:07 +0100
  • 6ce6e882e9 more 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
  • d004e77650 created 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
  • 378274a176 Logical delete of berths and ships in RoleEditor. Daniel Schick 2023-12-15 16:31:28 +0100
  • 1848f8d18c changing 'exit' with sys.exit to avoid 'NameError' for the exit call scopesorting 2023-12-07 09:12:04 +0100
  • dc3c3d2bf4 Solving: 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
  • e6be49e903 correcting minor typos in the documentation and verbosity scopesorting 2023-12-15 14:15:43 +0100
  • 3844b57db0 created 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
  • b0fb15956c removing unused if-statements scopesorting 2023-11-30 15:53:42 +0100
  • 8bcb910d0e updating the sql handler's method of filtering for the filled-in header scopesorting 2023-11-29 15:21:20 +0100
  • ce32ccab15 fixing the 'KeyError' when using an empty times dataframe. Returning 'green' scopesorting 2023-11-28 14:17:07 +0100
  • a23135b3ce more 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
  • 3dbbac20ed created 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
  • ba424b18b0 clear controls properly when assignment gets reset in shipcall control Daniel Schick 2023-12-14 16:58:53 +0100
  • 9945cc139b Reset tooltip if evaluation message is empty Daniel Schick 2023-12-14 16:09:46 +0100
  • f323ae44ff Tab always moves to the next control Daniel Schick 2023-12-14 15:46:10 +0100
  • dfc09fe833 set maximum for draft to 50 Daniel Schick 2023-12-14 15:27:27 +0100
  • dcbff82afb solving 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
  • aa1512c802 created 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
  • d363c3554b 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. feature/input_validation scopesorting 2023-12-07 12:01:41 +0100
  • 82309a53d6 bugfix 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
  • ee071d6b9d Pflichtfelder bei Neuanlage gefixt Daniel Schick 2023-12-07 10:49:32 +0100
  • 08edd7d1d8 add localized message if username/password is wrong Daniel Schick 2023-12-07 10:08:08 +0100
  • fcbe554248 renamed Gedreht to Anlegeseite Daniel Schick 2023-12-07 09:57:31 +0100
  • 30693700b2 small cleanup yaml Daniel Schick 2023-12-07 09:49:01 +0100
  • c0a9557584 changing 'exit' with sys.exit to avoid 'NameError' for the exit call scopesorting 2023-12-07 09:12:04 +0100
  • 7bcce95b36 Solving: 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
  • dd8530c1ad Merge branch 'develop' of github.com:puls200/brecal into feature/input_validation merging develop and novel branch scopesorting 2023-12-07 08:18:54 +0100
  • bea2a147d8 Changed search box watermark for better understanding Daniel Schick 2023-12-05 09:06:48 +0100
  • fe6d1424e5 limit text remark input to 512 characters Daniel Schick 2023-12-05 09:06:01 +0100
  • 956ba2832a Merge branch 'bugfix/empty_times' v1.0.1_prod Daniel Schick 2023-12-01 10:02:40 +0200
  • faae0cb6f0
    Merge pull request #20 from puls200/bugfix/pierside puls200 2023-12-01 09:48:27 +0200
  • ad593ff2a2 more 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
  • fce8ce0c68 changing 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
  • 6f9b4a6b5a removing 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
  • 9a12d74e77 updating 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
  • 9f61e2af38 updating 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
  • 4859ff6803 ensuring that len(df_times) always works. Preventing 'None' from occuring scopesorting 2023-11-28 14:49:40 +0100
  • 377ec85ce9 more 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
  • a0785d012c changing 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
  • efff2fdf82 removing 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
  • d6a6cc00ff updating 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
  • 0a9ba0b381 more 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
  • dc79f05b8b changing 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
  • 8e9be1eae5 Merge 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
  • d47f85ea44 removing 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
  • c6a31390e7 helper commit to let this run in test system Daniel Schick 2023-11-29 12:29:32 +0200
  • e884b20c39 updating 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
  • ecdf66bff2 updating 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
  • 834da84786 minot adjustments & refactoring scopesorting 2023-11-28 14:26:38 +0100
  • 8027620f22 fixing the 'KeyError' when using an empty times dataframe. Returning 'green' scopesorting 2023-11-28 14:17:07 +0100
  • c36e913472 added trace output and fixed a bug when saving shipcalls without times Daniel Schick 2023-11-28 11:23:46 +0100
  • 287224eeb4 ensuring that len(df_times) always works. Preventing 'None' from occuring scopesorting 2023-11-28 14:49:40 +0100
  • 210252df22 minot adjustments & refactoring scopesorting 2023-11-28 14:26:38 +0100
  • c064556668 fixing the 'KeyError' when using an empty times dataframe. Returning 'green' scopesorting 2023-11-28 14:17:07 +0100
  • adaef94854 added trace output and fixed a bug when saving shipcalls without times Daniel Schick 2023-11-28 11:23:46 +0100
  • fa4618c45e Version bump to 1.0.1 release/1.0.0 Daniel Schick 2023-11-28 09:21:59 +0200
  • c45dbc5da1 Catch exception if one occurrs during saving Daniel Schick 2023-11-27 17:26:37 +0100
  • 81a45f57cf Catch exception if one occurrs during saving Daniel Schick 2023-11-27 17:26:37 +0100
  • 2b43dc49d9 extended gitignore for local flask Daniel Schick 2023-11-27 14:37:23 +0100
  • c3f8759c70 fixed error in publish xml v1.0.0.0_prod Daniel Schick 2023-11-26 18:08:38 +0100
  • 131528021d set everything to blue, meaning prod version 1.0.0 Daniel Schick 2023-11-26 17:37:31 +0100
  • 5b2d6db5d3 set everything to red, meaning test version 1.0.0 v1.0.0.0_test Daniel Schick 2023-11-26 17:05:32 +0100
  • 8d63fece15 Version bump to 1.0.0.0 Daniel Schick 2023-11-25 16:01:03 +0100
  • 56ade40aef fixed creating new shipcalls and cleaned up logon error message display Daniel Schick 2023-11-25 12:15:38 +0100
  • 5c6d41470c created 0.9.7 version with some minor fixes Daniel Schick 2023-11-25 11:39:45 +0100
  • 721baa3a06 moved schedule import after venv sitepackage path set v0.9.6.server Daniel Schick 2023-11-22 10:48:27 +0100
  • 66bfd326cc
    Merge pull request #18 from puls200/feature/update_shipcalls_routine puls200 2023-11-22 10:36:34 +0100
  • 9b5206572a
    Merge pull request #16 from puls200/feature/hotfix_20231114 puls200 2023-11-22 10:30:04 +0100
  • fd0efe0046 adding 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
  • 9346920a97 potentially solving the 'shipcall_id' error log scopesorting 2023-11-21 11:51:49 +0100
  • 3cc1591aba potentially correcting 0006A/0006B scopesorting 2023-11-21 11:41:56 +0100
  • c32160811d enumerators for Shipcall (type, evaluation), Participant (type, flags) feature/enums scopesorting 2023-11-20 17:44:28 +0100
  • 3856873381 enums & enumerators branch merged scopesorting 2023-11-20 17:06:18 +0100
  • a5220fd6f2 refactoring: 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
  • 49bbb77624 refactoring a few methods scopesorting 2023-11-20 16:35:31 +0100
  • 40dc022b25 fixing 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
  • 902cb9d90d Updated to Version 0.9.6 for public version Daniel Schick 2023-11-15 14:59:23 +0100
  • c98b4a389a changes for production version II v0.9.6.0_prod release/0.9.6 Daniel Schick 2023-11-15 09:18:12 +0100
  • d772623104 changes for production version Daniel Schick 2023-11-15 09:16:54 +0100
  • 21e9c75781 typo. scopesorting 2023-11-14 12:07:59 +0100
  • c6d1bf30a6 adapting 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
  • 85dd8804c8 updated strings for test version v0.9.6.0_test Daniel Schick 2023-11-10 18:41:02 +0100
  • fd5bd76db2
    Merge pull request #15 from puls200/feature/hotfix_20231110 v0.9.6.0_devel puls200 2023-11-10 18:07:12 +0100
  • e9aace6268 creating 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