tiramisu.git
3 years agoupdate sqlalchemy storage for values et settings
Emmanuel Garette [Tue, 29 Mar 2016 07:31:00 +0000 (09:31 +0200)]
update sqlalchemy storage for values et settings

3 years agoValidation should return exception, not raises exception
Emmanuel Garette [Thu, 24 Mar 2016 18:43:41 +0000 (19:43 +0100)]
Validation should return exception, not raises exception

Don't check force_store_value for SymLinkOption

3 years agomaster.slave[-1] = val now works correctly
Emmanuel Garette [Mon, 21 Mar 2016 16:06:38 +0000 (17:06 +0100)]
master.slave[-1] = val now works correctly

3 years agopython 3.4 support
Emmanuel Garette [Sat, 19 Mar 2016 20:27:37 +0000 (21:27 +0100)]
python 3.4 support

3 years agovalid correctly consistencies for master/slaves
Emmanuel Garette [Fri, 18 Mar 2016 18:55:41 +0000 (19:55 +0100)]
valid correctly consistencies for master/slaves

3 years agotest: set force_permissive to append
Emmanuel Garette [Fri, 18 Mar 2016 15:41:59 +0000 (16:41 +0100)]
test: set force_permissive to append

3 years agoset force_permissive to append
Emmanuel Garette [Thu, 17 Mar 2016 22:16:21 +0000 (23:16 +0100)]
set force_permissive to append

3 years agosupport callback with propertyerror in master for mandatory_warnings
Emmanuel Garette [Thu, 17 Mar 2016 21:06:16 +0000 (22:06 +0100)]
support callback with propertyerror in master for mandatory_warnings

3 years agocallback could raises (not only returns)
Emmanuel Garette [Thu, 17 Mar 2016 18:14:02 +0000 (19:14 +0100)]
callback could raises (not only returns)

3 years agodon't check 'mandatory' setting for symlink
Emmanuel Garette [Wed, 16 Mar 2016 21:33:28 +0000 (22:33 +0100)]
don't check 'mandatory' setting for symlink

3 years agopath not already initialize
Emmanuel Garette [Mon, 14 Mar 2016 21:18:21 +0000 (22:18 +0100)]
path not already initialize

3 years agoupdate setup.py
Emmanuel Garette [Thu, 10 Mar 2016 13:50:27 +0000 (14:50 +0100)]
update setup.py

3 years agobetter support for setowner
Emmanuel Garette [Wed, 9 Mar 2016 14:48:14 +0000 (15:48 +0100)]
better support for setowner

3 years agosetitem for a slave only modify current value
Emmanuel Garette [Tue, 8 Mar 2016 22:18:42 +0000 (23:18 +0100)]
setitem for a slave only modify current value

3 years agoadd force_permissive to Values.is_default_owner
Emmanuel Garette [Mon, 7 Mar 2016 15:34:36 +0000 (16:34 +0100)]
add force_permissive to Values.is_default_owner

3 years agoforce_store_value is now used directly when configuration is loaded
Emmanuel Garette [Mon, 7 Mar 2016 15:13:41 +0000 (16:13 +0100)]
force_store_value is now used directly when configuration is loaded

3 years agocan set owner for a slave
Emmanuel Garette [Mon, 25 Jan 2016 15:22:28 +0000 (16:22 +0100)]
can set owner for a slave

3 years agosetattr instead of _setattr
Emmanuel Garette [Mon, 25 Jan 2016 14:57:34 +0000 (15:57 +0100)]
setattr instead of _setattr

3 years agocannot append properties for option with forbidden_set_properties
Emmanuel Garette [Mon, 25 Jan 2016 14:49:40 +0000 (15:49 +0100)]
cannot append properties for option with forbidden_set_properties

3 years agoremove try/except
Emmanuel Garette [Wed, 6 Jan 2016 21:37:11 +0000 (22:37 +0100)]
remove try/except

3 years agoremove all try/except
Emmanuel Garette [Sun, 3 Jan 2016 20:18:52 +0000 (21:18 +0100)]
remove all try/except

3 years agoremove some try/except + consistency not works with submulti
Emmanuel Garette [Sun, 3 Jan 2016 12:23:15 +0000 (13:23 +0100)]
remove some try/except + consistency not works with submulti

3 years agoremove a try/except
Emmanuel Garette [Thu, 31 Dec 2015 17:35:31 +0000 (18:35 +0100)]
remove a try/except

3 years agosimplify _setvalue
Emmanuel Garette [Thu, 31 Dec 2015 17:20:36 +0000 (18:20 +0100)]
simplify _setvalue

3 years agoremove some try/except
Emmanuel Garette [Wed, 30 Dec 2015 21:32:07 +0000 (22:32 +0100)]
remove some try/except

3 years agoremove some try/except
Emmanuel Garette [Mon, 28 Dec 2015 21:00:46 +0000 (22:00 +0100)]
remove some try/except

3 years agoremove some try/except
Emmanuel Garette [Mon, 28 Dec 2015 20:40:40 +0000 (21:40 +0100)]
remove some try/except

3 years agoremove some try/except
Emmanuel Garette [Sat, 26 Dec 2015 09:57:20 +0000 (10:57 +0100)]
remove some try/except

3 years agobetter support for dynoptiondescription
Emmanuel Garette [Wed, 23 Dec 2015 22:30:57 +0000 (23:30 +0100)]
better support for dynoptiondescription

3 years agoadd some optimisations
Emmanuel Garette [Tue, 22 Dec 2015 21:06:14 +0000 (22:06 +0100)]
add some optimisations

3 years agosome optimisations
Emmanuel Garette [Fri, 18 Dec 2015 22:35:45 +0000 (23:35 +0100)]
some optimisations

3 years agosome optimisation
Emmanuel Garette [Fri, 18 Dec 2015 21:44:46 +0000 (22:44 +0100)]
some optimisation

3 years agosimplification
Emmanuel Garette [Thu, 17 Dec 2015 21:41:57 +0000 (22:41 +0100)]
simplification

3 years ago_getmaster must use cached value
Emmanuel Garette [Wed, 16 Dec 2015 22:04:00 +0000 (23:04 +0100)]
_getmaster must use cached value

3 years agoadd some optimisation
Emmanuel Garette [Mon, 14 Dec 2015 22:37:15 +0000 (23:37 +0100)]
add some optimisation

3 years agoimprovemnt information
Emmanuel Garette [Mon, 30 Nov 2015 14:55:34 +0000 (15:55 +0100)]
improvemnt information

3 years agorequires could be apply to a slave and properties could be different
Emmanuel Garette [Sun, 29 Nov 2015 22:03:08 +0000 (23:03 +0100)]
requires could be apply to a slave and properties could be different

3 years agoimpl_get_values with calculated values and no context should return []
Emmanuel Garette [Thu, 26 Nov 2015 18:42:33 +0000 (19:42 +0100)]
impl_get_values with calculated values and no context should return []

3 years agouse python-coverage to delete dead part of code
Emmanuel Garette [Tue, 24 Nov 2015 09:58:19 +0000 (10:58 +0100)]
use python-coverage to delete dead part of code

3 years agoseparate value in slave
Emmanuel Garette [Thu, 19 Nov 2015 21:25:00 +0000 (22:25 +0100)]
separate value in slave

3 years agoextend properties must save setting only if all properties are correct
Emmanuel Garette [Sun, 1 Nov 2015 10:12:27 +0000 (11:12 +0100)]
extend properties must save setting only if all properties are correct

3 years agosetting must have public method to get getproperties with path
Emmanuel Garette [Sun, 1 Nov 2015 09:57:36 +0000 (10:57 +0100)]
setting must have public method to get getproperties with path

3 years agounserialise information and requires attribute
Emmanuel Garette [Sun, 1 Nov 2015 09:35:17 +0000 (10:35 +0100)]
unserialise information and requires attribute

3 years agosupport multi when picklise object
Emmanuel Garette [Fri, 30 Oct 2015 21:51:36 +0000 (22:51 +0100)]
support multi when picklise object

3 years agosupport context param in picklisation
Emmanuel Garette [Fri, 30 Oct 2015 21:49:57 +0000 (22:49 +0100)]
support context param in picklisation

3 years agooptimise mandatory_warnings
Emmanuel Garette [Thu, 29 Oct 2015 08:03:13 +0000 (09:03 +0100)]
optimise mandatory_warnings

3 years agovalid properties for slaves when set or append a master's value
Emmanuel Garette [Mon, 26 Oct 2015 14:39:07 +0000 (15:39 +0100)]
valid properties for slaves when set or append a master's value

4 years agodomainname with only one character is now allowed
Emmanuel Garette [Mon, 12 Oct 2015 15:06:15 +0000 (17:06 +0200)]
domainname with only one character is now allowed

4 years agocheck with option as parameter
Emmanuel Garette [Thu, 17 Sep 2015 19:25:32 +0000 (21:25 +0200)]
check with option as parameter

4 years agoneed new settings when create fake_config
Emmanuel Garette [Thu, 17 Sep 2015 17:14:56 +0000 (19:14 +0200)]
need new settings when create fake_config

4 years agoempty property only available for multi
Emmanuel Garette [Mon, 27 Jul 2015 07:32:42 +0000 (09:32 +0200)]
empty property only available for multi

4 years agoadd global 'empty' property, this property raise mandatory PropertiesOptionError...
Emmanuel Garette [Sun, 26 Jul 2015 16:55:21 +0000 (18:55 +0200)]
add global 'empty' property, this property raise mandatory PropertiesOptionError if multi or master have empty value

4 years agoadd duplicate option to Config
Emmanuel Garette [Fri, 24 Jul 2015 16:05:51 +0000 (18:05 +0200)]
add duplicate option to Config

4 years agoremove pep8 validation errors
Emmanuel Garette [Fri, 24 Jul 2015 15:54:10 +0000 (17:54 +0200)]
remove pep8 validation errors

4 years agoSome optimisations
Emmanuel Garette [Sun, 3 May 2015 07:56:03 +0000 (09:56 +0200)]
Some optimisations

4 years agofor a multi mandatory, allow [] with allow_empty_list attribut
Emmanuel Garette [Mon, 20 Apr 2015 12:49:43 +0000 (14:49 +0200)]
for a multi mandatory, allow [] with allow_empty_list attribut

4 years agoURLOption: allow uppercase in resource name
Emmanuel Garette [Sun, 19 Apr 2015 07:46:39 +0000 (09:46 +0200)]
URLOption: allow uppercase in resource name

4 years agoremove slave values when delete a master without value
Emmanuel Garette [Sun, 19 Apr 2015 07:37:46 +0000 (09:37 +0200)]
remove slave values when delete a master without value

4 years agodifference between option/optiondescription in PropertiesOptionError message
Emmanuel Garette [Sun, 19 Apr 2015 07:25:49 +0000 (09:25 +0200)]
difference between option/optiondescription in PropertiesOptionError message

4 years agovalid Option is an unicode or a string if needed
Emmanuel Garette [Sun, 19 Apr 2015 07:15:18 +0000 (09:15 +0200)]
valid Option is an unicode or a string if needed

4 years agoValueError if not PropertieError
Emmanuel Garette [Sat, 18 Apr 2015 21:46:37 +0000 (23:46 +0200)]
ValueError if not PropertieError

4 years agoability to disable warnings validation
Emmanuel Garette [Sat, 18 Apr 2015 21:11:57 +0000 (23:11 +0200)]
ability to disable warnings validation

4 years agorefactor validation
Emmanuel Garette [Sat, 18 Apr 2015 20:53:45 +0000 (22:53 +0200)]
refactor validation

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