- 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.
-
-
-
In the accounts JSON, some Loans may have identical IDs, so we fetch the id_element_contrat instead since it is always unique. This value will be used in the details JSOn to fetch a unique ID for Loans, as well as the missing account balances. I also re-wrote iter_cards to fetch all cards (not just cards from the main_account) and easily sort between immediate and deferred cards. Closes: 35420@Sibi
-
- Jan 23, 2019
-
-
Crédit Agricole now uses an API. This commit enables site switching for the connections of the new website and keeps the former behavior for the connections that still use the previous website. This commit was tested with the backend and we observed no duplicated account since all the account IDs correctly match the former website behavior. All other methods than iter_accounts() return BrowserUnavailable for now. Closes: 9101@zendesk
-
On this quality website the balance of one life insurance was missing and was not retrievable in any way on the website itself. It caused a crash because we expected to land on the BGPIPage. We now do not try to retrieve missing balance if we are not already on a BGPIPage. closes: 8688@zendesk closes: 8846@zendesk closes: 8359@zendesk closes: 30787@sibi
-
-
- Jan 13, 2019
-
-
Transactions DO NOT have a year. its only DD/MM. In some cases, if there aren't enough transactions in the account, a transaction dating from last year has its date incorrectly guessed (with the date_guesser/ to avoid this we had to reduce data_guesser.date_max_bump to 2 in order to prevent such problems, but only for savings accounts.It is not perfect, hence the assertion to make sure we aren't returning a future date that is more than 2 days forward. At date "2018/12/03", the site only shows one transaction with date "29/12", so this interpreted as "2018/12/29" (future) instead of "2017/12/29" (past). If there were more transactions in the year, this wouldn't happen
-
- Jan 06, 2019
-
-
Romain Bignon authored
-
- Dec 21, 2018
-
-
We firstly check if the xpath are present for recipient add and we also check if all recipients are internal. In other case we raise an error to investigate for a new xpath. Closes: 1063779@redmine
-
- Dec 17, 2018
-
-
We handle the redirection to predica website. We don't scrape it yet, waiting to see dsp2 changes on cragr. Closes: 17571@sibi 8283@zendesk
-
Some Savings accounts had an unavailable balance because it is unavailable on the account list page, I therefore added to request the account details when this happens. Closes: 8404@zendesk
-