Commit graph

80 commits

Author SHA1 Message Date
Guilhem Bonnefille
c81b622c29 weboobcfg: Format capabilities as JSON array
Capabilities was always displayed as a single list of entries
separated by comma. This is not really efficient as the reader has to
parse this string to retrieve atomic informations, even in JSON.

This patch allows to display the capabilities as an array, allowing
standard JSON parsers to immediatly returns a valuable information.
2014-11-18 22:49:38 +01:00
Romain Bignon
3f5f2b2479 weboob-config info: put all config details in dicts 2014-11-07 17:08:16 +01:00
Bezleputh
86fa4035c4 [base] improve weboob-config info command to allow json formatting 2014-11-07 15:04:43 +01:00
Florent
d6da9843db Set copyright in applications 2014-10-17 17:57:42 +02:00
Florent
feb1405813 bump to 1.1 2014-10-17 14:10:38 +02:00
Laurent Bachelier
4f897a8675 pep8: Fix object comparisons 2014-10-11 01:46:25 +02:00
Romain Bignon
c3c2ed404a return correct exit status code for enable and disable commands 2014-10-09 15:23:18 +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
Laurent Bachelier
c07e23cafc Use class attributes as much as possible for application output
refs #803
2014-09-04 12:41:25 +02:00
Florent
432f97e95c bump to 1.0 2014-09-03 17:14:10 +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
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
Romain Bignon
bdf4c13f4e remove useless calls to ReplApplication.flush() (closes #812) 2013-07-27 19:00:58 +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
1a09823c1c listing of backends: fix crash if a module cannot be loaded 2013-07-27 14:02:38 +02:00
Romain Bignon
cd96fc8d9a remove 'backends' command from help 2013-07-27 14:02:35 +02:00
Florent
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01:00
Laurent Bachelier
ae06ae3384 Add missing "whatis entry" to man pages
This is recommended by Debian.
closes #618
2013-02-13 00:38:33 +01:00
Florent
bf3132e8c0 bump to 0.f 2013-01-25 17:23:49 +01:00
Romain Bignon
4a1e4b5afa bump to 0.e 2012-10-28 20:39:49 +01:00
Romain Bignon
2f8072e89e bump to 0.d 2012-05-04 21:17:46 +02:00
Romain Bignon
bbcf8c7854 remove 'install' command 2012-04-28 15:46:57 +02:00
Romain Bignon
8e391d0b88 bump to 0.c 2012-03-14 22:09:24 +01:00
Romain Bignon
5744a5b7a1 fix 'weboob-config list' filtered by capabilities (closes #786) 2012-02-07 19:11:51 +01:00
Romain Bignon
4be4b40509 bump to 0.b 2012-02-05 19:35:30 +01:00
Romain Bignon
b3c797978a automatically install missing modules referenced in ~/.weboob/backends 2012-01-19 10:48:26 +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
eb3f681136 bump to 0.a 2011-10-10 11:38:02 +02:00
Romain Bignon
e731f42cb9 new method ConsoleApplication.acquire_input() to read stdin friendly 2011-07-11 22:18:25 +02:00
Romain Bignon
53e22d9f4b bump to 0.9 2011-05-08 18:31:44 +02:00
Michael Scherer
98e3da921b add enable and disable command to weboob-config
Signed-off-by: Michael Scherer <misc@zarb.org>
Signed-off-by: Romain Bignon <romain@peerfuse.org>
2011-05-08 16:40:04 +02:00
Romain Bignon
c587ce65b0 weboob-config can't be run in interactive mode anymore 2011-05-08 14:38:54 +02:00
Laurent Bachelier
8075d538f0 Better messages and return codes in applications
Use stderr and return codes >0 when it makes sense.
Loose return code conventions:
* 1 for generic errors
* 2 for user input errors
* 3 for remote errors (not found, etc.)
* 4 for not implemented
2011-05-04 00:44:43 +02:00
Romain Bignon
7e2bb91b3b change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
Romain Bignon
31a0a0a8be bump to 0.8 2011-04-04 10:30:09 +02:00
Romain Bignon
3cb6ca033f bump to 0.7 2011-03-01 13:57:23 +01:00
Romain Bignon
51246a77c0 fix pyflakes 2011-03-01 13:19:04 +01:00
Romain Bignon
7677ce4016 "weboob-config edit" prompts user to edit one backend, instead of opening ~/.weboob/backends with $EDITOR. 2011-02-28 10:50:14 +01:00
Romain Bignon
81f9980623 update copyrights 2011-01-14 23:03:52 +01:00
Romain Bignon
2ebb9a844d bump to 0.6 2011-01-08 12:30:28 +01:00
Christophe Benz
e9ede31053 fix parse_args conflict 2010-12-13 16:18:23 +01:00
Christophe Benz
5bdd1540fe s/parseargs/parse_args 2010-12-13 15:42:20 +01:00
Romain Bignon
78bfa70f23 set a description for every application 2010-12-09 12:03:38 +01:00
Romain Bignon
a83a81dde8 bump to 0.5 2010-12-01 19:55:59 +01:00
Christophe Benz
ea33ef4cc6 english fix 2010-11-22 01:07:27 +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