Commit graph

76 commits

Author SHA1 Message Date
Romain Bignon
d07f661cb0 import pkg_resources only when needed, to prevent a hard useless dependency 2014-05-06 15:14:28 +02:00
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Romain Bignon
e2476bfb0e WebNip tries to find path to package weboob_modules 2013-08-18 20:21:57 +02:00
Romain Bignon
badab27702 add class WebNip 2013-08-18 16:30:23 +02:00
Florent
9a0f9d0fc9 Remove condition from core 2013-08-06 19:05:21 +02:00
Laurent Bachelier
23a71d847b Code style fixes, mostly whitespace 2013-08-04 20:00:19 +02: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
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01:00
Romain Bignon
0a603ff42a qt: display a dialog to ask user to update repositories at run if error 2013-03-26 09:53:17 +01:00
Florent
fc3eefff09 Check if repositories are ok at the application runtime
Closes #1072
2013-03-22 18:01:32 +01:00
Laurent Bachelier
fbe0fb8d52 Some manual style fixes 2013-03-16 00:57:31 +01:00
Florent
bf3132e8c0 bump to 0.f 2013-01-25 17:23:49 +01:00
Romain Bignon
32e965d338 weboob-config add: fix double message "Unable to load module" 2013-01-14 21:22:03 +01:00
Florent
528cc826ce Allow to exclude some backends
closes #617
2013-01-10 19:05:52 +01:00
Romain Bignon
4a1e4b5afa bump to 0.e 2012-10-28 20:39:49 +01:00
Romain Bignon
f16f1ddb87 fix exception 2012-05-15 09:36:07 +02:00
Romain Bignon
2f8072e89e bump to 0.d 2012-05-04 21:17:46 +02:00
Romain Bignon
7cf5cb565c raise an error if module is not found 2012-04-11 19:29:33 +02:00
Romain Bignon
c6a141595c change way to describe fields of CapBaseObject, and lot of documentation 2012-03-26 14:35:54 +02:00
Romain Bignon
7ecdd4e7dc load_backend: don't catch when there is an error to load a module 2012-03-22 16:33:05 +01:00
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