Commit graph

5,355 commits

Author SHA1 Message Date
Romain Bignon
459b9b9378 set card balance to Account.balance instead of Account.coming 2014-04-26 12:07:23 +02:00
Romain Bignon
8f11fd40bc pyflakes fix 2014-04-26 12:07:22 +02:00
Romain Bignon
61bc712068 Revert "Detect duplicate objects with id "0""
This reverts commit 6cae2cd0a5.
2014-04-26 12:07:22 +02:00
Romain Bignon
73cb61fec7 fix carrefourbanque to use new website (and rewrite it with browser2) 2014-04-26 12:07:22 +02:00
Florent
d6d5d4cebd Set obj_id to None before to return it to the browser 2014-04-24 19:45:28 +02:00
Florent
6cae2cd0a5 Detect duplicate objects with id "0" 2014-04-24 16:18:19 +02:00
Florent
37f0445f44 Add ignore_duplicate to senscritiques 2014-04-24 16:17:13 +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
Bezleputh
14fa171503 [groupamaes] add favicon 2014-04-23 12:12:46 +02:00
Bezleputh
2540c9290c [senscritique] fix parsing error when page result body's is empty 2014-04-23 12:12:39 +02:00
Florent
a73daa18f4 Catch ValueError if a gauge is down 2014-04-21 11:53:20 +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
Florent
8d975aa1d2 BASEURL is now working 2014-04-18 09:55:54 +02:00
Romain bignon
b268fc043b Use regexp to validate urls 2014-04-18 09:55:31 +02:00
Vincent Texier
ea574adcdb fix bug dailymotion search returns nothing
Signed-off-by: Vincent Texier <vit@free.fr>
2014-04-18 09:53:41 +02:00
Bezleputh
98a70783a7 [groupamaes] use find_object in get_account 2014-04-17 12:00:04 +02:00
Bezleputh
61b174af9b [groupamaes] update module description 2014-04-17 11:45:49 +02:00
Florent
aba70863d8 Remove unused import 2014-04-17 11:38:17 +02:00
Bezleputh
3d693bba51 [groupamaes] new module groupamaes 2014-04-16 21:19:06 +02:00
Romain Bignon
df16d21279 bred changed certificate 2014-04-16 10:58:33 +02:00
Romain Bignon
7915b0588f certificate changed 2014-04-15 15:29:30 +02:00
Romain Bignon
0d90e9dfab fix unicode issues 2014-04-15 13:45:25 +02:00
Romain Bignon
c6c7039d75 add quoting commands 2014-04-15 13:45:25 +02:00
Florent
1db6406e08 Run tools/stale_pyc.py before local installation 2014-04-15 10:41:44 +02:00
Florent
cf71e6bf6a Fix pagination on iter_bills 2014-04-15 10:38:53 +02:00
Florent
21fe640453 Use @pagination 2014-04-15 10:32:37 +02:00
Florent
c488a0c7ae Use @pagination 2014-04-15 10:26:25 +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
558b94e9b9 fix coding style and login errors handling 2014-04-14 16:42:39 +02:00
Romain Bignon
55c80097fe add BaseBrowser.prepare_request virtual method 2014-04-14 16:42:39 +02:00
Vincent Paredes
2766983a33 hsbc to browser2! 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
Bezleputh
b9260c7bc0 [indeed] adapt to browser2 2014-04-14 16:01:52 +02:00
Bezleputh
cb04fc79b4 [hybride] fix bug on date test 2014-04-14 13:55:13 +02:00
Romain Bignon
519fa1757f hostname has changed 2014-04-14 09:00:11 +02:00
Romain Bignon
c31d72e630 fix when there are decimal quantities 2014-04-13 12:32:50 +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
Vincent Paredes
9a3258419d fixing account without amount 2014-04-10 16:12:01 +02:00
Vincent Paredes
f3f19f450f adding support for sub account 2014-04-10 16:11:49 +02:00
Bezleputh
5158aabe98 [browser2] add a textCleaner parameter to Join 2014-04-10 10:09:30 +02:00
Bezleputh
bd38a16d76 [cci] adapt to browser2 2014-04-10 10:08:12 +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