Commit graph

  • a95f19d5f4 default settings gwen 2013-07-12 16:20:34 +0200
  • c53d574ac2 can't use RESERVED address in IPOption and NetworkOption Emmanuel Garette 2013-07-11 23:06:26 +0200
  • 1c951558da add new option's type: PortOption Emmanuel Garette 2013-07-11 23:05:33 +0200
  • c06659012b Config: __str__ raise if no str/unicode value Emmanuel Garette 2013-07-03 21:56:19 +0200
  • 0afb521766 support multi requirement with inverse for same option Emmanuel Garette 2013-07-03 15:04:15 +0200
  • b80bef0f7e string.format with numeric parameters gwen 2013-07-02 15:05:50 +0200
  • 4b5d9b4229 __str__ method could return unicode object, force to decode in str Emmanuel Garette 2013-07-01 16:49:10 +0200
  • b8bfa02e02 Remove 'build_actions' in 'apply_requires', now 'validate_requires_arg' build requires with tuple of tuple Emmanuel Garette 2013-07-01 11:55:32 +0200
  • 9b134c3aa7 requirement are now a dictionary (not anymore a tuple) Emmanuel Garette 2013-06-29 18:41:14 +0200
  • e501c6d12d support multi requires with inverse set to True Emmanuel Garette 2013-06-28 11:59:51 +0200
  • 75f7e7ce5d callback with option in params which is in an hidden optiondescription Emmanuel Garette 2013-06-26 16:26:42 +0200
  • 32de14b731 validate_requires_arg return requires list Emmanuel Garette 2013-06-26 16:25:02 +0200
  • 3c0629e6a9 better raise message if try to launch impl_get_information/impl_set_information in uncompatible class Emmanuel Garette 2013-06-14 17:52:57 +0200
  • 23f6d2228f add symlink test Emmanuel Garette 2013-06-13 22:07:58 +0200
  • 4d15c91383 symlink support for getowner and raise if option in master/slave Emmanuel Garette 2013-06-13 22:06:49 +0200
  • c2471320c3 apply_requires: add property if any property raise PropertyError if same_action is False Emmanuel Garette 2013-06-13 14:43:51 +0200
  • 755b2312c2 allow None in requirement Emmanuel Garette 2013-06-13 12:15:46 +0200
  • fd02a954ca add sort, reverse, insert and extend in Multi Emmanuel Garette 2013-06-12 22:48:22 +0200
  • 9c47eb32d5 ConfigError, not PropertiesOptionError if cannot access to option in carry_out_calculation Emmanuel Garette 2013-06-12 17:07:29 +0200
  • 0d114001f4 Works callback/multi/master-slave Emmanuel Garette 2013-06-12 10:22:50 +0200
  • ada5bfbf6c add test for callback not in multi Emmanuel Garette 2013-06-11 15:36:08 +0200
  • b2538f6f0b support of non multi variable Emmanuel Garette 2013-06-11 15:31:20 +0200
  • 6d1cf308b2 Better support for slave with callback: Emmanuel Garette 2013-06-11 15:10:38 +0200
  • 22f0aab0a8 fix i18n gwen 2013-06-10 17:45:03 +0200
  • 9cf30d214d raise ConfigError gwen 2013-06-10 17:12:57 +0200
  • 1c70a07d7e transitivity in the requirements gwen 2013-06-10 15:19:00 +0200
  • 418de157e8 report: everything work again gwen 2013-06-05 14:56:46 +0200
  • 7c640bee4c report: options work again gwen 2013-06-05 11:19:47 +0200
  • 0846ca9890 Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu gwen 2013-06-04 17:42:30 +0200
  • 5a7d711d5a report: root menu works again gwen 2013-06-04 17:42:21 +0200
  • 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" Emmanuel Garette 2013-05-31 23:29:20 +0200
  • c6c422f472 docstrings and api gwen 2013-05-23 17:51:50 +0200
  • 879a415e75 add docstrings gwen 2013-05-23 14:55:52 +0200
  • 0e6032dd88 new api documentation gwen 2013-05-21 18:42:56 +0200
  • 480ed190aa Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu gwen 2013-05-21 11:38:02 +0200
  • 9acb522791 doc is ready for the new api refactoring gwen 2013-05-21 11:37:39 +0200
  • e131fdc5a5 add cfgimpl_get_children for MetaConfig and informations Emmanuel Garette 2013-05-21 11:09:00 +0200
  • 1d8c248d1b Multi: don't touch slave's value if it's default one's + don't check slave properties (if, for example, disabled for example) Emmanuel Garette 2013-05-17 18:11:14 +0200
  • d6098f353e refactoring doc for the new API gwen 2013-05-17 12:11:14 +0200
  • 988bd659b8 refactoring the doc for the 0.55 new API gwen 2013-05-15 17:35:49 +0200
  • 89dca8d707 suppress get_consistencies() method gwen 2013-05-14 17:40:42 +0200
  • 536eb27904 multi, None and validation Emmanuel Garette 2013-05-10 22:32:42 +0200
  • bd489346a9 docstrings gwen 2013-05-10 16:02:27 +0200
  • c91e7eff97 if not need, don't validate Emmanuel Garette 2013-05-10 16:00:46 +0200
  • c13846238d add philippe as a contributor gwen 2013-05-10 15:45:40 +0200
  • fa5d643aee tiramisu/autolib.py: optimpl_ => impl_ tiramisu/option.py: consistency simplication and allow multi tiramisu/option.py: don't touch cache if force_permissive or force_properties tiramisu/values.py: set validate paramaters in Multi() Emmanuel Garette 2013-05-10 15:10:06 +0200
  • 6ffd71a43e DomainnameOption now works with default value Emmanuel Garette 2013-05-10 09:27:54 +0200
  • 6de65859b4 * config herite from BaseInformation class * _cfgimpl_ => _impl_ * optimpl_ => impl_ * properties/permissives are now set/frozenset * validation raise ValueError if not valid, didn't return anything otherwise * consistencies are now validate in setting and when deleting value * ip/network with netmask consistency now works * DomainnameOption now works * if no validation, don't set cache for value * symlinkoption: remove path (not used) Emmanuel Garette 2013-05-08 18:14:42 +0200
  • 1b29793e0f compare option Emmanuel Garette 2013-05-05 21:43:19 +0200
  • 2d57ed160e work on MetaConfig Emmanuel Garette 2013-05-02 11:34:57 +0200
  • 9ceaa4b235 tiramisu/i18n.py: pep8 compliants Emmanuel Garette 2013-05-02 11:23:47 +0200
  • bcfc0cd41b tiramisu/setting.py: _get_properties and validate_properties are now more easier to read and has best performance Emmanuel Garette 2013-05-02 11:23:04 +0200
  • 2c5bbb7bc0 Requires need option, not path Valid requires Emmanuel Garette 2013-04-26 14:40:44 +0200
  • 509f41e14c missing properties in PropertiesOptionError Emmanuel Garette 2013-04-24 17:40:16 +0200
  • f28288fbba In make_dict check PropertyConfigError for OptionDescription Emmanuel Garette 2013-04-24 11:47:01 +0200
  • f0ef1734f4 add a test for force_store_value in read_only mode Emmanuel Garette 2013-04-23 19:01:03 +0200
  • 2e21f13387 force_store_value store value but not in write mode Emmanuel Garette 2013-04-23 16:43:31 +0200
  • b7580125a5 Merge branch 'master' of git://git.labs.libre-entreprise.org/tiramisu Philippe Caseiro 2013-04-23 16:30:45 +0200
  • a57e89c82d * Makefile : Installation des fichiers de langue Philippe Caseiro 2013-04-23 16:20:02 +0200
  • e8bc84ab33 Ajout des fichiers de traduction et mise à jour de i18n.py Philippe Caseiro 2013-04-23 14:08:17 +0200
  • 604cb0339e 'make test' deleted gwen 2013-04-23 14:14:19 +0200
  • 7cd44d6886 remove an unused callback in test Emmanuel Garette 2013-04-23 11:41:16 +0200
  • 20fe56e03d tiramisu/values: _empty should not validate with defaultvalue, defaultvalue is already in value Emmanuel Garette 2013-04-23 10:41:47 +0200
  • e5de0234c2 don't raise if check_disabled is True Emmanuel Garette 2013-04-22 20:42:54 +0200
  • ec88d817ae missing import Emmanuel Garette 2013-04-22 16:48:56 +0200
  • 1fd5f685de callback must be a function and validator support same paramaters has callback Emmanuel Garette 2013-04-22 16:48:13 +0200
  • e883e5b89e remove _setoption in SymLinkOption objimpl_ => optimpl_ ConflictConfigError => ConflictError add read_write/read_only/getowner in Config Emmanuel Garette 2013-04-22 09:19:05 +0200
  • 682d9fe207 add option name's validation and rename Option method with objimpl_ Emmanuel Garette 2013-04-20 21:58:52 +0200
  • d4ef47759e Manipulate properties is now more convenient: Emmanuel Garette 2013-04-20 17:30:05 +0200
  • 54fe8d0f4b cache for properties is now in get_properties and not for validate_properties Emmanuel Garette 2013-04-20 11:25:14 +0200
  • a11768ef43 remove expired cache with config.cfgimpl_reset_cache(True) Emmanuel Garette 2013-04-19 22:42:33 +0200
  • d7b5d9dc16 add SlaveError for slave's length Emmanuel Garette 2013-04-19 20:23:34 +0200
  • 410add6a2a add SlaveError for slave's length Emmanuel Garette 2013-04-19 20:10:55 +0200
  • e08bd93cd8 all multi gestion is now in Multi Emmanuel Garette 2013-04-18 23:06:14 +0200
  • 324c3d2cf6 * to "reset" a value, now you just have to delete it config.unwrap_from_path("string").reset(config) => del(config.string) * add cache for value/setting to 5 secds to "reset" cache just do: config.cfgimpl_clean_cache() * can desactivate cache by removing "expire" property Emmanuel Garette 2013-04-18 20:26:40 +0200
  • d5e1cb6576 pass force_properties to value's _setitem and remove config's setoption Emmanuel Garette 2013-04-17 23:19:53 +0200
  • 5e67522f91 _empty is u'' for UnicodeOption Emmanuel Garette 2013-04-17 22:06:10 +0200
  • eea96cc3d1 MultiTypeError => ValueError Emmanuel Garette 2013-04-17 21:57:06 +0200
  • 80438b1495 Rename AmbigousOptionError as ConflictOptionError Emmanuel Garette 2013-04-17 21:50:31 +0200
  • 3170237c8e properties validation not in setting and now launch when modify multi Emmanuel Garette 2013-04-17 21:33:34 +0200
  • 656b751995 mandatory is a true property (no more MandatoryError) + tests Emmanuel Garette 2013-04-16 22:44:16 +0200
  • 6097f3af84 only catch PropertiesOptionError Emmanuel Garette 2013-04-16 12:04:20 +0200
  • 16801ad1b2 SubConfig: first argument must be a OD Emmanuel Garette 2013-04-16 11:51:48 +0200
  • 90999585fa auto_store_value => force_store_value Emmanuel Garette 2013-04-16 11:30:02 +0200
  • 447c175b6a Add "force_store_value" property. If set, store, for example, calculated value as owner values. So calculated value are calculate only one time. Emmanuel Garette 2013-04-16 09:45:42 +0200
  • 1f0bb88bc1 add cons_lower + DomainnameOption Emmanuel Garette 2013-04-16 09:34:00 +0200
  • 9357b342c1 review exception Emmanuel Garette 2013-04-14 12:01:32 +0200
  • fbcbbfbd2b consistencies now a list Emmanuel Garette 2013-04-14 10:14:06 +0200
  • 9644dd3661 add gettext support Emmanuel Garette 2013-04-13 23:09:05 +0200
  • 9c2dcc164c attribute in Option now starts with '_' add ValidateError add consistancies in Option remove byattr in find Emmanuel Garette 2013-04-13 22:50:55 +0200
  • 26568dc45a Values validate now value Emmanuel Garette 2013-04-11 11:30:58 +0200
  • 0c5ab9df18 don't launch apply_requires more than needed Emmanuel Garette 2013-04-08 16:12:23 +0200
  • 67e67a5020 NoValueReturn is not needed now + apply_requires is now in settings Emmanuel Garette 2013-04-08 16:05:56 +0200
  • d8b68fa1ec suppress _cfgimpl_parent and _cfgimpl_get_path() from SubConfig Emmanuel Garette 2013-04-05 16:59:48 +0200
  • 88ea962d82 tiramisu/config.py: _cfgimpl_subconfigs is not used Emmanuel Garette 2013-04-05 12:31:50 +0200
  • d100d66548 tiramisu/config.py can specify return type for find ('option', 'value', 'path') and remove get Emmanuel Garette 2013-04-05 12:20:33 +0200
  • c918191d21 permissives are for a specified option not config Emmanuel Garette 2013-04-04 15:14:16 +0200
  • 9006dca09f set permissive to cfgimpl_get_home_by_path Emmanuel Garette 2013-04-04 12:16:18 +0200
  • e9902d8ce2 rewrite make_dict Emmanuel Garette 2013-04-04 11:24:00 +0200
  • ccac34b2db Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu Emmanuel Garette 2013-04-03 17:05:46 +0200