Commit graph

45 commits

Author SHA1 Message Date
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
Romain Bignon
9ff2f70284 support deinit 2010-08-03 20:16:57 +02:00
Romain Bignon
d026b0c2d5 correctly check when a field needs to be completed (and introduce the __iscomplete__ method) 2010-07-24 12:09:15 +02:00
Christophe Benz
d067808416 rename exception 2010-07-20 16:47:30 +02:00
Christophe Benz
1b42d2dc3a display backend repr when NotSupportedObject 2010-07-19 17:09:51 +02:00
Romain Bignon
edc83df3a1 new API for the fillobj feature and severaaal fixes 2010-07-18 00:35:07 +02:00
Romain Bignon
ca7d37e3cb renames 2010-07-13 18:47:31 +02:00
Christophe Benz
0028e48b61 backend move to tools 2010-07-12 03:16:05 +02:00
Renamed from weboob/core/backend.py (Browse further)