tiramisu.git
4 years agovalid default/callback value in consistencies
Emmanuel Garette [Sun, 8 Mar 2015 11:03:49 +0000 (12:03 +0100)]
valid default/callback value in consistencies

4 years agotest uppercase character before valid domain name for better error message
Emmanuel Garette [Sun, 7 Dec 2014 13:51:51 +0000 (14:51 +0100)]
test uppercase character before valid domain name for better error message

4 years agomandatory master/slave's consistency with default value as slave
Emmanuel Garette [Sun, 7 Dec 2014 13:39:23 +0000 (14:39 +0100)]
mandatory master/slave's consistency with default value as slave

4 years agoin_network's consistency now verify that IP is not network or broadcast's IP + ip_net...
Emmanuel Garette [Mon, 1 Dec 2014 22:16:00 +0000 (23:16 +0100)]
in_network's consistency now verify that IP is not network or broadcast's IP + ip_netmask's consistency now verify that IP is not broadcast's IP

4 years agocan reset slave value in all case when deleting master value
Emmanuel Garette [Mon, 1 Dec 2014 22:08:56 +0000 (23:08 +0100)]
can reset slave value in all case when deleting master value

4 years agoif consistency with multiple option return if transitive
Emmanuel Garette [Mon, 1 Dec 2014 22:02:55 +0000 (23:02 +0100)]
if consistency with multiple option return if transitive

4 years agopropertyerror are transitive in consistency, now it's possible to set non-transitive...
Emmanuel Garette [Mon, 1 Dec 2014 21:58:53 +0000 (22:58 +0100)]
propertyerror are transitive in consistency, now it's possible to set non-transitive consistency

4 years agoimprove GroupConfig/MetaConfig
Emmanuel Garette [Mon, 1 Dec 2014 20:49:50 +0000 (21:49 +0100)]
improve GroupConfig/MetaConfig
add set_value in GroupConfig

4 years agoin find_firsts get option only one time
Emmanuel Garette [Tue, 11 Nov 2014 10:31:23 +0000 (11:31 +0100)]
in find_firsts get option only one time

4 years agoimprove performance
Emmanuel Garette [Mon, 10 Nov 2014 22:15:08 +0000 (23:15 +0100)]
improve performance

4 years agobetter performance in find_firsts
Emmanuel Garette [Mon, 10 Nov 2014 20:00:30 +0000 (21:00 +0100)]
better performance in find_firsts
_is_build_cache not set in dictionary storage

4 years agoworks on sqlalchemy storage
Emmanuel Garette [Mon, 10 Nov 2014 08:13:44 +0000 (09:13 +0100)]
works on sqlalchemy storage

4 years agoadd force_permissive in mandatory_warnings
Emmanuel Garette [Sun, 26 Oct 2014 15:39:24 +0000 (16:39 +0100)]
add force_permissive in mandatory_warnings

4 years agopass force_permissive to slave for a master or to master for a slave
Emmanuel Garette [Sun, 26 Oct 2014 15:19:06 +0000 (16:19 +0100)]
pass force_permissive to slave for a master or to master for a slave

4 years agoadd force_permissive to config __iter__
Emmanuel Garette [Sun, 26 Oct 2014 09:26:23 +0000 (10:26 +0100)]
add force_permissive to config __iter__

4 years agofrozen with force_default_on_freeze can change owner
Emmanuel Garette [Sun, 26 Oct 2014 08:44:06 +0000 (09:44 +0100)]
frozen with force_default_on_freeze can change owner

4 years agobad characters in DomainnameOption could be in warning level
Emmanuel Garette [Sun, 26 Oct 2014 08:38:17 +0000 (09:38 +0100)]
bad characters in DomainnameOption could be in warning level

4 years agof option is frozen with force_default_on_freeze property, owner must be 'default...
Emmanuel Garette [Sun, 26 Oct 2014 07:51:45 +0000 (08:51 +0100)]
f option is frozen with force_default_on_freeze property, owner must be 'default' check property when tried to change owner

4 years agoadd consistency name in error if consistency not exists
Emmanuel Garette [Sat, 25 Oct 2014 21:00:04 +0000 (23:00 +0200)]
add consistency name in error if consistency not exists

4 years agoallow number as first letter of a domainname with netbios type
Emmanuel Garette [Sat, 25 Oct 2014 20:58:46 +0000 (22:58 +0200)]
allow number as first letter of a domainname with netbios type

4 years agocannot add unvalaible consistency for an option
Emmanuel Garette [Sat, 25 Oct 2014 20:50:43 +0000 (22:50 +0200)]
cannot add unvalaible consistency for an option

4 years agocannot add unvalaible consistency for an option
Emmanuel Garette [Sat, 25 Oct 2014 20:47:40 +0000 (22:47 +0200)]
cannot add unvalaible consistency for an option

4 years agotiramisu/i18n.py : Removing call of gettext.install
Philippe Caseiro [Thu, 24 Apr 2014 15:30:52 +0000 (17:30 +0200)]
tiramisu/i18n.py : Removing call of gettext.install

This call make translation fail in gen_config, the new way to use
gettext don't need to use this call.

Conflicts:
tiramisu/i18n.py

4 years agoreplace ugettext by a simple gettext
gwen [Thu, 24 Apr 2014 14:39:16 +0000 (16:39 +0200)]
replace ugettext by a simple gettext

4 years agoi18n with ugettext instead of gettext
gwen [Tue, 22 Apr 2014 15:36:07 +0000 (17:36 +0200)]
i18n with ugettext instead of gettext

4 years agoreduce memory usage
Emmanuel Garette [Sat, 25 Oct 2014 20:11:31 +0000 (22:11 +0200)]
reduce memory usage

5 years agobetter support for sqlalchemy storage
Emmanuel Garette [Sun, 6 Jul 2014 13:35:13 +0000 (15:35 +0200)]
better support for sqlalchemy storage

5 years agobetter support for sqlalchemy storage
Emmanuel Garette [Sun, 6 Jul 2014 13:31:57 +0000 (15:31 +0200)]
better support for sqlalchemy storage

5 years agoadd TIRAMISU_STORAGE environment variable
Emmanuel Garette [Fri, 20 Jun 2014 14:29:38 +0000 (16:29 +0200)]
add TIRAMISU_STORAGE environment variable

5 years agoadd DynOptionDescription
Emmanuel Garette [Thu, 19 Jun 2014 21:22:39 +0000 (23:22 +0200)]
add DynOptionDescription

5 years agoremove unjustified open_values parameters in ChoiceOption
Emmanuel Garette [Sun, 27 Apr 2014 08:44:19 +0000 (10:44 +0200)]
remove unjustified open_values parameters in ChoiceOption

5 years agoValues in ChoiceOption can be a function now
Emmanuel Garette [Sun, 27 Apr 2014 08:32:40 +0000 (10:32 +0200)]
Values in ChoiceOption can be a function now

5 years agoadd SubMulti
Emmanuel Garette [Fri, 25 Apr 2014 20:57:08 +0000 (22:57 +0200)]
add SubMulti

5 years agoforce_store_value now support Multi
Emmanuel Garette [Fri, 18 Apr 2014 19:33:15 +0000 (21:33 +0200)]
force_store_value now support Multi

5 years agoreport/generate.py: corrections
Emmanuel Garette [Thu, 17 Apr 2014 16:47:48 +0000 (18:47 +0200)]
report/generate.py: corrections

5 years ago'getattr' in optiondescription can return a bound method
Emmanuel Garette [Tue, 15 Apr 2014 19:48:31 +0000 (21:48 +0200)]
'getattr' in optiondescription can return a bound method

5 years agouncomment more test
Emmanuel Garette [Mon, 14 Apr 2014 21:00:37 +0000 (23:00 +0200)]
uncomment more test

5 years agowe can pickle object
Emmanuel Garette [Mon, 14 Apr 2014 20:53:40 +0000 (22:53 +0200)]
we can pickle object

5 years agoadd consistencies's storage
Emmanuel Garette [Sun, 13 Apr 2014 08:35:43 +0000 (10:35 +0200)]
add consistencies's storage

5 years agoMerge branch 'orm' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu into orm
Emmanuel Garette [Sun, 13 Apr 2014 08:31:51 +0000 (10:31 +0200)]
Merge branch 'orm' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu into orm

5 years agoMerge branch 'master' into orm
Emmanuel Garette [Sun, 13 Apr 2014 08:30:42 +0000 (10:30 +0200)]
Merge branch 'master' into orm

Conflicts:
test/test_config_api.py
tiramisu/autolib.py
tiramisu/config.py
tiramisu/option.py
tiramisu/value.py

5 years agoadd missing file
Emmanuel Garette [Sat, 12 Apr 2014 21:13:28 +0000 (23:13 +0200)]
add missing file

5 years agostart works on storage
Emmanuel Garette [Sat, 12 Apr 2014 20:47:52 +0000 (22:47 +0200)]
start works on storage

5 years agochange None to undefined when it's needed
Emmanuel Garette [Sat, 12 Apr 2014 19:55:22 +0000 (21:55 +0200)]
change None to undefined when it's needed

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 agotests pass now with dictionary and sqlalchemy storage
Emmanuel Garette [Sun, 16 Feb 2014 22:37:27 +0000 (23:37 +0100)]
tests pass now with dictionary and sqlalchemy storage

5 years agocomment state test
Emmanuel Garette [Thu, 6 Feb 2014 21:25:04 +0000 (22:25 +0100)]
comment state test

5 years agoMerge branch 'master' into orm
Emmanuel Garette [Thu, 6 Feb 2014 21:21:22 +0000 (22:21 +0100)]
Merge branch 'master' into orm

Conflicts:
test/test_option_consistency.py
test/test_state.py
tiramisu/option.py

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 agoset self._extra before 'super'
Emmanuel Garette [Tue, 4 Feb 2014 20:55:57 +0000 (21:55 +0100)]
set self._extra before 'super'

5 years agoMerge branch 'master' into orm
Emmanuel Garette [Tue, 4 Feb 2014 20:48:20 +0000 (21:48 +0100)]
Merge branch 'master' into orm

Conflicts:
tiramisu/config.py
tiramisu/option.py