Laurent Bachelier
30ca21c5d8
Use the right default value for XDG_DATA_DIRS
...
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
2012-03-15 18:51:18 +01:00
Romain Bignon
8e391d0b88
bump to 0.c
2012-03-14 22:09:24 +01:00
Romain Bignon
a51219a192
add_backend: do not crash if params is None
2012-03-03 23:19:58 +01:00
Olivier Schwander
825dc0b5b1
Fix path building for config dir and data dir
...
The paths are now correctly built in the case where $XDG_DATA_HOME and
$XDG_CONFIG_HOME are not empty: the "weboob/" suffix was in the fallback
argument of the os.get.environ.
Signed-off-by: Olivier Schwander <olivier.schwander@ens-lyon.org>
Signed-off-by: Romain Bignon <romain@symlink.me>
2012-02-17 13:21:19 +01:00
Romain Bignon
4be4b40509
bump to 0.b
2012-02-05 19:35:30 +01:00
Romain Bignon
f7a35c7ea8
add a method Weboob.load_backend()
2012-02-01 23:06:00 +01:00
Laurent Bachelier
a3b75fc2bb
Use the correct location for sources.list
...
It was moved to the right directory, but Repositories tries to find it
in the datadir, not in the workdir.
2012-01-27 23:37:08 +01:00
Romain Bignon
7d3a717722
correctly remove the old .weboob directory
2012-01-27 17:41:11 +01:00
Romain Bignon
3a3bbd377e
support XDG Base Directory Specification ( closes #765 )
2012-01-27 17:34:08 +01:00
Romain Bignon
f28fac3a27
oops, fix crash ( closes #764 )
2012-01-20 13:58:19 +01:00
Romain Bignon
b3c797978a
automatically install missing modules referenced in ~/.weboob/backends
2012-01-19 10:48:26 +01:00
Romain Bignon
5083103d1a
fix messages
2012-01-18 11:45:47 +01:00
Laurent Bachelier
55465a2e4c
Display the proper config file path
2012-01-18 00:42:19 +01:00
Romain Bignon
9d87c8bc37
"weboob-config update" installs missing modules referenced in ~/.weboob/backends
2012-01-17 17:59:03 +01:00
Romain Bignon
14a7a1d362
support repositories to manage backends ( closes #747 )
2012-01-17 17:00:05 +01:00
Romain Bignon
be2be4af9c
add a callbacks system
2011-05-21 10:26:31 +02:00
Romain Bignon
7e2bb91b3b
change license to AGPLv3+
2011-04-08 12:48:07 +02:00
Romain Bignon
8c78764be5
fix when backend is unknown ( closes #436 )
2010-11-29 21:07:28 +01:00
Romain Bignon
11123a1176
when the backends string is empty do not display a warning message
2010-11-28 15:45:31 +01:00
Christophe Benz
0202534969
escape * in docstring
2010-11-25 16:39:05 +01:00
Romain Bignon
a56eaf09e2
wrap IScheduler.cancel()
2010-11-20 20:53:21 +01:00
Romain Bignon
b6821b0567
fixes related to ModuleLoadError
2010-11-17 19:43:25 +01:00
Christophe Benz
f0c3e6029a
introduce ModuleLoadError
2010-11-17 15:05:53 +01:00
Christophe Benz
557cae23e4
english fix :)
2010-11-15 11:45:22 +01:00
Romain Bignon
c644aacd29
fix: use ResultsCondition in BackendsCall instead of hack in Weboob (refs #372 )
2010-11-14 21:46:48 +01:00
Christophe Benz
5fc8c14b2d
fix #372 conditions should not be treated by formatters
2010-11-14 15:04:20 +01:00
Romain Bignon
ecff9ebb64
ignore when a backend is not found in list
2010-11-11 14:58:10 +01:00
Romain Bignon
79c7bd9816
get_backend can get an optional 'default' parameter
2010-11-11 01:11:17 +01:00
Romain Bignon
84b4003bf4
use several loggers for parts of weboob
2010-10-30 16:09:33 +02:00
Romain Bignon
a45c294385
add 'errors' parameter to load_backends to get list of errors during loading
2010-10-01 20:16:58 +02:00
Romain Bignon
6dfbda042c
correctly handle BrowserUnavailable and BrowserIncorrectPassword exceptions in repl applications ( closes #302 )
...
It asks user to reconfigure backend when BrowserIncorrectPassword is
raised.
2010-09-30 11:59:12 +02:00
Christophe Benz
ab4a427586
new ReplApplication base class
2010-09-21 13:10:48 -04:00
Romain Bignon
d632fb6164
fix: do not load disabled backends
2010-08-31 18:08:55 +02:00
Romain Bignon
9f5c9aeebc
renamed BackendsLoader to ModulesLoader
2010-08-24 11:03:39 +02:00
Romain Bignon
f0ea8829a2
display weboob-config-qt at launch on Qt applications when there are no configured backends
2010-08-20 12:22:04 +02:00
Romain Bignon
9581fa0b19
all loaded backends are now configured (refs #368 )
2010-08-19 22:15:38 +02:00
Christophe Benz
8afff42465
compare instance to basestring instead of (str, unicode)
2010-08-17 19:33:06 +02:00
Romain Bignon
978f44c9df
when a backend is loaded twice, unload the previous one
2010-08-14 17:47:38 +02:00
Romain Bignon
9c7f585753
new tests architecture
2010-08-13 17:27:22 +02:00
Romain Bignon
843db82d8a
port QHaveSex and QBoobMsg to new ICapMessage.Message API
2010-08-13 16:24:59 +02:00
Christophe Benz
b720e851fa
bugfix when backends=''
2010-08-09 20:05:48 +02:00
Romain Bignon
9ff2f70284
support deinit
2010-08-03 20:16:57 +02:00
Romain Bignon
37c0ee8938
new function unload_backends()
2010-08-03 20:14:22 +02:00
Christophe Benz
eca1e59191
handle the case a backend is configured but not installed
2010-08-03 17:36:09 +02:00
Christophe Benz
59b957d38f
do not load disabled backends
2010-08-03 17:35:14 +02:00
Romain Bignon
a41c5394db
configured backend parameter '_enabled' to enable or disable it
2010-08-02 09:52:38 +02:00
Romain Bignon
45ac367554
fix do() when the 'backends' attribute is an empty string or an unknown type
2010-07-27 10:55:49 +02:00
Romain Bignon
fd846da3f7
fix giving a string as backend
2010-07-25 22:48:21 +02:00
Romain Bignon
8fe2facd9f
fix do() with caps
2010-07-18 01:22:02 +02:00
Romain Bignon
fc4badf88e
merge do_caps() and do_backends() into do() (optional keyword params 'backends' and 'caps')
2010-07-17 13:48:32 +02:00