Commit graph

378 commits

Author SHA1 Message Date
aa79d9a710 deletion of the cache when changinf information for an option if needed 2023-06-28 22:26:01 +02:00
460039386a remove unused leadership_must_have_index parameter 2023-06-27 10:03:30 +02:00
3641eb39d8 TiramisuOption.list() with follower 2023-06-26 19:25:57 +02:00
0a4e1445db feature(api) cfg.option(xxxx).option.yyy() => cfg.option(xxxx).yyy() 2023-05-16 22:50:38 +02:00
6805cecfd5 reorganize 2023-05-11 15:44:48 +02:00
1d18cc74b7 remove subconfig 2023-04-27 11:36:07 +02:00
4b76e3314e remote storage, so session and async too 2023-04-26 15:17:28 +02:00
30dea54470 2021/2023 2023-04-12 12:33:44 +02:00
d2a7c2b31c domainnameoption: better error message 2023-04-12 12:02:37 +02:00
add176331e better debug 2023-02-27 13:51:46 +01:00
245d5c02fb add permission option 2023-02-27 12:33:11 +01:00
477b0a2da1 better message error 2023-01-24 22:37:05 +01:00
d2e790a2e2 information for optiondescription 2023-01-24 07:46:44 +01:00
Emmanuel Garette
9731769694 better is_not_unique support 2022-10-01 19:44:23 +02:00
Emmanuel Garette
22ef5c7c3b add allow_protocol to PortOption 2022-10-01 19:43:49 +02:00
Emmanuel Garette
89c095e0d3 suffix can have a none str value 2022-10-01 19:33:04 +02:00
Emmanuel Garette
7764fa9b43 suffix in calculation should be true suffix, not converted one 2022-02-06 15:40:20 +01:00
Emmanuel Garette
e23e3c4103 symlink to dynoption 2022-01-18 20:28:16 +01:00
Emmanuel Garette
9e80345dd1 calc_value with join could crash 2022-01-09 20:36:04 +01:00
Emmanuel Garette
3fe77f7e65 domain can ends with dot 2022-01-09 19:12:37 +01:00
Emmanuel Garette
8658fdd6ca option's informations avalaible in config 2022-01-09 19:10:09 +01:00
Emmanuel Garette
49ba56b6ec do not get value for an dynoptiondescript 2021-12-10 22:23:38 +01:00
Emmanuel Garette
d6f1564744 path for dyn option with leadership in calculation 2021-12-09 19:47:35 +01:00
Emmanuel Garette
2ea43832e5 dyn properties to dynoptiondescription 2021-12-09 18:51:40 +01:00
Emmanuel Garette
b0462a1e80 . is no more unvalable 2021-05-18 18:52:42 +02:00
Emmanuel Garette
f7721a9775 manage force_store_value with dynoption 2021-04-03 20:24:27 +02:00
Emmanuel Garette
3b1dccd844 allow caching with the demoting_error_warning property 2021-03-21 14:51:12 +01:00
Emmanuel Garette
12174045a2 add test to dyn optiondescription 2021-03-18 09:00:28 +01:00
Emmanuel Garette
8972e796db dict with leader_to_list parameter 2021-03-18 09:00:04 +01:00
Emmanuel Garette
29282d8ea3 calculation with submulti 2021-03-18 08:57:22 +01:00
Emmanuel Garette
668ed3ad37 better error when value not in a choice 2021-03-18 08:54:59 +01:00
Emmanuel Garette
acc86bc49f Add ParamSelfInformation 2021-03-06 19:23:35 +01:00
Emmanuel Garette
7ebad5724e 2020/2021 2021-02-24 20:30:04 +01:00
Emmanuel Garette
385160cabd filename must be a full path 2021-02-17 09:50:36 +01:00
Emmanuel Garette
da87f40f12 do not remove notempty and notunique properties 2020-11-03 22:34:57 +01:00
Emmanuel Garette
e1fef11465 refactor 2020-10-05 21:16:41 +02:00
Emmanuel Garette
6910371779 Add ParamInformation and callback can be a coroutine 2020-10-03 14:29:15 +02:00
Emmanuel Garette
659243ba8f better support for warnings_only 2020-08-04 16:49:21 +02:00
Emmanuel Garette
2f125cfc8c better error for IP like 192.168.001.1 => 192.168.1.1 2020-08-04 16:33:52 +02:00
Emmanuel Garette
f7bd6e3a47 add support in calculation when option is in a dynoptiondescription 2020-04-11 13:13:35 +02:00
Emmanuel Garette
f1651848d2 can create a config with a mix_config 2020-03-04 15:39:47 +01:00
Emmanuel Garette
6b33bddbac validate value before validate unique value 2020-02-18 22:09:53 +01:00
Emmanuel Garette
3bef45c9db New Postgres storage 2020-01-30 16:10:54 +01:00
Emmanuel Garette
52ddd76b1a corrections in dict and todict 2019-12-25 20:44:56 +01:00
Emmanuel Garette
503d4b2cca async version of tiramisu 2019-12-24 15:25:12 +01:00
Emmanuel Garette
76e7fd93b2 can convert suffix to build path for dynoptiondescription 2019-12-21 18:29:21 +01:00
Emmanuel Garette
b6c11c08db add MacOption, remove UnicodeOption 2019-12-02 10:39:10 +01:00
Emmanuel Garette
ce297ed804 better unique support 2019-11-20 08:26:41 +01:00
Emmanuel Garette
973b81d339 add GroupnameOption 2019-11-20 08:25:16 +01:00
Emmanuel Garette
d3e99cc9a5 notunique and notempty support 2019-11-19 18:52:20 +01:00
Emmanuel Garette
6b77b0c5ad DomainnameOption add network support 2019-11-19 18:48:13 +01:00
Emmanuel Garette
c5d8e0055b force_store_value for follower 2019-11-19 18:46:05 +01:00
Emmanuel Garette
15669372db add GroupnameOption 2019-11-19 18:31:48 +01:00
Emmanuel Garette
74e604478e _validation, _second_level_validation => validation, second_level_validation 2019-11-19 08:26:42 +01:00
Emmanuel Garette
5c3a133928 consistency is now simple validation 2019-10-27 16:53:25 +01: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
bb2ecc94d9 add Calculation to properties 2019-09-01 09:41:53 +02:00
Emmanuel Garette
b6ec77aa23 better way to manage follower in MetaConfig 2019-08-07 08:38:32 +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
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
83f05197fb update todict support and tests 2019-06-21 23:04:04 +02:00
Emmanuel Garette
620e8bbf2e optimize 2019-06-12 08:45:56 +02:00
Emmanuel Garette
63094f7e54 better error messages with list 2019-04-13 22:04:49 +02:00
Emmanuel Garette
cab8dae15a requirement can have callback 2019-03-13 08:49:18 +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
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
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
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
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
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
5bb0c49949 option with str value has to depends on StrOption 2018-12-07 23:29:42 +01:00
Emmanuel Garette
f86cbb1bcd if impl_is_readonly is not False => duplicated option ! 2018-11-17 22:12:21 +01:00
Emmanuel Garette
c86cad227e support _path for symlinkoption and root OD 2018-11-17 21:31:35 +01:00
Emmanuel Garette
f6bdd0c17e symplify tiramisu/option/option.py 2018-11-15 18:35:14 +01:00
Emmanuel Garette
92b469bd43 simplify tiramisu/option/baseoption.py 2018-11-15 16:17:39 +01:00
Emmanuel Garette
8b3da4d37b simplify tiramisu/option/masterslaves.py 2018-11-15 08:15:55 +01:00