946afee3c1
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.
2025-11-12 13:55:58 +01:00
7baa7b0220
Added event type evaluation and storage of selection bitflag. Fixed some details in the UI
2025-02-10 08:18:44 +01:00
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
f7684902aa
fixed missing info in notification API
2024-12-19 10:48:36 +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
50cecc6a9d
fixed bug in participant API GET with user_id parameter
2024-12-11 12:10:37 +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
44f5d07ed7
Adjusted yaml spec and fixed user interface for storing notification flags
2024-12-05 17:25:01 +01:00
ed6f5ab648
essential bugfixes
2024-09-20 09:46:48 +02: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
a68a768277
fixed bug in ports GET
2024-09-15 16:13:47 +02:00
489dfc2ed6
added port_id and ports endpoint to flask app (no validation yet!), reading works
2024-09-13 17:45:31 +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
2ac2bc196c
potentially resolving the 'Unknown column ... in 'field list' issue
2024-08-28 18:44:45 +02:00
Max Metz
cc2a54c1c6
added extensive logging for an open, unresolved issue. The issue-log may make clear, where the issue originates
2024-08-27 21:14:30 +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
4106b9a0ef
For intervals there are now 2 fields in the times object: eta_interval_end and etd_interval_end
2024-04-03 10:39:32 +02:00
d42b3753e7
split up ata_atd in two separate fields ata and atd
2024-03-31 21:58:56 +02:00
11f72b370d
fixed a bug where shipcall id was not set on times delete
2024-03-30 21:41:03 +01: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
b47c261487
added existence check to dictionary key usage
2024-02-14 16:55:21 +01:00
e8f6a17e7f
change parameter order
2024-02-14 16:42:55 +01:00
c6bbbf94e3
do not use execute_scalar
2024-02-14 16:24:06 +01:00
77722703ac
added trace output
2024-02-14 16:12:07 +01:00
fc1b55c7b9
added remaining fields to user query
2024-02-14 15:51:12 +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
c1d8b2e855
fixed notification endpoint to return real data for a shipcall
2024-01-13 19:09:50 +01:00
1ef74b51ba
added ship delete and fixed schema loading error for shipclass
2024-01-13 19:09:50 +01:00
dd4ae7def8
fixed error, but enum values are still serialized as int
2024-01-13 19:09:50 +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
ae9053bcaf
Added POST and PUT endpoint for /ship
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
1695ca101e
Set development / feature branch to 'devel' settings, added scripts to move to test and to production. Added script to increase version, store version and to update the respective files
2023-10-29 17:56:06 +01:00
b254759562
fixed mixup in enum ids outgoing/shifting for shipcall queries
2023-10-28 12:43:36 +02:00
c8e634156b
Allow changes of users phone and email contact info by the user
2023-10-26 16:29:17 +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