Romain Bignon
d248196bb1
remove nsfw from example config
2012-02-03 23:52:02 +01:00
Romain Bignon
92c8873369
remove duplicate capabilities
2012-02-03 19:56:31 +01:00
Laurent Bachelier
baab16b931
Fix completion with new Collection objects
2012-02-03 00:07:45 +01:00
Laurent Bachelier
682e14c86a
Make CapCollection understandable and useable by humans
...
* Make the declaration of fct and it in the constructor Collection,
instead of adding them from the outside
* Add a function to flatten a list containing collection (solves the
radioob search crash)
* Better display of collections in the "ls" command (and display both id
and title)
* The "cd" command goes to the root of the path (like the UNIX cd)
* Move the Video object of canalplus in a correct path
* Make Collection iterable
* Add comments to CapCollection
* Cache the result of fct in a Collection; it is only called once
* CollectionNotFound errors can be more explicit by providing a path
* Require utf-8 in collection paths
* Code cleanups
2012-02-02 23:44:13 +01:00
Romain Bignon
10215d1e4c
add a repositories editor in weboob-config-qt
2012-02-02 17:18:15 +01:00
Romain Bignon
59b4e78f65
add IProgress.error() to allow application to handle errors
2012-02-02 17:17:57 +01:00
Romain Bignon
2421aa9d78
disable keyrings without warnings in pyflakes (refs #706 )
2012-02-02 15:59:01 +01:00
Romain Bignon
8bf985ad86
do not prompt password when empty
2012-02-02 15:57:34 +01:00
Romain Bignon
33d7a8d466
fetch icons asynchronously ( closes #756 )
2012-02-02 15:36:36 +01:00
Laurent Bachelier
8d15911d67
Fix some failures with badly set 'current' field.
2012-02-02 15:25:13 +01:00
Laurent Bachelier
a19b1be338
The past participle of split is "split", not "splitted"
2012-02-02 14:26:35 +01:00
Romain Bignon
1fa64bf5f1
default parsers are now only lxml and lxmlsoup, to prevent bad behaviors with bad parsers
2012-02-02 10:17:41 +01:00
Romain Bignon
b2597e9e76
add missing docstring
2012-02-02 08:44:15 +01:00
Romain Bignon
c009b26864
fix crash when a command doesn't have a docstring
2012-02-02 08:44:00 +01:00
Laurent Bachelier
caf4bbc44a
Do not limit the results in radioob
2012-02-02 01:49:14 +01:00
Laurent Bachelier
1621f3c3c0
Allow more freedom in page regexps
...
If the user starts with ^ or ends with $, do not add them. This allows
using only $ or ^.
If it's not a string, don't do anything to it (it has to be a regexp, or
mimic one).
Use search() instead of match(). They are the same, except match implies ^.
This does not break any module, it only adds more possibilities.
2012-02-01 23:19:01 +01:00
Romain Bignon
876535ff90
improve error message when a module isn't loadable
2012-02-01 23:07:25 +01:00
Romain Bignon
f7a35c7ea8
add a method Weboob.load_backend()
2012-02-01 23:06:00 +01:00
Laurent Bachelier
03f65bb121
Try to separate saved responses by backend
...
closes #661
2012-02-01 23:04:04 +01:00
Romain Bignon
8c6fe811fe
fix order of loaded repositories
2012-02-01 08:33:59 +01:00
Laurent Bachelier
57ce35cef1
Better cleanup of generic articles and lefigaro
...
try_drop_tree() was only removing the first result.
closes #725
2012-02-01 02:04:17 +01:00
Laurent Bachelier
289b60bcbe
Make trusted.gpg world-readable
...
There is no reason to hide it from anyone, the GPG default is not
appropriate in our case.
2012-01-30 16:13:36 +01:00
Laurent Bachelier
8c50324dbf
Don't remove the module if the signature is invalid
...
Remove it only just before extraction
2012-01-30 15:48:28 +01:00
Laurent Bachelier
09e3c516d0
Fix usage of the subprocess module under Python 2.6
2012-01-30 15:40:12 +01:00
Romain Bignon
97ef1f4e8c
little improvements
2012-01-30 15:28:05 +01:00
Laurent Bachelier
307ccbc36c
Display keyring version and hash
...
So that the user can easily check it is legit through another channel.
2012-01-30 11:10:10 +01:00
Laurent Bachelier
9da69d34bd
Check the packages are valid at install
2012-01-30 01:21:01 +01:00
Laurent Bachelier
f3d962b19a
Retrieve the keyring, and check its updates are valid
2012-01-30 01:20:57 +01:00
Laurent Bachelier
5a05d7eef7
Select the secret key from the list of public keys
2012-01-29 18:35:07 +01:00
Laurent Bachelier
b705f385e8
Add support for signing repository files
2012-01-29 17:42:28 +01:00
Laurent Bachelier
bdb20189bd
Quiet GPG operation
...
stderr is shown and an exception is raised if GPG does not exit
successfully.
2012-01-29 16:55:57 +01:00
Laurent Bachelier
dd60e65174
Add support for generating a keyring
2012-01-29 16:50:23 +01:00
Laurent Bachelier
22fec7f9e6
Reinstall the module if its directory was deleted
...
Useful for stupid users (like me) who delete the directory.
2012-01-29 15:56:35 +01:00
Laurent Bachelier
764bfd18ec
Precompile module directory at install
2012-01-29 15:56:35 +01:00
Laurent Bachelier
bcec326f35
Remove the whole module directory before updating
...
So that deleted/renamed files upstream are actually deleted.
Also check that the proper module directory was created after extraction.
2012-01-29 15:56:35 +01:00
Laurent Bachelier
863a32b96e
Small enhancements to mtime handling
...
* Use directories mtime (so deleted or renamed files are taken into account)
* Set the tarfile mtime close to the version
2012-01-29 15:56:35 +01:00
Romain Bignon
de1326fcb2
improve message when trying to add a backend with missing dependancies
2012-01-29 14:16:16 +01:00
Romain Bignon
0c1b79cd42
enhancements of the 'a' choice in menu of first launch
...
- Don't add backends already existing
- ^C stop all backends adding
- Better presentation
- Exit menu after using 'a'
2012-01-29 12:05:22 +01:00
theo
6f27b02865
Add all backends at once
...
When no backends are loaded, a prompt pops up and
suggest to add some.
This patch adds the possibility to select all at once.
Signed-off-by: theo <theocrite@theocrite.org>
Signed-off-by: Romain Bignon <romain@peerfuse.org>
2012-01-29 11:53:24 +01:00
Romain Bignon
65497fe91b
calculate mtime of a module recursively
2012-01-28 14:15:30 +01:00
Romain Bignon
6f9a0215eb
Revert "repositories/ is a config directory"
...
This reverts commit 70bdde2657 .
2012-01-28 13:48:10 +01:00
Romain Bignon
70bdde2657
repositories/ is a config directory
2012-01-28 11:45:29 +01:00
Laurent Bachelier
a3b75fc2bb
Use the correct location for sources.list
...
It was moved to the right directory, but Repositories tries to find it
in the datadir, not in the workdir.
2012-01-27 23:37:08 +01:00
Laurent Bachelier
adb7b95796
Fix to still use with keyword with Python 2.6
...
Also add imports for Python 2.6 usage.
2012-01-27 23:14:44 +01:00
Romain Bignon
7d3a717722
correctly remove the old .weboob directory
2012-01-27 17:41:11 +01:00
Romain Bignon
3a3bbd377e
support XDG Base Directory Specification ( closes #765 )
2012-01-27 17:34:08 +01:00
Romain Bignon
5bd0aeed41
setup a default logging handler at app startup, before parsing args (-vdq)
2012-01-27 17:34:08 +01:00
Pierre Mazière
99a45daae8
MappedVirtKeyboard: fix default value for map_attr
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmail.com>
2012-01-24 23:51:59 +01:00
Pierre Mazière
2310e8506f
MappedVirtKeyboard: set <map> attribute to return
...
Rather than imposing onclick, the map attribute whose value is returned
when retrieving a code is now a constructor argument
For the sake of backward compatibility, default is set to onclick
Signed-off-by: Pierre Mazière <pierre.maziere@gmail.com>
2012-01-24 23:51:56 +01:00
Romain Bignon
65169a8a8d
fix compatibility with python2.6
2012-01-21 16:46:33 +01:00