- Jan 05, 2019
-
-
hydrargyrum authored
-
- Jan 02, 2019
-
-
Romain Bignon authored
-
Romain Bignon authored
-
Romain Bignon authored
-
Romain Bignon authored
-
- Dec 30, 2018
-
-
Currently, weboob commands still return 0 even when an exception is raised. Let bcall_errors_handler decide the return code instead of always 0. A good return code is hard because of several things: * there might be multiple exceptions in a BCallErrors, so values returned by bcall_error_handler (single exception) cannot easily be combined * the base implemententation of bcall_errors_handler cannot be polluted with a lot of exception subclasses So, any non-MoreResultsAvailable will cause a non-zero return code. Should fix https://git.weboob.org/weboob/devel/issues/74.
-
"boobank history" lacks an account argument but boobank returned 0 as if there was no error. Related to https://git.weboob.org/weboob/devel/issues/74. TODO: return error codes for BCallErrors
-
-
- Dec 29, 2018
-
-
-
-
Since we already generate the man pages automatically, we can generate the bash completions too. It is much faster and does not risk making any network requests. fixes #194
-
- Dec 21, 2018
-
-
simplejson has an internal way of formatting Decimal so it bypasses our formatter. Since weboob often deals with money, floats are not a good idea. Previousl: Decimal('1.1') => 1.1 with simplejson+WeboobEncoder Decimal('1.1') => '1.1' with json+WeboobEncoder Now both give '1.1'. Under simplejson: Using dump(cls=...) always initialize the Encoder class with the use_decimal=True argument (unless the argument is provided in the dump function, but that requires a lot of alteration in Weboob, and I would rather remove simplejson support altogether). So when present, we force it. Under json: There is no use_decimal, so we already go to the default() method of the Encoder.
-
-
- Dec 17, 2018
-
-
to share it between boobank and boobill.
-
There were no indices for formatter table so I added a "#" column with 1, 2 , 3 (...) so it is easier to locate account numbers and use "investment 42" or "history 28" without copypasting the account ID. This only occurs when using commands interactively.
-
Unicode should be accepted too in python2, and result should be unicode-decoded. u'%C3%A9' should give u'\xe9' not u'\xc3\xa9' Also add tests.
-
- Dec 02, 2018
-
-
There are errors raised in the backend when a transaction has an amount if "0.00". However these transactions actually exist, so we should check whether the amount is None and not if the balance is != 0.
-
Everytime we test a module handling liquidities we have this error: "Investment "Liquidités" has code but no code_type" This error is pointless since the "Liquidités" code_type is always NotAvailable so I precised in the "if inv.code" to check if the inv.code is not "XX-liquidity".
-
- Nov 20, 2018
-
-
- Nov 10, 2018
-
-
No EAFP for version testing because of QA tools
-
- handles encoding complexities of Python 2 by converting to unicode, then encode with stdout encoding if set or UTF-8
-
- added an unpickling compat function - fixed a typo in tools/misc
-
- Oct 11, 2018
-
-
This method creates an Investment object with label, code, code_type and valuation so we don't have to duplicate code in every module. You just need to pass the valuation so it will be added as an attribute.
-
- added an optional exception handler called when expected exception is catched
-
-
- Sep 16, 2018
-
-
Sometimes the Value contains None, it should be interpreted like an empty string when validating regexp, not like string 'None'.
-
Using __bases__, a Capability might appear multiple times in iter_caps(). For example, a Module inheriting CapBank and CapDocument would have CapCollection twice. This is a problem for AbstractModule which relies on iter_caps for subclassing. Instead, rely on a class' mro(), which avoid duplicates and has the added benefit of having capabilities ordered properly for subclassing.
-
Dates containing "AOÛT" for example could not be converted into "AOUT" by the parse_french_date() method. Modifications of "re.I" to "re.I | re.U" enables conversion of months that might contain capital letters with accents correctly.
-
- Aug 13, 2018
-
-
- Jul 30, 2018
-
-
-
-
The compatibility logic was already removed when we stopped supporting Python <2.7. Now no application is using check_output from compat.
-
-
- Jul 29, 2018
-
-
NSS uses different filenames for its certificate database depending on its version (cert8.db before NSS 3.35, cert9.db after). This filename is checked to determine if the certificate db must be created, so we need to find the correct filename.
-
- Jun 29, 2018
-
-
- Jun 09, 2018
-
-
A TestCase doesn't have a logger, but the backend obj has one.
-
refs #5557@zendesk return unicode
-
-
Old module PIL(not pillow) doesn't support float for image crop
-
- May 12, 2018
-
-
use `==` instead of `is` to compare. make test to pass under python3
-