Commit graph

863 commits

Author SHA1 Message Date
Laurent Bachelier
42b5eeeb77 browser2: Try to have extensive documentation 2014-03-10 13:11:06 +01:00
Laurent Bachelier
240abaf412 browser2: Better redirection fix
We have to redo request building for all redirection codes even if we
don't fix them, for consistency.
And only 302 seems to be problematic.
2014-03-10 13:11:06 +01:00
Laurent Bachelier
92073a2cf1 browser2: Better tests
Allow using local services, add RequestBin support.
Still using PostBin for the empty POST issue.
2014-03-10 13:11:06 +01:00
Laurent Bachelier
b70d722c03 browser2: Add support for relative URLs / BASEURL 2014-03-10 13:11:06 +01:00
Laurent Bachelier
60d1d03c1c browser2: Handle server issues of postbin.org
And move tests outside.
2014-03-10 13:11:06 +01:00
Laurent Bachelier
72cbc5bd8b browser2: Add a default timeout
Because no timeout is pretty dangerous
2014-03-10 13:11:06 +01:00
Laurent Bachelier
a1b7232521 browser2: Browser load urls, post, track state
With working tests!
2014-03-10 13:11:06 +01:00
Bezleputh
95ca604472 convert string to unicode to avoid warning message 2014-02-26 20:12:00 +01:00
Vincent Paredes
158efcded0 adding ChaoticDateGuesser when you know an interval 2014-02-26 18:37:52 +01:00
Bezleputh
11efe2d85d add **kwargs to manage extra args in xpath and cssselect 2014-02-24 20:09:28 +01:00
Bezleputh
5ea0307b6a add an xml parser 2014-02-24 20:07:49 +01:00
Romain Bignon
8955815805 better display to prompt user passwords 2014-02-24 14:55:06 +01:00
Florent
c2466f5018 Do not name the exception
pyflakes was complaining about a unused variable
2014-02-20 16:13:31 +01:00
Vincent A
2c3922ed2c new image paste module: imgur 2014-02-19 22:14:23 +01:00
Romain Bignon
2147c4b363 unify no_login and nologin 2014-02-16 19:49:08 +01:00
Romain Bignon
44da8924bf use name of module, not of backend 2014-02-09 19:09:39 +01:00
Florent
562062ac85 Display backend@issues.weboob.org and not backend.EMAIL 2014-02-09 14:32:31 +01:00
Romain Bignon
d9e33e50b8 strip password command output and take only the first line 2014-02-07 17:09:45 +01:00
Bezleputh
c6a9abcc7e [repl] Optimization: do not fetch the collections when not needed 2014-02-06 11:30:15 +01:00
Vincent Paredes
56310adcad fixing password encoding issue
Signed-off-by: Romain Bignon <romain@budget-insight.com>
2014-02-05 18:22:48 +01:00
Romain Bignon
829ecf8305 fix: masked parameter wasn't considered 2014-01-31 17:13:58 +01:00
Romain Bignon
536bc13347 catch ^C on global bcall errors handler 2014-01-31 17:13:58 +01:00
Romain Bignon
43022f434a cleaned fix 2014-01-26 15:32:37 +01:00
Romain Bignon
478e85a2d8 better detection of editor used 2014-01-26 14:59:00 +01:00
Romain Bignon
b36daee5b1 prompt (beautifully) user during configuration of a backend 2014-01-24 00:39:43 +01:00
Romain Bignon
4dd2bbfb7b if value is a command, do not validate conditions 2014-01-23 23:36:32 +01:00
Florent
0e93b9ba38 Move the call to external command in Value.load 2014-01-23 23:36:32 +01:00
Pierre Mazière
987dd2ee1d more verbose report of an external command failure
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-23 23:36:32 +01:00
Pierre Mazière
c3a704be67 support for password retrieval from any cli tools
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-23 09:18:42 +01:00
Romain Bignon
2b0d4e8b91 create/edit tickets in a text editor 2014-01-22 00:00:43 +01:00
Florent
20917a1efe Better formatting of version number in debug
Thanks to Romain
2014-01-20 14:44:02 +01:00
Florent
8ed0c7f87c Add version information in Debug 2014-01-20 11:26:11 +01:00
Romain Bignon
d2b9a0a2d2 move obj_to_filename() into ReplApplication and use it in weboorrents 2014-01-16 23:56:42 +01:00
Pierre Mazière
7c5e21038b fix #1325: exclude backends that do not implement the required method
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-13 19:25:47 +01:00
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Laurent Bachelier
a3306cc222 Add mpv to default players
It's another fork of mplayer, more active than mplayer2.
2014-01-08 08:06:18 +01:00
Florent
a5a4c2e44a Accept 0 and negative value for count
We already accept zero and negative value with the option -n, for
consistency it is good to accept it in interactive mode.
2014-01-07 18:59:19 +01:00
Florent
52111043e3 Revert part of e15b2a8473 2014-01-07 12:57:36 +01:00
Florent
9223d92fc8 restrict ls to 40 results by default 2014-01-06 17:13:16 +01:00
Florent
92dfab4069 More text in error 2014-01-06 15:26:09 +01:00
Florent
0b39d2d873 Coding style 2014-01-06 15:17:21 +01:00
Florent
af33442ba2 Catch error in condition evaluation
And return a better message to users
2014-01-06 15:02:04 +01:00
Florent
3bb4b50ba0 Fix bug introduced in ReplApplication.get_object refactoring
Ref e15b2a8473
    e0417f702d
    0668db2b5a
2014-01-06 14:58:29 +01:00
Pierre Mazière
0668db2b5a ReplApplication.get_object(): fix backend lookup
because self.enabled_backends contains BaseBackend objects
and not backend name strings

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:05 +01:00
Pierre Mazière
e7805cec12 rename AudioStreamInfo into StreamInfo
Allowing future use with upcoming VideoStream

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:05 +01:00
Pierre Mazière
e0417f702d ReplApplication.get_object(): exclude backends which does not implement 'method'
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:04 +01:00
Pierre Mazière
e15b2a8473 ReplApplication.get_object(): return None if method does not exist
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:04 +01:00
Romain Bignon
818b756e27 json formatter: all subobjects are also encoded 2013-12-22 22:12:03 +01:00
Vincent Texier
148f6f3a2b Fixed thumbnail field returning always "id" with json formatter
Version development 0.h
2013-12-22 22:02:17 +01:00
Florent
3fa2a8ba8f Fix condition in non reply-application 2013-12-22 20:03:41 +01:00