cda3f231a7
creating notifications if a shipcall is cancelled
2025-01-10 13:49:00 +01:00
710e21e567
fixed small de-ref bug
2025-01-07 07:24:42 +01:00
47da3ff475
removed wrong curly braces
2024-12-17 10:48:39 +01:00
02947ce6e5
E-Mail template first steps
2024-12-14 18:56:06 +01:00
ebb2182c4c
Create assignment and un-assignment notifications
2024-12-10 10:30:26 +01:00
573ab2d808
Scheduler setup for notification level evaluation
2024-12-06 10:08:24 +01:00
5ce866936d
unified return structure to use error_field instead of message key to correspond to API specification
2024-09-16 14:17:30 +02:00
Max Metz
5b68ef95cb
adapting exception handling and error responses for 400 responses. Using a simplified format, which only uses the keys 'error_field' and 'error_description'
2024-09-10 17:37:08 +02: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
15eb7615a6
Bugfix for creating new shipcalls
2024-04-13 16:00:42 +02:00
ac2ad3bc18
fixed bug for POST new shipcalls
2024-03-30 19:48:53 +01:00
a5b16154c6
Fixed saving of shipcall by correctly interpreting enums now
...
The trick was to use a helper-field and a (decorated) @post_load method in the model that allows to fill the helper
fields with the values (ints) instead of strings for enums.
Trouble is: We are parsing strings from API/JSON and want to serialize as int (value in IntEnum). The helper
fields also must be skipped when setting up the query. Pretty convoluted, but gets the jon done (finally).
Also extended the database by new field 'interval_end' which is a preparation to allow not only timestamps but also
intervals when specifying times for participants.
2024-03-27 19:20:54 +01:00
f311d75c73
added ata_atd and time_point_ref fields to database, yaml and python access layer
2024-03-27 10:52:12 +01:00
63b815c274
fixed enum serialization by using custom optional to_json() method
2024-02-27 07:31:04 +01:00
c6bbbf94e3
do not use execute_scalar
2024-02-14 16:24:06 +01:00
8a6ded2813
fixes for errors reported in server log
2024-02-14 15:41:21 +01:00
898cfdf07d
Merged current state of develop
2024-02-14 10:56:35 +01:00
e3017349b0
added finally statement to close pooledConnection under all circumstances
2024-02-05 09:48:34 +01:00
50b7dd8cc5
fix shipcall query to include times eta/etd
2024-02-04 11:20:32 +01:00
708fa5ce37
fixed naming in query
2024-01-15 17:10:21 +01:00
801800df92
added missing fields in query
2024-01-15 17:04:49 +01:00
01dda53425
Tried to create history endpoint but failed. Not working.
2024-01-13 19:09:50 +01:00
a52cc27d69
Fixed SQL and added endpoint for history data
2024-01-13 19:09:50 +01:00
c36e913472
added trace output and fixed a bug when saving shipcalls without times
2023-11-28 16:48:16 +02:00
b254759562
fixed mixup in enum ids outgoing/shifting for shipcall queries
2023-10-28 12:43:36 +02:00
3e63b9ce46
added missing paranthesis
2023-10-26 16:21:26 +02:00
cc284b2612
fixed search query
2023-10-26 16:11:34 +02:00
13c5866884
Fixed eta / etd search error and evaluate searchFromEta as filter used against the back-end to retrieve shipcalls from the past
2023-10-26 15:00:15 +02: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
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
da8ef2f113
bugfix
2023-10-07 14:16:38 +02:00
916beedbb8
added evaluation and evaluation_message to shipcall (für die Ampel)
2023-09-29 14:22:04 +02:00
f255b16ff4
Work in progress, edit dialog completed, saving new elements works
2023-08-23 09:38:44 +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
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
15cc4bf8da
API up and running.
...
There are still open issues but in principle, it is working
2023-06-22 10:56:13 +02:00
d0a77b3f0f
die meisten GET calls sind drin, 2 funktionieren noch nicht
2023-06-19 16:04:02 +02:00
8fb1d9b4d7
added logging lib
2023-03-17 09:03:26 +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