Commit Graph

399 Commits

Author SHA1 Message Date
7723a595ee Calling dialog for outgoing shipcall async to show incoming call asap 2024-04-25 10:36:43 +02:00
3569360600 Optics adjustment: Scrollbar width, text cutoff with ... and set textareas to readonly but enabled for better viewing 2024-04-25 10:36:29 +02:00
4766584512 Fixed bug where app was accidentally switched to en-us locale by old ENI code 2024-04-25 10:36:13 +02:00
ef017eee61 Make lock time editable only for port authority and show it in the overview grid 2024-04-23 17:40:21 +02:00
2e3a957947 Added history filter for own shipcalls only, added wait cursor for longer reloading ops 2024-04-23 17:40:05 +02:00
916cbde312 Removed seconds from ATA/ATD display 2024-04-23 17:39:53 +02:00
d54140e397 Fixed a bug where complete shiplist was selectable instead of only non-deleted ships after closing the shiplist editor 2024-04-23 17:39:40 +02:00
82c9b14f73 localized the shipcall type combobox selection 2024-04-23 17:39:25 +02:00
8c7169d291 Fixed bug where ship was not initially shown in overview 2024-04-23 17:39:05 +02:00
378e568124 pimped up the optics of a shipcall cell (a bit) 2024-04-23 17:38:49 +02:00
bac4354ea0 Resized agent controls to not cut off a label 2024-04-23 17:38:35 +02:00
bedf68c4d5 Avoid crash if delete is tried on deleted object 2024-04-23 17:38:13 +02:00
75585153d4 Added a manual refresh button because.. well.. they asked for it 2024-04-13 16:00:56 +02:00
15eb7615a6 Bugfix for creating new shipcalls 2024-04-13 16:00:42 +02:00
f1e392591e Remove old shipcalls if time filter ETA FROM is cleared again 2024-04-13 16:00:27 +02:00
e38a12ee50 Only allow non deleted ships to be selected and safeguard the create ship dialog 2024-04-13 16:00:10 +02:00
921062e38b fix for ship logical delete server-side 2024-04-13 15:59:51 +02:00
81416bcc56 setup devel version 1.2.0.3 2024-04-10 15:13:32 +02:00
757bc258fe Set a default value for time range filter minimum 2024-04-10 15:01:01 +02:00
d429c0b01a Improved on history display, showing type and eta/etd.
Also using a link label style to allow to move overview grid by clicking on the element
2024-04-10 15:00:35 +02:00
a9f80b8f86 Make sorting take agency times as more important into account if they are set 2024-04-10 15:00:17 +02:00
cdcba3909e Allow other time ref points only when shipcall is an arrival 2024-04-10 15:00:01 +02:00
7fec9905fd Fixed small issues when creating a new ship 2024-04-10 14:59:41 +02:00
89d9243181 Made all edit dialogs resizable and added scrollviewers to text inputs 2024-04-10 14:59:24 +02:00
08dd104284 fixed POST when a null evaluation enum is sent 2024-04-08 14:00:49 +02:00
40fd77bf6c fixed serialization in case of null values read 2024-04-08 14:00:31 +02:00
553b9131d4 do not show undefined entry in shipcall type combobox 2024-04-08 13:59:47 +02:00
a905f0921d Prevent adding of empty records by checking if required fields have been set 2024-04-08 13:59:30 +02:00
5c5ff21a10 Added Tooltip for fixed order button in edit dialog 2024-04-08 13:59:11 +02:00
315cf330b8 Increased dialog width to allow start/end times to be fully seen. Also include end time(!) only in overview (if available) 2024-04-03 19:34:07 +02:00
ced68b504d Expanded all dialogs to include end times for eta, etd and operations 2024-04-03 11:29:07 +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
3e4ab3660f Fixed window layout positions 2024-04-03 10:12:54 +02:00
cbcbf8937f Testversion erstellt 2024-04-03 07:37:33 +02:00
441bb9a6b7 Fixed ATA / ATD setting for mooring company 2024-04-02 15:31:12 +02:00
5f7a4ab874 ATA / ATD in Times. In between version with single field 2024-04-02 11:49:03 +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
7894ba0323 Set fixed order in shipcall control by using a tooltip enabled icon with a closed lock 2024-03-31 11:52:36 +02:00
11f72b370d fixed a bug where shipcall id was not set on times delete 2024-03-30 21:41:03 +01:00
d1c3115a8f Idea what to do with lock icon on shipcall control 2024-03-30 21:40:16 +01:00
ac2ad3bc18 fixed bug for POST new shipcalls 2024-03-30 19:48:53 +01:00
b8c0d665af Fixed orders part 1 2024-03-29 19:28:41 +01:00
0ca8e1f916 Added Filter flag (checkbox) to select only shipcalls the users participant is assigned to 2024-03-29 11:05:48 +01:00
32296f7d15 Change history Part 3
Finished layout of history control, reversed sort order (newest on top)
May need to move labels to HistoryDialog
2024-03-29 10:13:23 +01:00
e845c919fd Setup history window, fixed a small bug in the yaml and loaded history entries 2024-03-28 18:09:57 +01:00
54a5b4bb50 Change history Part 1
Here a button was added in the status bar that should eventually open a separate
window with all history information. I also added some tooltips.
2024-03-28 16:36:45 +01:00
7dc37b6fe6 Updated external NuGet packages 2024-03-28 16:35:27 +01:00
5e4ada4389 Added last update label and made progress bar alive 2024-03-28 12:08:23 +01:00
87eaf124d9 Draft is now a required field.
There is now logic in each agent window that checks the required fields if they
change and enable the OK button accordingly
2024-03-28 11:14:32 +01:00
a845135650 Bugfix for saving shipcall values 2024-03-28 09:46:23 +01:00
63baa0c2c2 Display ETA/ETDs with correct timeref labels now 2024-03-28 09:46:02 +01:00
fb3413cac0 Version bump to 1.2.0.0 2024-03-28 08:06:49 +01:00
166d886698 re-created API and fixed some small errors 2024-03-28 08:04:33 +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
049cdaaf73 Fixed filtering by date interval.
The lamba used to filter out arrivals/Departures was all wrong.
2024-03-27 17:15:49 +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
862ef9fe88 Merge branch 'feature/api_enhancements' into develop 2024-03-27 10:08:48 +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
06e9c9b8ae log incoming message 2024-02-24 10:05:43 +01:00
b47c261487 added existence check to dictionary key usage 2024-02-14 16:55:21 +01:00
e8f6a17e7f change parameter order 2024-02-14 16:42:55 +01:00
c6bbbf94e3 do not use execute_scalar 2024-02-14 16:24:06 +01:00
77722703ac added trace output 2024-02-14 16:12:07 +01:00
fc1b55c7b9 added remaining fields to user query 2024-02-14 15:51:12 +01:00
8a6ded2813 fixes for errors reported in server log 2024-02-14 15:41:21 +01:00
898cfdf07d Merged current state of develop 2024-02-14 10:56:35 +01:00
6e114d15e7 Set default shipcall lookup to max 1 day in the past 2024-02-09 12:42:18 +01:00
e5ed4f83b9 Rename fields 2024-02-05 16:55:59 +01:00
b7ac38ca99 startup window size sanity check 2024-02-05 16:35:08 +01:00
59c6efcd7f Merge branch 'bugfix/retry_token' into develop 2024-02-05 16:09:55 +01:00
e3017349b0 added finally statement to close pooledConnection under all circumstances 2024-02-05 09:48:34 +01:00
53fcefd6c9 token refresh - new take 2024-02-05 07:36:14 +01:00
50b7dd8cc5 fix shipcall query to include times eta/etd 2024-02-04 11:20:32 +01:00
92d7bccdd4 fix small binding error 2024-02-04 11:19:34 +01:00
833a71169e fixed deleted ship display in grid 2024-01-15 17:29:19 +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
801800df92 added missing fields in query 2024-01-15 17:04:49 +01:00
a4e51f2483 changed local path 2024-01-15 17:00:19 +01:00
c51264a55d added new fields to evaluation object 2024-01-15 16:25:08 +01:00
722ea94ae0 fixed some bugs in the dialog, but still cannot save a ship 2024-01-15 16:02:27 +01:00
86b2380cb2 fixed some bugs compiles now but not finished 2024-01-14 20:39:27 +01:00
fbd636943e Ship editing pt. 1 (doesn't compile) 2024-01-14 15:40:00 +01:00
f50497b7db added edit button for ships in EditShipcallControl 2024-01-14 13:57:44 +01:00
106247527e Added ship post/put/delete to API 2024-01-14 13:35:35 +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
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
c6b16c4fa7 Enums, work in progress 2024-01-13 19:09:49 +01:00
c50f82354f Removed spinner from IMO integerUpDown 2024-01-13 19:03:08 +01:00
aba1d9d00b Changed validation rule 002 A-C so that the agency time is set as reference time allowing 15 minute deviation 2024-01-13 19:02:43 +01:00
d8fabe0f97 Fixed time comparison validation func. Now compares min/max value of array. 2024-01-13 19:01:56 +01:00
c24bc981b0 :fixed filtering by berth id, also including outgoing and shifting moves 2024-01-13 18:59:21 +01:00