- 11 Apr, 2021 2 commits
-
-
Roger Philibert authored
-
Bruno Chabrier authored
-
- 08 Apr, 2021 38 commits
-
-
Vincent Ardisson authored
-
Christophe François authored
The valuation is already in euro, not in GB pence, so it should not be converted.
-
Christophe François authored
The CleanDecimal is unnecessary when we're already fetching numbers, and it could result in unwanted conversions in scientific value, such as 0.0001 becoming 1E-04.
-
Christophe François authored
GBX is ambiguous, it's the symbol for both GB Pence and the crypto-currency GoByte. We convert them to GBP. The unitprice is in the original currency of the stock so we need to handle original_unitprice when applicable.
-
Christophe François authored
On the website, the user is asked to complete their profile. On the API, we have no error until we try to fetch the account's details. At this point we get an error 412 without much more info.
-
Florent Viard authored
As the website is stateful, after being on a "History list", if we do a request for the details of one entry of the list, we will have to send the "going back" request to have the "History list" page again. But, it is not needed to "go back" to see other "details" pages. So, this change improve the performance by only going back once before trying to go to the next page of a History list page. In addition, this might fix some nasty issues as the website is "unstable" and could easily have timeout issues. And in that case, missing any step could easily break next requests with strange errors.
-
Florent Viard authored
show_more() is called to select the number of items per page. It will return False if the selector was not found, and True if it was found and successfully changed to the request value. But, currently, if we found the selector but it was already on the correct value, we would return nothing, that would be equivalent to False for the "if" test that is used in the browser.py. This issue associated with a previous issue when "stay_or_go" was used, led to having the history entries returned only for a single time, for single account, but not for subsequent calls or different accounts.
-
Florent Viard authored
Sometimes, instead of the expected content, an empty page with just a META redirection is returned when it looks like that the user was disconnected. Ex.: <!DOCTYPE html><html><head><META http-equiv="refresh" content="0; URL=/portal/salarie-axa/operations/consulteroperations"></head><body></body></html> A further request would encounter 302 redirections to the login page. In such a case, raise a "Loggedout" exception as previously it was just silently ignored and considered as a normal page. Note: check_disconnected as to be called manually in iter_history, as a simple "open" (compared to a "location") will not call the "on_load" function of the page.
-
Florent Viard authored
The s2e website is stateful, and a lot of different content can match the same url, so it is safer to always go back to the inital page. By only using a go, we can be sure that the good page will be loaded in the correct state before trying to use any function of the page.
-
Florent Viard authored
Also set the language when calling profile first before already having a cookie that had the correct language set by a call to accounts page. At the same time, to be future proof, add the xpath selectors for the us language version of the page.
-
Florent Viard authored
The extracting of the Amundi AMF code was broken as we were not trying to get it from the right page. But, as it looks like that the ISIN code is available, let's get that directly instead of the AMF Code.
-
Florent Viard authored
Sometimes, without logical reasons, we receive a broken login page. So detect this broken page as a BrowserUnavailable and attempt at least one retry.
-
Damien authored
If the login lenght exceeds 32 characters, Bred website will redirect to main page, without login user in and without error messages, which lead to raise 403 error when accessing users accounts.
-
Christophe François authored
For some accounts, the form to go to the invests page redirects to a 404. There is no detail available on the website for these accounts.
-
Ilyas Semmaoui authored
Previously a connection was set to wrongpass everytime there was an error even if it wasn't a real wrongpass (e.g. website unavailable)
-
Nicolas VERGNAC authored
Removed hardcoded unitvalue and quantity for euro funds Added original_currency
-
Damien Mat authored
Access can be blocked and user must ask new credentials. Because of bank server sensitivity we musn't try a new sync or access will be blocked again; so it is actually better to treat it as BrowserIncorrectPassword. This has been discussed directly with the bank.
-
Damien Mat authored
Put message in logger when token request fails to ease up log searches.
-
Martin Lavoie authored
-
Martin Lavoie authored
-
Ilyas Semmaoui authored
-
Christophe François authored
The form can be passed by clicking "No".
-
Christophe François authored
The old URL redirects to the new page of the first account, so every account had the same investments as the first account.
-
Christophe François authored
The URL has changed on Bourse Direct but not on ING.
-
Christophe François authored
The old link returns 404. If we follow the investment's link, we arrive on a new page. It's filled using javascript and API calls, which we can replicate.
-
Martin Lavoie authored
Some client are receiving the TLS_CLIENT_CERTIFICATE auth method at first. We can ask for a fallback auth method which should be password. Seen on palatine
-
Damien authored
Sometimes after login process the server redirect to an url ('/fr/systeme/page-indisponible') which belong to urls used to indicate that the password has expired, even when it doesn't. In such cases BrowserPasswordExpired is raised inconsistently to users. Getting rid of this url fix that problem and the erratic redirection of bnp doesn't affects users pathways since it occurs after the login.
-
Nicolas VERGNAC authored
-Change klass in LoanPage : Account > Loan -Add the following Loan obj_ when available : - name - total_amount - account_label - rate - maturity_date - next_payment_amount - next_payment_date
-
Damien Mat authored
-
Christophe François authored
-
ROLY Dorian authored
-
Damien Mat authored
Avoid error when using random.choices, which is Py3 only.
-
Guillaume Risbourg authored
The login form has changed a bit and another step is required after submitting the login form.
-
Christophe François authored
The page is currently not available. Instead of tagging all connections as websiteUnavailable we log a warning and fetch the rest of the documents.
-
Ilyas Semmaoui authored
The output from stderr was not properly handled on error leading to a TypeError exception
-
Guillaume Risbourg authored
The url to search documents based on the accounts has changed on the bnp website.
-
Guillaume Risbourg authored
-
Guillaume Risbourg authored
-