Commit graph

414 commits

Author SHA1 Message Date
Romain Bignon
9731ae1b91 weboob-config edit: fix error if there are private attributes on backend
(for example _enabled or _proxy)
2013-04-10 17:40:23 +02:00
Romain Bignon
0a603ff42a qt: display a dialog to ask user to update repositories at run if error 2013-03-26 09:53:17 +01:00
Laurent Bachelier
be3e19a203 try/except import are now handled by flake8 2.0+ / pyflakes 0.6+ 2013-03-19 19:10:20 +01:00
Laurent Bachelier
fbe0fb8d52 Some manual style fixes 2013-03-16 00:57:31 +01:00
Laurent Bachelier
7094931c92 Easy spacing fixes, trailing stuff
Remove useless trailing \
Remove trailing spaces
Add missing empty lines

autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 .

Diff quickly checked.
2013-03-16 00:54:55 +01:00
Laurent Bachelier
c21d1f7925 Code clarity fixes
autopep8 -ir -j2 --select=E303,E125
Diff checked manually.
2013-03-16 00:52:43 +01:00
Laurent Bachelier
a6fbcbaec7 Reconcile the two previous commits (json/to_dict)
Also fix some to_dict move things that were incomplete.
And some PEP8 fixes.

closes #1060
closes #1061
2013-03-09 15:14:17 +01:00
Julien Hebert
1b47455225 refs #1060 : move to_dict to base.py 2013-03-09 14:57:09 +01:00
Julien Hebert
8d8fe9090f json encoder 2013-03-09 14:57:08 +01:00
Florent
3296d57132 Remove useless TODO 2013-02-07 15:49:33 +01:00
Florent
0072b5e076 Allow infinite search with 0 2013-02-07 14:51:38 +01:00
Romain Bignon
b770163d9b fix crash when there is no selected fields (yes, all the time, why nobody has reported it) 2013-02-07 14:21:06 +01:00
Romain Bignon
b7b7d31771 remove unused imports 2013-01-30 11:36:47 +01:00
Romain Bignon
8550c17cf7 do not cry if an object in not support to be filled by a backend 2013-01-30 11:34:28 +01:00
Laurent Bachelier
d9ceecdf8a Add --insecure to the proper place (no group) 2013-01-25 15:48:55 +01:00
Laurent Bachelier
e407fd1dfa Add mplayer2 support 2013-01-25 13:46:55 +01:00
Romain Bignon
1006e9ff83 ability to give several arguments in 'player_name' config option 2013-01-14 22:29:50 +01:00
Florent
528cc826ce Allow to exclude some backends
closes #617
2013-01-10 19:05:52 +01:00
Laurent Bachelier
8bc80db331 Add global "insecure" option to skip SSL validation
closes #930
2013-01-10 09:38:17 +01:00
Laurent Bachelier
4d1e6f8436 Add support for ls -d option (closes #858)
This behaves like the UNIX ls -d.
This should solve the use case of Bug #858; ls was never intended to
work that way before. Users can now chose between the two modes (with or
without -d).
2013-01-10 09:38:09 +01:00
Julien Hebert
16edbd9141 prise en charge du rtmp 2012-12-10 18:07:49 +01:00
Julien Hebert
d5ea1ffc2c on est pas sous apple. 2012-12-10 18:07:49 +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
47887d5560 add handler in applications 2012-11-10 13:25:07 +01:00
Laurent Bachelier
f48c81de53 Properly get to the previous path, not home 2012-11-08 11:51:52 +01: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
Romain Bignon
bf3206418b display a custom bold warning on SSLError 2012-09-01 13:37:18 +02:00
Romain Bignon
538578c83f don't crash when there the input is empty 2012-07-23 17:25:07 +02:00
Florent
d0c7a18d20 Add suggestion of commands in case of if "unknown"
Very useful to find the good short alias...
2012-07-20 19:32:50 +02:00
Florent
37c68b7ba6 Search and execute short command alias 2012-07-20 19:31:24 +02:00
Romain Bignon
8e550b4196 handle UserError during fillobj 2012-06-16 13:52:03 +02:00
Florent
bad531679a Fix table formatter with 0.6 version
I didn't see a way to only align header...
2012-05-21 17:47:34 +02:00
Romain Bignon
fa197cce6e correctly check new version of module 2012-05-05 16:26:00 +02:00
Romain Bignon
f7214e5e62 ability to format dicts 2012-05-04 16:27:49 +02:00
Romain Bignon
c498d41aef fix printing unicode error 2012-05-04 10:59:18 +02:00
Romain Bignon
6f46c41743 do not fail during fullobj() if the object is not supported by backend 2012-04-28 16:38:55 +02:00
Romain Bignon
e5474c26a1 remove '-' from readline delims 2012-04-27 14:31:44 +02:00
capitaldata
5e8ac671da add list-modules option in the command line interface
ex: radioob> backends list-modules

Signed-off-by: capitaldata <capitaldata@capitaldata-desktop2.(none)>
Signed-off-by: Romain Bignon <romain@symlink.me>
2012-04-27 14:31:40 +02:00
Romain Bignon
3974355cec bug handler: update repositories only if module is on a remote one 2012-04-26 12:13:10 +02:00
Florent
92d5e9ea0f Get all available subscriptions for details command
Add a new method get_object_list to ReplApplication
Should close #846.
2012-04-25 13:50:42 +02:00
Romain Bignon
13524cae32 when a bug occures in a module, suggest to update it 2012-04-25 13:45:52 +02:00
Romain Bignon
aea269e9f6 create UserError exception
Modules can raise this exception when they want to print errors to user
2012-04-25 13:43:52 +02:00
Romain Bignon
20835e5180 ls: clear objects list 2012-04-10 13:25:55 +02:00
Laurent Bachelier
2d463e060e Hide ConversionWarning by default
refs #839
2012-04-10 08:01:27 +02:00
Romain Bignon
101eabf17a fix format of dicts 2012-04-07 23:15:06 +02:00
Romain Bignon
fc849995f4 rewrite of the formatters system 2012-04-03 22:40:38 +02:00
Roger Philibert
4b05f77329 [app/console] use EDITOR env variable to edit input 2012-04-01 19:28:11 +02:00
Laurent Bachelier
3b2bafdf12 Centralize "empty" comparisons
And always use "is" instead of "==".
2012-03-27 12:14:37 +02:00
Romain Bignon
c6a141595c change way to describe fields of CapBaseObject, and lot of documentation 2012-03-26 14:35:54 +02:00