- Mar 16, 2019
-
-
The login was broken because they "reinforced" the security at login: now to get the keypad we must pass the Referer in the headers as well as the login as data and POST the request. Closes: 10140@zendesk
-
The accounts with an id equal to '0' redirect to another website, which looks like the new cragr website. (I saw Credit Agricole Provence Côte D'Azur Banque Privée - bgpi-gestionprivee.credit-agricole.fr) The accounts that are found on the new website are already on the old one. Closes: 9948@zendesk
-
-
boobank need iterable element
-
-
-
This commit fixes several bugs in iter_accounts, linked to untyped accounts and unavailable main account balances. I factorized the try/except when trying to go the an accounts space. I also added a try.except on the "cards" requests because it often returns a 400 error that crashes the whole connection. The count_spaces xpath was corrected to fit specific professional spaces too. Closes: 35460@sibi
-
For some recipients that are present in both internal and external lists, the "accountNatureLongLabel" does not appear in the JSON so we must put a default value, even if these recipients will not appear in the final list of recipients because they will be skipped in the browser.py (recipients without the "accountNatureLongLabel" key are actually proxy accounts)
-
- Feb 27, 2019
-
-
Romain Bignon authored
-
* Some user can have 2 internal accounts with same iban, skip it * Avoid iter recipient for some account types
-
Sometimes during the iter_history on the old Crédit Agricole website, we get this immediate: "AttributeError: 'PredicaRedirectPage' object has no attribute 'order_transactions'" This occurs when we try to call order_transactions whereas we are on the Predica space, which we don't handle yet. Since all regions will switch to the new website soon we will not build transactions for the Predica space from the old website. Closes: 13242@sibi
-
- Feb 24, 2019
-
-
duplicate recipient in Element is needed for index, avoid raise DataError for it
-
-
Closes: 9482@zendesk
-
-
Some revolving credits have another key name in the JSOn for the balance, "montantUtilise". I added it to avoid the crash with assert False, "could not get the account balance". Closes: 35551@sibi, 9413@zendesk
-
Romain Bignon authored
-
- Feb 05, 2019
-
-
Loans often cause ID duplicates so they must be typed correctly. Closes: 35420@sibi
-
Sometimes the JSON does not contain any account balance, or there is no balance at all, and this assert crashes the whole connection because of this. Without the assert, if we could not find the account balance, it will just return NotAvailable instead of keeping the connection in bug.
-
It is better to use the go_to_account_space() method in iter_accounts() because it automatically checks if we are still logged when switching to another space, thus avoiding calling AccountsPage methods whereas we are in fact logged out.
-
Some connections crashed because the space has "/agriculteur" in the URL so I added it to all possible URLs following login. Closes: 35404@sibi
-
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@sibi
-
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@sibi
-
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@sibi
-
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.
-
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@Sibi
-
In addiiton to particulier, professionnel and association, some connections also have "entreprise" URLs. Closes: 35404@Sibi
-
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@Sibi
-
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@sibi
-
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@zendesk
-
-
-
-
-
This commit remodels the do_login() method and takes in consideration another possible technical problem: "Délai d'authentification écoulé". Closes: 35412@sibi
-
Investments were implement with Netfinca for the PEA accounts, Predica for Life Insurances and PERP, there is no available link for Market accounts yet.
-
There is no need to raise a BrowserUnavailable when we reached the Logged out page, anyways we have to login again when we come back from the Netfinca or Predica spaces because we are systemically logged out in any case.
-
all_account dictionary is now only in the iter_accounts method, and we check directly in this method if the cards are unique or not.
-
There is no need to use OrderedDict for transactions since we use Map() on the short label. I also typed transfer transactions correctly. [cragr] Added double quote to transaction type
-
This commit implements iter_history and iter_coming for deferred cards with the new API website of crédit agricole. Note that if there are several cards on the same parent account, it is not possible to figure out which summary belongs to which card so summaries are only fetched if the card is unique on its parent account.
-