Commit Graph

  • 54fe8d0f4b cache for properties is now in get_properties and not for validate_properties Emmanuel Garette 2013-04-20 11:25:14 +02:00
  • a11768ef43 remove expired cache with config.cfgimpl_reset_cache(True) Emmanuel Garette 2013-04-19 22:42:33 +02:00
  • d7b5d9dc16 add SlaveError for slave's length Emmanuel Garette 2013-04-19 20:23:34 +02:00
  • 410add6a2a add SlaveError for slave's length Emmanuel Garette 2013-04-19 20:10:55 +02:00
  • e08bd93cd8 all multi gestion is now in Multi Emmanuel Garette 2013-04-18 23:06:14 +02:00
  • 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 +02:00
  • d5e1cb6576 pass force_properties to value's _setitem and remove config's setoption Emmanuel Garette 2013-04-17 23:19:53 +02:00
  • 5e67522f91 _empty is u'' for UnicodeOption Emmanuel Garette 2013-04-17 22:06:10 +02:00
  • eea96cc3d1 MultiTypeError => ValueError Emmanuel Garette 2013-04-17 21:57:06 +02:00
  • 80438b1495 Rename AmbigousOptionError as ConflictOptionError Emmanuel Garette 2013-04-17 21:50:31 +02:00
  • 3170237c8e properties validation not in setting and now launch when modify multi Emmanuel Garette 2013-04-17 21:33:34 +02:00
  • 656b751995 mandatory is a true property (no more MandatoryError) + tests Emmanuel Garette 2013-04-16 22:44:16 +02:00
  • 6097f3af84 only catch PropertiesOptionError Emmanuel Garette 2013-04-16 12:04:20 +02:00
  • 16801ad1b2 SubConfig: first argument must be a OD Emmanuel Garette 2013-04-16 11:51:48 +02:00
  • 90999585fa auto_store_value => force_store_value Emmanuel Garette 2013-04-16 11:30:02 +02:00
  • 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 +02:00
  • 1f0bb88bc1 add cons_lower + DomainnameOption Emmanuel Garette 2013-04-16 09:34:00 +02:00
  • 9357b342c1 review exception Emmanuel Garette 2013-04-14 12:01:32 +02:00
  • fbcbbfbd2b consistencies now a list Emmanuel Garette 2013-04-14 10:14:06 +02:00
  • 9644dd3661 add gettext support Emmanuel Garette 2013-04-13 23:09:05 +02:00
  • 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 +02:00
  • 26568dc45a Values validate now value Emmanuel Garette 2013-04-11 11:30:58 +02:00
  • 0c5ab9df18 don't launch apply_requires more than needed Emmanuel Garette 2013-04-08 16:12:23 +02:00
  • 67e67a5020 NoValueReturn is not needed now + apply_requires is now in settings Emmanuel Garette 2013-04-08 16:05:56 +02:00
  • d8b68fa1ec suppress _cfgimpl_parent and _cfgimpl_get_path() from SubConfig Emmanuel Garette 2013-04-05 16:59:48 +02:00
  • 88ea962d82 tiramisu/config.py: _cfgimpl_subconfigs is not used Emmanuel Garette 2013-04-05 12:31:50 +02:00
  • d100d66548 tiramisu/config.py can specify return type for find ('option', 'value', 'path') and remove get Emmanuel Garette 2013-04-05 12:20:33 +02:00
  • c918191d21 permissives are for a specified option not config Emmanuel Garette 2013-04-04 15:14:16 +02:00
  • 9006dca09f set permissive to cfgimpl_get_home_by_path Emmanuel Garette 2013-04-04 12:16:18 +02:00
  • e9902d8ce2 rewrite make_dict Emmanuel Garette 2013-04-04 11:24:00 +02:00
  • ccac34b2db Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu Emmanuel Garette 2013-04-03 17:05:46 +02:00
  • 6105191d9c tiramisu/value.py : self.opt => opt + disable permissive in read_write mode Emmanuel Garette 2013-04-03 17:05:41 +02:00
  • e75d6abad1 test_option_has_an_api_name temporarily disabled gwen 2013-04-03 16:01:53 +02:00
  • e6f00948f3 optimisations and all is properties Emmanuel Garette 2013-04-03 12:20:26 +02:00
  • 8181d1b596 build cache builds correctly now gwen 2013-03-27 17:01:20 +01:00
  • 201f9d6db4 remise en fonction des self._cfgimpl_slots Garette Emmanuel 2013-03-27 16:41:22 +01:00
  • d00153787d Le cache des paths est dans l'OptionDescription Utilisation des slots pour la Config Garette Emmanuel 2013-03-27 16:16:15 +01:00
  • 899f864f8d works on performante Garette Emmanuel 2013-03-26 10:29:49 +01:00
  • 4f3db9cbc6 support break in iterator Garette Emmanuel 2013-03-25 14:21:30 +01:00
  • 39c8e2eb0b add import and name => opt._name Garette Emmanuel 2013-03-25 11:45:21 +01:00
  • f6a14e3223 add UnicodeOption Garette Emmanuel 2013-03-20 12:37:27 +01:00
  • ccf75aac89 tests for get_home_by_paths gwen 2013-03-15 09:24:43 +01:00
  • 087f7e3a75 cfgimpl_permissive is not the permissive param Garette Emmanuel 2013-03-14 17:51:51 +01:00
  • 9e81ae4737 get_home_by_path is a public method Garette Emmanuel 2013-03-14 16:07:26 +01:00
  • 15beeda0f0 add permissive in config Garette Emmanuel 2013-03-14 11:31:44 +01:00
  • 783e982c9b informations attribute finally works Garette Emmanuel 2013-03-13 11:29:29 +01:00
  • e1357fd5c5 adds information attribute to an option Garette Emmanuel 2013-03-12 17:45:28 +01:00
  • 729feb3239 adds information attribute to an option Garette Emmanuel 2013-03-12 16:54:39 +01:00
  • 11ad037af9 iter on all objects gwen 2013-03-07 11:02:18 +01:00
  • 9b3eb33d27 generate correct len for slave if no value Garette Emmanuel 2013-03-06 17:17:33 +01:00
  • c26b0ca12b Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu gwen 2013-03-06 09:34:07 +01:00
  • 4660f58608 valid name accepts only str type gwen 2013-03-06 09:22:56 +01:00
  • e360a07a21 BaseType refactoring gwen 2013-03-01 13:10:52 +01:00
  • df3753c36b finally a getvalue without a getattr gwen 2013-02-27 11:09:13 +01:00
  • c40d33fec3 type shall not be a list gwen 2013-02-27 08:50:41 +01:00
  • 1f1e5e5d26 type shall not be a list gwen 2013-02-26 17:04:41 +01:00
  • e515ec145d type shall not be a list gwen 2013-02-26 16:58:44 +01:00
  • 151bc83ba5 previous value api gwen 2013-02-26 14:56:15 +01:00
  • 762b0e9c69 is_empty gwen 2013-02-26 14:31:45 +01:00
  • 8be48e5eba pep8 gwen 2013-02-25 16:24:30 +01:00
  • eb632c002d option names shall be valid names gwen 2013-02-25 16:06:10 +01:00
  • a02cb26d5f masterlen > instead of != gwen 2013-02-25 15:52:10 +01:00
  • ea7d297c9b private method _get_multitype() gwen 2013-02-25 15:12:09 +01:00
  • 77633c84ce private method _get_multitype() gwen 2013-02-25 14:27:12 +01:00
  • 7b4f3b5d36 option's name shall not have an api's method name gwen 2013-02-25 11:33:20 +01:00
  • 8f4efe6b00 add masters/slaves in the Values() gwen 2013-02-22 11:09:17 +01:00
  • e6d5d349c8 refactoring values gwen 2013-02-21 17:07:00 +01:00
  • d058e2946b doc theme gwen 2013-02-19 16:32:31 +01:00
  • a619085530 doc theme gwen 2013-02-19 16:24:13 +01:00
  • b69ecbd2eb update of the doc gwen 2013-02-19 11:24:17 +01:00
  • a8e6bac87f refactoring, the values are in an OptionValues object gwen 2013-02-08 11:50:22 +01:00
  • 9259a6e3f7 values are in value objects now gwen 2013-02-07 16:20:21 +01:00
  • 29914051e0 master groups that have multis gwen 2013-02-06 17:19:56 +01:00
  • a404c4c992 masters shall have the same names as groups gwen 2013-02-06 16:21:30 +01:00
  • 6a3b7102b5 adds a freeze_everything possibility gwen 2013-02-06 14:59:24 +01:00
  • d00a623fc1 validator set to false for read_write in setting gwen 2013-02-06 14:34:12 +01:00
  • 2cb3ddf2e8 Fix line wrapping and some raise messages spacing Daniel Dehennin 2013-01-31 17:01:10 +01:00
  • 03baedd4dd Fix appending to a non-grouped multi Daniel Dehennin 2013-01-31 16:57:15 +01:00
  • 170698a5e3 Find breaks on "disabled" property Daniel Dehennin 2013-01-31 14:38:48 +01:00
  • f494bb1502 Better raise message Daniel Dehennin 2013-01-30 18:04:25 +01:00
  • 184c48db8c Do not append default value on already defined multi slaves Daniel Dehennin 2013-01-30 18:03:15 +01:00
  • 064bed9efa Fix infinite recursion on calculated master of multi variable Daniel Dehennin 2013-01-30 14:51:29 +01:00
  • deaa0942ff Remove useless returns and variables Daniel Dehennin 2013-01-30 09:19:48 +01:00
  • f267073e0d Variable "ret" referenced before assignment Daniel Dehennin 2013-01-29 15:21:31 +01:00
  • e2a02c5b7a find raises an exception if no option found Fixes #4721 gwen 2013-01-28 09:55:51 +01:00
  • c66dcd09ee substitute properties/permissivers in apply_requries gwen 2013-01-28 09:33:08 +01:00
  • 189053ad03 master subgroups that have subgroups gwen 2013-01-11 09:46:41 +01:00
  • f9d6f62a70 multi defaults value addition cinematics gwen 2013-01-10 12:03:59 +01:00
  • e70054c4d4 owners for multi options gwen 2012-12-11 16:22:02 +01:00
  • cda5d8c0bd generic owners shall live in settings gwen 2012-12-11 11:18:53 +01:00
  • ca2f4487dd add owner gwen 2012-12-10 14:38:25 +01:00
  • cd50cf7551 owners are *real* objects now gwen 2012-12-10 14:10:05 +01:00
  • 07d3cb1037 constants heritage gwen 2012-12-10 09:53:13 +01:00
  • e118f07539 groupe_types are real types now gwen 2012-12-06 18:14:57 +01:00
  • 9736298ba2 tests on groups/masters allowed groups gwen 2012-12-06 15:19:43 +01:00
  • 69d747baec comments on the code gwen 2012-12-05 11:12:04 +01:00
  • 7574ac43aa Multi()'s and append gwen 2012-12-05 10:54:32 +01:00
  • 7784a82cde tests on group types gwen 2012-12-05 09:41:53 +01:00
  • 0db34bbeba master len without getattr gwen 2012-12-04 16:22:39 +01:00
  • 6538231817 pop and append in multi values gwen 2012-12-04 15:18:13 +01:00