2017-05-20 16:28:19 +02:00
|
|
|
Sat May 20 16:27:09 2017 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* add 'operator' to requirement
|
|
|
|
|
2017-05-17 22:13:05 +02:00
|
|
|
Wed May 17 22:11:55 2017 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* add 'remove' to Multi
|
|
|
|
|
2017-02-12 10:38:57 +01:00
|
|
|
Sun Feb 12 10:30:13 2017 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* error in external function should returns explicit error message
|
|
|
|
all errors will be ConfigError
|
|
|
|
|
2017-01-12 19:52:03 +01:00
|
|
|
Thu Jan 12 19:49:41 2017 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* can mix inversed and non inversed requires
|
2017-01-12 21:58:53 +01:00
|
|
|
* validator's function can have 1 arg, 2 args or 3 args without
|
|
|
|
valid_params specify by user. First arg will receive the value, second
|
|
|
|
arg will receive all values (useful for multi) and the third one will
|
|
|
|
receive index (useful for multi).
|
|
|
|
This functionaly only works for now if user not specify valid_params.
|
2017-01-12 19:52:03 +01:00
|
|
|
|
2017-01-11 22:58:01 +01:00
|
|
|
Wed Jan 11 22:56:30 2017 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* copy the context in carry_out_calculation
|
|
|
|
|
2017-01-10 12:16:08 +01:00
|
|
|
Thu Jan 10 11:55:02 2017 +0200 Gwenael Remond <gremond@cadoles.com>
|
|
|
|
* converts the doc informations into unicode
|
|
|
|
|
2017-01-09 20:16:33 +01:00
|
|
|
Mon Jan 9 20:12:02 2017 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* make_dict has new fullpath option
|
|
|
|
|
2016-11-16 22:31:42 +01:00
|
|
|
Wed Nov 16 22:30:12 2016 +0200 Emmanuel Garette <egarette@cadoles.com>
|
2016-11-19 19:16:31 +01:00
|
|
|
* consistency "not_equal" works now with multi and submulti
|
|
|
|
* a multi or submulti could be "unique" (same value one time)
|
|
|
|
* consistency "not_equal" means "unique" too
|
2016-11-16 22:31:42 +01:00
|
|
|
|
2016-10-12 21:58:37 +02:00
|
|
|
Wed Oct 12 21:55:53 2016 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* consistency is now check "not_equal" if one option has
|
|
|
|
PropertiesOptionError
|
2016-10-12 22:17:04 +02:00
|
|
|
* transitive in apply_requires should only by apply if properties are
|
|
|
|
same has testing action
|
2016-10-12 21:58:37 +02:00
|
|
|
|
2016-10-10 21:41:22 +02:00
|
|
|
Mon Oct 10 21:39:04 2016 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* consistency with default value for all values now works
|
|
|
|
* warnings works now even if default value is None
|
|
|
|
|
2016-09-22 08:27:18 +02:00
|
|
|
Thu Sep 22 08:25:33 2016 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* force_store_value is rebuild if needed
|
|
|
|
|
2016-03-07 16:13:41 +01:00
|
|
|
Mon Mar 7 16:10:30 2016 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* force_store_value is now used directly when configuration is loaded
|
2016-03-07 16:34:36 +01:00
|
|
|
* add force_permissive to Values.is_default_owner
|
2016-03-07 16:13:41 +01:00
|
|
|
|
2015-11-29 23:03:08 +01:00
|
|
|
Sun Nov 29 23:01:28 2015 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* requires could be apply to a slave and properties could be different
|
|
|
|
|
2015-10-12 17:06:15 +02:00
|
|
|
Mon Oct 12 17:05:28 2015 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* domainname with only one character is now allowed
|
|
|
|
|
2015-09-17 21:25:32 +02:00
|
|
|
Thu Sep 17 21:23:34 2015 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* check with option as parameter
|
|
|
|
|
2015-07-26 18:55:21 +02:00
|
|
|
Sun Jul 26 19:09:29 2015 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* add global 'empty' property, this property raise mandatory
|
2017-01-10 12:16:08 +01:00
|
|
|
PropertiesOptionError if multi or master have empty value
|
2015-07-26 18:55:21 +02:00
|
|
|
|
2015-07-24 18:05:51 +02:00
|
|
|
Fri Jul 24 18:03:59 2015 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* add duplicate option to Config, to generate new Config with same
|
2015-11-19 22:25:00 +01:00
|
|
|
value, properties, Option. Option are not duplicated.
|
2015-07-24 18:05:51 +02:00
|
|
|
|
2015-04-20 14:49:43 +02:00
|
|
|
Mon Apr 20 14:44:15 2015 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* if option is multi, the properties disallow [None] for a multi but
|
|
|
|
[] too, with allow_empty_list to True, [None] is not allowed, but you
|
|
|
|
can have empty list (so [])
|
|
|
|
|
|
|
|
|
2015-04-19 09:15:18 +02:00
|
|
|
Sun Apr 19 09:14:21 2015 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* valid Option is an unicode or a string if needed
|
2015-04-19 09:25:49 +02:00
|
|
|
* difference between option/optiondescription in PropertiesOptionError
|
|
|
|
message
|
2015-04-19 09:37:46 +02:00
|
|
|
* remove slave values when delete a master without value
|
2015-04-19 09:46:39 +02:00
|
|
|
* allow uppercase in resource name in URLOption
|
2015-04-19 09:15:18 +02:00
|
|
|
|
2015-04-18 22:53:45 +02:00
|
|
|
Sat Apr 18 22:42:53 2015 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* refactor validation, build a fake context (with new Values and
|
|
|
|
Settings) to validate value with those object. Now value with
|
|
|
|
callback and consistency are correctly validate
|
2015-04-18 23:11:57 +02:00
|
|
|
* ability to disable warnings validation
|
2015-04-18 23:46:37 +02:00
|
|
|
* if ValueError and PropertieError together, should raise with
|
|
|
|
PropertieError
|
2015-04-18 22:53:45 +02:00
|
|
|
|
2015-03-08 12:03:49 +01:00
|
|
|
Sun Mar 8 12:02:17 2015 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* valid default/callback value in consistencies
|
|
|
|
|
2014-12-07 14:39:23 +01:00
|
|
|
Sun Dec 7 14:37:32 2014 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* mandatory master/slave's consistency with default value as slave
|
2014-12-07 14:51:51 +01:00
|
|
|
* test uppercase character before valid domain name for better error
|
|
|
|
message
|
2014-12-07 14:39:23 +01:00
|
|
|
|
2014-12-01 22:58:53 +01:00
|
|
|
Mon Dec 1 22:58:13 2014 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* propertyerror are transitive in consistency, now it's possible to set
|
|
|
|
non-transitive consistency
|
2015-11-19 22:25:00 +01:00
|
|
|
* support transitive in consistency with multiple option return
|
2014-12-01 23:08:56 +01:00
|
|
|
* can reset slave value in all case when deleting master value
|
2014-12-01 23:16:00 +01:00
|
|
|
* in_network's consistency now verify that IP is not network or
|
|
|
|
broadcast's IP + ip_netmask's consistency now verify that IP is not
|
|
|
|
broadcast's IP
|
2014-12-01 22:58:53 +01:00
|
|
|
|
2014-10-26 08:51:45 +01:00
|
|
|
Sun Oct 26 08:50:38 2014 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* if option is frozen with force_default_on_freeze property, owner
|
2015-11-19 22:25:00 +01:00
|
|
|
must be 'default', check property when tried to change owner
|
2014-10-26 09:38:17 +01:00
|
|
|
* bad characters in DomainnameOption could be in warning level
|
2014-10-26 09:44:06 +01:00
|
|
|
* frozen with force_default_on_freeze can change owner
|
2014-10-26 10:26:23 +01:00
|
|
|
* add force_permissive to config __iter__
|
2015-11-19 22:25:00 +01:00
|
|
|
* add force_permissive to slave for a master or to master for a slave
|
2014-10-26 16:39:24 +01:00
|
|
|
* remove mandatory_warnings in config.py
|
|
|
|
* add force_permissive in mandatory_warnings
|
2014-10-26 08:51:45 +01:00
|
|
|
|
2014-10-25 22:50:43 +02:00
|
|
|
Sat Oct 25 22:48:08 2014 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
* cannot add unvalaible consistency for an option
|
2014-10-25 22:58:46 +02:00
|
|
|
* allow number as first letter of a domainname with netbios type
|
2014-10-25 22:50:43 +02:00
|
|
|
|
2014-06-20 16:29:38 +02:00
|
|
|
Fri Jun 20 16:27:55 2014 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
|
|
|
|
* add TIRAMISU_STORAGE for personalise default storage in
|
|
|
|
environnement
|
|
|
|
|
2014-06-19 23:22:39 +02:00
|
|
|
Thu Jun 19 23:20:29 2014 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
|
|
|
|
* add DynOptionDescription:
|
|
|
|
DynOptionDescription are OptionDescription that generate auto
|
|
|
|
OptionDescription with a callback function
|
|
|
|
|
2014-04-27 10:32:40 +02:00
|
|
|
Sun Apr 27 10:32:40 2014 +0200 Emmanuel Garette <egarette@cadoles.com>
|
|
|
|
|
2014-04-27 10:44:19 +02:00
|
|
|
* behavior change in ChoiceOption:
|
2015-11-19 22:25:00 +01:00
|
|
|
remove open_values, that no sens (we cannot validate type) if
|
2014-10-25 22:11:31 +02:00
|
|
|
you want something like open_values, please use a typed option and
|
2014-04-27 10:44:19 +02:00
|
|
|
add impl_(s|g)et_information to add proposed values and use it in your
|
|
|
|
code
|
2014-04-27 10:32:40 +02:00
|
|
|
* add dynamic ChoiceOption:
|
|
|
|
we can have dynamic ChoiceOption. Parameter values can be a function
|
2015-11-19 22:25:00 +01:00
|
|
|
and, as callback, we can add values_params
|
2014-04-27 10:32:40 +02:00
|
|
|
|
|
|
|
Fri Apr 25 22:57:08 2014 +0200 Emmanuel Garette <egarette@cadoles.com>
|
2014-04-25 22:57:08 +02:00
|
|
|
|
|
|
|
* add SubMulti:
|
|
|
|
a SubMulti is a multi in a multi variable
|
|
|
|
|
2014-04-27 10:32:40 +02:00
|
|
|
Sat Apr 12 11:37:27 2014 +0200 Emmanuel Garette <egarette@cadoles.com>
|
2014-04-12 11:53:58 +02:00
|
|
|
|
|
|
|
* behavior change in master/slave part of code:
|
2014-04-12 21:37:20 +02:00
|
|
|
if slave has a default value greater than master's one, it's raise
|
|
|
|
SlaveError, didn't try to reduce the slave's length
|
|
|
|
* tiramisu/config.py (in cfgimpl_get_home_by_path and getattr) and
|
|
|
|
tiramisu/value.py (in getitem): arity change, remove force_properties
|
2014-04-12 11:53:58 +02:00
|
|
|
* tiramisu/option.py: split into tiramisu/option directory
|
2015-11-19 22:25:00 +01:00
|
|
|
* tiramisu/option/masterslave.py: add special object MasterSlaves for
|
|
|
|
all code related to master/slaves options
|
|
|
|
* tiramisu/option/masterslave.py: check every time master and slaves
|
|
|
|
values (length, consistency, ...)
|
2014-04-12 21:55:22 +02:00
|
|
|
* change None to undefined when needed
|