98696aee93
Fixed flag evaluation for notification selection type
2025-02-08 13:41:44 +01:00
7f706dfc51
Fixed typo
2025-02-08 11:16:21 +01:00
f1c5bd3cd8
Added event type evaluation and storage of selection bitflag. Fixed some details in the UI
2025-02-05 19:24:07 +01:00
64c6607076
Fix E-Mail validation error reporting
2025-02-03 10:35:46 +01:00
b36e2c9e05
Added new notifications to basic types
2025-01-10 11:48:11 +01:00
f7684902aa
fixed missing info in notification API
2024-12-19 10:48:36 +01:00
3e2b9f649c
moved and updated e-mail msg templates
2024-12-16 08:31:38 +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
7d4f202692
Fixed error in validation when not all fields are transmitted. Added UI for Notification flags.
2024-12-05 18:39:28 +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
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
ab7b1ed34f
every ValidationError is defined to return a dictionary. In case of validation errors without such a call, a function enforces a default with an undefined key to ensure the correct format.
2024-09-05 12:46:04 +02:00
Max Metz
1ff972883f
adding input validation for time intervals
2024-09-04 10:27:38 +02:00
Max Metz
e488501837
debugging the missing column '.PORT_ADMINISTRATION' issue
2024-08-14 14:58:03 +02:00
Max Metz
4f3686e00f
marshmallow.fields incorrectly resolved the 'required' field. Adapted each field to ensure that missing data properly raises an error.
2024-08-14 13:59:26 +02:00
Max Metz
e526337c6a
added a reference check to PUT-requests (shipcall), so each provided ID must exist. Corrected some input validation functions to solve known bugs
2024-08-12 19:43:19 +02:00
Max Metz
d54fed9160
corrected open issues of the API validation functions. Made some validation errors more verbose, improved robustness, refactored some of the methods and adapted many unit tests to the novel format.
2024-08-06 20:46:40 +02:00
Max Metz
5769889fea
resolving the validation issue in shipcalls, which was caused by a faulty fields type in the ShipcallSchema.
2024-07-31 14:59:59 +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
08dd104284
fixed POST when a null evaluation enum is sent
2024-04-08 14:00:49 +02:00
40fd77bf6c
fixed serialization in case of null values read
2024-04-08 14:00:31 +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
ac2ad3bc18
fixed bug for POST new shipcalls
2024-03-30 19:48:53 +01:00
a845135650
Bugfix for saving shipcall values
2024-03-28 09:46:23 +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
e88f3fa1de
synched enum fields to lower case like yaml
2024-02-26 07:23:09 +01:00
8a6ded2813
fixes for errors reported in server log
2024-02-14 15:41:21 +01:00
801c4a1383
fixed deleted in ship (was int, is now: bool)
2024-01-15 17:16:22 +01:00
708fa5ce37
fixed naming in query
2024-01-15 17:10:21 +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
scopesorting
31a5034e17
Solving: RemovedInMarshmallow4Warning: Passing field metadata as keyword arguments is deprecated. Use the explicit argument instead. Additional metadata: {'Required': False}
2023-12-15 16:40:51 +01: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
c8e634156b
Allow changes of users phone and email contact info by the user
2023-10-26 16:29:17 +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
bf54b0e9d8
database extension
2023-10-06 16:13:05 +02:00
7d5887b29d
Korrektur fürs Passwort ändern
2023-10-04 07:34:18 +02:00