d06669e943
Merge branch 'release/1.7.0' into develop
2025-12-05 15:58:38 +01:00
b5dd7422f4
Initializing pool connection variable with None.
...
Release pool connection handle und all circumstances especially also when a query fails
before the call is finished. This should avoid connection starvation.
fix prod. link
production fix
Fixed application path
2025-11-12 15:06:54 +01:00
189626d61c
Reduced log-verbosity on the server
2025-02-27 13:48:13 +01:00
7840406688
split up red / yellow evaluation errors on separate notification types (time_conflict(red), missing_data(yellow))
2025-01-13 16:31:32 +01:00
622ab6b4a3
fixed some smaller issues
2024-12-17 14:51:04 +01: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
3b01dbb7aa
set schedule logging to INFO and using correct query for schedule test calls
2024-05-02 09:44:00 +02:00
scopesorting
ad7637368b
removing unused if-statements
2023-12-15 16:40:51 +01:00
scopesorting
836c1aa802
fixing the 'KeyError' when using an empty times dataframe. Returning 'green'
2023-12-15 16:40:51 +01:00
scopesorting
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.
2023-12-01 09:44:22 +02:00
scopesorting
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).
2023-12-01 09:44:09 +02:00
scopesorting
4859ff6803
ensuring that len(df_times) always works. Preventing 'None' from occuring
2023-12-01 09:42:48 +02:00
scopesorting
834da84786
minot adjustments & refactoring
2023-11-28 16:49:16 +02:00
scopesorting
8027620f22
fixing the 'KeyError' when using an empty times dataframe. Returning 'green'
2023-11-28 16:48:53 +02:00
scopesorting
8e2e676cb0
hotfixing open errors, as defined by Daniel Schick and Christin Hollman (26.10. and 27.10.). Adding descriptions for the error codes instead of using 'cryptic' function names. This should make the application much more readable.
2023-10-31 18:15:59 +01:00
scopesorting
cdb7877461
Adding validation rules (traffic light status) to the system. Post & Put calls of shipcalls and times now execute the traffic light evaluation and store the result in the connected MySQL database instance. The 'brecal_utils' library is merged with 'BreCal', including the stub objects and test functions. Requirements were adapted, and installation of a virtual environment works from scratch (on a linux system).
2023-10-19 18:32:49 +02:00