Romain Bignon
e4d4ed206f
correctly handle _proxy_ssl backend's private config
2014-05-18 18:35:12 +02:00
Romain Bignon
42028c390f
add a 'settings' attribute on loggers to store user values like 'save_responses', 'responses_dirname', 'ssl_insecure', etc.
2014-03-25 22:58:35 +01:00
Romain Bignon
8292eadaee
remove useless debug message, imports and functions
2014-03-13 21:27:43 +01:00
Johann Broudin
0f1726d01c
add ssl proxy support to browser and browser2 and add the option _proxy_ssl
2014-03-13 20:20:02 +01:00
Romain Bignon
0a0865542a
temp hack to support new browser
2014-03-10 13:11:07 +01:00
Florent
20917a1efe
Better formatting of version number in debug
...
Thanks to Romain
2014-01-20 14:44:02 +01:00
Florent
8ed0c7f87c
Add version information in Debug
2014-01-20 11:26:11 +01: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
59695eafc9
fix crash if backend name contains unicode chars
2013-07-23 22:11:23 +02:00
Laurent Bachelier
4b38dcbbed
Fix doctests for pyflakes
...
I'm pretty sure those doctests will not work if ran, but they serve
as useful documentation.
2013-07-21 00:40:49 +02:00
Laurent Bachelier
edf72dfb33
Do not try to fill None
...
Use case: videoob play on an unknown URL.
The get_object(... , ['url']) would throw a FieldNotFound, when the
right error should be video not found.
2013-03-30 01:04:37 +01:00
Romain Bignon
8550c17cf7
do not cry if an object in not support to be filled by a backend
2013-01-30 11:34:28 +01:00
Laurent Bachelier
3a66728392
Fix crashes with unicode characters in maintainer name
...
Change every mention of MAINTAINER to avoid future issues.
2012-10-24 13:29:30 +02:00
Romain Bignon
6f46c41743
do not fail during fullobj() if the object is not supported by backend
2012-04-28 16:38:55 +02:00
Romain Bignon
057c23f10b
can set a parameter '_debug_dir' to backend
2012-04-26 14:59:10 +02:00
Romain Bignon
7082571acf
update code documentation
2012-04-01 17:41:20 +02:00
Romain Bignon
c6a141595c
change way to describe fields of CapBaseObject, and lot of documentation
2012-03-26 14:35:54 +02:00
Laurent Bachelier
006e97a8be
PEP8 style fixes and other small style fixes
...
I used autopep8 on some files and did carefully check the changes.
I ignored E501,E302,E231,E225,E222,E221,E241,E203 in my search, and at
least E501 on any autopep8 run.
Other style fixes not related to PEP8:
* Only use new-style classes. I don't think the usage of old-style
classes was voluntary. Old-style classes are removed in Python 3.
* Convert an if/else to a one-liner in mediawiki, change docstring style
change to a comment something that wasn't really appropriate for a
docstring.
* Unneeded first if condition in meteofrance
2012-03-14 04:51:46 +01:00
Laurent Bachelier
03f65bb121
Try to separate saved responses by backend
...
closes #661
2012-02-01 23:04:04 +01:00
Romain Bignon
14a7a1d362
support repositories to manage backends ( closes #747 )
2012-01-17 17:00:05 +01:00
Romain Bignon
cb1372b99f
new class BackendConfig to manage backend configs
2011-05-21 10:26:57 +02:00
Romain Bignon
2825ff643b
pylint fixes
2011-05-08 17:51:06 +02:00
Romain Bignon
f603c44d6c
fix iter_caps() to not return only immediate base cap classes
2011-05-03 16:11:14 +02:00
Laurent Bachelier
39bfdade27
Use the lowercase http_proxy environment variable
...
The 'correct' way is to have it lowercase, though there is a lot of
confusion around it.
2011-04-09 15:40:23 +02:00
Romain Bignon
7e2bb91b3b
change license to AGPLv3+
2011-04-08 12:48:07 +02:00
Christophe Benz
3dd50f363d
remove unnecessary brackets
2010-12-08 18:10:42 +01:00
Romain Bignon
bbd7b66413
don't need to logout from dlfp if the browser hasn't been used
2010-11-18 12:24:49 +01:00
Romain Bignon
f4e2588842
use backend instance name for logger
2010-11-14 22:12:30 +01:00
Romain Bignon
ebe29a061f
new method 'delete' in storage and config
2010-11-11 01:11:00 +01:00
Romain Bignon
7200618a93
fix bug with logger in BaseBackend.ICON class property
2010-11-04 21:17:18 +01:00
Romain Bignon
84b4003bf4
use several loggers for parts of weboob
2010-10-30 16:09:33 +02:00
Romain Bignon
8fc7860150
$full and $direct selectors work
2010-10-30 11:24:49 +02:00
Romain Bignon
2d2a942494
use Value* classes instead of ConfigField
2010-10-26 21:02:42 +02:00
Christophe Benz
9e2345eeb9
implement select command
2010-09-21 13:10:52 -04:00
Romain Bignon
3102e79e51
fix check of not loaded data
2010-08-30 18:19:50 +02:00
Romain Bignon
089441433d
fillobj can take a string
2010-08-30 16:59:52 +02:00
Romain Bignon
9f5c9aeebc
renamed BackendsLoader to ModulesLoader
2010-08-24 11:03:39 +02:00
Christophe Benz
8afff42465
compare instance to basestring instead of (str, unicode)
2010-08-17 19:33:06 +02:00
Romain Bignon
3ced2bee38
fillobj(): when '*' is in fields, or if fields is None, select all of not loaded fields
2010-08-15 10:11:00 +02:00
Romain Bignon
b354f8d3a7
enhancement of load detection of fields
2010-08-14 21:50:31 +02:00
Romain Bignon
9c7f585753
new tests architecture
2010-08-13 17:27:22 +02:00
Romain Bignon
50d0c9a728
enhancement of the ICapMessages.Message object
2010-08-13 14:38:42 +02:00
Romain Bignon
85100e4c3a
fix error message when the value isn't in the choices list
2010-08-13 11:18:55 +02:00
Romain Bignon
cf1da91308
new 'choices' attribute of BaseBackend.ConfigField
2010-08-13 11:10:11 +02:00
Christophe Benz
16b0094821
check type instead of instance
2010-08-12 17:08:17 +02:00
Christophe Benz
d81f5dac7a
ObjectNotSupported is now an assertion
2010-08-12 16:45:05 +02:00
Christophe Benz
53f6571fee
implement max_results option and infinite search for youtube
2010-08-12 16:04:53 +02:00
Christophe Benz
f4873db403
compare to NotLoaded in fillobj
2010-08-12 16:04:53 +02:00
Christophe Benz
13f9fc07b2
move icons to xdg standard dirs, add desktop files
...
closes #359
2010-08-11 19:30:30 +02:00
Romain Bignon
7b0c91275f
ability to check caps of a backend against a string (not only a class)
2010-08-11 15:00:27 +02:00