Commit graph

85 commits

Author SHA1 Message Date
Emmanuel Garette
165b28cb00 start annotation 2018-04-28 08:39:07 +02:00
Emmanuel Garette
b442d52289 can use requires with self option 2018-04-25 19:12:54 +02:00
Emmanuel Garette
54b57968bc not Params object for callback, validator and calculated values for choiceoption 2018-04-15 21:13:16 +02:00
Emmanuel Garette
9ea373efdf better dynoption support 2018-04-09 21:37:49 +02:00
Emmanuel Garette
b2cc5f7913 remove dead code 2018-04-06 23:51:25 +02:00
Emmanuel Garette
821f36ea65 tiramisu-web adaptation 2018-01-26 07:33:47 +01:00
Emmanuel Garette
1736170e43 add validator tests 2017-12-27 15:49:05 +01:00
Emmanuel Garette
538e6a792a add config_bag and convert some tests 2017-12-19 23:11:45 +01:00
Emmanuel Garette
b5f785d62c convert tests 2017-12-13 22:15:34 +01:00
Emmanuel Garette
fc787d4dbb reorganise 2017-12-07 22:20:19 +01:00
Emmanuel Garette
e40a1e78a2 refactor masterslaves 2017-12-02 22:53:57 +01:00
Emmanuel Garette
9831f7cf0c add test for master/slave and callback 2017-11-28 22:42:30 +01:00
Emmanuel Garette
dc9454be63 limit database usage 2017-07-16 10:57:43 +02:00
Emmanuel Garette
c8bc3093c7 python 3.5 support 2017-07-09 09:49:03 +02:00
Emmanuel Garette
dadf859905 better cache 2017-07-08 15:59:56 +02:00
Emmanuel Garette
5bf75b3824 error in external function should returns only ConfigError 2017-02-12 10:38:57 +01:00
Emmanuel Garette
80f6f4ba03 error in external function should returns explicit error message 2017-02-11 18:11:05 +01:00
Emmanuel Garette
7b0a9891e2 test lenght for a slave that have list as callback_params 2017-01-26 21:18:57 +01:00
Emmanuel Garette
372ce5ea1e validate value when we calculate it 2017-01-26 21:01:54 +01:00
Emmanuel Garette
9920f001ea validator's function can have 1 arg, 2 args or 3 args 2017-01-16 09:25:56 +01:00
Emmanuel Garette
89fd367b20 validator's function can have 1 arg, 2 args or 3 args 2017-01-12 21:58:53 +01:00
Emmanuel Garette
18d6976183 copy the context in carry_out_calculation 2017-01-11 22:58:01 +01:00
Emmanuel Garette
4d02254234 returns_raise is now mandatory in core 2016-10-14 22:20:14 +02:00
Emmanuel Garette
a76815dd1f support slave with list has calculated value 2016-04-08 16:21:50 +02:00
Emmanuel Garette
7305cfa134 python 3.4 support 2016-03-19 21:27:37 +01:00
Emmanuel Garette
952c880d10 callback could raises (not only returns) 2016-03-17 19:14:02 +01:00
Emmanuel Garette
777542844f path not already initialize 2016-03-14 22:18:21 +01:00
Emmanuel Garette
b521c459ee remove all try/except 2016-01-03 21:18:52 +01:00
Emmanuel Garette
e8764f6173 remove some try/except + consistency not works with submulti 2016-01-03 13:23:15 +01:00
Emmanuel Garette
14489c3ef5 remove some try/except 2015-12-26 10:57:20 +01:00
Emmanuel Garette
97d7352a5b better support for dynoptiondescription 2015-12-23 23:30:57 +01:00
Emmanuel Garette
a521a6d322 requires could be apply to a slave and properties could be different 2015-11-29 23:03:08 +01:00
Emmanuel Garette
ab555966f7 use python-coverage to delete dead part of code 2015-11-24 10:58:19 +01:00
Emmanuel Garette
54ca54e505 separate value in slave 2015-11-19 22:25:00 +01:00
Emmanuel Garette
10768a6067 refactor validation 2015-04-18 22:53:45 +02:00
Emmanuel Garette
71f8926fca better support for sqlalchemy storage 2014-07-06 15:31:57 +02:00
Emmanuel Garette
b64189f763 add DynOptionDescription 2014-06-19 23:22:39 +02:00
Emmanuel Garette
31fff062e1 Values in ChoiceOption can be a function now 2014-04-27 10:36:47 +02:00
Emmanuel Garette
5d8b5719a0 Merge branch 'master' into orm
Conflicts:
	test/test_config_api.py
	tiramisu/autolib.py
	tiramisu/config.py
	tiramisu/option.py
	tiramisu/value.py
2014-04-13 10:30:42 +02:00
Emmanuel Garette
cd4d3527c7 split tiramisu/option.py and add MasterSlaves object 2014-04-12 17:55:13 +02:00
Emmanuel Garette
76a43a7ff9 if slave has a callback with a slave that has a callback with a default_multi's slave, now it's works 2014-04-02 12:04:50 +02:00
Emmanuel Garette
cd52729952 add force_permissive in config's method (iter_all, iter_group, find, find_first and make_dict)
rename _getattr to getattr
2014-03-31 22:34:57 +02:00
Emmanuel Garette
835d6d6da0 context could be useful in a callback, now we can retrieve context in a function (be careful to infinite loop) 2014-03-26 19:47:42 +01:00
Emmanuel Garette
a04a61f1a4 Merge branch 'master' into lgpl 2014-03-15 10:11:17 +01:00
Emmanuel Garette
5897231421 Merge branch 'master' into orm
Conflicts:
	test/test_dereference.py
	test/test_state.py
	tiramisu/config.py
	tiramisu/value.py
2014-02-02 18:52:13 +01:00
Emmanuel Garette
683e40fbb5 when change len of calculated master, change len of slave too 2014-02-02 18:20:01 +01:00
Emmanuel Garette
02a987b39d sqlalchemy 2014-01-30 22:55:15 +01:00
Emmanuel Garette
217a1989c7 validator in sqlalchemy 2014-01-27 23:28:22 +01:00
Emmanuel Garette
661f844ce6 sqlalchemy has a storage 2014-01-20 14:53:14 +01:00
Emmanuel Garette
36cd79058f use polymorphism 2014-01-09 21:42:32 +01:00