Commit Graph

159 Commits

Author SHA1 Message Date
scopesorting
25db0cf44f 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-17 09:09:35 +02:00
3044ca2621 add missing include 2023-10-16 18:47:22 +02:00
26b71052ae add missing key 2023-10-16 18:43:48 +02:00
2857c8693a fixes 2023-10-16 17:46:30 +02:00
da0287ae6e fixes 2023-10-16 17:42:45 +02:00
e5e262fd4f improve connection handling on startup 2023-10-16 17:31:57 +02:00
6597c46a9d removed connection data file 2023-10-16 15:36:38 +02:00
fe53c85447 made simple path change and added documentation pt 1 2023-10-16 15:34:18 +02:00
d36517f63b merged participant type for assignment side quest 2023-10-09 18:02:02 +02:00
c1a2f78a14 saving is possible (again), fixed the nested parameter 2023-10-09 17:37:44 +02:00
dc30fe9c53 added type flag to participant assignment for ship call pt. 1 2023-10-07 14:18:00 +02:00
eb51074328 Fixed issues when editing the shipcall as BSMD 2023-10-07 14:16:38 +02:00
da8ef2f113 bugfix 2023-10-07 14:16:38 +02:00
bf54b0e9d8 database extension 2023-10-06 16:13:05 +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
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
916beedbb8 added evaluation and evaluation_message to shipcall (für die Ampel) 2023-09-29 14:22:04 +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
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
f255b16ff4 Work in progress, edit dialog completed, saving new elements works 2023-08-23 09:38:44 +02:00
95fab27229 Edit and save a shipcall 2023-08-21 15:34:09 +02:00
411ea8135e Changing Password is functional through API and Client 2023-08-18 15:29:20 +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
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
794cd8efaf added shipcall participant list to API GET call 2023-08-11 15:07:42 +02:00
383f6a38c7 Client very WIP und Fehlerkorrektur API 2023-08-08 07:43:47 +02:00
6b93f0ac3f Type für Participant, Content-Type in responses korrigiert 2023-08-07 12:19:20 +02:00
8a9e3884fe Closing pooled connections 2023-07-27 09:58:06 +02:00
6d4392c1bc fixed error result values in python api 2023-07-13 10:07:23 +02:00
5544d0126d fixed complete participant download and removed all TODOs regarding
token verifikation. Also removed the /verify call since it is now covered by /login.
2023-07-11 15:46:17 +02:00
d2c84f8d68 A lot of small errors fixed on deployment, some things work different with mysql and MariaDB 2023-06-27 11:32:50 +02:00
3f211919af added JWT Authentication (expiring bearer token) 2023-06-26 08:38:45 +02:00
b9d35b9244 added a user login 2023-06-23 15:20:26 +02:00
15cc4bf8da API up and running.
There are still open issues but in principle, it is working
2023-06-22 10:56:13 +02:00
20f38fff91 POST zum Laufen gebracht.. RTFM! :-) 2023-06-20 07:44:27 +02:00
d0a77b3f0f die meisten GET calls sind drin, 2 funktionieren noch nicht 2023-06-19 16:04:02 +02:00
a40df31f9d Updated models for current API 2023-06-19 11:14:44 +02:00
a0b0462302 fixed participant loading 2023-06-19 10:23:40 +02:00
f6f2f73d01 some work on returning berths (ok) and participants (so far not ok) 2023-06-16 14:11:02 +02:00
fdeacdca6e Datenmodell neu, Verbindungsdaten Flask aus einer Datei laden 2023-06-16 12:25:53 +02:00
fd0497fee4 role / securable mappings 2023-04-21 11:57:04 +02:00
a833863761 added ship endpoint 2023-04-08 18:19:26 +02:00
205ab2e9f1 Tabellen mit Infos von Christin aktualisiert 2023-03-25 19:33:49 +01:00
f929ca338f Mit berths klappt es jetzt und so wird's auch passieren 2023-03-24 07:46:14 +01:00
f64ea1b7cd WIP, berths dont work yet 2023-03-23 17:56:04 +01:00
d4cad33513 some more preparational work done 2023-03-23 17:11:42 +01:00
1bca77bf12 included simple function to create api key 2023-03-19 12:13:42 +01:00
7898a72fdb successful connect with pydapper connection pool and local DB 2023-03-19 12:10:46 +01:00
695c5afee8 wip 2023-03-18 19:23:04 +01:00
8fb1d9b4d7 added logging lib 2023-03-17 09:03:26 +01:00
c88f55427d Merge branch 'yaml_export' into feature/db_storage 2023-03-17 08:50:24 +01:00
800801bc19 added new API for berths 2023-03-17 08:44:41 +01:00
b5c7a35e3d erster Versuch Daten aus der DB zu laden erfolgreich 2023-03-14 11:33:57 +01:00
d130dc08b0 updated environment 2023-03-12 11:56:24 +01:00
29419540de tried to return a participant 2023-03-04 15:37:03 +01:00
c69d13d1f3 Open API 3.0
- Added first draft of yaml file
- Added Python stubs generated by postman export tool
2023-03-02 09:22:37 +01:00