- Sep 09, 2020
-
-
ValueDate returned date strings instead of date objects. Use strings only for serialization/deserialization, but otherwise use a real date object. Also, the implementation was inefficient as it reparsed the same string multiple times.
-
- Feb 12, 2020
-
-
Romain Bignon authored
-
Romain Bignon authored
-
- Feb 11, 2020
-
-
Romain Bignon authored
-
- Jan 30, 2020
-
-
If the value of a ValueDate was None, the get_format function returned an error which caused check_valid to bug. The None case is now handled in check_valid to allow None as a default value.
-
- Sep 11, 2019
-
-
- Feb 24, 2019
-
-
Romain Bignon authored
-
- Sep 16, 2018
-
-
Sometimes the Value contains None, it should be interpreted like an empty string when validating regexp, not like string 'None'.
-
- Jun 09, 2018
-
-
refs #5557@zendesk return unicode
-
- Mar 20, 2018
-
-
hydrargyrum authored
For the "banquepopulaire" module, the "website" config should change because the list has changed on website. Unfortunately, the old choices continue to exist in config files so they must still be accepted by the module, and thus they cannot be removed from the choices list, even though they are irrelevant for new users. Add an optional "aliases" param along with the "choices" to Value, to have a list of accepted compatibility aliases, and still present an up-to-date choices list.
-
- Jul 08, 2017
-
-
Many modules do not have the "$" in Values regexps, and it's almost always a mistake.
-
- Jun 19, 2017
-
-
hydrargyrum authored
-
hydrargyrum authored
-
- Jun 17, 2017
-
-
strptime may not be enough to guarantee the date is well-formed, for example: v = strptime('150381', '%d%m%Y') # parsed as 0381/05/01 strftime(v, '') # raises a ValueError since year < 1900 So we check with strftime too.
-
- May 20, 2017
-
-
Romain Bignon authored
-
- Apr 17, 2017
-
-
Romain Bignon authored
-
hydrargyrum authored
A Value object with a 'required' flag set should not contain a None value. Since CI runs all tests and ignores backends with missing values, all Value.check_valid are called, sometimes with None values, and it crashed with ValueDate which didn't expect the value to be None.
-
- Apr 01, 2017
-
-
- Feb 22, 2017
-
-
hydrargyrum authored
-
- Jan 25, 2017
-
-
Since Python 2.7 is the minimum version supported, collections.OrderedDict is guaranteed to exist and there is no need to reimplement it.
-
- Dec 24, 2016
-
-
Phyks (Lucas Verney) authored
Using the `nofail` argument and hooking to `login` event, one can make as much modules unittests as possible run, and skip the unittests which require authentication or special configuration. Tests are also run using all available backends now. This is especially important for modules such as Amazon for which the backend has a large influence on the website being used and the code being run. I also changed the default values so that they match the expected type (rather than being `None`).
-
- Apr 30, 2016
-
-
Romain Bignon authored
It allows a backend to do requests to user by calling a registered callback function. In the requests manager, it locks each call to prevent multiple backends requesting the same think at a time, from an idea of Adrien Clerc. Closes #945
-
- Mar 09, 2016
-
-
hydrargyrum authored
-
- Jan 08, 2016
-
-
Laurent Bachelier authored
And fix instances where it would not be shown at all.
-
- Jul 30, 2015
-
-
Laurent Bachelier authored
-
- Oct 11, 2014
-
-
Laurent Bachelier authored
-
- Oct 10, 2014
-
-
Laurent Bachelier authored
flake8 --select E713, semi-manual fixing
-
Laurent Bachelier authored
flake8 --select W391,E302,E301,E304 autopep8 can't fix W391 even though it claims it can. Fixed using a simple custom script.
-
- Sep 15, 2014
-
-
Romain Bignon authored
-
- Sep 02, 2014
-
-
Romain Bignon authored
- May 19, 2014
-
-
Romain Bignon authored
-
- Feb 07, 2014
-
-
Romain Bignon authored
-
- Jan 23, 2014
-
-
Romain Bignon authored
-
-
-
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
-
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
-
- Dec 10, 2013
-
-