Commit Graph

984 Commits

Author SHA1 Message Date
Emmanuel Garette a7e4399ae5 get information with default attribute when information is set to an option 2019-10-16 07:42:18 +02:00
Emmanuel Garette ba5cc57166 get_type not exists for optiondescription, change it to impl_get_group_type 2019-10-16 07:34:03 +02:00
Emmanuel Garette 280d2ebd0a better error message if option that does not exists is in root optiondescription 2019-10-16 07:31:52 +02:00
Emmanuel Garette 42291aec51 DynOptionDescription accept only suffixes attributes with Calculation, no more callback/callback_params 2019-10-15 17:45:21 +02:00
Emmanuel Garette fd50913466 add Calculation to values 2019-09-28 16:32:48 +02:00
Emmanuel Garette 06ad839468 add parents method to MetaConfig 2019-09-02 14:11:36 +02:00
Emmanuel Garette bb2ecc94d9 add Calculation to properties 2019-09-01 09:41:53 +02:00
Emmanuel Garette 7c641961d3 better validation with parent + deepconfig 2019-08-28 15:55:10 +02:00
Emmanuel Garette 4321bde399 prefix metaconfig_prefix with current name 2019-08-26 17:04:46 +02:00
Emmanuel Garette c15dac8093 unrestraint in subconfig 2019-08-24 08:14:54 +02:00
Emmanuel Garette 82a91db16e prefix metaconfig_prefix with current name 2019-08-21 16:24:50 +02:00
Emmanuel Garette 5ff47ac5c9 rc 11 2019-08-19 14:13:56 +02:00
Emmanuel Garette b6ec77aa23 better way to manage follower in MetaConfig 2019-08-07 08:38:32 +02:00
Emmanuel Garette 2d7d237e19 Config could have multiple parents 2019-08-05 22:31:56 +02:00
Emmanuel Garette 113b7a3410 todict works with Metaconfig 2019-08-03 21:03:23 +02:00
Emmanuel Garette 1691e38db5 separate Cache from values and settings 2019-08-01 18:22:18 +02:00
Emmanuel Garette c5ce9be699 doc + description + can updates with dict 2019-07-29 22:13:04 +02:00
Emmanuel Garette 613ae47573 update tests ans version number 2019-07-26 10:13:45 +02:00
Emmanuel Garette fd18af62ca update Changelog and translation 2019-07-26 09:45:19 +02:00
Emmanuel Garette 34d71901d0 to_dict improvment and add display_name parameter to change impl_get_display_name function 2019-07-26 08:55:20 +02:00
Emmanuel Garette 35ef218c9c better message error 2019-07-26 08:52:01 +02:00
Emmanuel Garette a33c7ed41e follower option with consistency 2019-07-16 08:03:33 +02:00
Emmanuel Garette 73d45f54cf follower option with consistency 2019-07-14 10:35:46 +02:00
Emmanuel Garette 69384a5e69 update translations 2019-07-06 11:39:06 +02:00
Emmanuel Garette e73f3d1e47 we have to access to option without restriction 2019-07-06 08:36:13 +02:00
Emmanuel Garette d3eef77c03 works with test/auto tests 2019-07-06 07:18:32 +02:00
Emmanuel Garette fb1286e50e better hidden/display support 2019-07-04 20:43:47 +02:00
Emmanuel Garette 83f05197fb update todict support and tests 2019-06-21 23:04:04 +02:00
Emmanuel Garette 55da00f131 3.0 rc 8 2019-06-21 09:14:09 +02:00
Emmanuel Garette 516a5a7219 copy default properties when copy config or create a config in a metaconfig 2019-06-20 15:24:21 +02:00
Emmanuel Garette 620e8bbf2e optimize 2019-06-12 08:45:56 +02:00
Emmanuel Garette 4df36a5548 3.0 rc7 2019-06-05 15:03:17 +02:00
Emmanuel Garette aa11e3b79c can retrieve metaconfig/mixconfig/config in a metaconfig/mixconfig 2019-06-05 14:37:58 +02:00
Emmanuel Garette 07e6ea5eb2 can add new config with mixconfig type 2019-06-05 12:33:00 +02:00
Emmanuel Garette b9e9e98270 reindent 2019-05-27 16:21:43 +02:00
Emmanuel Garette a774378732 local must not be None 2019-05-27 16:18:57 +02:00
Emmanuel Garette 5498a12b2b copy/deepcopy groupconfig 2019-05-27 16:11:41 +02:00
Emmanuel Garette 552cd3740d todict: better support for callback 2019-05-09 20:32:43 +02:00
Emmanuel Garette 5ea35bf84e simplify tiramisu dict format 2019-04-22 10:51:44 +02:00
Emmanuel Garette 6d0d233d9b demoting_error_warning is not more mandatory in option.dict()
RequirementError returns proptype
better submulti support for valid_mandatory
2019-04-17 19:13:40 +02:00
Emmanuel Garette 63094f7e54 better error messages with list 2019-04-13 22:04:49 +02:00
Emmanuel Garette 1aec891408 import tiramisu-json in tiramisu repository 2019-04-08 20:34:05 +02:00
Emmanuel Garette 48b3b7e8a4 flit 2019-04-07 20:51:53 +02:00
Emmanuel Garette 97b75660c5 do not change Config contexts properties when reload in MetaConfig (fixes #7) 2019-04-05 22:11:54 +02:00
Emmanuel Garette 2b45955886 add/remove config in mixconfig or metaconfig (fixes #6) 2019-04-05 21:00:25 +02:00
Emmanuel Garette 4709ac5f01 corrections in debug logger 2019-03-23 08:26:39 +01:00
Emmanuel Garette cab8dae15a requirement can have callback 2019-03-13 08:49:18 +01:00
Emmanuel Garette 05abe76932 add generic calc_value function 2019-03-09 13:28:15 +01:00
Emmanuel Garette 33c1666cc9 add cidr notation to domainnameoption if allow_ip is True (fixes #5) 2019-03-08 07:11:56 +01:00
Emmanuel Garette 2a6df8c8d8 safer option.type() (ref #4) 2019-03-06 21:50:28 +01:00
Emmanuel Garette 5c0ac75c52 multiple option call (fixes #1) 2019-03-02 21:31:21 +01:00
Emmanuel Garette 7873910322 doesn't check follower requirement with an other follower or a leader if idx is None (fixes #3) 2019-03-02 19:43:58 +01:00
Emmanuel Garette da015d3af0 coverage 2019-02-25 20:30:20 +01:00
Emmanuel Garette a248e114de simplify netmaskoption 2019-02-25 19:29:00 +01:00
Emmanuel Garette 74d367c731 simplify netmaskoption 2019-02-25 19:18:52 +01:00
Emmanuel Garette 0e20318a9b simplify netmaskoption 2019-02-25 19:10:20 +01:00
Emmanuel Garette 46e5179d5e coverage 2019-02-25 08:46:58 +01:00
Emmanuel Garette af55e20afe coverage 2019-02-24 20:23:16 +01:00
Emmanuel Garette 375b3c91de print => log 2019-02-24 19:03:00 +01:00
Emmanuel Garette af5da925e2 add CIDR support 2019-02-24 18:37:19 +01:00
Emmanuel Garette 7c710d50b9 IPy => ipaddress 2019-02-24 12:05:26 +01:00
Emmanuel Garette 715289a25a resetcache in config/api not in storage 2019-02-24 10:44:15 +01:00
Emmanuel Garette f03394563c can change expiration_time in api 2019-02-24 10:36:42 +01:00
Emmanuel Garette 9812975aa7 force_metaconfig_on_freeze in option (not in config) 2019-02-24 08:34:50 +01:00
Emmanuel Garette b5497ab517 coverage 2019-02-23 22:52:06 +01:00
Emmanuel Garette e6f58153ef update french translation 2019-02-23 22:28:00 +01:00
Emmanuel Garette 1bbcea60ab add force_metaconfig_on_freeze special properties 2019-02-23 22:10:43 +01:00
Emmanuel Garette c3f968dbde master/slaves => leader/followers 2019-02-23 19:06:23 +01:00
Emmanuel Garette b9ae1ec656 corrections in sqlite3 support 2019-02-23 12:25:20 +01:00
Emmanuel Garette db074a78a5 update properties in auto test 2019-02-23 08:01:29 +01:00
Emmanuel Garette 0f78e6be77 cannot change sqlite3 setting when connexion is already opened 2019-02-22 08:45:22 +01:00
Emmanuel Garette 4a737c5b9d remote sqlalchemy storage (unworking) and add setting to storage 2019-02-22 07:26:54 +01:00
Emmanuel Garette fd95c6dd4a ca change default properties for a config 2019-02-22 06:55:34 +01:00
Emmanuel Garette 04b7d2bbc9 add context property force_store_value 2019-02-21 19:33:39 +01:00
Emmanuel Garette 0a3b0e913f add index in warnings 2019-02-13 22:49:27 +01:00
Emmanuel Garette 526fe892d0 merge ValueWarning | ValueOptionError | ValueErrorWarning 2019-02-12 21:08:53 +01:00
Emmanuel Garette a59d25fc14 2018 => 2019 2019-02-12 06:55:47 +01:00
Emmanuel Garette c4bb4f90a1 validate name in symlinkoption 2019-02-11 20:28:03 +01:00
Emmanuel Garette 688525f98e add cfg.cache.reset 2019-02-10 21:14:32 +01:00
Emmanuel Garette 2b479bb983 remove global properties for metaconfig 2019-02-07 11:15:40 +01:00
Emmanuel Garette 0d19f06b52 don't valid mandatory in metaconfig but in config 2019-02-07 11:02:15 +01:00
Emmanuel Garette 7c214bb8ee support metaconfig for check 2019-02-07 10:39:28 +01:00
Emmanuel Garette 0a5e7c5886 add path to config 2019-02-06 21:47:11 +01:00
Emmanuel Garette 08bae1d131 change context when reset cache in metaconfig 2019-02-06 16:25:32 +01:00
Emmanuel Garette 0b703b40b2 DEBUG => TIRAMISU_DEBUG 2019-02-05 11:04:34 +01:00
Emmanuel Garette 1fbef08402 DEBUG => TIRAMISU_DEBUG 2019-02-05 10:33:56 +01:00
Emmanuel Garette 31adca7292 option not define in f def name() 2019-01-28 11:45:20 +01:00
Emmanuel Garette f018217b1e add follow_symlink when getting name of an option 2019-01-18 14:15:42 +01:00
Emmanuel Garette ca4d5e3e97 add demoting_error_warning properties 2018-12-24 09:30:58 +01:00
Emmanuel Garette f9b9ccacf1 update tests 2018-12-08 00:02:23 +01:00
Emmanuel Garette da99c8eb69 better support of notraisepropertyerror 2018-12-07 23:33:54 +01:00
Emmanuel Garette 10efcf877b remove name restiction 2018-12-07 23:33:11 +01:00
Emmanuel Garette 601c3fc54d support new special property demoting_error_warning 2018-12-07 23:32:28 +01:00
Emmanuel Garette 81490b75d9 make_dict with mandatory option 2018-12-07 23:30:45 +01:00
Emmanuel Garette 5bb0c49949 option with str value has to depends on StrOption 2018-12-07 23:29:42 +01:00
Emmanuel Garette a30eaacb1f separate config properties and properties in option + better properties check 2018-11-29 22:08:50 +01:00
Emmanuel Garette fee8997f13 use remove_warnings 2018-11-17 23:14:47 +01:00
Emmanuel Garette ef66d487b7 remove warnings when execute option.list 2018-11-17 23:02:03 +01:00
Emmanuel Garette 17bd7c3c05 supply make_dict with slave 2018-11-17 22:37:08 +01:00
Emmanuel Garette f86cbb1bcd if impl_is_readonly is not False => duplicated option ! 2018-11-17 22:12:21 +01:00