Commit Graph

407 Commits

Author SHA1 Message Date
Max Metz
6349e4a73c implementing more input-validation-functions for shipcalls and ships. Beginning to refactor some of the validation functions into more readable Python classes. 2024-04-29 18:50:46 +02:00
Max Metz
78d7fcbd5b implementing POST-request input validation for shipcalls. Creating many tests and applying slight updates to the Notifier (not implemented yet) 2024-04-29 16:46:50 +02:00
Max Metz
68a1e00477 adapting rule 0005A and refactoring header-checks 2024-04-29 11:30:24 +02:00
Max Metz
c98af22299 setting up a local mysql database and running the API locally, which requires slight adaptations. Implementing input validation for POST requests of shipcalls and adapting enumerators, as well as data models. 2024-04-24 08:26:37 +02:00
scopesorting
046e1c7d70 removing workspace file from VSCode 2024-04-15 12:22:00 +02:00
scopesorting
81c93412ad updating STUB objects, slightly adapting data models 2024-04-15 12:06:48 +02:00
scopesorting
a45526a42b git ignoring VSCode 2024-04-15 11:46:14 +02:00
scopesorting
2aaedb2ea5 enumerators are now IntEnum objects, which provides simpler typing. 2024-04-15 11:46:14 +02:00
scopesorting
7d3e8b7693 implementing notifications, working on input validation 2024-04-15 11:46:11 +02:00
scopesorting
2cfda62932 implementing an EmailHandler to send out emails (potentially with attachment). 2024-04-15 11:45:29 +02:00
scopesorting
49d12b96c8 partial commit of integrating the input validation (references and mandatory fields) 2024-04-15 11:45:29 +02:00
scopesorting
afbc56b4ed adapting shipcall, times and user to include ValidationError (marshmallow). Adjusting the Schemas for User, Times and Shipcall to be validated with additional input validators. Creating a set of tests for the input validations. 2024-04-15 11:45:21 +02:00
scopesorting
c72575b27a slight adjustments to prepare the authentification validation 2024-04-15 11:43:21 +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
8e8f9d6d3e
Merge pull request #26 from puls200/feature/api_validation_rules
Feature/api validation rules
2024-04-10 15:22:27 +02:00
060d131cea Clarified date/time format strings 2024-04-10 15:18:53 +02:00
4e34a536c7 added required fields 2024-04-10 15:18:53 +02:00
6bc57cf31d added missing change 2024-04-10 15:18:53 +02:00
01eb7999f8 Created first draft 2024-04-10 15:18:53 +02:00
2a7cf2119b created an empty document 2024-04-10 15:18:53 +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
f819024706 Added Ampelfunktionen definition document (without version in name) 2024-04-08 10:30:12 +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
d2081e549f update API file 2024-04-02 13:46:04 +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