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
916beedbb8
added evaluation and evaluation_message to shipcall (für die Ampel)
2023-09-29 14:22:04 +02:00
110ff5ccce
EXTENDED TIMES TO DIFFERENTIATE BETWEEN PARTICIPANT TYPES
...
Participants can be of multiple types (e.g. agent and terminal), therefore the participant
type must be stored in the times data record in order to assign times correctly during
display and to differentiate in calculation.
2023-09-21 08:23:19 +02:00
89a6a4f726
extended times and use flags on participant, added code to have a test version of the client
2023-09-05 16:38:40 +02:00
f255b16ff4
Work in progress, edit dialog completed, saving new elements works
2023-08-23 09:38:44 +02:00
95fab27229
Edit and save a shipcall
2023-08-21 15:34:09 +02:00
411ea8135e
Changing Password is functional through API and Client
2023-08-18 15:29:20 +02:00
3d7906a9f2
Synchronizing data structures including the latest changes in Excel spec
...
Database
API (yaml)
Flask
2023-08-17 10:05:48 +02:00
dbf2ec3c5d
saving participant entries, wip
2023-08-13 12:18:49 +02:00
794cd8efaf
added shipcall participant list to API GET call
2023-08-11 15:07:42 +02:00
6b93f0ac3f
Type für Participant, Content-Type in responses korrigiert
2023-08-07 12:19:20 +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
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
a40df31f9d
Updated models for current API
2023-06-19 11:14:44 +02:00
f6f2f73d01
some work on returning berths (ok) and participants (so far not ok)
2023-06-16 14:11:02 +02:00
f929ca338f
Mit berths klappt es jetzt und so wird's auch passieren
2023-03-24 07:46:14 +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