Commit Graph

43 Commits

Author SHA1 Message Date
c31590c2ac consistency is now check not_equal if one option has PropertiesOptionError 2016-10-12 21:58:37 +02:00
e6a949635f some improvements 2016-10-10 21:41:22 +02:00
6d71749014 force_store_value is rebuild if needed 2016-09-22 08:27:18 +02:00
35ffde841b add force_permissive to Values.is_default_owner 2016-03-07 16:34:36 +01:00
da89c1aa58 force_store_value is now used directly when configuration is loaded 2016-03-07 16:13:41 +01:00
a521a6d322 requires could be apply to a slave and properties could be different 2015-11-29 23:03:08 +01:00
54ca54e505 separate value in slave 2015-11-19 22:25:00 +01:00
15d94d5fff domainname with only one character is now allowed 2015-10-12 17:06:15 +02:00
3aad913868 check with option as parameter 2015-09-17 21:25:32 +02:00
8e7a32de08 add global 'empty' property, this property raise mandatory PropertiesOptionError if multi or master have empty value 2015-07-26 19:13:25 +02:00
1da83edfba add duplicate option to Config 2015-07-24 18:05:51 +02:00
487b99b32c for a multi mandatory, allow [] with allow_empty_list attribut 2015-04-20 14:49:43 +02:00
072246a203 URLOption: allow uppercase in resource name 2015-04-19 09:46:39 +02:00
2c6275ffbd remove slave values when delete a master without value 2015-04-19 09:37:46 +02:00
6fc921fc19 difference between option/optiondescription in PropertiesOptionError message 2015-04-19 09:25:49 +02:00
2b019027be valid Option is an unicode or a string if needed 2015-04-19 09:15:18 +02:00
057bba83e4 ValueError if not PropertieError 2015-04-18 23:46:37 +02:00
d959020eed ability to disable warnings validation 2015-04-18 23:11:57 +02:00
10768a6067 refactor validation 2015-04-18 22:53:45 +02:00
c566ad1111 valid default/callback value in consistencies 2015-03-08 12:03:49 +01:00
85297d8c4d test uppercase character before valid domain name for better error message 2014-12-07 14:51:51 +01:00
bc65caa4dc mandatory master/slave's consistency with default value as slave 2014-12-07 14:39:23 +01:00
4fde28a15e 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 23:16:00 +01:00
a801951a78 can reset slave value in all case when deleting master value 2014-12-01 23:08:56 +01:00
71e69cd0bf if consistency with multiple option return if transitive 2014-12-01 23:02:55 +01:00
7646071efd propertyerror are transitive in consistency, now it's possible to set non-transitive consistency 2014-12-01 22:58:53 +01:00
c75867720f add force_permissive in mandatory_warnings 2014-10-26 16:39:24 +01:00
f730050f7c pass force_permissive to slave for a master or to master for a slave 2014-10-26 16:19:06 +01:00
4310d59991 add force_permissive to config __iter__ 2014-10-26 10:26:23 +01:00
a130cff4bf frozen with force_default_on_freeze can change owner 2014-10-26 09:44:06 +01:00
ed3373cff0 bad characters in DomainnameOption could be in warning level 2014-10-26 09:38:17 +01:00
8a59e27396 f option is frozen with force_default_on_freeze property, owner must be 'default' check property when tried to change owner 2014-10-26 08:51:45 +01:00
9ad6cd905c allow number as first letter of a domainname with netbios type 2014-10-25 22:58:46 +02:00
08f4f30bc5 cannot add unvalaible consistency for an option 2014-10-25 22:50:43 +02:00
9f3d676280 reduce memory usage 2014-10-25 22:11:31 +02:00
3cc2d9ca3d add TIRAMISU_STORAGE environment variable 2014-06-20 16:29:38 +02:00
b64189f763 add DynOptionDescription 2014-06-19 23:22:39 +02:00
888446e4c5 remove unjustified open_values parameters in ChoiceOption 2014-04-27 10:44:19 +02:00
31fff062e1 Values in ChoiceOption can be a function now 2014-04-27 10:36:47 +02:00
9112a8c5b0 add SubMulti 2014-04-26 22:37:01 +02:00
aa0734591d change None to undefined when it's needed 2014-04-12 21:57:17 +02:00
3ab0688c46 Arity change, remove force_properties:
* tiramisu/config.py (in cfgimpl_get_home_by_path and getattr)
 * tiramisu/value.py (in getitem):
2014-04-12 21:37:20 +02:00
cd4d3527c7 split tiramisu/option.py and add MasterSlaves object 2014-04-12 17:55:13 +02:00