woob:c0eccec4a4de1aedfe89d507f4c59f697323fe50 commitshttps://gitlab.com/woob/woob/-/commits/c0eccec4a4de1aedfe89d507f4c59f697323fe502019-02-05T20:30:06+01:00https://gitlab.com/woob/woob/-/commit/c0eccec4a4de1aedfe89d507f4c59f697323fe50[cragr] Use go_to_account_space() for get_profile and advisor2019-02-05T20:30:06+01:00Quentin Defenouillerequentin.defenouillere@budget-insight.com
We are quite often logged out when trying to switch from one space ot
the other. The go_to_accounts_space() already takes this in
consideration and tries to relogin when it happens, so we should use
this method in get_profile and advisor in order to avoid being
disconnected and not handling it.
Closes: 36099@sibihttps://gitlab.com/woob/woob/-/commit/757e1afd4ff178b53091de42353471e0f4540587[cragr] Specified landing URL in the error message if login failed2019-02-05T20:29:56+01:00Quentin Defenouillerequentin.defenouillere@budget-insight.com
When the security check does not lead to AccountsPage we raise an assert
but it would be useful for debugging to know the URL that we reached
after the security check. Usual landing URls are for example
first connections ActionNeeded or server errors.
Closes: 35411@sibihttps://gitlab.com/woob/woob/-/commit/4b87df88ee59bb2ec9e2d1cd8bd9ecc351697cd8[cragr] Remove assert False since all error message are handled2019-02-05T20:29:41+01:00Quentin Defenouillerequentin.defenouillere@budget-insight.com
The assert False at the end of the security check will force a crash if
we manage to login after the second try. Since all error messages are
now handled, this assert False is now obsolete so I removed it.
Closes: 35412@sibihttps://gitlab.com/woob/woob/-/commit/81d1725a928cb91fc6a53cd4f3d623950283c6b8[caissedepargne] Included Capitalisation contracts in iter_investments2019-02-05T20:29:13+01:00Quentin Defenouillerequentin.defenouillere@budget-insight.com
Capitalisation contracts investments are accessed exactly like Life
Insurance investments.https://gitlab.com/woob/woob/-/commit/7f286a11ef092f409add37cc1705c2d5f95c2384[sgpe] find recipient by id before iban to do transfer2019-02-05T20:29:02+01:00Sylvie Yesye@budget-insight.com
Some sgpe users have recipient with same iban and not same id
Find the recipient by id beforehttps://gitlab.com/woob/woob/-/commit/45287629359327d4869e443f690720db831c8b38[creditmutuel] Fix original amount2019-02-05T20:28:53+01:00Maxime Gasselinmaxime.gasselin@budget-insight.com
For some transactions, we need to do a new regexp inside the regexp.
Example of label : B&H PHOTO 800-60 392,01 USD
Closes: 16732@sibihttps://gitlab.com/woob/woob/-/commit/f32d8f39f806ef50dd14176090559ac2a89cd745[bp] fix differed cards url2019-02-05T20:28:42+01:00Maxime Gasselinmaxime.gasselin@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/d04c7823d8974238e81609a84e8c73525fac131f[bp] Fix revolving credit navigation2019-02-05T20:28:27+01:00Maxime Gasselinmaxime.gasselin@budget-insight.com
The main way to reach revolving credit spaces is not reachable. Nevertheless we can reach it with
other navigation.https://gitlab.com/woob/woob/-/commit/90b411dbf11ce2251c5ea0caf2184a3dec707a61[bp] Fix url for iban and coming2019-02-05T20:28:17+01:00Maxime Gasselinmaxime.gasselin@budget-insight.com
These url seem to have changed, here we get a safier method to get them.
Closes: 19355@sibihttps://gitlab.com/woob/woob/-/commit/6525c5dc70937446ac190d3007756d5c5e2decea[cragr] Limit to 11 digits when posting username2019-02-05T20:27:52+01:00Quentin Defenouillerequentin.defenouillere@budget-insight.com
Some users entered a user ID that has more than 11 digits, which crashes
when trying to login. We therefore limit the user login to 11 digits
like the password is limited to 6 digits.https://gitlab.com/woob/woob/-/commit/49605a24cfd450c9e1cacd599db3b9813ab71533[societegenerale] handle website unavailable message2019-02-05T20:27:34+01:00Sylvie Yesye@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/f8888467400dadfac6d680d4a5867a83b9347852[caissedepargne] Corrected type and balance xpath for LI and Capitalisation2019-02-05T20:27:25+01:00Quentin Defenouillerequentin.defenouillere@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/ff1f19aee3c0d35b42dfbed8d46218bcf16ef50b[cragr] Added other wrongpass message2019-02-05T20:27:11+01:00Quentin Defenouillerequentin.defenouillere@budget-insight.com
Some connections raise another error at Login:
"Vous n'avez plus droit qu'à une seule tentative; à la
prochaine saisie erronée, votre accès sera bloqué"
that has to be handled as a wrongpass.
Closes: 35415@Sibihttps://gitlab.com/woob/woob/-/commit/82b7ad67dc945385c2699423be9b6324d9ac6429[cragr] Added "entreprise" to all concerned URL()2019-02-05T20:27:00+01:00Quentin Defenouillerequentin.defenouillere@budget-insight.com
In addiiton to particulier, professionnel and association, some
connections also have "entreprise" URLs.
Closes: 35404@Sibihttps://gitlab.com/woob/woob/-/commit/0832f33a01615ae78949fab6fe0eefef5d422a80[cragr] Corrected error message during security check2019-02-05T20:26:47+01:00Quentin Defenouillerequentin.defenouillere@budget-insight.com
During login, the following error:
"Un incident technique s'est produit lors de votre connexion.
Veuillez ressaisir votre identifiant et votre code personnel."
May contain one or two spaces between "votre" and "identifiant".
In order to catch both correctly and retry the security check, I replaced
the message with "identifiant et votre code personnel" that matches
both.
Closes: 35412@Sibihttps://gitlab.com/woob/woob/-/commit/a724a456a734ed21b522ad442756b0fe45dbe4df[societegenerale] email is now on HTMLProfilePage2019-02-05T20:26:38+01:00Sylvie Yesye@budget-insight.com
scrap email on this pagehttps://gitlab.com/woob/woob/-/commit/843fadd8c1c704bdb750213d1f90ece6a5459ba2[cragr] Add regexp to login to prevent server errors2019-02-05T20:26:26+01:00Quentin Defenouillerequentin.defenouillere@budget-insight.com
On the new cragr website, you cannot POST the login+password with a
space at the end of the password, otherwise the website returns a 500
error.
This commit adds a regexp in module.py to raise an error instead of a
browser unavailable when credentials contain something else than digits.
Closes: 9356@zendesk, 35699@sibihttps://gitlab.com/woob/woob/-/commit/fbd760488fba0102a888c80ca4711463133bc818[caissedepargne] Fix regression2019-02-05T20:26:04+01:00Maxime Gasselinmaxime.gasselin@budget-insight.com
Replace to self.browser.session.cookies. Crash for revolving loans.
Closes: 6087@sibihttps://gitlab.com/woob/woob/-/commit/7861d55d48ae8a893f8538d4e604d0ddb835fc29[societegenerale] avoid not invest raw in invest table2019-02-05T20:25:34+01:00Sylvie Yesye@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/0f35db7bb2f8d70ce347b7c6deb098c73ce9440f[societegenerale] raise NoAccountsException when there is no account message2019-02-05T20:25:06+01:00Sylvie Yesye@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/a77b9c5ec6874f899f041912eb54a81817ff62aa[societegenerale] add 'CREDIT_CONFIANCE' as TYPE_REVOLVING_CREDIT2019-02-05T20:24:41+01:00Sylvie Yesye@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/b704fff5c1a86c2fd1a9d942b1fbef9e2c3bd606[societegenerale] update and reorganize new recipient code2019-02-05T20:24:31+01:00Sylvie Yesye@budget-insight.com
Put navigation on browser.py and page scraping on transfer.py
Handle result of add new recipient with security passhttps://gitlab.com/woob/woob/-/commit/2900c92101c05de0228ab1426f9a5c091592f073[creditmutuel] Delete the warning logger in case of IndexError2019-02-05T20:22:58+01:00Maxime Gasselinmaxime.gasselin@budget-insight.com
Indeed, in this case the history exists but not for the 6 months.https://gitlab.com/woob/woob/-/commit/436fe487cbcd1947ad721606d2fee10bd3ee9de4[caissedepargne] Fix datepourie2019-02-05T20:22:46+01:00Maxime Gasselinmaxime.gasselin@budget-insight.com
The date changes. ex: "datePourIE": "Wed Jan 30 2019 11:54:07 GMT+0100 (heure normale d’Europe centrale)".
Moreover to reach the consumer loans space, we need to delete the old
jsessionID cookie.
Closes: 35859@sibi Closes: 9234@zendesk Closes: 9366@zendeskhttps://gitlab.com/woob/woob/-/commit/78cea74a4889756af366841978a5b9eca84fbd38[caissedepargne] fix loans2019-02-05T20:21:24+01:00Maxime Gasselinmaxime.gasselin@budget-insight.com
On some loans, the next_payment_date column does not exist.
Closes: 35859@sibi Closes: 9234@zendesk Closes: 9366@zendeskhttps://gitlab.com/woob/woob/-/commit/917a33b23a1917eaaebd83bd3de3da4a07a2a250ing: ingdirect is now also ing on bourse website2019-02-05T20:21:09+01:00Baptiste Delpeybdelpey@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/4de3b08d84ef728fbb55d8af74d354e1f31533efing: fill_account is not mandatory, skip it if website bugs2019-02-05T20:20:59+01:00Baptiste Delpeybdelpey@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/8e4e2598a8e97cbc915228b1d5a5d0bf72874e75ing: this method also get balance of market accounts on bourse website2019-02-05T20:20:48+01:00Baptiste Delpeybdelpey@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/3b2b7c7ddd7a96ba90480ac65b1da4ffd3648303[cragr] Handle ActionNeeded when first online connection2019-02-05T20:20:37+01:00Quentin Defenouillerequentin.defenouillere@budget-insight.com
Some cragr web spaces have never been visited before and the user needs
to validate CGU before accessing them, so we raise an Action Neede when
we reach this specific web page:
"operations/interstitielles/premiere-connexion.html"
Closes: 35404@sibi, 35582@sibi, 35416@sibi, 9286@zendesk, 9328@zendesk,
9340@zendeskhttps://gitlab.com/woob/woob/-/commit/ad46bb54c7bbadce1e0d38d55aa23ca753844dc9[n26] Add transaction type2019-02-05T20:20:22+01:00Martin Sicotmartin.sicot@budget-insight.com
closes: 9345@zendeskhttps://gitlab.com/woob/woob/-/commit/0d0ac5918e06082a025560b14d4954c5cf86db69OAuth2PKCEMixin: follow RFC 7636 on code_challenge generation2019-02-05T20:20:12+01:00Vincent Ardissonvardisson@budget-insight.com
Hex-digest was required for some buggy site fixed since thenhttps://gitlab.com/woob/woob/-/commit/7c3720f4c6949e8a251a15466059ce4ee8e764bd[bolden] fix account valuation diff2019-02-05T20:20:00+01:00Vincent Ardissonvardisson@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/f4bf0d6d11c25747244ab84733a66af2f72efd58[cragr] Added information about account categories & skipped assurances2019-02-05T20:18:43+01:00Quentin Defenouillerequentin.defenouillere@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/8d8b559412087e1f15b7878bdfb5b37f72111606[cragr] Skip account typing warning for "assurances"2019-02-05T20:18:21+01:00Quentin Defenouillerequentin.defenouillere@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/6f783ac6fb0c615534613bcc01f5d2f86b09b0b5[cragr] Ignore "assurance" when getting account balances2019-02-05T20:18:12+01:00Quentin Defenouillerequentin.defenouillere@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/50e507ec1043e6ecdaf2f1787bb7c507915a6d93[cragr] Implemented get_profile and iter_advisor for new API website2019-02-05T20:18:02+01:00Quentin Defenouillerequentin.defenouillere@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/e5cffb59e2b98d8513f38e39f8f20a3ea6b850b5[palatine] Handle "Récapitulatif de frais bancaires" document2019-02-05T20:17:53+01:00Maxime Gasselinmaxime.gasselin@budget-insight.com
It's an annual summary consequenlty we give it the last day of the year.
closes: 34998@sibihttps://gitlab.com/woob/woob/-/commit/8c18ef73907be3e24c6f5e6c6cb67bc5600a0fad[societegenerale] raise ActionNeeded where access to website is suspended2019-02-05T20:17:45+01:00Sylvie Yesye@budget-insight.comhttps://gitlab.com/woob/woob/-/commit/fe7206c4d44ac056a4fde1397e8caec2f0c2154c[societegenerale] add new account type2019-02-05T20:17:36+01:00Sylvie Yesye@budget-insight.com
'DECLIC_TEMPO' as TYPE_MARKET
'PROJECTIS' as TYPE_LIFE_INSURANCE
'ASSURANCE_VIE_SOGECAP_GENERAL' as TYPE_LIFE_INSURANCEhttps://gitlab.com/woob/woob/-/commit/bd837dce8351cd969fd6d9405ac9ba1f6e3eabaa[cragr] Corrected login errors and factorized security check2019-02-05T20:17:13+01:00Quentin Defenouillerequentin.defenouillere@budget-insight.com
This commit remodels the do_login() method and takes in consideration
another possible technical problem: "Délai d'authentification écoulé".
Closes: 35412@sibi