Florent
fa845abb69
Documentation of the -d option
2014-05-07 10:21:17 +02:00
Florent
a87ef4072d
Use a fast path for ls if -U is set
...
The ls command first store all objects and collections, and then run the
formatting. It is bad for applications displaying results as soon as
possible, but mandatory to store results and display the collections
first.
Since the -U option was introduced to not sort the results, we can
expand this idea to not display the collections first, and to display
results immediately.
2014-05-07 10:15:07 +02:00
Florent
b6e44e8d22
Remove the "is CapBaseObject" condition
...
A module has to always return a CapBaseObject, this condition is not
usefull
2014-05-07 09:35:05 +02:00
Laurent Bachelier
132d131f87
Add a json formatter that works on a line level
2014-05-07 00:02:08 +02:00
Bezleputh
9e40e5b9df
[videoob] Use wget instead of avconv
2014-05-06 22:32:41 +02:00
Bezleputh
a02d34827d
[newsfeed] Boobmsg crashes if id is None
2014-05-06 22:32:41 +02:00
Bezleputh
fadd88dafc
[browser2] Add a Dict filter
2014-05-06 22:32:41 +02:00
Florent
2915a04eba
Do not display warning message if -n or count is set
...
Someone using the count option is already aware of the limitations. The
warning is useless.
2014-05-06 17:05:06 +02:00
Bezleputh
9e72f864b3
[videoob] use aconv to download videos
2014-05-06 15:51:05 +02:00
Romain Bignon
144e98bbaf
display html2text missing warning only at first call
2014-05-06 15:35:33 +02:00
Romain Bignon
d07f661cb0
import pkg_resources only when needed, to prevent a hard useless dependency
2014-05-06 15:14:28 +02:00
Romain Bignon
711cba9c65
fix compatibility with python2.6 (don't use ThreadPool anymore)
2014-05-01 18:35:11 +02:00
Romain Bignon
07f5500cce
rewrite BackendCalls with ThreadPool and queues
2014-05-01 17:04:27 +02:00
Romain Bignon
ab710e0f74
support GET forms
2014-04-29 22:00:49 +02:00
Romain Bignon
61bc712068
Revert "Detect duplicate objects with id "0""
...
This reverts commit 6cae2cd0a5 .
2014-04-26 12:07:22 +02:00
Florent
6cae2cd0a5
Detect duplicate objects with id "0"
2014-04-24 16:18:19 +02:00
Florent
fe5bfee255
Add ignore_duplicate option for crazy modules
2014-04-24 16:16:50 +02:00
Bezleputh
cdf2996d57
[browther2] Display error message instead of raising DataError when we find the same ids in ListElement
2014-04-23 12:37:36 +02:00
Vincent Texier
7a72b94b37
Fix bug dailymotion not playing video with "Server returned 403: Forbidden"
...
Dailymotion video url send cookies then use a 302 redirect to the real video url
The real video url check the cookies sent in the request.
Some mediaplayer (mplayer) can not handle this.
So we use pure python urllib2 to handle this and load the video.
The video bytes are piped to the mediaplayer.
Others modules might need this.
They just have to set the "_play_proxy" boolean attribute to the video object.
Signed-off-by: Vincent Texier <vit@free.fr>
2014-04-21 09:33:31 +02:00
Florent
ffe1c43300
Fix a03f2b627e "selecting a field in non-interactive mode"
...
Writing code without coffee introduces a lot of bugs.
2014-04-18 10:44:23 +02:00
Florent
a03f2b627e
Fix selecting a field in non-interactive mode
...
The command:
boobank ing history blabla@ing -f table -s label,amount,date
was bugued, since b770163d9b .
Before to iter the history, boobank uses the get_object method, with fields set to []. The goal is to not use the selected_fields configured by the user.
But the commit b770163d9b added:
"or self.selected_fields"
Since "if []" return false, it cannot works.
2014-04-18 10:24:47 +02:00
Romain bignon
b268fc043b
Use regexp to validate urls
2014-04-18 09:55:31 +02:00
Romain Bignon
d291019ce9
fix TableElement to be really case insensitive
2014-04-15 09:15:12 +02:00
Romain Bignon
79566fbbf3
soometimes, a backend method can return None
2014-04-14 20:45:44 +02:00
Romain Bignon
55c80097fe
add BaseBrowser.prepare_request virtual method
2014-04-14 16:42:39 +02:00
Vincent Paredes
4ac38b89cf
fixing DateGuessing filter
2014-04-14 16:42:39 +02:00
Vincent Paredes
f7c4bb39c5
remove case sensitive checking
2014-04-14 16:42:39 +02:00
Romain Bignon
1bef60b347
URL builds absolute urls from BASEURL
2014-04-13 12:32:02 +02:00
Romain Bignon
07f6507096
improve documentation of browser2
2014-04-12 15:02:34 +02:00
Romain Bignon
5f59c130b3
add decorator pagination
2014-04-12 12:48:14 +02:00
Bezleputh
5158aabe98
[browser2] add a textCleaner parameter to Join
2014-04-10 10:09:30 +02:00
Florent
7555938470
Test the id and the fullid in condition
...
And use obj.to_dict instead of dict(obj.iter_fields())
2014-04-09 10:30:19 +02:00
Florent
83e0f92be7
Field obj.backend in _do_complete_obj
...
The obj.backend is traditionnaly filled by _store_result, in
BackendsCall. It is to late to test the result in condition.
2014-04-09 10:29:07 +02:00
Pierre Mazière
34a7481895
radioob: get rid of magic
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-04-07 10:33:27 +02:00
Romain Bignon
690010a8d2
add DateGuesser filter
2014-04-07 07:43:22 +02:00
Pierre Mazière
4ce58c776e
pick up first available stream when radio provides a playlist ( #1345 )
...
for now only pls and m3u playlists are supported
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-04-07 07:39:40 +02:00
Bezleputh
0ed7ed2b2d
[browser2] add an XMLPage
2014-04-03 16:34:36 +02:00
Florent
b03881de24
Return Unicode string in Attr
2014-04-03 15:24:46 +02:00
Florent
d85675918a
Add childs option to CleanText
2014-04-03 11:22:40 +02:00
Florent
8242dbecd1
One more use of find_object
2014-04-02 12:37:31 +02:00
Florent
f6ee441d08
Fix documentation of get_currency
2014-04-02 10:55:45 +02:00
Florent
74b99c4a8d
Filters on kwargs for find_object
2014-04-02 10:46:31 +02:00
Florent
6591785a10
s/find_id_list/find_object/
2014-04-02 10:31:00 +02:00
Florent
080c4aff81
Introduce find_id_list
...
And code simplification in backends/browsers
2014-04-01 17:40:38 +02:00
Florent
839834edf2
Add name attribut to Form object
2014-04-01 12:33:27 +02:00
Florent
6138209a2f
Add replace option to CleanText
2014-04-01 10:46:08 +02:00
Romain Bignon
07a1d04bb6
fix compatibility with redmine 2.4, support start/end/tracker/priority (courtesy of François Revol)
2014-03-30 12:33:56 +02:00
Romain Bignon
dd68bfd3fc
fix use of checked checkbox/radiobuttons in forms
2014-03-29 20:00:14 +01:00
Florent
d768de6638
Add RawPage to Browser2
2014-03-28 13:24:26 +01:00
Florent
7dee2218ff
Add dayfirst option to Date and DateTime
2014-03-28 11:31:44 +01:00