woob:3d79706053fc720bfe9bab3967c4f9cd379c2a6c commitshttps://gitlab.com/woob/woob/-/commits/3d79706053fc720bfe9bab3967c4f9cd379c2a6c2020-09-09T19:02:19+02:00https://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.comhttps://gitlab.com/woob/woob/-/commit/9893aa4c8eaea08afb40cf8f6c664901290167e0[cragr] Typed 'Espace gestion PEP' Life Insurances2020-08-26T14:00:52+02:00Quentin Defenouillerequentin.defenouillere@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/55fd72adf722a6c82cca522e7118b34385e7d808[cragr] Typed BOOSTE3 as TYPE_SAVINGS2020-08-26T14:00:52+02:00Quentin Defenouillerequentin.defenouillere@budget-insight.com
This is a 'Livret First'https://gitlab.com/woob/woob/-/commit/9717dfd8927155acf8d514bb5d35524694cb4769weboob.browser.browsers: tweak HAR to make chromium happy2020-08-26T14:00:52+02:00Vincent Ardissonvardisson@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/a604d992d6df6a8b48d983fd0c1dd4ae66ca4dfbtools.boilerplate.recipe: Remove underscores in classname2020-08-26T14:00:52+02:00Augustin Bouverotaugustin.bouverot@budget-insight.com
We now get 'AwesomeModule' instead of 'Awesome_Module' when generating
'awesome_module'.https://gitlab.com/woob/woob/-/commit/e9ed28104c265d7c109dc3d2d796b3d194221ddf[amundi] Handle bugs on CprInvestmentsPage2020-08-26T14:00:52+02:00Quentin Defenouillerequentin.defenouillere@budget-insight.com
Some investments lead to a 404 (even on the website) and we have to
handle unavailable SRRI.https://gitlab.com/woob/woob/-/commit/682f8a024844fb5485b51a25787542b0f4234389[caissedepargne] Do not raise BrowserUnavailable when Life Insurance detail i...2020-08-26T14:00:52+02:00Quentin Defenouillerequentin.defenouillere@budget-insight.com
Some Life Insurance details are not accessible, we stay on IndexPage and
there is no way to reach LifeInsurancePage even on the website.
There is no need to raise BrowserUnavailable() in these cases, we simply
return no transaction and no investment.https://gitlab.com/woob/woob/-/commit/cae8860bcc3bac2b1601e9c12256054ee8659b43[ameli] Use sha1 for document.id2020-08-26T14:00:52+02:00Florian Duguetflorian.duguet@budget-insight.com
ameli has changed their id, (even existing ones) to make them more longerhttps://gitlab.com/woob/woob/-/commit/6cd203d6372bf58d71038e950e4c34e627f1de7e[banquepopulaire] Force login redirection2020-08-26T14:00:52+02:00Maxime Gasselinmaxime.gasselin@budget-insight.com
In some case the Location response header is empty. In this case we can
force the next_url.https://gitlab.com/woob/woob/-/commit/1e1a118b3fdf0a4899e063ac9fe74d678da60d12[amazon] adding a new page for expired password2020-08-26T14:00:52+02:00Pierre Nardozipierre.nardozi@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/c20ff96deafe4a76a997308c775c186c7cc03bba[amazon] goes back to the subscription page in case we are redirected2020-08-26T14:00:52+02:00Pierre Nardozipierre.nardozi@budget-insight.com
we can be redirected to the documents page after the login procedure, so
we go back to the subscription pagehttps://gitlab.com/woob/woob/-/commit/b148d2c6a99fdf339e328e0365a418bac5805d3a[banquepopulaire] Allows Non numeric password for new login2020-08-26T14:00:52+02:00Maxime Gasselinmaxime.gasselin@budget-insight.com
We still have some connexions without VK. Consequently the numeric check
is done when the vk is identified.https://gitlab.com/woob/woob/-/commit/a240f4f1b0a16412e55b86adc7d8c3e81b62400c[s2e] Manage documents with the same ID2020-08-26T14:00:52+02:00Christophe Francoischristophe.francois@budget-insight.com
Some documents have the same label and the same date. In this case their
ID is the same, there is no usable info on the website to discriminate them,
we do it manually.https://gitlab.com/woob/woob/-/commit/92970a1331b4f0b9e0a54552c3bb448ce665d94d[banquepopulaire] Fix iter_documents navigation2020-08-26T14:00:52+02:00Maxime Gasselinmaxime.gasselin@budget-insight.com
The credit card statement code has been changed.https://gitlab.com/woob/woob/-/commit/80e8025ee346950732427078d463f507091b45ee[bforbank] improve code style2020-08-26T14:00:52+02:00Vincent Ardissonvardisson@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/b730fd8265a331b34b5fd9b00a7c9d896a72175f[caissedepargne] Fix: handle additional wrongpass case2020-08-26T14:00:52+02:00Damien Matdamien.mat@budget-insight.com
Concerns pro users on old_login where the message "Délégué inexistant"
is thrown be website just after login,
and also in the route the weboob takes on.https://gitlab.com/woob/woob/-/commit/1f9304492c1139495a4dd49c8dd9db17b3a09516[ing] better fix for 500 errors encountered after visiting life insurances2020-08-26T14:00:52+02:00Vincent Ardissonvardisson@budget-insight.com
First, don't go on a non-LoggedPage at the end of iter_accounts, it can only
lead to being delogged mindlessly.
The real problem is the site fails with a 500 when a Referer doesn not point
to /secure (what a bunch of idiots), and the life insurances URL doesn't
have /secure, so after visiting them with go(), we set a bad Referer.
Use open() instead, so the Referer is not set to a "bad" URL.https://gitlab.com/woob/woob/-/commit/bac4113cb5398bf85874a06948756fd5bc17c7a1[ing] use API for Account.number, old website doesn't fill it anyway2020-08-26T14:00:52+02:00Vincent Ardissonvardisson@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/1fdeb0a5db22063f02aea7b94c9a6f6c34bffbd6[ing] fill iban in API site2020-08-26T14:00:52+02:00Vincent Ardissonvardisson@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/d5fb50c4b3d104a1669a1c91404129ac0be0ca91[ing] implement fillobj for "coming"2020-08-26T14:00:52+02:00Vincent Ardissonvardisson@budget-insight.com
No need to fetch them in iter_accounts.https://gitlab.com/woob/woob/-/commit/a76c742eb22e41681e73abf65b048638974084aa[ing] use dicts instead of nested for-loops to compare web to api accounts2020-08-26T14:00:52+02:00Vincent Ardissonvardisson@budget-insight.com
Easier to read, better performance.https://gitlab.com/woob/woob/-/commit/15a39a6010561ab5af979a0e61658e2a9732a26e[myedenred] restart the logging procedure if the refresh token expires2020-08-26T14:00:52+02:00Pierre Nardozipierre.nardozi@budget-insight.com
The refresh token expires at ~24h. We repeat the login procedure from
the beginning to avoid reporting a false wrongpass.https://gitlab.com/woob/woob/-/commit/33b4ee67e5b1727806589e4c4af4b23368cb9a62[bforbank] Raise ActionNeeded if user_validation.is_here()2020-08-26T14:00:52+02:00Maxime Gasselinmaxime.gasselin@budget-insight.com
This check was missing in 8c896b872ac75e5c96006b3cfa916fa7901ad21a.https://gitlab.com/woob/woob/-/commit/700674a90d6dbf570f6293d0f67670676ba012a1[bnporc/pp] Fix new recipients enabled_at2020-08-26T14:00:52+02:00Guillaume Risbourgguillaume.risbourg@budget-insight.com
New recipients are activated, at most, 1 day after being added.