Commit graph

28 commits

Author SHA1 Message Date
Emmanuel Garette
33c1666cc9 add cidr notation to domainnameoption if allow_ip is True (fixes #5) 2019-03-08 07:11:56 +01:00
Emmanuel Garette
f4bf3dc390 add PathConfig 2018-10-31 08:00:19 +01:00
Emmanuel Garette
6b6fa5e499 remove getapi in tests 2018-08-14 23:07:07 +02:00
Emmanuel Garette
3210a54ab8 config => KernelConfig + Config in api 2018-08-14 22:15:40 +02:00
Emmanuel Garette
d5d826f967 adapt tests 2018-03-19 08:33:53 +01:00
Emmanuel Garette
c8bc3093c7 python 3.5 support 2017-07-09 09:49:03 +02:00
Emmanuel Garette
56e180dc31 coverage for tiramisu/option/option.py 2017-02-04 10:21:44 +01:00
Emmanuel Garette
f497e99002 remove unicode decode error 2017-01-19 21:38:16 +01:00
Emmanuel Garette
a14e156a63 pooling EmailOption, UsernameOption and FilenameOption 2016-10-21 22:56:40 +02:00
Emmanuel Garette
3a5b1090c7 domainname must not be an IP 2016-08-31 15:50:10 +02:00
Emmanuel Garette
7305cfa134 python 3.4 support 2016-03-19 21:27:37 +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
44cd618704 remove pep8 validation errors 2015-07-24 17:54:10 +02:00
Emmanuel Garette
072246a203 URLOption: allow uppercase in resource name 2015-04-19 09:46:39 +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
ed3373cff0 bad characters in DomainnameOption could be in warning level 2014-10-26 09:38:17 +01:00
Emmanuel Garette
9ad6cd905c allow number as first letter of a domainname with netbios type 2014-10-25 22:58:46 +02:00
gwen
f3a826a8d7 Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu 2014-02-25 16:19:49 +01:00
gwen
0c9d6554ae a hostname shall not start with a number 2014-02-25 15:20:03 +01:00
gwen
716d2b2348 allows a DomainnameOption to start with a number 2014-02-25 15:16:15 +01:00
Emmanuel Garette
e7531e1fda more tests 2014-02-06 22:17:20 +01:00
Emmanuel Garette
eb3327cd75 correction in allow_without_dot + test 2013-10-01 10:13:17 +02:00
Emmanuel Garette
6902ad4f18 some extra tests for filename 2013-10-01 08:23:10 +02:00
Emmanuel Garette
1a294e3d09 refactor DomainnameOption
add options EmailOption and URLOption
2013-09-30 19:41:56 +02:00
Emmanuel Garette
536eb27904 multi, None and validation 2013-05-10 22:34:07 +02:00
Emmanuel Garette
6ffd71a43e DomainnameOption now works with default value 2013-05-10 09:27:54 +02:00
Emmanuel Garette
6de65859b4 * config herite from BaseInformation class
* _cfgimpl_ => _impl_
* optimpl_ => impl_
* properties/permissives are now set/frozenset
* validation raise ValueError if not valid, didn't return anything otherwise
* consistencies are now validate in setting and when deleting value
* ip/network with netmask consistency now works
* DomainnameOption now works
* if no validation, don't set cache for value
* symlinkoption: remove path (not used)
2013-05-08 18:14:42 +02:00