Commit Graph

26 Commits

Author SHA1 Message Date
489dfc2ed6 added port_id and ports endpoint to flask app (no validation yet!), reading works 2024-09-13 17:45:31 +02:00
5625cbac49 reverted settings for test version 2024-09-12 11:31:16 +02:00
ed7c4fbfbb Created test version including version bump to 1.5.0 2024-08-30 11:27:10 +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
a52cc27d69 Fixed SQL and added endpoint for history data 2024-01-13 19:09:50 +01:00
scopesorting
fd0efe0046 adding schedule routine jobs, which will be executed in a background thread within WSGI while running the Flask application. 2023-11-21 12:47:04 +01:00
scopesorting
e9aace6268 creating stub objects for every single validation function. Unit tests are created for each function to check whether they return 'GREEN' whenever no violation is expected, or 'YELLOW'/'RED' when a rule violation is artificially forced. The test framework now successfully runs 116 unit tests. Adapted some validation functions, applied refactoring and solved potential obstacles along the way. At least from the perspective of unit tests, every function now works as expected. 2023-11-10 17:59:08 +01:00
9d61b95378 Version bump to 0.9.6 2023-11-10 14:36:25 +01: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
2857c8693a fixes 2023-10-16 17:46:30 +02:00
e5e262fd4f improve connection handling on startup 2023-10-16 17:31:57 +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
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
d0a77b3f0f die meisten GET calls sind drin, 2 funktionieren noch nicht 2023-06-19 16:04:02 +02:00
205ab2e9f1 Tabellen mit Infos von Christin aktualisiert 2023-03-25 19:33:49 +01:00
f929ca338f Mit berths klappt es jetzt und so wird's auch passieren 2023-03-24 07:46:14 +01: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
1bca77bf12 included simple function to create api key 2023-03-19 12:13:42 +01:00
7898a72fdb successful connect with pydapper connection pool and local DB 2023-03-19 12:10:46 +01:00
8fb1d9b4d7 added logging lib 2023-03-17 09:03:26 +01:00
b5c7a35e3d erster Versuch Daten aus der DB zu laden erfolgreich 2023-03-14 11:33:57 +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