Commit graph

44 commits

Author SHA1 Message Date
Romain Bignon
c54dbd2ee9 fix call of ads_token convert function 2015-06-13 18:21:39 +02:00
Baptiste Delpey
7a91f9efae paypal handle bad login/password 2015-05-14 13:08:59 +02:00
Romain Bignon
678e8b0975 execute fucking javascript convert() function on token 2015-05-12 09:03:37 +02:00
Vincent Paredes
1ae22f84a2 handling useless captcha page 2015-04-21 14:59:05 +02:00
Kitof
ebb829061f [paypal] new cert + fix conversion warning 2015-03-24 22:24:19 +01:00
Baptiste Delpey
15b9e1d10c we don't try to parse transactions without currencyCode anymore 2015-03-09 18:54:46 +01:00
Romain Bignon
3df00b6395 remove unused code, fix timeout of history fetch 2015-03-05 21:58:26 +01:00
Kitof
f9e92b76fa [paypal] Fix #1747 2015-03-04 22:49:40 +01:00
Kitof
131b01c599 [paypal] Get converted amount for foreign currencies 2015-03-04 13:37:06 +01:00
Romain Bignon
a7dcf82ec0 fix selection of table containing last file requests to be less ambiguous 2014-11-13 08:11:01 +01:00
Vincent Paredes
a09b941d2e fixing primary account display twice 2014-11-05 10:41:10 +01:00
Vincent Paredes
844d204ffa handling when currency is not in right place 2014-11-05 10:41:08 +01:00
Vincent Paredes
594e41e6c0 handling when user can't acces account balance on main account 2014-11-04 13:57:09 +01:00
Oleg Plakhotniuk
3aaf8181a5 Use AmericanTransaction.decimal_amount in PayPal module. Part of #1641 2014-10-13 04:23:57 -05:00
Laurent Bachelier
448c06d125 pep8 blank lines fixes
flake8 --select W391,E302,E301,E304

autopep8 can't fix W391 even though it claims it can.
Fixed using a simple custom script.
2014-10-10 23:41:44 +02:00
Romain Bignon
d61e15cf84 rename things related to browsers
weboob.tools.browser -> weboob.deprecated.browser
weboob.tools.parsers -> weboob.deprecated.browser.parsers
weboob.tools.mech -> weboob.deprecated.mech
weboob.browser2 -> weboob.browser
weboob.core.exceptions -> weboob.exceptions

Also, the new tree for browser2 is:

weboob.browser: import weboob.browser.browsers.* and weboob.browser.url.*
weboob.browser.browsers: all browsers (including PagesBrowser and LoginBrowser)
weboob.browser.url: the URL class
weboob.browser.profiles: all Profile classes
weboob.browser.sessions: WeboobSession and FuturesSession
weboob.browser.cookies: that's a cookies thing
weboob.browser.pages: all Page and derivated classes, and Form class
weboob.browser.exceptions: specific browser exceptions
weboob.browser.elements: AbstractElement classes, and 'method' decorator
weboob.browser.filters.*: all filters
2014-10-07 00:30:07 +02:00
Florent
444d36eee8 Rename BasePage to Page 2014-09-26 10:18:12 +02:00
Laurent Bachelier
3da02fde24 Remove useless __all__ in modules
They bring nothing of value (we never use import * anyway) and introduce
a maintenance burden.

The __all__ that I left might not be very useful either but at least
they are not a pain to maintain; they are also used by pyflakes in some
cases.
2014-09-09 19:00:02 +02:00
Romain Bignon
ed46d72f21 ignore canceled transactions 2014-09-02 17:09:23 +02:00
Romain Bignon
fdaf3e159e support french dates for last CSV request 2014-09-02 16:54:14 +02:00
Jean-Philippe Dutreve
b828864901 Fix empty amount. Closes #1415 2014-09-02 12:07:36 +02:00
Oleg Plakhotniuk
3b528c4f54 Make Paypal module use AmericanTransaction helper.
Signed-off-by: Oleg Plakhotniuk <olegus8@gmail.com>
2014-08-30 17:51:36 +02:00
Vincent Paredes
41b55220ec checking if tr contains text 2014-08-19 15:19:34 +02:00
Vincent Paredes
13802f497e fixing when requesting the same file 2014-08-05 14:43:46 +02:00
Oleg Plakhotniuk
9a2f0d55aa Retrieve all transactions from the history. Merchant and regular account support. All transactions add up to balance.
Signed-off-by: Oleg Plakhotniuk <olegus8@gmail.com>

closes #1406
2014-06-22 22:37:20 +02:00
Oleg Plakhotniuk
196dac615a Get more transactions on paypal
close #1405
2014-06-18 15:02:50 +02:00
Romain Bignon
ad22e8153e ignore extra-lines in accounts list 2013-05-24 17:27:06 +02:00
Romain Bignon
5e5cf2f380 mechanize forms accept only str objects 2013-04-01 17:01:33 +02:00
Laurent Bachelier
8898f7facd paypal: Oops, really fix empty row issue 2013-02-12 22:07:54 +01:00
Laurent Bachelier
3d67c09311 paypal: Support transaction types 2013-02-12 18:56:33 +01:00
Laurent Bachelier
ca4c97b42f paypal: Handle multiple pages 2013-02-12 18:29:01 +01:00
Laurent Bachelier
4ed53b5de9 paypal: Ignore "empty" rows 2013-02-12 16:54:09 +01:00
Laurent Bachelier
3199c0dd3c Rewrite history fetching (without CSV)
Very simple for now, does not handle going on the next page, or
categorizations (like CSV does).
2013-02-11 18:47:28 +01:00
Laurent Bachelier
49c37a5600 paypal: Try to convert from utf-8, fall back on latin-1 2013-02-05 20:35:21 +01:00
Laurent Bachelier
e5a3a7055d paypal: Fix for French-language website 2013-02-05 18:15:55 +01:00
Laurent Bachelier
0705ce5b02 paypal: Simpler "real" transaction filtering 2013-02-05 16:57:47 +01:00
Laurent Bachelier
235bc87a0a paypal: Fix OMFG warning 2013-02-05 16:32:18 +01:00
Laurent Bachelier
f5c80141ff paypal: History support through CSV download 2013-02-05 16:32:18 +01:00
Laurent Bachelier
efbc3b9ef6 paypal: Add function to download the CSV history 2013-02-05 16:32:18 +01:00
Laurent Bachelier
f84e200e15 paypal: Support "american" balance style
Sources: http://i.imgur.com/rtcuMDa.jpg http://i.imgur.com/TNcLbPB.jpg
2013-02-05 16:32:18 +01:00
Laurent Bachelier
0cbd3dee6e paypal: Fix balance parsing with a single currency account 2013-02-05 16:32:18 +01:00
Laurent Bachelier
395d7e5e5d paypal: Proper multi-currency support
An account per currency.
And fix xpath (missing ".").
2013-02-05 16:32:18 +01:00
Laurent Bachelier
6e7599d4e3 paypal: Start support for multiple currencies
For now, ignore everything that is not the primary, and do not use the
converted total.

This is based on http://i.imgur.com/TNcLbPB.jpg
as I have 0 in all currencies for now.
2013-02-05 16:32:18 +01:00
Laurent Bachelier
0e505c0b1d Add basic PayPal module
Limitations for now:
* Only French-style (UUU,CC and not UUU.CC) balances; the choice is not left up to the user so
  it's hard to test
* No history (should be easy to add)
2013-02-05 16:32:17 +01:00