Commit graph

2,442 commits

Author SHA1 Message Date
Romain Bignon
d91dad2b2b support currencies 2012-12-06 13:21:13 +01:00
Laurent Bachelier
b3d1a17eaa Remove double import
This was likely introduced by copy-pasting from another file.
See e825a7eac0.
2012-11-24 20:30:31 +01:00
Laurent Bachelier
541d080c9d Use flake8 if available instead of pyflakes
With flake8, we can check for more issues and ignore those who are not
real issues.

This allowed me to find genuine errors in:
- modules/boursorama/pages/account_history.py
- modules/ing/pages/login.py
- weboob/tools/application/qt/qt.py
I left one in weboob/tools/browser/browser.py for the time being.

Some PEP8 fixes on other files.
2012-11-24 19:46:34 +01:00
Romain Bignon
e825a7eac0 add a ssl timeout (temp fix) 2012-11-24 12:06:13 +01:00
Florent
456d2d1fe0 Sort results in comparoob
Close #934
2012-11-12 17:16:31 +01:00
Florent
66545b23c6 Remove double product with multiple backends 2012-11-12 17:16:31 +01:00
Florent
c838b91fb2 Add SensorNotFound exception 2012-11-12 17:16:31 +01:00
Florent
3b26a7a6b5 Rename last_gauge_measure to last_censor_measure 2012-11-12 17:16:31 +01:00
Florent
53596628b9 Change wetboobs to use ICapGauge 2012-11-12 17:16:31 +01:00
Florent
ab778ee5a1 Add a new field 2012-11-12 17:16:31 +01:00
Florent
f63c412b2a Change ICapWaterLevel to be more generic
1) Rename it to ICapGauge
2) One gauge can have more than one sensor (a flow and
   a level for a river, or temperature and humidity for
   a wetter station)
3) Add/remove/rename fields to be more general
2012-11-12 17:16:30 +01:00
Laurent Bachelier
3eba9a809b Allow multiple CERTHASH values in a module
Also fix typos and usage of reserved hash() function.
2012-11-10 18:22:30 +01:00
Laurent Bachelier
1f310a3d33 Fix many CapVideo-related ConversionWarnings 2012-11-10 18:18:29 +01:00
Romain Bignon
24cbeb47e5 major language fix (courtesy of Pascal Jakobs) 2012-11-10 14:37:45 +01:00
Romain Bignon
47887d5560 add handler in applications 2012-11-10 13:25:07 +01:00
Florent
894784995a Add new exception BrowserForbidden 2012-11-10 13:23:00 +01:00
Laurent Bachelier
f48c81de53 Properly get to the previous path, not home 2012-11-08 11:51:52 +01:00
Laurent Bachelier
c728dfa774 Declare fields to avoid warnings
Also call the init of CapBaseObject. This should have been done
previously, though the usage of id=None isn't ideal. Maybe it should be
split_path.
2012-11-08 11:51:51 +01:00
Florent
e1ee2fb1e8 Do not use inline link but display links regulary 2012-11-07 20:00:00 +01:00
Florent
3cb78d1729 Add clean_relativ_urls in genericArticle.py
and use it for ecrans.fr
2012-11-07 18:13:03 +01:00
Florent
d69efe4f40 Datetime human readable 2012-11-07 17:39:53 +01:00
Florent
c1d19e40f8 Get the real thread of an article
Side effect: fix the bug of incorrect date by using boobmsg show
2012-11-07 17:36:35 +01:00
Florent
4a6107615d Increase readability of "id" variable 2012-11-07 17:33:45 +01:00
Florent
1de793307e Take the creation date if no update available 2012-11-07 17:11:34 +01:00
Florent
099d9e2b7f Allow show command in non-interactive mode 2012-11-07 15:34:44 +01:00
Florent
ebd8be9e92 Improve documentation of export_thread 2012-11-07 15:25:19 +01:00
theo
cf60351830 Add -e to rtmpdump options
Adding -e to rtmpdump.

So instead of:
    rtmpdump -r <url> -o <file>
we will have
    rtmpdump -e -r <url> -o <file>

If <file> doesn't exist, it will be created. So the -e switch doesn't
change anything.

If <file> alredy exists, then rtmpdump will try to complete a previous
download.

That way, if videoob download <id> fails, running the command again
will complete the download without starting again from scratch.
2012-11-06 01:13:45 +01:00
Romain Bignon
8abfd81813 check value of ValueBackendPassword during load 2012-11-01 11:21:59 +01:00
Florent
477a9bf07f Improve download command to download all subscriptions 2012-10-31 16:12:38 +01:00
Florent
5809f1112a Rename iter_history of ICapBill to iter_bills_history 2012-10-31 14:41:29 +01:00
Romain Bignon
4a1e4b5afa bump to 0.e 2012-10-28 20:39:49 +01:00
Romain Bignon
5b1260b7da transfer: do not crash with an incorrect amount value (closes #888) 2012-10-28 08:55:22 +01:00
Romain Bignon
3fcc3333a0 do not write description line if there are only NotAvailable attributes 2012-10-27 16:47:23 +02:00
Laurent Bachelier
6dad6938e0 weboob-debug: ability to prefer a shell 2012-10-25 03:39:29 +02:00
Laurent Bachelier
92244a4e81 weboob-debug: Work with more shell libs
- ipython
- newer ipython (>=0.11, though tested with 0.13 only)
- bpython
- standard python (and try to enable completion)
2012-10-25 03:01:15 +02:00
Laurent Bachelier
ffce7a19f3 Make weboob-debug less confusing
No useless REPL or "shell" command.
2012-10-25 00:11:11 +02:00
Laurent Bachelier
b67a4eefe5 Split GenerericComicReaderTest to stop requiring nose for module usage 2012-10-24 13:38:21 +02:00
Laurent Bachelier
3a66728392 Fix crashes with unicode characters in maintainer name
Change every mention of MAINTAINER to avoid future issues.
2012-10-24 13:29:30 +02:00
Laurent Bachelier
571db865ab Simpler acquire_input()
Might work with Python 2.5 as a side-effect of not using delete.
2012-10-21 18:02:06 +02:00
Laurent Bachelier
770c0877a0 pastoob: Abort if paste is empty 2012-10-21 17:49:32 +02:00
Laurent Bachelier
7281453e0c White background should not be forced
closes #823
2012-10-18 23:46:06 +02:00
Romain Bignon
47df1413ae use %r instead of %s to prevent encoding errors 2012-10-16 14:47:03 +02:00
Florent
2676966a71 Update standard formater 2012-09-27 13:14:03 +02:00
Florent
8091d9042a Add "reason" field to Transfer 2012-09-27 13:14:03 +02:00
Romain Bignon
3ea8494e80 fix certificate check 2012-09-05 15:55:12 +02:00
Romain Bignon
bf3206418b display a custom bold warning on SSLError 2012-09-01 13:37:18 +02:00
Romain Bignon
56797a7d0c automagically check certificate fingerprint if CERTHASH class attribute is set 2012-09-01 13:36:30 +02:00
Florent
702b56d594 SSL workaround 2012-09-01 12:56:23 +02:00
Florent
681b83e4b3 Add balance command to leclercmobile 2012-08-29 16:52:05 +02:00
Florent
757167a6eb Add new command "balance" for boobill 2012-08-29 16:52:05 +02:00