woob:e1016ac54a1f62c0882f0addf7f7b94fbb7e1fd7 commitshttps://gitlab.com/woob/woob/-/commits/e1016ac54a1f62c0882f0addf7f7b94fbb7e1fd72020-09-09T19:05:13+02:00https://gitlab.com/woob/woob/-/commit/e1016ac54a1f62c0882f0addf7f7b94fbb7e1fd7[banquepopulaire] change param in form to get card statement2020-09-09T19:05:13+02:00thibault dougethibault.douge@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/ff1848981021b746feb9fd1bec7f5c461cfd4924[barclays] Remove MyDecimal and make module flake8 compatible2020-09-09T19:05:13+02:00Christophe Francoischristophe.francois@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/6e037f14f557067fac1436d59216010947b85b05[barclays] Repair investments2020-09-09T19:05:13+02:00Christophe Francoischristophe.francois@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/23806992fe2d98bf24b5e4abdfe1631a100c3422[creditmutuel] Handle AppValidation without personal key card code2020-09-09T19:05:13+02:00Guillaume Risbourgguillaume.risbourg@budget-insight.com
When doing transfers to multiple new recipients in the same session, we
are asked to do an app validation but not a code.https://gitlab.com/woob/woob/-/commit/80cc1356c2ee670a4b944a229a7b6d58e71cf6f5bforbank and ing: use new ValueDate2020-09-09T19:05:13+02:00Vincent Ardissonvardisson@budget-insight.com
ValueDate now returns a real "date" object, not a mere stringhttps://gitlab.com/woob/woob/-/commit/5994483d6015d6b4895f92b790ca41d12803d970weboob.tools.value: rework ValueDate to return a "date" object2020-09-09T19:05:13+02:00Vincent Ardissonvardisson@budget-insight.com
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.https://gitlab.com/woob/woob/-/commit/bb2c446e8158be82199166eb1c8ce38fa7ee5966[ameli] change the regex of the password2020-09-09T19:05:13+02:00thibault dougethibault.douge@budget-insight.com
before the password was only numbers, now it's alpha-numerichttps://gitlab.com/woob/woob/-/commit/2646dd6eea4bc82fce1d80f54fe4bfb5cb20f271[cragr] Type some accounts2020-09-09T19:05:13+02:00Quentin Defenouillerequentin.defenouillere@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/03df6cff55e1cb58864a8b8e898e314207e00055[cragr] Fix BGPI redirection by handling other URL2020-09-09T19:05:13+02:00Quentin Defenouillerequentin.defenouillere@budget-insight.com
Sometimes the URL is slightly different, we must handle '_jcr_' and
'jcr:'https://gitlab.com/woob/woob/-/commit/f01823af7003555a5156afed2ea67e6de218dadfweboob.browser.pages: import json toplevel, it's cleaner2020-09-09T19:05:13+02:00Vincent Ardissonvardisson@budget-insight.com
It's not an optional or costly dependency.https://gitlab.com/woob/woob/-/commit/bf90e699c9586ce7bdd7692090b67c50271c3f76weboob.browser.pages: JsonPage removes BOM if present2020-09-09T19:05:13+02:00Vincent Ardissonvardisson@budget-insight.com
Though a BOM makes no sense in UTF-8, some sites insisting on sending one
with JSON data... Drop it then, as standard "json" module fails when it
is present anyway.https://gitlab.com/woob/woob/-/commit/b2a91f2cd11736515fc5febbf764c95c6a48cff9weboob.browser.selenium: add remote driver support2020-09-09T19:05:13+02:00Jerome Berthierjerome.berthier@budget-insight.com
This feature does not modify the API of BrowserSelenium.
To use a remote driver, a config Value 'remote_driver_url'
must be set. If this value is not set the previous behavior
is used, instantiating a local web driver.
The remote driver capabilites are built according to the module
configuration.https://gitlab.com/woob/woob/-/commit/0a538d2dc17427ec2b3f2b03516709b66b1ccfc2weboob.browser.elements: explicit params for ItemElementFromAbstractPage2020-09-09T19:05:13+02:00Vincent Ardissonvardisson@budget-insight.com
When switching to regular imports, ItemElementFromAbstractPage will become
obsolete. However, they will not be removed immediately, but they will be
reimplemented to be compatible with the new system. But the reimplementation
works at import-time, not at exec-time, and it's not possible to access params
defined in outer scopes at import-time. So, we make sure the attributes are
explicitly defined, not implicitly.https://gitlab.com/woob/woob/-/commit/dfe5807ee0d872dac1c5505b11e6ee8c21eb3fe1weboob.browser.elements: add ItemElementFromAbstractPage2020-09-09T19:05:13+02:00Edouard Lambertelambert@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/c2d4dd3cbd920fe77bec44a398ed7900179e9705[lcl] Optional values in market orders2020-09-09T19:05:13+02:00Christophe Francoischristophe.francois@budget-insight.com
Quantity and validity date are not always available.https://gitlab.com/woob/woob/-/commit/5ac0490f679808e9a51d5b7628161dd9acdf978b[caissedepargne] add pagination to get documents which not in current year2020-09-09T19:05:13+02:00thibault dougethibault.douge@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/2a4604351144e4f067cec1437100e15e3e91e078[societegenerale] add condition in transfer_check_account_id2020-09-09T19:05:13+02:00Sylvie Yesye@budget-insight.com
like the commit 4a2987a9727756baf57a3934fb502e14a94be533
In PSD2, the account id is the "identifiantPrestation" when the account id is "codeGuichet+numeroCompte" in website
and the transfer_check_account_id will be False because of that
In this case, we just need to check the "codeGuichet+numeroCompte" part in the "identifiantPrestation".https://gitlab.com/woob/woob/-/commit/194be21ee55e8c32d717415fa9eefa86e6e9adff[browser/profiles] Update browser UserAgent to help edf.fr2020-09-09T19:05:13+02:00Ludovic LANGEllange@users.noreply.github.comhttps://gitlab.com/woob/woob/-/commit/8d5e9a9a35968ac1381a12afc7a2698cc06b6056[bp] Fix recipient addition with certicode2020-09-09T19:05:13+02:00Guillaume Risbourgguillaume.risbourg@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/ee630e6755a9d12800a5d19171ce002c699944dftools/capabilities/bill/documents: add merge_iterators and sorted_documents f...2020-09-09T19:05:04+02:00Pierre Nardozipierre.nardozi@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/0b9c99f749cc1640ae14b38e5e742f81cb492383[ameli] add pages for monthly statement document2020-09-09T19:02:19+02:00Pierre Nardozipierre.nardozi@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/8259210387867d750dd4cc420c7b063d313198f2[s2e] Handle investment details for CM-CIC & HSBC pages2020-09-09T19:02:19+02:00Quentin Defenouillerequentin.defenouillere@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/4d11b8706bba8b54ad11fb2a245e9a9e42659104[caissedepargne] Fix fetching of wealth accounts and investments2020-09-09T19:02:19+02:00Christophe Francoischristophe.francois@budget-insight.com
Fixing some issues introduced by fetching accounts on the wealth
accounts page, and some others:
- error 500 while going on the new page,
- a json field that needs to be optional,
- a fix for the matching of accounts from the synthesis and wealth pages.https://gitlab.com/woob/woob/-/commit/3d79706053fc720bfe9bab3967c4f9cd379c2a6c[societegenerale] add condition in iter_recipient if statement2020-09-09T19:02:19+02:00Sylvie Yesye@budget-insight.com
in order to also retrieve recipient for PSD2 accounts.
In PSD2, the account id is the "identifiantPrestation"
when the account id is "codeGuichet+numeroCompte" in websitehttps://gitlab.com/woob/woob/-/commit/79ef0b8c055e8d00e7669643f6d64ea54aa48d75tools/stable_backport: don't search original file for manual port data2020-09-06T15:47:40+02:00Vincent Adev@indigo.rehttps://gitlab.com/woob/woob/-/commit/c10d82766b8a29dded385ecb3c3eba9262a5834aweboob/capabilities/bank: export Currency too2020-08-31T15:00:50+02:00Vincent Adev@indigo.re
It makes sense to have it in bank caps too.https://gitlab.com/woob/woob/-/commit/9ef7b34a758299e05df756b047e2d1c72b674bd4weboob.capabilities.bank: New account type REAL_ESTATE2020-08-26T14:16:30+02:00Christophe Francoischristophe.francois@budget-insight.com
This new type will be used for all investment in real state such as
SCPI, OPCI, SCI...https://gitlab.com/woob/woob/-/commit/1908185cfa6c2dcbc723c73f130bca346331f4b4[orange] change condition for do_login in locate_browser2020-08-26T14:16:27+02:00Pierre Nardozipierre.nardozi@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/77253657fe764905ff3e50484261fe504bbf7bd2[creditmutuel] Add assert to ensure we have polling_data to do the polling2020-08-26T14:16:23+02:00Guillaume Risbourgguillaume.risbourg@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/65566c6d764f2f6194978bebbb6622f8f8f30c16[enercoop] fix style2020-08-26T14:01:02+02:00Vincent Adev@indigo.rehttps://gitlab.com/woob/woob/-/commit/21daf1f1a0c74e974b29dca5a789cf7dd78afe39ci: run weboob-config to verify correct importing2020-08-26T14:00:52+02:00Vincent Ardissonvardisson@budget-insight.com
running weboob-config allowing no error checks the modules can be imported
flawlessly.https://gitlab.com/woob/woob/-/commit/c1d0e3c60e608848f074238c199ce04950d2b355tools/pyflakes.sh: allow to override PYFILES from environment variable2020-08-26T14:00:52+02:00Jerome Berthierjerome.berthier@budget-insight.com
Useful when using with a pre-push hook, it is useless to run flakes
on the whole code base every time you push.
Example of pre-push hook using this feature:
ref=$(git rev-list --boundary HEAD...master | grep "^-" | cut -c2-)
PYFILES="$(git diff ${ref} --name-only | grep -E "*.py$" | xargs)" $PWD/tools/pyflakes.sh
if [ "$?" -ne "0" ]; then
echo >&2 "Flakes error"
exit 1
fihttps://gitlab.com/woob/woob/-/commit/477803921b44db6dc2ae77aa40f6cfd3ae30e95dweboob.capabilities.bank: split file into a folder with submodules2020-08-26T14:00:52+02:00Vincent Ardissonvardisson@budget-insight.com
Introduce:
- base: for CapBank, Account, Transaction and standard classes
- rate: for CapCurrencyRate
- transfer: for CapTransfer and related classes
- wealth: for CapBankWealth and related classes
To keep compatibility with existing code using base imports, bank/__init__.py
will import symbols from the subfiles.https://gitlab.com/woob/woob/-/commit/6239b02e654be59d7cf9590742f33915f0e54c39[caissedepargne] Get missing accounts from savings page2020-08-26T14:00:52+02:00Christophe Francoischristophe.francois@budget-insight.com
Some accounts are on the "Epargne" tab but not in the summary page where
we fetched them. We need to get the ones we missed from this page. This
also means we need to get on that tab to get history and investments.
For now we only have the issue with some life insurances so we go on the
new tab only for them, but the connector might need larger changes if we
find out that other accounts are concerned.https://gitlab.com/woob/woob/-/commit/afbf9adf3ed591d5d406b1f0db7ff76c63b02a17[orange] add new profile page for pro2020-08-26T14:00:52+02:00Pierre Nardozipierre.nardozi@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/02cf004500f5d5d3742d5c874df503646cd85eb6[caissedepargne] Fix some true wrongpass for banquepopulaire2020-08-26T14:00:52+02:00Maxime Gasselinmaxime.gasselin@budget-insight.com
We can have a failed_authentication here. To avoid to crash, a default
value here allows to catch wrongpass further. Only seen for
banquepopulaire module. An AssertionError has been added for caissedepargne
in case of empty redirect_data.https://gitlab.com/woob/woob/-/commit/b2c9960cc55051753e91d2112c0d7c006d73065bmodules: import NotAvailable from weboob.capabilities.base2020-08-26T14:00:52+02:00Vincent Ardissonvardisson@budget-insight.com
It's not defined in .bank, import it correctly.https://gitlab.com/woob/woob/-/commit/4a901eb3a65b073739a91351f32666238a0500ecweboob.browser.pages.HTMLPage: add ABSOLUTE_LINKS option to transform urls2020-08-26T14:00:52+02:00Vincent Ardissonvardisson@budget-insight.com
When enabled, the documents is pre-processed so all links of the page are
made absolute using the <base> href (if present) or the page URL.
AbsoluteLink becomes pointless when this option is enabled. It's not enabled
by default as it would break some existing XPaths like:
starts-with(<a href="/HRef" data-reference-type="user" data-group="1337997" data-container="body" data-placement="top" class="gfm gfm-project_member js-user-link" title="HRef">@HRef</a>, "/foo")https://gitlab.com/woob/woob/-/commit/5d8d514bc8b8e5bcdda51cdca0cdabd235e58ebf[axabanque] Set correct Referer to avoid 406 error when fetching investments2020-08-26T14:00:52+02:00Quentin Defenouillerequentin.defenouillere@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/6cfeb9c12602f34c1f47fbb1aca074e821abf60f[cragr] Repair life insurance investments & handled Rothschild invests2020-08-26T14:00:52+02:00Quentin Defenouillerequentin.defenouillere@budget-insight.com