|
|
7baa7b0220
|
Added event type evaluation and storage of selection bitflag. Fixed some details in the UI
|
2025-02-10 08:18:44 +01:00 |
|
|
|
f7684902aa
|
fixed missing info in notification API
|
2024-12-19 10:48:36 +01:00 |
|
|
|
0d7861ec36
|
If a PUT or DELETE operation is attempted on a non-existant object, 404 is returned
|
2024-10-21 10:37:35 +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
|
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 |
|
|
|
862ef9fe88
|
Merge branch 'feature/api_enhancements' into develop
|
2024-03-27 10:08:48 +01:00 |
|
|
|
06e9c9b8ae
|
log incoming message
|
2024-02-24 10:05:43 +01:00 |
|
|
|
6e114d15e7
|
Set default shipcall lookup to max 1 day in the past
|
2024-02-09 12:42:18 +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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
411ea8135e
|
Changing Password is functional through API and Client
|
2023-08-18 15:29:20 +02:00 |
|
|
|
6b93f0ac3f
|
Type für Participant, Content-Type in responses korrigiert
|
2023-08-07 12:19:20 +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 |
|
|
|
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 |
|
|
|
800801bc19
|
added new API for berths
|
2023-03-17 08:44:41 +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 |
|