Commit Graph

173 Commits

Author SHA1 Message Date
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
e9731add80 Updated user stories (Vers. 3, after user meeting at the end of August '23) 2023-08-31 13:49:39 +02:00
5539fc0fb4 added presentation ppt for user meeting on aug 28, 23 in Bremen 2023-08-29 18:41:32 +02:00
6a37bba97a fixed output 2023-08-24 14:11:11 +02:00
9ead1274bb added functionality to import ships by excel sheet 2023-08-24 10:48:44 +02:00
7feeed76da adding simple ppt for presentation 2023-08-24 09:05:04 +02:00
ef07764915 upped the UI some 2023-08-24 07:50:12 +02:00
f5b79d5d63 work in progress.. 2023-08-23 17:12:41 +02:00
f255b16ff4 Work in progress, edit dialog completed, saving new elements works 2023-08-23 09:38:44 +02:00
8fbb199aaa added times controlling but no functions 2023-08-21 19:11:23 +02:00
ee5420ff5b Save and display a new shipcall 2023-08-21 16:20:12 +02:00
95fab27229 Edit and save a shipcall 2023-08-21 15:34:09 +02:00
beb9d75a90 Excel Import berth in RoleEditor Tool 2023-08-21 08:26:32 +02:00
8939339d09 created publish version 2023-08-18 16:17:32 +02:00
ba170c9320 first steps excel import berths 2023-08-18 16:09:13 +02:00
411ea8135e Changing Password is functional through API and Client 2023-08-18 15:29:20 +02:00
083ea69961 Many little details in the client, added password change dialog 2023-08-18 09:48:37 +02:00
37827767ef Layout Shipcall editing dialog 2023-08-17 13:24:25 +02:00
65ffea1b8c Show arrows for shipcall types 2023-08-17 11:06:34 +02:00
3d7906a9f2 Synchronizing data structures including the latest changes in Excel spec
Database
API (yaml)
Flask
2023-08-17 10:05:48 +02:00
542b495d95 fixed yaml and added additional input fields 2023-08-16 16:06:15 +02:00
3af6e77d30 Select participants on edit shipcall control 2023-08-16 12:16:08 +02:00
cf5498d049 Shipcalls now showing participant relevant info in correct columns 2023-08-15 09:04:57 +02:00
84462aead4 work on shipcall control 2023-08-14 16:00:34 +02:00
7655ebe724 put and post for participants of shipcall 2023-08-14 09:15:36 +02:00
dbf2ec3c5d saving participant entries, wip 2023-08-13 12:18:49 +02:00