Commit graph

87 commits

Author SHA1 Message Date
Romain Bignon
c10199204f search query string: replace %(lat)s and %(lng)s with position in my profile 2015-04-29 10:34:26 +02:00
Romain Bignon
2eb5507c3a fix warnings 2014-10-19 13:33:37 +02:00
Florent
feb1405813 bump to 1.1 2014-10-17 14:10:38 +02:00
Florent
2ab2e68cc4 Import exceptions from weboob.exceptions 2014-10-15 14:52:57 +02:00
Laurent Bachelier
4f897a8675 pep8: Fix object comparisons 2014-10-11 01:46:25 +02:00
Laurent Bachelier
21e8f82fd7 pep8: Use "X not in Y" instead of "not X in Y"
flake8 --select E713, semi-manual fixing
2014-10-11 01:27:24 +02: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
Romain Bignon
1f95e7631f works with adopteunmec via https 2014-10-06 17:37:52 +02:00
Romain Bignon
f1b6d27823 remove useless features of module that don't work anymore 2014-10-06 17:22:40 +02:00
Laurent Bachelier
74a4ef6723 Use the print function everywhere
python modernize.py --no-six -f libmodernize.fixes.fix_print -w

With manual fixes as the import was put always on top.
2014-10-06 17:00:17 +02:00
Florent
0088013ae1 Rename BaseBrowser to Browser 2014-09-26 10:18:12 +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
Romain Bignon
0f1ce1d4b1 add tab to send queries 2014-07-19 15:42:19 +02:00
Florent
1daa866949 Move the import oh html2text outside of misc 2014-07-09 11:43:14 +02:00
Florent
c122e6f9cc Do not import/export dates utils in misc 2014-07-09 11:20:56 +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
a40643bf40 factorize aum's Contact.get_text() and boobmsg formatter into ICapContact 2014-05-17 19:07:31 +02:00
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Florent
9b022b2ebe bump to 0.h 2013-08-03 14:31:13 +02:00
Laurent Bachelier
a6ad7e83ff Use newer form of catching exceptions
autopep8 -i --select=W602
Also some other minor deprecated syntax changes, like "while 1".
I did not commit the less obvious changes.
2013-07-27 15:16:16 +02:00
Romain Bignon
c0740e695d remove useless import of with_statement (we do not support anymore python2.5)
refs #806
2013-07-27 14:38:18 +02:00
Florent
1310939fe0 Fix import of Pillow in modules 2013-06-06 13:50:43 +02:00
Romain Bignon
627d1baf7c fix encoding errors 2013-04-27 12:20:31 +02:00
Romain Bignon
4840dff989 reorganization 2013-04-20 15:43:14 +02:00
Romain Bignon
42b6c325c7 supprt some new fields 2013-04-20 11:48:11 +02:00
Romain Bignon
0084fa63f8 aum website needs to be logged to see profile now (because of craps) 2013-04-20 11:47:25 +02:00
Romain Bignon
e70cb76946 fix 'style' field 2013-04-20 11:12:37 +02:00
Romain Bignon
6cf1eed780 disable warning when unable to get public profile from website 2013-04-18 18:05:18 +02:00
Romain Bignon
f87ac66a73 unescape description of profiles 2013-04-04 17:27:41 +02:00
Florent
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01:00
Laurent Bachelier
fbe0fb8d52 Some manual style fixes 2013-03-16 00:57:31 +01:00
Laurent Bachelier
7094931c92 Easy spacing fixes, trailing stuff
Remove useless trailing \
Remove trailing spaces
Add missing empty lines

autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 .

Diff quickly checked.
2013-03-16 00:54:55 +01:00
Romain Bignon
8a238053cc fix send email when taken in a basket 2013-03-12 00:16:01 +01:00
Romain Bignon
feccadbf62 don't stop on threads with a contact who left the website 2013-03-12 00:09:39 +01:00
Romain Bignon
117e959571 readd field ratio 2013-03-06 20:31:27 +01:00
Romain Bignon
239194bdf3 fix regexps to discover geographical position of niggers 2013-03-04 15:42:59 +01:00
Romain Bignon
de14f239ed go on website to get stats and geographical position 2013-03-04 10:28:31 +01:00
Romain Bignon
7140033b3d support new 'favorite_food' field 2013-03-04 10:06:04 +01:00
Romain Bignon
789e96c600 fix display of summary 2013-03-04 09:59:53 +01:00
Romain Bignon
55d5c5c021 date used may be UTC 2013-02-22 14:05:52 +01:00
Romain Bignon
fc3b0ed384 weboob 1 aum 0 (closes #1041) 2013-02-22 13:55:12 +01:00
Romain Bignon
2f54c8f81c mimic mobile application (refs #1041) 2013-02-19 17:01:57 +01:00