Emmanuel Garette
526fe892d0
merge ValueWarning | ValueOptionError | ValueErrorWarning
2019-02-12 21:08:53 +01:00
Emmanuel Garette
a59d25fc14
2018 => 2019
2019-02-12 06:55:47 +01:00
Emmanuel Garette
ca4d5e3e97
add demoting_error_warning properties
2018-12-24 09:30:58 +01:00
Emmanuel Garette
f9b9ccacf1
update tests
2018-12-08 00:02:23 +01:00
Emmanuel Garette
601c3fc54d
support new special property demoting_error_warning
2018-12-07 23:32:28 +01:00
Emmanuel Garette
f6bdd0c17e
symplify tiramisu/option/option.py
2018-11-15 18:35:14 +01:00
Emmanuel Garette
92b469bd43
simplify tiramisu/option/baseoption.py
2018-11-15 16:17:39 +01:00
Emmanuel Garette
8b3da4d37b
simplify tiramisu/option/masterslaves.py
2018-11-15 08:15:55 +01:00
Emmanuel Garette
184a086bc1
simplify tiramisu/option/syndynoption.py
2018-11-14 21:51:40 +01:00
Emmanuel Garette
974a178d4b
simplify tiramisu/option/optiondescription.py
2018-11-13 22:10:01 +01:00
Emmanuel Garette
1cda79154e
can remove prefix in ValueOptionError
2018-10-30 11:57:19 +01:00
Emmanuel Garette
fbff3d9ced
simplify optiondescription
2018-09-30 20:32:00 +02:00
Emmanuel Garette
e29e11b939
reorganise option.py
2018-09-30 11:36:09 +02:00
Emmanuel Garette
2c5d376219
remove debug from option.py
2018-09-30 11:26:33 +02:00
Emmanuel Garette
509d902e72
coverage
2018-09-29 21:58:41 +02:00
Emmanuel Garette
721ff8643d
display correct name in consistency
2018-09-16 21:28:18 +02:00
Emmanuel Garette
b31a94e449
simplify consistency validation
...
reorder function (logical order)
remove duplicate arity (context, config_bag, option_bag, ...)
master cannot have length lower than slave length
2018-09-16 11:40:54 +02:00
Emmanuel Garette
1d6e0c0dcd
submulti is not allowed for consistency
2018-09-15 22:49:36 +02:00
Emmanuel Garette
2d063f8170
coverages
2018-09-15 22:44:49 +02:00
Emmanuel Garette
cd7977eae6
coverage
2018-09-12 21:05:14 +02:00
Emmanuel Garette
09c9fa4906
context is not needed for impl_getpath
2018-09-06 23:16:17 +02:00
Emmanuel Garette
4b0c142e3e
synchronise config_bag and context
2018-09-06 23:06:56 +02:00
Emmanuel Garette
7fa9b0637e
do not duplicate valid_consistency
2018-09-05 20:22:53 +02:00
Emmanuel Garette
ec169a8dc6
optimisations
2018-09-04 08:36:02 +02:00
Emmanuel Garette
122796bd19
requires for a master is a required for the masterslaves + remove cache from masterslaves too
2018-09-02 11:55:19 +02:00
Emmanuel Garette
201f7d2592
add some tests for dynoptiondescription + correction
2018-08-19 09:20:20 +02:00
Emmanuel Garette
7340ceb173
bug: copy config_bag before add set_permissive
2018-08-18 16:11:12 +02:00
Emmanuel Garette
b381e0322f
force_permissive +> permissive
2018-08-18 08:06:29 +02:00
Emmanuel Garette
493cec1b80
setting_properties > properties
2018-08-18 07:51:04 +02:00
Emmanuel Garette
ee1f07ce7e
simplify config_bag
2018-08-17 23:11:25 +02:00
Emmanuel Garette
81666b6303
config is context in ConfigBag
2018-08-02 22:35:40 +02:00
Emmanuel Garette
41c17004d2
ConfigBag optimisation
2018-08-01 08:37:58 +02:00
Emmanuel Garette
50a2ab4186
can set valid value for an option with invalid consistency
2018-06-02 08:35:05 +02:00
Emmanuel Garette
2018a92b66
improvement
2018-04-22 10:43:19 +02:00
Emmanuel Garette
8b82e393fe
remove validate_calculator
2018-04-16 19:51:13 +02:00
Emmanuel Garette
54b57968bc
not Params object for callback, validator and calculated values for choiceoption
2018-04-15 21:13:16 +02:00
Emmanuel Garette
2b08ab35d6
some tests
2018-04-12 23:04:33 +02:00
Emmanuel Garette
9ea373efdf
better dynoption support
2018-04-09 21:37:49 +02:00
Emmanuel Garette
b2cc5f7913
remove dead code
2018-04-06 23:51:25 +02:00
Emmanuel Garette
6921e05c0e
corrections in dynoption/masterslaves
2018-03-24 22:37:48 +01:00
Emmanuel Garette
d5d826f967
adapt tests
2018-03-19 08:33:53 +01:00
Emmanuel Garette
821f36ea65
tiramisu-web adaptation
2018-01-26 07:33:47 +01:00
Emmanuel Garette
050c3125fa
some adaptation for tiramisu-web
2018-01-05 23:32:00 +01:00
Emmanuel Garette
16a160340c
submulti
2017-12-30 18:32:11 +01:00
Emmanuel Garette
1736170e43
add validator tests
2017-12-27 15:49:05 +01:00
Emmanuel Garette
a9fed78af0
reorganise consistencies
2017-12-23 10:55:06 +01:00
Emmanuel Garette
7ab479f628
reorganise consistencies
2017-12-23 10:40:57 +01:00
Emmanuel Garette
538e6a792a
add config_bag and convert some tests
2017-12-19 23:11:45 +01:00
Emmanuel Garette
b5f785d62c
convert tests
2017-12-13 22:15:34 +01:00
Emmanuel Garette
fc787d4dbb
reorganise
2017-12-07 22:20:19 +01:00
Emmanuel Garette
a07e916153
reorganisation
2017-12-07 21:42:04 +01:00
Emmanuel Garette
924ac4e597
reorganise symlinkoption
2017-12-04 20:05:36 +01:00
Emmanuel Garette
e40a1e78a2
refactor masterslaves
2017-12-02 22:53:57 +01:00
Emmanuel Garette
9831f7cf0c
add test for master/slave and callback
2017-11-28 22:42:30 +01:00
Emmanuel Garette
527ae40950
refactor
2017-11-23 16:56:14 +01:00
Emmanuel Garette
119ca85041
refactor
2017-11-20 17:01:36 +01:00
Emmanuel Garette
007a22ca94
refactor and better test in api
2017-11-13 22:45:53 +01:00
Emmanuel Garette
7ab7b810dc
refactor
2017-11-12 14:33:05 +01:00
Emmanuel Garette
2e412b64fd
api: permissive => forcepermissive
...
api: add permissive object
test api: permissive
config: unwrap_from_path check properties for option, not only optiondescription
option: _RegexpOption => RegexpOption
2017-11-03 21:52:13 +01:00
Emmanuel Garette
22a4aa81dc
first version of new api
2017-10-22 15:14:25 +02:00
Emmanuel Garette
5a1987f2e6
Add MasterSlaves object
2017-10-14 13:33:25 +02:00
Emmanuel Garette
3567e18256
several corrections about dependency
2017-09-17 15:55:32 +02:00
Emmanuel Garette
635b71d291
separate baseoption and option
2017-07-24 20:39:01 +02:00
Emmanuel Garette
3c9a759e2e
separate option in differents files
2017-07-24 19:04:18 +02:00
Emmanuel Garette
57a47763d6
remove option's storage
2017-07-22 16:26:06 +02:00
Emmanuel Garette
c8bc3093c7
python 3.5 support
2017-07-09 09:49:03 +02:00
Emmanuel Garette
dadf859905
better cache
2017-07-08 15:59:56 +02:00
Emmanuel Garette
a2dc793be6
better error message
2017-06-16 18:25:01 +02:00
Emmanuel Garette
6bf7e309c6
make a regexp to valid domain
2017-03-13 17:32:38 +01:00
Emmanuel Garette
56e180dc31
coverage for tiramisu/option/option.py
2017-02-04 10:21:44 +01:00
Emmanuel Garette
3e352e3b41
missing datetime import
2017-02-02 10:11:26 +01:00
Emmanuel Garette
6b3c17d49b
add new option type DateOption (thanks to Lohysia)
2017-02-02 08:57:11 +01:00
Emmanuel Garette
8e7b4101f1
coverage
2016-11-20 18:02:10 +01:00
Emmanuel Garette
a14e156a63
pooling EmailOption, UsernameOption and FilenameOption
2016-10-21 22:56:40 +02:00
Emmanuel Garette
4d02254234
returns_raise is now mandatory in core
2016-10-14 22:20:14 +02:00
Emmanuel Garette
e6a949635f
some improvements
2016-10-10 21:41:22 +02:00
Emmanuel Garette
c81a2bcdbf
better sqlalchemy integration
2016-10-01 20:15:08 +02:00
Emmanuel Garette
69de44bbb4
better sqlalchemy integration
2016-09-30 22:45:33 +02:00
Emmanuel Garette
408e4cf088
better error messages
2016-09-11 20:41:36 +02:00
Emmanuel Garette
c21949c637
better error messages
2016-09-11 16:18:23 +02:00
Emmanuel Garette
3a5b1090c7
domainname must not be an IP
2016-08-31 15:50:10 +02:00
Emmanuel Garette
0c8398e4a6
add PasswordOption
2016-05-17 15:28:36 +02:00
Emmanuel Garette
d1c9250e34
better validation for Ip/Network/Netmask Option
2016-05-17 14:10:30 +02:00
Emmanuel Garette
e91568e6b6
Validation should return exception, not raises exception
...
Don't check force_store_value for SymLinkOption
2016-03-24 19:43:41 +01:00
Emmanuel Garette
7305cfa134
python 3.4 support
2016-03-19 21:27:37 +01:00
Emmanuel Garette
b521c459ee
remove all try/except
2016-01-03 21:18:52 +01:00
Emmanuel Garette
e8764f6173
remove some try/except + consistency not works with submulti
2016-01-03 13:23:15 +01:00
Emmanuel Garette
14489c3ef5
remove some try/except
2015-12-26 10:57:20 +01:00
Emmanuel Garette
97d7352a5b
better support for dynoptiondescription
2015-12-23 23:30:57 +01:00
Emmanuel Garette
93ce93e529
some optimisations
2015-12-18 23:35:45 +01:00
Emmanuel Garette
a521a6d322
requires could be apply to a slave and properties could be different
2015-11-29 23:03:08 +01:00
Emmanuel Garette
c2a6772ec2
impl_get_values with calculated values and no context should return []
2015-11-26 19:42:33 +01:00
Emmanuel Garette
ab555966f7
use python-coverage to delete dead part of code
2015-11-24 10:58:19 +01:00
Emmanuel Garette
15d94d5fff
domainname with only one character is now allowed
2015-10-12 17:06:15 +02:00
Emmanuel Garette
072246a203
URLOption: allow uppercase in resource name
2015-04-19 09:46:39 +02:00
Emmanuel Garette
2b019027be
valid Option is an unicode or a string if needed
2015-04-19 09:15:18 +02:00
Emmanuel Garette
10768a6067
refactor validation
2015-04-18 22:53:45 +02:00
Emmanuel Garette
85297d8c4d
test uppercase character before valid domain name for better error message
2014-12-07 14:51:51 +01:00
Emmanuel Garette
4fde28a15e
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
2014-12-01 23:16:00 +01:00
Emmanuel Garette
ed3373cff0
bad characters in DomainnameOption could be in warning level
2014-10-26 09:38:17 +01:00