Commit graph

45 commits

Author SHA1 Message Date
Bela
b67b483b3c better debugging information 2018-06-25 18:53:55 +02:00
Bela
7b9d944dcd dateAfter: self arg removed (is fct) 2018-06-08 14:51:32 +02:00
Bela
b61a8f6801 simplify afterDate: option to specify year removed 2018-06-08 14:48:34 +02:00
Bela
3dc73e43fd function dateAfter complete 2018-06-08 14:46:48 +02:00
Bela
b62e7322a8 add information to config error 2018-06-01 13:45:49 +02:00
Bela
a90b2e01e3 remove debug messages 2018-05-14 15:41:10 +02:00
Bela
af5f403ad0 Command Choice restructered: understanding input splitted in several methods 2018-05-09 12:37:20 +02:00
Bela
940463b63c better config error message 2018-05-04 16:08:45 +02:00
Bela
f9fd8f5eb0 'Options' not in front of first option 2018-05-04 15:35:24 +02:00
Bela
87f3487a7d remove debug prints 2018-05-04 15:33:32 +02:00
Bela
9c28a37193 introduce sorting of options for choice 2018-04-27 17:47:18 +02:00
Bela
d8a44b6c3f move exception missing FieldStateOption in property 2018-04-27 17:16:52 +02:00
Bela
16bd4fe08c Default on Enter allows variable substitution 2018-04-27 16:16:47 +02:00
Bela
5c7367326c interpret variables in help messages as well 2018-04-25 20:57:52 +02:00
Bela
d9cb89626a add date replacement 2018-04-16 13:52:16 +02:00
Bela
02df46c44a show what got chosen at choice 2018-04-16 11:59:40 +02:00
Bela
cdfd1de00e show default option as first 2018-04-16 11:52:00 +02:00
Bela
917f18da83 refactor option description, newlines 2018-04-16 11:31:17 +02:00
Bela
b3fa47a721 rewrite priority comparison 2018-04-16 11:10:34 +02:00
Bela
e0f0929101 add more information at Error-Message 2018-04-11 17:33:53 +02:00
Bela
def4bf5f00 include NON_FORMFIELDs in variable substitution 2018-04-11 17:31:26 +02:00
Bela
f8b1299e81 fix: default in Choice: if default exists, do NOT ask again 2018-04-07 11:54:04 +02:00
Bela
6fa031c5a1 Default simplified because default is now in variables 2018-04-07 11:45:42 +02:00
Bela
66df440582 Question doc suitable to new behavior with empty input 2018-04-07 11:45:14 +02:00
Bela
e9afc5dcc2 new type of variable replacement with default 2018-04-07 11:44:36 +02:00
Bela
e3c2b89cac refactor do in Choice 2018-04-07 09:56:49 +02:00
Bela
73cd8bc494 refactor do in Question 2018-04-07 09:56:14 +02:00
Bela
d91f1a760f remove EMPTY because an empty input gives an empty string and EOF gives no input 2018-04-07 09:55:35 +02:00
Bela
7342c2555e userinput and showhelp as util functions in Command class 2018-04-07 09:52:55 +02:00
Bela
c0096174ad fix: return original value if no time is to be added 2018-04-07 09:52:21 +02:00
Bela
d549d8b893 todo: refactor call 2018-04-07 09:51:18 +02:00
Bela
36bb06f841 move all constants in one module for simplification. Juchhea 2018-03-21 18:32:05 +01:00
Bela
078da55e53 fix typos in commands 2018-03-18 23:51:12 +01:00
Bela
e20f5e23c6 for default, add possibility to shift time.
Shift dates not possible yet, could probably easily be implemented with similar syntax if necessary.
2018-03-15 14:34:20 +01:00
Bela
3b21b9d21a introduced Command Choice for Buttons 2018-03-15 13:32:42 +01:00
Bela
7e0b59204e in command Question empty answers are handled (now really)
A completely empty answer meens no input. Just a whitespace (Constant EMPTY) meens an empty string as input.
2018-03-15 13:32:17 +01:00
Bela
4c1bcffa1f in Command Default missing values from variables admit a warning message but no error 2018-03-15 13:31:37 +01:00
Bela
f94425c241 in command Question empty answers are handled
A completely empty answer meens no input. Just a whitespace (Constant EMPTY) meens an empty string as input.
2018-03-15 13:30:37 +01:00
Bela
158863e81a evaluation of conditions for commands 2018-03-15 13:29:33 +01:00
Bela
a2e7ce44f3 there can be several commands of the same kind for one field 2018-03-15 13:29:07 +01:00
Bela
102dec2dc6 command Default 2018-03-14 18:32:40 +01:00
Bela
6f49b25ded Command: Variable replacement with errors or default in case of missing value 2018-03-14 18:27:46 +01:00
Bela
2aded0f088 extract Commands from FormField infos 2018-02-21 22:32:45 +01:00
Bela
3fcd5ef416 cosmetic changes to doc of Question 2018-02-21 22:32:24 +01:00
Bela
3bd1bc6945 a beginning of commands, should be sufficiant for first tests 2018-02-16 13:14:06 +01:00