Commit Graph

46 Commits

Author SHA1 Message Date
46d80e5611 removed times from getlatest 2024-06-11 09:47:36 +02:00
129b8c8d49 Include getlatest endpoint in yaml and call before shipcall sync in reg update 2024-06-11 09:41:45 +02:00
1bb4cc5225 Increased version to 1.3 2024-05-06 13:45:05 +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
1dfa4e7b5e fixed merge 2024-04-02 11:31:38 +02:00
d42b3753e7 split up ata_atd in two separate fields ata and atd 2024-03-31 21:58:56 +02:00
e845c919fd Setup history window, fixed a small bug in the yaml and loaded history entries 2024-03-28 18:09:57 +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
e88f3fa1de synched enum fields to lower case like yaml 2024-02-26 07:23:09 +01:00
722ea94ae0 fixed some bugs in the dialog, but still cannot save a ship 2024-01-15 16:02:27 +01:00
106247527e Added ship post/put/delete to API 2024-01-14 13:35:35 +01:00
88d6a6a994 added simple comment 2024-01-13 19:09:50 +01:00
c1d8b2e855 fixed notification endpoint to return real data for a shipcall 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
23a903997a now the code is compiling. Yaml file documented via description tags. 2024-01-13 19:09:49 +01:00
bd81f01d76 fixed a lot of small problems in yaml file, returned to OpenApi 3.0 format 2024-01-13 19:09:49 +01:00
5459d99098 Improved OpenAPI doc in Stoplight, but still issues with ParticipantType and nullable Types. The client code does not compile. 2024-01-13 19:09:49 +01:00
c6b16c4fa7 Enums, work in progress 2024-01-13 19:09:49 +01:00
30693700b2 small cleanup yaml 2023-12-07 09:49:01 +01:00
44de849430 fixed little bugs, bumped version and set API endpoint to (correct for develop branch) brecaldevel endpoint 2023-11-01 15:53:29 +01:00
c8e634156b Allow changes of users phone and email contact info by the user 2023-10-26 16:29:17 +02: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
6079d1dc51 bugfix create new: eta is not required any more 2023-10-16 11:07:18 +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
215d419180 added Id return object to POST of times and shipcall 2023-09-29 14:44:53 +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
29a214c5f4 change settings to test version 2023-09-05 17:15:59 +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
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
542b495d95 fixed yaml and added additional input fields 2023-08-16 16:06:15 +02:00
3af6e77d30 Select participants on edit shipcall control 2023-08-16 12:16:08 +02:00
794cd8efaf added shipcall participant list to API GET call 2023-08-11 15:07:42 +02:00
383f6a38c7 Client very WIP und Fehlerkorrektur API 2023-08-08 07:43:47 +02:00
3148ed32b1 Shipcall list now working with traffic light on bound property, data from server 2023-07-27 12:55:39 +02:00
12f36c5113 Fixed Token transmission to server, loading of berth and ship lists ok! 2023-07-14 16:03:45 +02:00
6d4c36d07b Client work in Progress.. 2023-07-13 21:32:28 +02:00
5ca3c7a050 fixed client so it can login now to the public api 2023-07-11 18:11:19 +02:00
b7f6996489 Renamed API yaml file
linked (instead of copied it) to client project and
recreated the cs class
2023-07-11 17:39:24 +02:00