Commit Graph

39 Commits

Author SHA1 Message Date
6110a37cc7 option.dict => value.dict 2018-09-09 12:21:47 +02:00
aa9aef6e78 remove _cache_paths (path is now directly in option)
better TiramisuAPI support
2018-09-08 20:17:20 +02:00
122796bd19 requires for a master is a required for the masterslaves + remove cache from masterslaves too 2018-09-02 11:55:19 +02:00
726d6c8bfd make_dict => dict, option.dict => config.dict 2018-08-23 23:14:22 +02:00
6ceeb43962 makedict with masterslaves 2018-08-19 15:19:42 +02:00
493cec1b80 setting_properties > properties 2018-08-18 07:51:04 +02:00
f6e963ae38 remove all getapi in tests 2018-08-15 08:35:22 +02:00
3210a54ab8 config => KernelConfig + Config in api 2018-08-14 22:15:40 +02:00
41c17004d2 ConfigBag optimisation 2018-08-01 08:37:58 +02:00
b10f02a8e9 cache in dictionary storage 2018-06-25 21:40:16 +02:00
a9919e438b remove cache when import data 2018-04-27 14:20:12 +02:00
54b57968bc not Params object for callback, validator and calculated values for choiceoption 2018-04-15 21:13:16 +02:00
9ea373efdf better dynoption support 2018-04-09 21:37:49 +02:00
de77cd1027 reset cache only if calculated value return a new value 2018-03-31 23:09:40 +02:00
d5d826f967 adapt tests 2018-03-19 08:33:53 +01:00
2e412b64fd api: permissive => forcepermissive
api: add permissive object
test api: permissive
config: unwrap_from_path check properties for option, not only optiondescription
option: _RegexpOption => RegexpOption
2017-11-03 21:52:13 +01:00
5a1987f2e6 Add MasterSlaves object 2017-10-14 13:33:25 +02:00
e32820c913 save indexed value in cache is not necessary 2017-09-22 19:51:26 +02:00
d6bbbd87f5 remove unused context from get_cached 2017-09-22 08:26:11 +02:00
0ce4cc658b remove cache with a variable is calculated 2017-09-21 21:23:03 +02:00
3567e18256 several corrections about dependency 2017-09-17 15:55:32 +02:00
d445963429 add permissive cache 2017-07-13 22:04:06 +02:00
c8bc3093c7 python 3.5 support 2017-07-09 09:49:03 +02:00
dadf859905 better cache 2017-07-08 15:59:56 +02:00
6bad3c6e64 update sqlite storage 2017-07-04 19:59:42 +02:00
44d585a5e2 better mandatory/empty support for mandatory_warnings 2016-06-29 21:42:54 +02:00
a521a6d322 requires could be apply to a slave and properties could be different 2015-11-29 23:03:08 +01:00
a0de1109f7 optimise mandatory_warnings 2015-10-29 09:03:13 +01:00
44cd618704 remove pep8 validation errors 2015-07-24 17:54:10 +02:00
f03cbeadb7 better performance in find_firsts
_is_build_cache not set in dictionary storage
2014-11-10 21:00:30 +01:00
db9ab7a1e9 test if cache property is not set in config when force_cache 2014-03-09 20:22:29 +01:00
6e8b570a37 mandatory_warnings is now in values and add force_cache to values 2014-03-09 20:06:44 +01:00
3dc72c505c support no expire in getcache 2013-09-07 22:37:13 +02:00
77c1ccf40b add 'cache' property 2013-09-07 17:25:22 +02:00
4c27cb586d in __setattr__, name should never be object's variable name
remove context in type_ find's option
find_first_context return AttributError if no results
2013-08-24 21:26:10 +02:00
b6bb685ca5 key is now always path and change opt by path dictionary storage 2013-08-21 22:21:50 +02:00
e826f3d1c6 we can personalise storage easily 2013-08-20 09:47:12 +02:00
df7d6759cd add sqlite plugin 2013-08-19 11:01:21 +02:00
d4ef47759e Manipulate properties is now more convenient:
c.cfgimpl_get_settings().has_property('hidden') => 'hidden' in c.cfgimpl_get_settings()
c.cfgimpl_get_settings().has_property('hidden', option1) => 'frozen' in c.cfgimpl_get_settings()[opt]

c.cfgimpl_get_settings().get_properties(option1) => c.cfgimpl_get_settings()[option1]
c.cfgimpl_get_settings().get_properties(option1) => c.cfgimpl_get_settings()[option1]

c.cfgimpl_get_settings().add_property('hidden', option1) => c.cfgimpl_get_settings()[optiont1].append('hidden')
c.cfgimpl_get_settings().del_property('hidden', option1) => c.cfgimpl_get_settings()[optiont1].remove('hidden')

c.cfgimpl_get_settings().enable_property('hidden') => c.cfgimpl_get_settings().append('hidden')
c.cfgimpl_get_settings().disable_property('hidden') => c.cfgimpl_get_settings().remove('hidden')
2013-04-20 17:30:05 +02:00