Commit Graph

68 Commits

Author SHA1 Message Date
Emmanuel Garette 1cda79154e can remove prefix in ValueOptionError 2018-10-30 11:57:19 +01:00
Emmanuel Garette 509d902e72 coverage 2018-09-29 21:58:41 +02:00
Emmanuel Garette 3210a54ab8 config => KernelConfig + Config in api 2018-08-14 22:15:40 +02:00
Emmanuel Garette 41c17004d2 ConfigBag optimisation 2018-08-01 08:37:58 +02:00
Emmanuel Garette b442d52289 can use requires with self option 2018-04-25 19:12:54 +02:00
Emmanuel Garette 605163ab4a some improvment 2018-04-11 16:36:15 +02:00
Emmanuel Garette 51d420b29d add test for properties 2018-04-11 08:40:59 +02:00
Emmanuel Garette 54cb73c2cc some corrections 2018-04-10 22:46:53 +02:00
Emmanuel Garette 9e378faef0 simplify find() in api and PropertiesOptionError 2018-04-10 22:42:20 +02:00
Emmanuel Garette 6921e05c0e corrections in dynoption/masterslaves 2018-03-24 22:37:48 +01:00
Emmanuel Garette 821f36ea65 tiramisu-web adaptation 2018-01-26 07:33:47 +01:00
Emmanuel Garette a40adea1d9 works on permissive 2017-12-28 11:47:40 +01:00
Emmanuel Garette d26626a1f9 settings 2017-12-23 20:21:22 +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 527ae40950 refactor 2017-11-23 16:56:14 +01:00
Emmanuel Garette 119ca85041 refactor 2017-11-20 17:01:36 +01:00
Emmanuel Garette 22a4aa81dc first version of new api 2017-10-22 15:14:25 +02:00
Emmanuel Garette be43c95ec0 In Config, name and session_id was quite equal, remove name
session_id is now validate
set_value return Configs with error
add new_config to MetaConfig
2017-07-19 20:44:38 +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 d8f36766ee coverage for tiramisu/option/masterslave.py 2017-02-04 14:34:56 +01:00
Emmanuel Garette 722779ebf7 coverage 2017-02-03 23:39:24 +01:00
Emmanuel Garette fe379abb42 display_list must return str, not unicode 2017-02-03 15:56:00 +01:00
Emmanuel Garette 1fba3394fe unicode decode error with UnicodeOption 2017-02-02 08:56:01 +01:00
Emmanuel Garette f497e99002 remove unicode decode error 2017-01-19 21:38:16 +01:00
Emmanuel Garette e2159fd307 validator's function can have 1 arg, 2 args or 3 args 2017-01-18 15:54:30 +01:00
Emmanuel Garette 66f24bd1c0 add fullpath to make_dict 2017-01-06 21:01:24 +01:00
Emmanuel Garette 8249b8eb20 old style PropertiesOptionError is now accepted 2016-11-15 16:38:25 +01:00
Emmanuel Garette 44dfd21ff6 better error msg 2016-10-23 23:18:06 +02:00
Emmanuel Garette 4e8d780929 support python3 2016-10-21 10:00:44 +02:00
Emmanuel Garette 19b676967d better propertyerror message 2016-09-14 20:17:25 +02:00
Emmanuel Garette e8764f6173 remove some try/except + consistency not works with submulti 2016-01-03 13:23:15 +01: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 b7f85b8559 Merge branch 'master' into lgpl 2013-09-28 18:43:46 +02:00
gwen 162ae02df8 refactor (warnings_only) 2013-09-27 09:52:18 +02:00
Emmanuel Garette f4677b9ef9 use warnings instead of a new dictionary 2013-09-26 21:56:06 +02:00
Emmanuel Garette 8a7078d3b0 gpl to lgpl 2013-09-22 22:33:09 +02:00
gwen fbf05ba5e4 python 3 compatibility
remove __eq__ and __ne__ in Option
2013-08-28 21:13:42 +02:00
Emmanuel Garette 0bc47b1cf9 ConstError in tiramisu/error.py
storage_type is now unique
rename _const => _NameSpace
can change storage's options in set_storage

storage :
add Setting object in storage
rename enumerate to list_sessions
rename delete to delete_session
auto-create owner when load sqlite3 storage and in getowner
2013-08-26 21:48:42 +02:00
gwen 564fecc261 pep 8 lines too long 2013-08-20 12:08:02 +02:00
Emmanuel Garette 2751a2694a RequirementRecursiveError => RequirementError
Properties in "apply_requires" are now transitive (but only if tested property is in properties list)
New requirement option (a boolean), don't touch properties if PropertyError in "apply_requires"
2013-05-31 23:30:00 +02:00
gwen 879a415e75 add docstrings 2013-05-23 14:55:52 +02:00
gwen 0e6032dd88 new api documentation 2013-05-21 18:42:56 +02:00
gwen 988bd659b8 refactoring the doc for the 0.55 new API 2013-05-15 17:35:49 +02:00
Emmanuel Garette 2d57ed160e work on MetaConfig 2013-05-02 11:34:57 +02:00
Emmanuel Garette 1fd5f685de callback must be a function and validator support same paramaters has callback 2013-04-22 16:48:13 +02:00
Emmanuel Garette e883e5b89e remove _setoption in SymLinkOption
objimpl_ => optimpl_
ConflictConfigError => ConflictError
add read_write/read_only/getowner in Config
2013-04-22 09:19:05 +02:00
Emmanuel Garette 682d9fe207 add option name's validation and rename Option method with objimpl_ 2013-04-20 21:58:52 +02:00