Max Metz
|
aaea8441f6
|
shifting the ship-id check into the validation object
|
2024-09-12 10:22:27 +02:00 |
|
Max Metz
|
82ad56812e
|
correcting an issue in the DELETE methods for SHIPS and TIMES, where the ID may have been provided as a null value or was incorrectly converted (string instead of integer)
|
2024-09-12 10:19:26 +02:00 |
|
Max Metz
|
d2cd233f13
|
creating default handlers for every kind of Exception in the /api/ routes. Those default functions also create automatic logging with the .warning level. Relocated the .impl-calls into the Try-Exception-blocks, so they are properly logged and avoid system failures.
|
2024-09-09 12:46:55 +02:00 |
|
Max Metz
|
85973ad848
|
creating a default error response format for each API route
|
2024-09-09 12:21:32 +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
|
4b5ff90b34
|
properly serializing ValidationError exceptions.
|
2024-09-04 08:30:46 +02:00 |
|
Max Metz
|
b60874cbb0
|
shipcall, ship, times and user verify the validity of JSON data when receiving POST/PUT requests.
|
2024-08-14 15:49:28 +02:00 |
|
Max Metz
|
0e8faf499d
|
GET ships no longer returns deleted ships
|
2024-08-12 20:35:37 +02:00 |
|
|
|
83520a2bc7
|
Fixed small issues for ships endpoint validation
|
2024-07-25 10:42:44 +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 |
|
|
|
921062e38b
|
fix for ship logical delete server-side
|
2024-04-13 15:59:51 +02:00 |
|
|
|
1ef74b51ba
|
added ship delete and fixed schema loading error for shipclass
|
2024-01-13 19:09:50 +01:00 |
|
|
|
ae9053bcaf
|
Added POST and PUT endpoint for /ship
|
2024-01-13 19:09:50 +01: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 |
|
|
|
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 |
|