Commit graph

1,214 commits

Author SHA1 Message Date
Romain Bignon
b34b6d7901 add Value* classes and ValuesDict as OrderedDict container 2010-10-26 20:58:32 +02:00
Romain Bignon
bd44734f78 display a notice to encourage user to contribute when NotImplementedError is raised 2010-10-23 11:15:14 +02:00
Romain Bignon
05e1058066 add a warning when html2text is not found 2010-10-19 15:05:02 +02:00
Romain Bignon
41a76723b6 do not use a bold prompt (there are a several of problems) 2010-10-19 10:42:03 +02:00
Romain Bignon
0b646e0e14 do not display columns when all values are NotLoaded or NotAvailable 2010-10-17 15:01:32 +02:00
Romain Bignon
89e2c29447 fix falling back to default formatter 2010-10-16 22:24:59 +02:00
Romain Bignon
2968b4f7b6 fix: class attributes are shared between instances, do not use them here 2010-10-16 19:00:03 +02:00
Romain Bignon
fe39601810 backend newsfeed version is 0.3 (conforming to weboob version) 2010-10-16 18:58:54 +02:00
Clément Schreiner
11ad4ac948 Finished first version of newsfeed backend.
- Several feeds tested with QBoobMsg and apparently working correctly.
 - NewsfeedBackend.set_message_read() untested, but should be working.
 - weboob.tools.newsfeed provides content even when not provided as such by the
feed, using the "summary" instead.
2010-10-16 18:47:51 +02:00
Clément Schreiner
3f78167be5 Add missing copyright comments 2010-10-16 18:47:51 +02:00
Clément Schreiner
6472fdbc3f Removed test (that prevented the NewsFeed backend to work) 2010-10-16 18:47:51 +02:00
Clément Schreiner
a5470b9ce6 Add tool to manage RSS/Atom feeds
- weboob.tools.newsfeed a class representing a feed
 - the DLFP backend has been updated to use weboob.tools.newsfeed
2010-10-16 18:47:51 +02:00
Romain Bignon
73d33c0597 fix when HTTP server returns shit (closes #406) 2010-10-16 17:32:29 +02:00
Romain Bignon
e114fb654f correctly remove the '--Press a key to continue--' line 2010-10-16 15:02:46 +02:00
Romain Bignon
d2c70b7e98 in a tty, ask user to press <Enter> when text exceed the term height 2010-10-16 12:11:30 +02:00
Romain Bignon
570459f4e2 if page is not recognized, save response even if -a is not supplied 2010-10-16 10:05:23 +02:00
Romain Bignon
86f2ede418 fix empty commands 2010-10-15 18:29:32 +02:00
Romain Bignon
a9f6ec93aa renamed VideoPlayer to MediaPlayer 2010-10-15 18:29:10 +02:00
Romain Bignon
5794973932 new backend 'redmine' (implements ICapContent) 2010-10-15 16:32:06 +02:00
Romain Bignon
24e3671f27 video_list formatter display count in interactive mode, the full ID otherwise 2010-10-15 10:12:44 +02:00
Romain Bignon
61deb66ac8 set default formatter 2010-10-15 09:23:25 +02:00
Romain Bignon
a86a6b2669 rewrite formatters management in repl
Commands can use specific default formatters, user can redefine formatters
per commands or globally.
2010-10-14 20:09:32 +02:00
Romain Bignon
0b7ef16103 readurl() can take same arguments than openurl() 2010-10-14 14:08:21 +02:00
Romain Bignon
fa24395efb unused import 2010-10-13 09:34:10 +02:00
Christophe Benz
5b014361af forget \n 2010-10-12 19:43:48 +02:00
Christophe Benz
bd447b3cf2 simplify code 2010-10-12 19:43:48 +02:00
Romain Bignon
d351cd13f0 fix boobank when coming is not available 2010-10-09 09:03:41 +02:00
Romain Bignon
0ebf8d579d add class attribute to disable REPL behaviour 2010-10-08 10:52:35 +02:00
Romain Bignon
a36aa0d56e handle errors during loading and ask users to reconfigure backend 2010-10-01 20:17:23 +02:00
Romain Bignon
ad588d5d1d rename -S(--save-responses) to -a 2010-10-01 17:14:36 +02:00
Laurent Bachelier
0cdcd10b52 Fix syntax error with Python<2.6 2010-09-30 23:49:15 +02:00
Laurent Bachelier
a301177175 Also hook in the readurl method 2010-09-30 23:28:33 +02:00
Laurent Bachelier
da55da0d9d Optional global argument to save responses
By adding -S or --save-responses to an application's arguments, every
response will be saved in /tmp/weboob. This is best used with the
-d/--debug option.
It might be interesting to add the headers to the saved response.
2010-09-30 23:28:33 +02:00
Romain Bignon
41827c4160 show a messagebox on bcall errors instead of console print 2010-09-30 20:13:06 +02:00
Romain Bignon
217b029a6f pyflakes fixes 2010-09-30 12:40:09 +02:00
Romain Bignon
a8b6594af0 add help for logging command, and set it as a weboob command 2010-09-30 12:28:46 +02:00
Romain Bignon
37266a7945 add 'logging' command 2010-09-30 12:23:38 +02:00
Romain Bignon
c76e5f9e6a new command 'backends edit' 2010-09-30 12:07:53 +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
Romain Bignon
17f6df1e30 pyflakes fix 2010-09-28 11:58:23 +02:00
Romain Bignon
0ce8b12c32 stop scheduler when an application exits 2010-09-28 11:29:32 +02:00
Christophe Benz
9da22142be fix spawnlp usage 2010-09-28 02:26:05 +02:00
Christophe Benz
7004c1d669 move video player tool to external file 2010-09-28 02:16:18 +02:00
Christophe Benz
3939cf1039 fix bug when keyup:keydown in history 2010-09-28 01:27:44 +02:00
Christophe Benz
7f755c660d del ConsoleApplication 2010-09-28 01:27:22 +02:00
Christophe Benz
1fd34fe715 avoid python side effect 2010-09-27 14:57:26 +02:00
Christophe Benz
b896f5f75c use jquery chaining 2010-09-27 14:57:26 +02:00
Christophe Benz
d384a10810 reset queue before return 2010-09-27 14:57:26 +02:00
Romain Bignon
4f73e8535e catch every CallErrors errors in repl applications 2010-09-27 13:17:08 +02:00
Romain Bignon
95c445223c change output of 'backends list' command 2010-09-27 00:18:04 +02:00