Commit graph

2,790 commits

Author SHA1 Message Date
Laurent Bachelier
9c5326c0e4 Make CapCollection a bit more useable
Collections are not stored in replapplication.objects anymore, but in
replapplication.collections. This fixes the IDs issue. There was no gain
from storing them in objects.

Completion right after cd should be faster (and should always have been
like that, it was pretty much a bug).

The display of do_ls() should be much clearer. Collections are always at
the end, have ids/title/backend like objects (but using a formatter
would be better than my current hack).

There are still many issues with the current implementation.
refs #774
closes #785
2012-02-12 15:49:08 +01:00
Romain Bignon
0c522d948a add housing photos 2012-02-11 19:06:39 +01:00
Romain Bignon
d6534ae845 fix: retrieve third icons even if module is local 2012-02-11 16:19:22 +01:00
Romain Bignon
85918b5d71 add application flatboob 2012-02-11 12:47:54 +01:00
Romain Bignon
42d38f42f1 add capability CapHousing 2012-02-11 12:47:16 +01:00
Laurent Bachelier
cbfd59ed77 Remove useless shebang
In celebration of my second commit on weboob
2012-02-11 01:31:22 +01:00
Laurent Bachelier
346704bae5 Move videoob-webserver to contrib
Since no one seems to use it.
I fixed the biggest issues so it is now usable again!
2012-02-10 14:26:22 +01:00
Romain Bignon
58b825c463 remove useless chatoob application 2012-02-10 14:07:13 +01:00
Laurent Bachelier
c805f4c866 Information is an uncountable noun 2012-02-10 01:28:40 +01:00
Laurent Bachelier
936fe46bf6 Don't use the plural 2012-02-10 01:28:40 +01:00
Laurent Bachelier
5ea30516ac Fix incorrect translation
While this changes constants names, I think it is important as "accused" is
complely wrong. E-mails use the term "Read-receipts" so I chose
to go with RECEIVED.
2012-02-10 01:28:40 +01:00
Romain Bignon
5744a5b7a1 fix 'weboob-config list' filtered by capabilities (closes #786) 2012-02-07 19:11:51 +01:00
Romain Bignon
05026b2f18 check that url isn't an unicode string (closes #784) 2012-02-07 14:49:25 +01:00
Romain Bignon
822bd8c59d use "weboob/VERSION" as user-agent to download files on repositories 2012-02-06 18:20:49 +01:00
Romain Bignon
4be4b40509 bump to 0.b 2012-02-05 19:35:30 +01:00
Romain Bignon
dfb52a2624 verbose error messages in Qt applications (closes #775) 2012-02-05 17:19:36 +01:00
Romain Bignon
a94d6c9972 check module version when loading it 2012-02-05 17:08:49 +01:00
Laurent Bachelier
bfb3689456 Add object type filtering to iter_resources 2012-02-05 13:30:02 +01:00
Laurent Bachelier
63da39e005 Remove redefinition of function
Probably the result of a bad merge
2012-02-05 13:19:03 +01:00
Laurent Bachelier
53915bf6b5 Better way of testing the start of a string 2012-02-04 02:08:56 +01:00
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