Commit graph

1,246 commits

Author SHA1 Message Date
Romain Bignon
e3975f38b3 fix compatibility with python2.6 2015-05-24 13:11:32 +02:00
Matthieu Weber
1d67bf360f formatters: use weboob.tools.misc.guess_encoding instead of locale.getpreferredencoding()
Signed-off-by: Matthieu Weber <mweber+weboob@free.fr>
Signed-off-by: Romain Bignon <romain@symlink.me>
2015-05-24 11:57:25 +02:00
Matthieu Weber
95cd12fd22 formatters: use locale.getpreferredencoding() instead of utf-8
Signed-off-by: Matthieu Weber <mweber+weboob@free.fr>
Signed-off-by: Romain Bignon <romain@symlink.me>
2015-05-14 15:07:20 +02:00
Romain Bignon
14fc8ba7e2 add a Javascript class (which uses execjs library) 2015-05-12 09:03:37 +02:00
Romain Bignon
a33d26558b move guess_encoding into weboob.tools.misc 2015-05-09 17:52:16 +02:00
smurail
3835a0c19c fix error when a name is not found 2015-05-07 14:32:58 +02:00
smurail
62adf86daa add JSON helpers 2015-05-07 14:32:55 +02:00
Romain Bignon
6d6c49a5e6 remove unused import 2015-05-06 11:25:47 +02:00
smurail
be125cf84f fix issue with GridVirtKeyboard usage while removing overkill optimization 2015-05-06 11:06:21 +02:00
smurail
d38656540e fix issue with encoding 2015-04-28 15:18:24 +02:00
smurail
f653b2f531 parse french date with DMY order by default 2015-04-28 15:18:23 +02:00
Romain Bignon
84ce7b72ec fix wording 2015-04-04 15:46:01 +02:00
Romain Bignon
b110f10c9e if backend name is already taken, suggest the first available one with the same base 2015-04-04 12:52:19 +02:00
Kitof
7155539965 Add module_name param in add_backend to allow command line interaction 2015-04-04 12:32:57 +02:00
Romain Bignon
e6a80af479 call browser.deinit() if defined 2015-03-24 23:57:05 +01:00
Florent
b3aabdeeaf Be consistent in enable state: use human readable values 2015-03-17 22:16:15 +01:00
Florent
9208b7bb31 Add 'on' and 'yes' to enabled values
Be consistent with ouiboube core
2015-03-17 22:08:50 +01:00
Romain Bignon
2afd27b4a4 use StateBrowser, s/BrowserToBeContinued/BrowserQuestion/ and coding style fixes 2015-03-08 16:31:36 +01:00
Baptiste Delpey
3a05b29bc3 add BrowserToBeContinued exception and handle it 2015-03-08 14:21:23 +01:00
Romain Bignon
cedfb5670e save and load state of browser into storage 2015-02-21 17:49:20 +01:00
Bezleputh
2a5a1c3fcd [Date] Add a twitter translation for february 2015-02-06 08:54:40 +01:00
Jean-Philippe Dutreve
e5e745d2da Extend the delay to 31 days (instead of 7) for date_max_bump of several DateGuesser.
Signed-off-by: Jean-Philippe Dutreve <jdutreve@winancial.com>
2015-01-26 08:23:07 +01:00
Romain Bignon
47232308a9 prompt user to accept an untrusted keyring (closes #771) 2015-01-16 12:21:51 +01:00
Bezleputh
21affed283 handle attribute error when stdout does not habe encoding attribute (ie xbmcout) 2015-01-11 12:06:16 +01:00
Romain Bignon
faf40c9c1f as BrowserSSLError now inherits from BrowserUnavailable, change exception catching to handle it (refs #1702) 2015-01-08 10:46:03 +01:00
Bezleputh
4d6fba9e7a [Date] Add a translation for january 2015-01-02 09:21:35 +01:00
Florent Fourcot
76da33368f Encode properly output in console.py (fix #1673) 2014-12-31 18:15:48 +01:00
Samuel Loury
bd7891f202 Allow ResultsCondition to compare timedelta
The user may now use conditions on durations (from the audio and the video
capabilities) in repl applications.

The documentation has been updated to take this change into account.
2014-11-28 14:55:55 +01:00
Laurent Bachelier
88df613a53 Fix English: "childs" into "children"
refs #1675
2014-11-22 16:36:03 +01:00
Bezleputh
faa3891f86 remove wconio dependency 2014-11-22 16:32:11 +01:00
Vincent Paredes
76555238dc fixing month replacing twice 2014-11-05 16:17:29 +01:00
Vincent Paredes
4d2ff7b094 supporting french month abbreviation without dot 2014-11-04 13:58:10 +01:00
Romain Bignon
eaf6b15a08 dump of tiles: save full image too 2014-10-21 17:56:18 +02:00
smurail
ab15874754 fix not logical arguments order 2014-10-21 10:28:18 +02: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
d500abf336 We have so many tests we make nose crash!
We raise the recursion limit, as the recursion here is normal.
This happens with nose 1.3.4.
2014-10-14 12:25:43 +02:00
Laurent Bachelier
db1618e86f pep8: Various manual fixes 2014-10-13 23:03:51 +02:00
Oleg Plakhotniuk
d7acf211bd American amount to decimal conversion; PDF decompression function; regexp-based tokenizer. Part of #1641 2014-10-13 04:23:05 -05:00
Laurent Bachelier
f4c17cdc9d pep8: Fix E303 too many blank lines 2014-10-11 02:15:28 +02:00
Laurent Bachelier
4f897a8675 pep8: Fix object comparisons 2014-10-11 01:46:25 +02:00
Laurent Bachelier
7aeb3e942e pep8: Fix indentation is not a multiple of four
autopep8 -a -r -i --select E111 .

Manual check.
2014-10-11 01:41:00 +02:00
Laurent Bachelier
21e8f82fd7 pep8: Use "X not in Y" instead of "not X in Y"
flake8 --select E713, semi-manual fixing
2014-10-11 01:27:24 +02:00
Laurent Bachelier
448c06d125 pep8 blank lines fixes
flake8 --select W391,E302,E301,E304

autopep8 can't fix W391 even though it claims it can.
Fixed using a simple custom script.
2014-10-10 23:41:44 +02:00
Laurent Bachelier
e783f2c821 Remove tuple method parameters
They can be found through autopep8 (W690) or python-modernize.
Variables manually renamed.

This is because Python 3 does not support tuple unpacking:
http://legacy.python.org/dev/peps/pep-3113/
2014-10-10 23:41:44 +02:00
Laurent Bachelier
6161a0aacd pep8 fixes, modernizations
autopep8 -a -r -i --select E711,E712,W601,W602,W603,W604,W690,E304,E401,E502 .
Also includes some manual reindentations (many are left after the print()
changes).
Manually checked, some modernizations not commited here.
2014-10-10 23:41:43 +02:00
Laurent Bachelier
e2ac8687c6 Always raise instances of NotImplementedError 2014-10-10 23:41:43 +02:00
Romain Bignon
b1f20b5489 fix bcall to to new behavior of do(), and fix QtDo too, and all Qt applications... 2014-10-10 17:34:48 +02:00
Florent
628c63f899 Remove backend for do() calls 2014-10-10 14:11:45 +02:00
Florent
2d5bd37756 Documentation on -dd 2014-10-09 13:33:43 +02:00