Commit graph

49 commits

Author SHA1 Message Date
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
a019819f9d Move browser2 from weboob/tools/b2 to weboob/browser2 2014-10-02 11:01:34 +02:00
Florent
54a1bc4809 Remove * imports in filters 2014-09-29 22:31:54 +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
Florent
a434f33a61 Set replace_dots everywhere
The goal is to change the default value in CleanDecimal
2014-08-21 10:21:53 +02:00
Laurent Bachelier
0f90d6e9dd Some English fixes
"informations" is incorrect; try to use a better word, or the invariant "information".
2014-07-09 12:50:32 +02:00
Florent
76cb004eb4 Move ItemListTable-Element outside of page.py
One of the goal is to not import all modules needed by filters by
loading the page file.

In the same goal, move the import of parsers in the class definition.
2014-07-09 10:23:20 +02:00
Florent
7d4b27a704 Restore old id on bills 2014-04-03 15:07:07 +02:00
Florent
e8c387aa02 Make history working with browser2 2014-04-03 14:53:12 +02:00
Florent
25725f79cf Convert freemobile to browser2 2014-04-03 13:08:59 +02:00
Florent
ce3bdd82c1 Small typo 2014-01-31 16:33:48 +01:00
Florent
8a3c79e8ee Fix date of subscriptions when next month as less days than excepted
closes #1347
2014-01-31 15:02:40 +01:00
Romain Bignon
512bfe6b0b remove trailing spaces 2013-07-20 11:11:21 +02:00
Kitof
850dce420e Fix bills list
Signed-off-by: Kitof <git@kitof.net>
2013-07-19 14:37:10 +02:00
Willy Villard
f18b96ff5b freemobile: Fix history when internationals calls option is not suscribed
fixes #1078
2013-04-01 12:10:29 +02:00
Florent
7988738e9a Fix nat->inter voice parsing 2013-03-02 10:31:33 +01:00
Florent
72c230e81d Small coding style issue 2013-02-04 16:35:10 +01:00
Florent
c0fc9c7dd6 Add multi-account support for bills 2013-02-03 11:23:08 +01:00
Florent
9d693bd982 Create an id for calls 2013-01-28 15:45:44 +01:00
Florent
7430246c24 Get renew date on mutli accounts 2013-01-25 12:00:08 +01:00
Florent
b8227b69b1 pep8 cleaning 2013-01-08 21:03:19 +01:00
Florent
e35c7812ea Get renew date on freemobile 2013-01-08 20:52:30 +01:00
Florent
f05786441a Add a real id for all details objects
close #932
2012-11-22 12:03:34 +01:00
Florent
64d9493b60 Fix bills and download commands
Site changed
2012-11-17 15:05:58 +01:00
Florent
16bab6f4cd Fix history command
Site changed
2012-11-17 15:05:26 +01:00
Florent
950219435b Fix parsing details (site changed) 2012-11-17 15:05:24 +01:00
Jean-Christophe Dubacq
289ad85ae4 Fix freemobile for name with a dash
Always get the last element of the list
close #915
2012-10-03 19:13:06 +02:00
Florent
d9ed7c2ed2 Fix some imports issue 2012-08-29 16:52:05 +02:00
Florent
c4f44361b6 Add multiaccount support for history command 2012-08-29 16:52:02 +02:00
Florent
adce6d0c83 Support multiple account for details operation 2012-08-27 15:01:22 +02:00
Florent
9fdb35d05b Fix internationals calls 2012-07-12 11:38:59 +02:00
Romain Bignon
ddcf9ffb0e add a test script 2012-07-12 11:34:13 +02:00
Romain Bignon
dcecf61f46 fix internationals calls 2012-07-12 11:19:52 +02:00
Florent
7f290ef512 Fix pdf downloading 2012-07-03 17:10:05 +02:00
Florent
aabd8a2f2a Fix freemobile history pages (site change) 2012-04-23 11:20:27 +02:00
Romain Bignon
22c2210fe7 never convert a float to Decimal 2012-04-11 13:25:58 +02:00
Romain Bignon
b157e92d5b use decimal.Decimal instead of float to store amounts of money 2012-03-29 16:31:18 +02:00
Florent
ce119b27e7 Fix whitespace in history 2012-03-28 14:46:59 +02:00
Florent
de2a777bde Fix details command (site change) 2012-03-28 14:46:58 +02:00
Florent
d3de7d24de Fix parsing of internationals comings calls 2012-03-14 17:09:01 +01:00
Florent
a9d103ce5b Improve difference between National/International 2012-03-14 15:28:42 +01:00
Florent
7d4e185d02 Fix multiples results in prompt application 2012-03-14 11:46:08 +01:00
Romain Bignon
74a39b3ff5 fix call to get_details() 2012-03-14 07:20:54 +01:00
Florent
99a2e554e8 Download bill on freemobile 2012-03-14 07:12:03 +01:00
Florent
c890fe26d7 Search bills on freemobile 2012-03-13 22:01:13 +01:00
Florent
c4d1cde58c Sort results by date (last call in first position) 2012-03-13 22:01:10 +01:00
Florent
5fac5421eb Add history of calls on freemobile module 2012-03-13 22:01:08 +01:00
Florent
dfb66a4fbd Pep8 cleanup on freemobile module 2012-03-13 14:46:55 +01:00
Florent
1484251c65 First implementation of freemobile website 2012-02-26 18:35:03 +01:00