- Sep 09, 2020
-
-
- May 22, 2020
-
-
We mimic weboob-debug command which exposes "backend" and "browser" variables. The "debug" command of REPL applications will expose them if there's only one backend loaded.
-
- May 07, 2020
-
-
Some Market Orders have no indicated quantity and have a total amount instead.
-
Prevent a ColoredFormatter.format crash processing record with mix of unicode and bytes values. If UnicodeDecodeError occured, try to convert bytes record components into unicode.
-
- Apr 29, 2020
-
-
hydrargyrum authored
- subprocess.call is much more common and easier to use - use shlex to split to take care of quoted spaces
-
- Apr 27, 2020
-
-
hydrargyrum authored
Avoids spawning a process anyway.
-
- Apr 22, 2020
-
-
-
-
Market orders that are not executed yet may have a quantity of 0.00 so it is better to check with empty().
-
-
- Apr 08, 2020
-
-
- Mar 18, 2020
-
-
- xvfb is required for blinkpdf 1.0, but not for 1.1 - xvfb is not necessary for QtWebEngine 5.14, but it is for 5.11, which is the version available on the ppa for debian/buster stable
-
-
-
- Mar 15, 2020
-
-
hydrargyrum authored
In addition to call weboob.do, repl.do will also perform filter, result limiting etc. For example, _fetch_objects used to call repl.do, before 1984b72cc03ebc77ab8dce0f5fff0d4e6306d532, instead of weboob.do. Closes #354
-
- Mar 05, 2020
-
-
value to `0` was evaluated as a string, so to True
-
-
In python3, first item from traceback.format_exception is "'NoneType: None\n'" if no backtrace is available, check for this scenario (to return given empty content) must be adapted.
-
- Feb 12, 2020
-
-
Romain Bignon authored
ReplApplication._do_and_retry: send request_information to modules in all case, except if stdout is not a tty
-
Romain Bignon authored
-
Romain Bignon authored
-
Romain Bignon authored
-
- Feb 11, 2020
-
-
Romain Bignon authored
-
- Feb 10, 2020
-
-
hydrargyrum authored
-
hydrargyrum authored
Specification ============= In a PSD2 law context, in order to avoid triggering 2FA SMS or app validation unexpectedly in a non-interactive sync, a mechanism was introduced. Modules will now receive a "request_information" key which can have a few values: - None if the module was started non-interactively, for example by a cronjob - {} (empty dict) if the module was started interactively, be in a user-shell, a graphical app or through an API daemon - a non-empty dict if the module was started interactively, within a PSD2 AIS context, to pass special HTTP headers authenticating the AIS, as required by the law A module can ignore this param if not needed. If it was started interactively, a module can safely raise BrowserQuestion/AppValidation and other exceptions like this, requiring user interaction to unblock weboob operation. If it was not started interactively, a module should refrain from visiting pages triggering 2FA challenges, as the user will not be able to respond them. In such a case, a module can raise NeedInteractiveFor2FA to stop operation before a 2FA challenge would be sent. An app can then leave a notification to the user telling them to operate interactively, as a challenge will pop. Technical ========= This might not be the best place to add this header though. load_backends cannot be used because we don't know about interactiveness yet. _do_and_retry is not so bad because this is where 2FA challenges are handled anyway.
-
- Feb 09, 2020
-
-
hydrargyrum authored
_do_and_retry is quite generic to handle errors like BrowserQuestion and retry after the "question" has been answered. But in some cases (like boobank's transfer command), the command code already handles the exception, and this would break them. So, let it be called by commands who desire it. "ls" is a good start, more can follow.
-
It handles: - BrowserQuestion - BrowserRedirect - DecoupledValidation
-
- 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.
-
- Dec 18, 2019
-
-
-
MRO algorithm couldn't create a consistent method resolution with capabilities from current and parent module using AbstractModule. > TypeError: Cannot create a consistent method resolution Fix this by checking that cap is not already defined in capabilities from parent.
-
- Dec 15, 2019
-
-
hydrargyrum authored
-
hydrargyrum authored
In setuptools, it's not possible to have an optional dependency triggering what files are installed and how to build certain files, we have to make 2 setup.py. Unfortunately, having 2 setup.py files does possible in one repository. So, we have to split the repository in 2. After this point, the repository will fork. One repository will take only qt stuff, and the other repository will contain browser framework, cli apps and modules. Qt apps are under the weboob.applications package though. To have 2 pip packages shipping files in the same root package (weboob.*), the package must be namespaced. This can be achieved by tweaking all ancestor __init__.py files.
-
- Dec 05, 2019
-
-
It fixes an issue when the parent defines ADDITIONAL_CONFIG but not our class, as there was nothing to merge. Also it allows this field and its doc to appear in help()
-
- Nov 30, 2019
-
-
Shorter messages and to the point, also show when saved.
-
This allows filtering and it is also nicer to have a prefix.
-
-
- Nov 20, 2019
-
-