woob:0a538d2dc17427ec2b3f2b03516709b66b1ccfc2 commitshttps://gitlab.com/woob/woob/-/commits/0a538d2dc17427ec2b3f2b03516709b66b1ccfc22020-09-09T19:05:13+02:00https://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.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.