Commit graph

40 commits

Author SHA1 Message Date
Florent
31f206e697 Fix low balance listing
When the balance is low, the span class is "low-balance" and not
balance. Use 'contain' to be more robust
2015-03-19 22:29:54 +01:00
Florent
feb1405813 bump to 1.1 2014-10-17 14:10:38 +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
9949bbf919 Move exceptions to weboob.core.exceptions 2014-10-02 11:04:14 +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
Florent
5a1d83b567 Rename BaseModule to Module and Module to LoadedModule 2014-09-26 10:18:12 +02:00
Florent
f3aeddffbc Rename backend.py to module.py 2014-09-26 10:18:12 +02:00
Florent
9370b2fae7 s/Backend/Module 2014-09-26 10:18:11 +02:00
Florent
3ecb491c1c s/BACKEND/MODULE/ 2014-09-26 10:18:11 +02:00
Florent
8559af3d6a s/BaseBackend/BaseModule 2014-09-26 10:18:11 +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
432f97e95c bump to 1.0 2014-09-03 17:14:10 +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
Romain Bignon
e025fb0b20 rename ICap to Cap (closes #1424) 2014-07-05 17:33:44 +02:00
Florent
9ca0bbae6a bump to 0.j 2014-05-19 22:45:35 +02:00
Romain Bignon
e434bb90e2 all browser2 modules may import exceptions from weboob.tools.exceptions 2014-05-17 14:27:56 +02:00
Florent
21fe640453 Use @pagination 2014-04-15 10:32:37 +02:00
Florent
74b99c4a8d Filters on kwargs for find_object 2014-04-02 10:46:31 +02:00
Florent
6591785a10 s/find_id_list/find_object/ 2014-04-02 10:31:00 +02:00
Florent
080c4aff81 Introduce find_id_list
And code simplification in backends/browsers
2014-04-01 17:40:38 +02:00
Romain Bignon
9ab8538b42 remove unused imports 2014-03-25 21:49:47 +01:00
Florent
2c63f6d52e Better next_page field 2014-03-25 13:25:25 +01:00
Florent
e289fc6b8f Rename the filter Date to Datetime. Introduce Date 2014-03-25 12:23:08 +01:00
Florent
e1944d95f3 Date actually supports Datetime objects 2014-03-25 12:11:40 +01:00
Romain Bignon
38a99064b0 add filter Format in default formatters 2014-03-21 08:31:42 +01:00
Florent
876ddb7378 Trivial pep8 cleaning 2014-03-20 16:16:35 +01:00
Florent
39ea87fa61 Replace Insert2 by InsertX
And remove the encoding of login/password
And move BrowserBanned exception in page
2014-03-20 16:07:50 +01:00
Florent
5cdefd8966 Support pagination for history, fix crash when the call is free 2014-03-20 15:37:50 +01:00
Florent
a9020483c2 Cleaning after browser2 2014-03-20 15:11:14 +01:00
Florent
8ec4f24c9a Convert poivy to Browser2 2014-03-20 15:07:10 +01:00
Romain Bignon
6099560b8c change currencies integer constants to ISO code strings 2014-02-16 19:48:17 +01:00
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Florent
0cd854409a Catch free calls 2013-09-26 13:01:55 +02:00
Florent
6d0dd80522 Fuck anti-scrapping
A lot of similar forms in the source (ten...), with a hidden
value to validate a real user (form selected by javascript).

But we are lucky, this id can be read is the newsletter form or
in the free call form.
2013-09-26 12:56:04 +02:00
Florent
cf6c421264 Fix detection of captcha 2013-09-25 12:33:26 +02:00
Florent
fa214f5760 Raise BrowserBanned if IP banned 2013-09-24 13:59:08 +02:00
Florent
93129f5aed Add tests for poivy module 2013-09-18 13:38:18 +02:00
Florent
4e278e8cdf It was to easy: multiple login form, select the good one 2013-09-17 16:38:21 +02:00
Florent
4ff5007f36 Initial poivy import 2013-09-12 13:20:28 +02:00