Commit Graph

148 Commits

Author SHA1 Message Date
max_metz
0c474839b0 merging branches and resolving conflicts (always accepting incoming for files, where Daniel worked exclusively). 2023-10-06 07:26:16 +02:00
max_metz
f599b5df78 adding stubs, validators and tests for these. Adaptation of data model 'shipcall' (validation_state and validation_state_changed). Adding request status codes (HTTP default format) and input validation. A tester for input validation is also prepared. 2023-10-04 14:55:58 +02:00
a8296d3bbc
Merge pull request #2 from puls200/feature/fixes_0.6
Feature/fixes 0.6
2023-10-04 11:34:12 +02:00
a267ddc682 version bump 0.7 2023-10-04 11:17:58 +02:00
97adf65c0c Fixed all sorts of small bugs, should be working now 2023-10-04 10:38:08 +02:00
7d5887b29d Korrektur fürs Passwort ändern 2023-10-04 07:34:18 +02:00
0936e30d00 WIP 2023-10-04 07:34:17 +02:00
8b3abec280 Edit dialogs agent WIP Pt. 2 2023-10-04 07:34:17 +02:00
92a504b668 Edit dialogs agent WIP 2023-10-04 07:34:16 +02:00
e7680afcd4 Layout agency times controls 2023-10-04 07:34:16 +02:00
5a8dae602e Agentur Times Dialog ausgehend Screendesign 2023-10-04 07:34:16 +02:00
aca7908d4c Überarbeitung Dialog Anlaufbearbeitung Pt.1 2023-10-04 07:34:15 +02:00
31ddcbb336 When applying the search filter use also the ships name in the free text input 2023-10-04 07:34:15 +02:00
2f0ca85c19 fixed saving of new shipcalls, reversed logic of cancelled ship filter 2023-10-04 07:34:15 +02:00
6872df4278 Increased token timeout to 2 hours, introduced a background task to refresh token at about 70 min interval 2023-10-04 07:34:14 +02:00
215d419180 added Id return object to POST of times and shipcall 2023-09-29 14:44:53 +02:00
916beedbb8 added evaluation and evaluation_message to shipcall (für die Ampel) 2023-09-29 14:22:04 +02:00
197048aa8b
Merge pull request #1 from puls200/feature/win_client_changes_sprint_1
Feature/win client changes sprint 1
2023-09-21 09:45:40 +02:00
ba29a8217e Add comment if BSMD is allowed to edit agents data fields (at the bottom of the edit window) 2023-09-21 09:36:35 +02:00
110ff5ccce EXTENDED TIMES TO DIFFERENTIATE BETWEEN PARTICIPANT TYPES
Participants can be of multiple types (e.g. agent and terminal), therefore the participant
type must be stored in the times data record in order to assign times correctly during
display and to differentiate in calculation.
2023-09-21 08:23:19 +02:00
df641f096c added terminal times control 2023-09-18 20:36:44 +02:00
370270eaf3 added ad readme for the role editor 2023-09-18 14:57:29 +02:00
e7614a085c Merge branch 'feature/win_client_changes_sprint_1' of ssh://lager/mnt/ext/git/git_brcal into feature/win_client_changes_sprint_1 2023-09-18 14:56:49 +02:00
cb742fb17c working on times edit control for terminal 2023-09-18 14:55:56 +02:00
13722f039c Save and restore of filter criteria (user-context) 2023-09-15 17:05:07 +02:00
max_metz
3edc6d86ba updating validators, time handling, creating tests for time & schemas. Decoupling schema validation according to the dataclasses. Starting to stub & create notifications 2023-09-15 13:16:21 +02:00
47884fde7d changed key path to a relative path that works on both installations 2023-09-15 08:12:44 +02:00
d74f943994 Fixed test client setup as a separate setup.
Please see ReadMe.md in the BreCalClient folder for details.
2023-09-13 07:09:52 +02:00
7660ee72f2 Added filtering and sorting to shipcalls in the list.
While doing so, I have also refactored the shipcall processing logic in the main window.
All changes now go through the filter and sorting stage before all controls are removed
and only the controls matching to the sorted list are added to the stack panel.
2023-09-12 16:48:28 +02:00
90338f9e95 test profile is now installing but overwriting the productive profile 2023-09-11 06:48:18 +02:00
max_metz
4195655e4e creating unit tests for schema_validation (mostly focusing on the Ship dataclass, as it has the most validation requirement) 2023-09-08 23:43:28 +02:00
max_metz
20f860586f adding schema_validation functions (Ship and Participant), time_logic (will be used in the validation_rules later), validation_rules (covers time-overlap handling). Further, creating simple unit tests for stubs (will be extended soon) 2023-09-08 22:32:25 +02:00
max_metz
03c3cee887 adding more variable names in the xlsx file 2023-09-08 22:30:21 +02:00
max_metz
e6bba9a601 adding shipcall and times_full stub, which will be used in validation rule testing. Creating blank files/folders for schema_validation (input validation based on simple input rules) and validation_rules (query validation based on complex rules for the traffic-light system) 2023-09-08 18:09:38 +02:00
max_metz
a4b70006f9 creating stub classes and functions for every dataclass object. This will be the foundation for the traffic-light system, as the tests will be based on artificial entries (stubs) instead of data from the real system. tests will be added soon. 2023-09-08 15:33:06 +02:00
max_metz
a25c786b3c relocating environment yml to the project root, creating an import_modules test for every single dependency to ensure proper setup & versioning at all times. Creating a test, which creates the flask app. Updating gitignore slightly to remove egg-info files, which are created upon installing a library with pip 2023-09-08 10:03:24 +02:00
max_metz
9e7ded1ef2 adding {file_handling}, {test_handling} and the respective {test_test_handling] from previous projects, docstring-adapted to brecal. Updating the environment yml to ensure, that pytest-cov is also present. Performing the first pytest incl. coverage, where the coverage_reports are gitignored 2023-09-08 07:12:24 +02:00
max_metz
9413ac45a8 creating lib_brecal_utils with setup, environment.yml and tests. The version is defined as 0.0.1, while the license is to be determined 2023-09-08 06:37:28 +02:00
scopesorting
c2b2589852 initial commit 2023-09-08 06:09:24 +02:00
f200673023 If an agency allows BSMD entries, then the flag is set and the dialog controls are enabled 2023-09-06 09:04:30 +02:00
4093c2eb21 Moved connection string to config file 2023-09-06 08:39:46 +02:00
89ecb33ffe added signing to test publish profile 2023-09-06 07:06:45 +02:00
29a214c5f4 change settings to test version 2023-09-05 17:15:59 +02:00
89a6a4f726 extended times and use flags on participant, added code to have a test version of the client 2023-09-05 16:38:40 +02:00
05462e6332 changed arrow colors, enabled controls on edit control if participant is agency or bsmd 2023-09-04 13:07:19 +02:00
4abd5025f5 add confirmation dialog if password was changed successfully 2023-09-04 12:28:58 +02:00
c3f16f4b20 Fixed adding and removing assignments of participants and berths 2023-09-04 12:12:07 +02:00
cab09c594f Added ability to remove participant assignments in edit dialog 2023-09-04 08:39:12 +02:00
87e23b8150 updated Datenmodell xlsx 2023-08-31 14:34:14 +02:00
6acc47d158 Merge branch 'feature/import_ships' into develop 2023-08-31 13:52:44 +02:00