Commit graph

2,414 commits

Author SHA1 Message Date
Romain Bignon
c009b26864 fix crash when a command doesn't have a docstring 2012-02-02 08:44:00 +01:00
Romain Bignon
60638cff63 update AUTHORS 2012-02-02 08:16:33 +01:00
Laurent Bachelier
365247bd63 Add support for current France Musique info 2012-02-02 02:24:04 +01:00
Laurent Bachelier
3c20c95891 Report the correct bitrate 2012-02-02 02:00:20 +01:00
Laurent Bachelier
e0e8149bc8 Add all France Bleu stations 2012-02-02 01:53:55 +01:00
Laurent Bachelier
caf4bbc44a Do not limit the results in radioob 2012-02-02 01:49:14 +01:00
Laurent Bachelier
a1359c2303 Add another source for direct
And extract artist / title if possible
2012-02-02 01:08:41 +01:00
Laurent Bachelier
271a387ba5 Rewrite lemouv/franceinter into radiofrance
* Support for France Inter and Le Mouv', and many new radios.
* For some radios only, the current emission is fetched. Previously it was
 wrong for all two of them.
* New icon.
* Fix typo in LICENSE.
* Fix code style.
* Use fillobj() instead of duplicate code.
* Since there is not much left of the originals, I made myself the maintainer.
2012-02-02 00:29:24 +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
Camille Baldock
54b7d45d25 fix bp bug (closes #758) 2012-02-01 23:07:01 +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
b7f3d9cd82 Fix francetelevisions test 2012-02-01 00:34:52 +01:00
Laurent Bachelier
f3470a0128 Fix francetelevisions for website updates
And also add support for existing data it lacked.
2012-02-01 00:29:43 +01:00
Romain Bignon
0c901e7d5e search on /recherche.html instead of /replay/recherche.html 2012-01-31 21:29:49 +01:00
Romain Bignon
592d686f1c date isn't available anymore on search results (refs #772) 2012-01-31 18:35:17 +01:00
Romain Bignon
ce91c52912 fix parsing of URLs 2012-01-31 18:08:09 +01:00
Romain Bignon
27d666dfe1 website has changed 2012-01-31 17:51:23 +01:00
Romain Bignon
a46ece15b1 support new bnp website (refs #769) 2012-01-31 17:09:35 +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
b61f89b5c9 pyflakes fixes 2012-01-30 15:29:23 +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
dc26aba20a update AUTHORS 2012-01-29 12:14:47 +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
Florent
35bbb38e85 ING: find the keyboard in case of webiste announcement
Signed-off-by: Florent <weboob@flo.fourcot.fr>
Signed-off-by: Romain Bignon <romain@peerfuse.org>
2012-01-28 11:53:58 +01:00
Romain Bignon
70bdde2657 repositories/ is a config directory 2012-01-28 11:45:29 +01:00
Laurent Bachelier
9686ef6d8d Tests should work with any POSIX shell
Tested with dash & bash.
2012-01-28 00:02:24 +01:00
Laurent Bachelier
129bb7233e Make tests work with the new XDG dirs
Also minor improvements on style.
2012-01-27 23:54:14 +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