tiramisu.git
5 years agoArity change, remove force_properties:
Emmanuel Garette [Sat, 12 Apr 2014 19:37:20 +0000 (21:37 +0200)]
Arity change, remove force_properties:

 * tiramisu/config.py (in cfgimpl_get_home_by_path and getattr)
 * tiramisu/value.py (in getitem):

5 years agosplit tiramisu/option.py and add MasterSlaves object
Emmanuel Garette [Sat, 12 Apr 2014 09:53:58 +0000 (11:53 +0200)]
split tiramisu/option.py and add MasterSlaves object

5 years agoMerge branch 'log'
Emmanuel Garette [Thu, 3 Apr 2014 20:16:08 +0000 (22:16 +0200)]
Merge branch 'log'

5 years agoadd logger in validation
Emmanuel Garette [Thu, 3 Apr 2014 20:15:41 +0000 (22:15 +0200)]
add logger in validation

5 years agoMerge modification made for 1.0's branch
Emmanuel Garette [Wed, 2 Apr 2014 10:06:11 +0000 (12:06 +0200)]
Merge modification made for 1.0's branch

5 years agoif slave has a callback with a slave that has a callback with a default_multi's slave...
Emmanuel Garette [Wed, 2 Apr 2014 10:04:50 +0000 (12:04 +0200)]
if slave has a callback with a slave that has a callback with a default_multi's slave, now it's works

5 years agoif opt is freeze with force_default_on_freeze, didn't remove store value
Emmanuel Garette [Tue, 1 Apr 2014 19:01:01 +0000 (21:01 +0200)]
if opt is freeze with force_default_on_freeze, didn't remove store value

5 years agoMerge branch '_getattr'
Emmanuel Garette [Tue, 1 Apr 2014 07:51:43 +0000 (09:51 +0200)]
Merge branch '_getattr'

5 years agosame arity for _getattr and getattr
Emmanuel Garette [Tue, 1 Apr 2014 07:51:25 +0000 (09:51 +0200)]
same arity for _getattr and getattr

5 years agoMerge branch 'mandatory'
Emmanuel Garette [Tue, 1 Apr 2014 07:29:34 +0000 (09:29 +0200)]
Merge branch 'mandatory'

5 years agoconfig.mandatory_warnings return always None
Emmanuel Garette [Tue, 1 Apr 2014 07:29:07 +0000 (09:29 +0200)]
config.mandatory_warnings return always None

5 years agoMerge branch 'force_permissive'
Emmanuel Garette [Mon, 31 Mar 2014 20:38:56 +0000 (22:38 +0200)]
Merge branch 'force_permissive'

Conflicts:
test/test_freeze.py

5 years agoadd force_permissive in config's method (iter_all, iter_group, find, find_first and...
Emmanuel Garette [Mon, 31 Mar 2014 20:34:57 +0000 (22:34 +0200)]
add force_permissive in config's method (iter_all, iter_group, find, find_first and make_dict)
rename _getattr to getattr

5 years agoMerge branch 'better_auto_save'
Emmanuel Garette [Sat, 29 Mar 2014 19:44:10 +0000 (20:44 +0100)]
Merge branch 'better_auto_save'

Conflicts:
test/test_freeze.py
tiramisu/option.py
translations/fr/tiramisu.po
translations/tiramisu.pot

5 years agoproperties are check now in getowner
Emmanuel Garette [Sat, 29 Mar 2014 19:31:56 +0000 (20:31 +0100)]
properties are check now in getowner
get_modified_values works good with force_store_value

5 years agoforce_store_value works now with permissive
Emmanuel Garette [Fri, 28 Mar 2014 16:35:27 +0000 (17:35 +0100)]
force_store_value works now with permissive

5 years agoforce_store_value works now with permissive
Emmanuel Garette [Fri, 28 Mar 2014 16:35:27 +0000 (17:35 +0100)]
force_store_value works now with permissive

5 years agoupdate translation
Emmanuel Garette [Wed, 26 Mar 2014 19:47:30 +0000 (20:47 +0100)]
update translation

5 years agoupdate translation
Emmanuel Garette [Wed, 26 Mar 2014 19:47:30 +0000 (20:47 +0100)]
update translation

5 years agocontext could be useful in a callback, now we can retrieve context in a function...
Emmanuel Garette [Wed, 26 Mar 2014 18:44:49 +0000 (19:44 +0100)]
context could be useful in a callback, now we can retrieve context in a function (be careful to infinite loop)

5 years agocontext could be useful in a callback, now we can retrieve context in a function...
Emmanuel Garette [Wed, 26 Mar 2014 18:44:49 +0000 (19:44 +0100)]
context could be useful in a callback, now we can retrieve context in a function (be careful to infinite loop)

5 years agoupdate warning's message
Emmanuel Garette [Mon, 24 Mar 2014 20:13:26 +0000 (21:13 +0100)]
update warning's message

5 years agoupdate warning's message
Emmanuel Garette [Mon, 24 Mar 2014 20:13:26 +0000 (21:13 +0100)]
update warning's message

5 years agonew version's files
Emmanuel Garette [Sat, 15 Mar 2014 09:20:48 +0000 (10:20 +0100)]
new version's files

5 years agoMerge branch 'master' into lgpl
Emmanuel Garette [Sat, 15 Mar 2014 09:11:17 +0000 (10:11 +0100)]
Merge branch 'master' into lgpl

5 years agoMerge branch 'master' into force-cache
Emmanuel Garette [Sat, 15 Mar 2014 09:09:19 +0000 (10:09 +0100)]
Merge branch 'master' into force-cache

Conflicts:
translations/fr/tiramisu.po
translations/tiramisu.pot

5 years agonow there are two warnings_only's level:
Emmanuel Garette [Thu, 13 Mar 2014 13:12:44 +0000 (14:12 +0100)]
now there are two warnings_only's level:
- option's level for validation and _second_level_validation
- consistencies level

5 years agoMerge branch 'master' into better_warnings
Emmanuel Garette [Wed, 12 Mar 2014 21:13:20 +0000 (22:13 +0100)]
Merge branch 'master' into better_warnings

5 years agoconsistencies can make a warning instead of raises
Emmanuel Garette [Wed, 12 Mar 2014 20:56:53 +0000 (21:56 +0100)]
consistencies can make a warning instead of raises
for that, you have to set something like:
  a.impl_add_consistency('not_equal', b, warnings_only=True)

warning product now adapted message

5 years agoadd test for consistency with callback
Emmanuel Garette [Wed, 12 Mar 2014 15:44:48 +0000 (16:44 +0100)]
add test for consistency with callback

5 years agocan make_dict with disabled suboption
Emmanuel Garette [Wed, 12 Mar 2014 13:57:36 +0000 (14:57 +0100)]
can make_dict with disabled suboption

5 years agoadd consistency in_network for IPOption
Emmanuel Garette [Tue, 11 Mar 2014 17:57:19 +0000 (18:57 +0100)]
add consistency in_network for IPOption

This new consistency can validate that an IPv4 is a specified (network/netmask) network

5 years agotest if cache property is not set in config when force_cache
Emmanuel Garette [Sun, 9 Mar 2014 19:22:29 +0000 (20:22 +0100)]
test if cache property is not set in config when force_cache

5 years agoupdate translation
Emmanuel Garette [Sun, 9 Mar 2014 19:16:38 +0000 (20:16 +0100)]
update translation

5 years agoMerge branch 'master' into force-cache
Emmanuel Garette [Sun, 9 Mar 2014 19:14:32 +0000 (20:14 +0100)]
Merge branch 'master' into force-cache

5 years agoupdate translation
Emmanuel Garette [Sun, 9 Mar 2014 19:14:17 +0000 (20:14 +0100)]
update translation

5 years agomandatory_warnings is now in values and add force_cache to values
Emmanuel Garette [Sun, 9 Mar 2014 19:06:44 +0000 (20:06 +0100)]
mandatory_warnings is now in values and add force_cache to values

5 years agoadd extend in config setting
Emmanuel Garette [Sat, 8 Mar 2014 17:53:22 +0000 (18:53 +0100)]
add extend in config setting

5 years agopep8
Emmanuel Garette [Thu, 6 Mar 2014 21:09:44 +0000 (22:09 +0100)]
pep8

5 years agoadd username's option
Emmanuel Garette [Thu, 6 Mar 2014 21:09:12 +0000 (22:09 +0100)]
add username's option

5 years agoMerge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu
gwen [Tue, 25 Feb 2014 15:19:49 +0000 (16:19 +0100)]
Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu

5 years agoa hostname shall not start with a number
gwen [Tue, 25 Feb 2014 14:20:03 +0000 (15:20 +0100)]
a hostname shall not start with a number

5 years agoallows a DomainnameOption to start with a number
gwen [Tue, 25 Feb 2014 13:19:54 +0000 (14:19 +0100)]
allows a DomainnameOption to start with a number

5 years agotiramisu/setting.py : properties store in cache was a reference to a list modified...
Emmanuel Garette [Thu, 20 Feb 2014 13:27:29 +0000 (14:27 +0100)]
tiramisu/setting.py : properties store in cache was a reference to a list modified in validation, should copy properties in cache

5 years agotiramisu/setting.py : properties store in cache was a reference to a list modified...
Emmanuel Garette [Thu, 20 Feb 2014 13:27:29 +0000 (14:27 +0100)]
tiramisu/setting.py : properties store in cache was a reference to a list modified in validation, should copy properties in cache

5 years agovalid port type before compare to min and max value
Emmanuel Garette [Mon, 17 Feb 2014 17:36:29 +0000 (18:36 +0100)]
valid port type before compare to min and max value

5 years agoproperties option in consistencies are now allowed
Emmanuel Garette [Thu, 6 Feb 2014 18:19:48 +0000 (19:19 +0100)]
properties option in consistencies are now allowed

Conflicts:
tiramisu/option.py (PortOption._validate): Strange try/except
removed.

5 years agomore tests
Emmanuel Garette [Thu, 6 Feb 2014 21:17:20 +0000 (22:17 +0100)]
more tests

5 years agoproperties option in consistencies are now allowed
Emmanuel Garette [Thu, 6 Feb 2014 18:19:48 +0000 (19:19 +0100)]
properties option in consistencies are now allowed

5 years agoMerge tag 'release/1.0_2.4.1'
Daniel Dehennin [Wed, 5 Feb 2014 10:22:17 +0000 (11:22 +0100)]
Merge tag 'release/1.0_2.4.1'

Hotfix release 1.0~2.4.1

5 years agoif option with requires has a property, calculated properties are store in storage
Emmanuel Garette [Tue, 4 Feb 2014 20:40:07 +0000 (21:40 +0100)]
if option with requires has a property, calculated properties are store in storage

5 years agoif option with requires has a property, calculated properties are store in storage
Emmanuel Garette [Tue, 4 Feb 2014 20:40:07 +0000 (21:40 +0100)]
if option with requires has a property, calculated properties are store in storage

5 years agoadd some tests
Emmanuel Garette [Tue, 4 Feb 2014 20:14:30 +0000 (21:14 +0100)]
add some tests

5 years agoadd tests
Emmanuel Garette [Sun, 2 Feb 2014 21:47:46 +0000 (22:47 +0100)]
add tests

5 years agoupdate test for metaconfig serialization
Emmanuel Garette [Sun, 2 Feb 2014 17:33:21 +0000 (18:33 +0100)]
update test for metaconfig serialization

5 years agoMerge branch 'master' into metaconfig
Emmanuel Garette [Sun, 2 Feb 2014 17:21:22 +0000 (18:21 +0100)]
Merge branch 'master' into metaconfig

5 years agotest for multi
Emmanuel Garette [Sun, 2 Feb 2014 17:21:09 +0000 (18:21 +0100)]
test for multi

5 years agowhen change len of calculated master, change len of slave too
Emmanuel Garette [Sun, 2 Feb 2014 17:20:01 +0000 (18:20 +0100)]
when change len of calculated master, change len of slave too

5 years agoadd tests for find()
Emmanuel Garette [Sat, 1 Feb 2014 16:25:31 +0000 (17:25 +0100)]
add tests for find()

5 years agoadd tests for find()
Emmanuel Garette [Sat, 1 Feb 2014 15:49:16 +0000 (16:49 +0100)]
add tests for find()

5 years agowarning and error messages not translated in the tests
gwen [Mon, 27 Jan 2014 13:55:53 +0000 (14:55 +0100)]
warning and error messages not translated in the tests

5 years agoupdate translation
Emmanuel Garette [Sat, 25 Jan 2014 10:40:04 +0000 (11:40 +0100)]
update translation

5 years agoif we delete all reference to a Config and we have reference to old SubConfig, Values...
Emmanuel Garette [Sat, 25 Jan 2014 10:20:11 +0000 (11:20 +0100)]
if we delete all reference to a Config and we have reference to old SubConfig, Values, Multi or Settings, make a ConfigError instead of AttributError on NoneType object

5 years agotypo propertive -> property
gwen [Fri, 24 Jan 2014 08:17:46 +0000 (09:17 +0100)]
typo propertive -> property

5 years agoregression: permissive for option is apply every time, not only when global permissiv...
Emmanuel Garette [Thu, 16 Jan 2014 08:49:37 +0000 (09:49 +0100)]
regression: permissive for option is apply every time, not only when global permissive is set

5 years agodocstring
gwen [Mon, 6 Jan 2014 14:32:28 +0000 (15:32 +0100)]
docstring

5 years agoadds test for an API
gwen [Mon, 6 Jan 2014 13:40:29 +0000 (14:40 +0100)]
adds test for an  API

5 years agoadds an extend API for the settings
gwen [Mon, 6 Jan 2014 13:32:56 +0000 (14:32 +0100)]
adds an extend API for the settings

5 years agomandatory_warnings never raises ConfigError
Emmanuel Garette [Mon, 16 Dec 2013 13:20:35 +0000 (14:20 +0100)]
mandatory_warnings never raises ConfigError

5 years agoadd more tests
Emmanuel Garette [Mon, 9 Dec 2013 17:56:29 +0000 (18:56 +0100)]
add more tests

5 years agoremove unused code
Emmanuel Garette [Mon, 9 Dec 2013 17:48:44 +0000 (18:48 +0100)]
remove unused code

5 years agoImportant behavior change : to add default_multi value, now use Multi.append(), not...
Emmanuel Garette [Mon, 9 Dec 2013 16:59:39 +0000 (17:59 +0100)]
Important behavior change : to add default_multi value, now use Multi.append(), not Multi.append(None)

5 years agobetter name's validation
Emmanuel Garette [Mon, 9 Dec 2013 16:55:52 +0000 (17:55 +0100)]
better name's validation

5 years agomore tests
Emmanuel Garette [Mon, 9 Dec 2013 14:43:45 +0000 (15:43 +0100)]
more tests

5 years agocheck if permissive is in global properties before allow permissive for an option
Emmanuel Garette [Mon, 9 Dec 2013 14:29:37 +0000 (15:29 +0100)]
check if permissive is in global properties before allow permissive for an option

5 years agoImportant behavior change in callback with multi.
Emmanuel Garette [Mon, 9 Dec 2013 14:08:14 +0000 (15:08 +0100)]
Important behavior change in callback with multi.

Before, tiramisu iterable multi's callback_params in all cases.
Now, this append only if multi's callback_params are in master/slave group.

6 years agoimprecise error message
gwen [Thu, 5 Dec 2013 08:59:07 +0000 (09:59 +0100)]
imprecise error message

6 years agoan error message has been deleted by error, ref #6740
gwen [Wed, 4 Dec 2013 14:55:53 +0000 (15:55 +0100)]
an error message has been deleted by error, ref #6740

6 years agoan error message has been deleted by error
gwen [Wed, 4 Dec 2013 14:48:19 +0000 (15:48 +0100)]
an error message has been deleted by error

6 years agovalidation of an ip if an ip term starts with a zero
gwen [Mon, 2 Dec 2013 14:10:05 +0000 (15:10 +0100)]
validation of an ip if an ip term starts with a zero

6 years agofind and find_first's new argument
gwen [Mon, 4 Nov 2013 16:15:47 +0000 (17:15 +0100)]
find and find_first's new argument

6 years agoadd imp_meta
Emmanuel Garette [Tue, 15 Oct 2013 16:23:36 +0000 (18:23 +0200)]
add imp_meta

6 years agoEmailOption and URLOption : let user choose attr for DomainnameOption
Emmanuel Garette [Tue, 1 Oct 2013 18:01:38 +0000 (20:01 +0200)]
EmailOption and URLOption : let user choose attr for DomainnameOption

6 years agocorrection in allow_without_dot + test
Emmanuel Garette [Tue, 1 Oct 2013 08:13:17 +0000 (10:13 +0200)]
correction in allow_without_dot + test

6 years agosome extra tests for filename
Emmanuel Garette [Tue, 1 Oct 2013 06:23:10 +0000 (08:23 +0200)]
some extra tests for filename

6 years agorename FileOption to FilenameOption
Emmanuel Garette [Tue, 1 Oct 2013 06:19:10 +0000 (08:19 +0200)]
rename FileOption to FilenameOption
python 3 support

6 years agoupdate invalid's message and display all informations when raises
Emmanuel Garette [Mon, 30 Sep 2013 20:56:08 +0000 (22:56 +0200)]
update invalid's message and display all informations when raises

6 years agoupdate invalid's message and display all informations when raises
Emmanuel Garette [Mon, 30 Sep 2013 20:50:49 +0000 (22:50 +0200)]
update invalid's message and display all informations when raises

6 years agoadd FileOption
Emmanuel Garette [Mon, 30 Sep 2013 19:21:47 +0000 (21:21 +0200)]
add FileOption

6 years agorefactor DomainnameOption
Emmanuel Garette [Mon, 30 Sep 2013 17:41:56 +0000 (19:41 +0200)]
refactor DomainnameOption
add options EmailOption and URLOption

6 years agoserialize metaconfig/groupconfig
Emmanuel Garette [Mon, 30 Sep 2013 14:22:08 +0000 (16:22 +0200)]
serialize metaconfig/groupconfig

6 years agoMerge branch 'master' into metaconfig
Emmanuel Garette [Sat, 28 Sep 2013 20:49:50 +0000 (22:49 +0200)]
Merge branch 'master' into metaconfig

6 years agoMerge branch 'master' into lgpl
Emmanuel Garette [Sat, 28 Sep 2013 18:08:52 +0000 (20:08 +0200)]
Merge branch 'master' into lgpl

6 years agoupdate translation
Emmanuel Garette [Sat, 28 Sep 2013 18:02:41 +0000 (20:02 +0200)]
update translation

6 years agoupdate translation
Emmanuel Garette [Sat, 28 Sep 2013 18:02:41 +0000 (20:02 +0200)]
update translation

6 years agoMerge branch 'master' into lgpl
Emmanuel Garette [Sat, 28 Sep 2013 16:43:46 +0000 (18:43 +0200)]
Merge branch 'master' into lgpl

6 years agotiramisu/option.py:
Emmanuel Garette [Sat, 28 Sep 2013 15:05:01 +0000 (17:05 +0200)]
tiramisu/option.py:
  separate _consistencies (for Option) and _cache_consistencies (for OptionDescription)
  _launch_consistency need index for multi's option
  _cons_not_equal support multi options

tiramisu/value.py:
  Multi._validate support consistency

6 years agoconsistancies can have more than one option
Emmanuel Garette [Fri, 27 Sep 2013 21:26:10 +0000 (23:26 +0200)]
consistancies can have more than one option
add _cons_broadcast

6 years agorefactor name only_private
gwen [Fri, 27 Sep 2013 09:28:23 +0000 (11:28 +0200)]
refactor name only_private

6 years agorefactor (warnings_only)
gwen [Fri, 27 Sep 2013 07:52:18 +0000 (09:52 +0200)]
refactor (warnings_only)