Commit graph

1,991 commits

Author SHA1 Message Date
Laurent Bachelier
05a6bb79e4 Also log redirects when saving responses and debugging (refs #398)
set_debug_responses is not needed as we already save the responses in a
better way.
2011-05-08 13:55:41 +02:00
Romain Bignon
8d9e1ce51c oops fix the fix 2011-05-08 12:13:19 +02:00
Romain Bignon
eec9a016f0 check config (closes #484) 2011-05-08 12:10:34 +02:00
Romain Bignon
c8cd9d7ef5 unused import 2011-05-08 11:54:11 +02:00
Romain Bignon
4befb4482e fixes for other gazelle websites 2011-05-08 11:53:54 +02:00
Roger Philibert
e4b7f8ba29 Use LxmlSoup in ehentai (fixes unicode) 2011-05-08 11:39:09 +02:00
Romain Bignon
c8025bfe5b fix gazelle to work with broken websites 2011-05-08 11:38:27 +02:00
Romain Bignon
6243a60f68 check if there are files before display them 2011-05-08 11:38:15 +02:00
Romain Bignon
dc15310118 don't crash if unit is not found 2011-05-08 11:37:48 +02:00
Roger Philibert
8b274bfa60 ehentai: fix encoding and crash (closes #655,#656) 2011-05-08 10:56:44 +02:00
Romain Bignon
6772b4a987 ability to list recipients of a transfer 2011-05-07 14:24:00 +02:00
Romain Bignon
c159a5d43e command 'ls' always refetch objects 2011-05-07 14:23:47 +02:00
Romain Bignon
44f8123aae ability to see list of recipients 2011-05-07 14:23:31 +02:00
Romain Bignon
7b29d2dc80 CapBank derivates from CapCollection and add a method iter_transfer_recipients 2011-05-07 14:22:54 +02:00
Romain Bignon
0061d598e0 correctly set the ext field 2011-05-07 09:24:44 +02:00
Romain Bignon
6158ba3faa only use the numerical ID 2011-05-07 09:24:28 +02:00
Laurent Bachelier
3154d7f79d Do not prompt to add backends if not in an interactive session 2011-05-06 00:57:03 +02:00
Laurent Bachelier
2977c879e7 Oops, this should never have been committed 2011-05-05 00:35:24 +02:00
Laurent Bachelier
dd6864c2c4 CapPaste: Also check the title in can_post
Because unsurprisingly pastealacon has silly restrictions.
2011-05-05 00:19:21 +02:00
Laurent Bachelier
0d2148bd84 CapPaste: check the contents in can_post
For pastealacon, it is used to check for encoding compatibility.
2011-05-04 23:50:58 +02:00
Laurent Bachelier
56fe4448d3 Switch back to running tests for one backend only
This seems to cause unpredictable failures with pastebin (at least).
Tests will have the backends attribute if they really want to tests all
backends at once. For now, one backend is chosen for each run (and since
tests are ran often, it will cover all backends eventually.) The backend
instance name is displayed to ease the debugging.
2011-05-04 23:18:29 +02:00
Romain Bignon
ff7fc1902a Merge remote branch 'pankkake/master' 2011-05-04 13:50:19 +02:00
Laurent Bachelier
8075d538f0 Better messages and return codes in applications
Use stderr and return codes >0 when it makes sense.
Loose return code conventions:
* 1 for generic errors
* 2 for user input errors
* 3 for remote errors (not found, etc.)
* 4 for not implemented
2011-05-04 00:44:43 +02:00
Romain Bignon
7ab8202660 unused import 2011-05-03 16:55:22 +02:00
Romain Bignon
8155b0b289 fix unicode issues 2011-05-03 16:46:22 +02:00
Romain Bignon
f603c44d6c fix iter_caps() to not return only immediate base cap classes 2011-05-03 16:11:14 +02:00
Romain Bignon
642f2b7328 fix error message when file is not found 2011-05-03 15:57:23 +02:00
Laurent Bachelier
fbae8c1e53 pastoob: Fix input/output encoding issues 2011-05-03 14:30:40 +02:00
Romain Bignon
cb53bb6514 thanks pyflakes 2011-05-03 13:45:12 +02:00
Romain Bignon
9ca4a2530c filename is not a required argument 2011-05-03 12:08:10 +02:00
Romain Bignon
5331e6fec6 remove unused code 2011-05-03 11:58:58 +02:00
Laurent Bachelier
904c9ff5f9 Fix typos and trailing spaces 2011-05-03 11:56:47 +02:00
Romain Bignon
3121e0c57d fix 4chan backend to support message "AMERICA FUCK YEAH" outside of a thread 2011-05-03 11:55:57 +02:00
Romain Bignon
29d164f737 fix matched URLs of inrocks 2011-05-03 11:46:09 +02:00
Roger Philibert
432db07599 fix rate limiting 2011-05-03 02:52:54 +02:00
Noe Rubinstein
5eba831497 Fix and improve Galleroob 2011-05-03 02:52:54 +02:00
Noe Rubinstein
afe5db74b4 Put Thumbnail in a tools.capabilities 2011-05-03 02:52:38 +02:00
Noe Rubinstein
ecb076d9b5 Change "Video" to "Radio" in radioob 2011-05-03 02:22:49 +02:00
Noe Rubinstein
92c5ce8b66 Write Gallery to title-based dir 2011-05-03 02:22:49 +02:00
Roger Philibert
c74362edb7 Improve EHentai backend 2011-05-03 02:22:49 +02:00
Noé Rubinstein
ee7ae31abf fix and improve galleroob 2011-05-03 02:22:49 +02:00
Romain Bignon
7e50b24b6b Revert "Uncomment python dependencies." (closes #654)
This reverts commit dce76d35f8.

It is really CRAPPY to add a hard dependencies to optional things like
PyQt.
2011-05-02 10:46:35 +02:00
Romain Bignon
d41a5de0d7 icons for new backends 2011-05-02 08:49:12 +02:00
Romain Bignon
1327edb1ed add script to install xdg 2011-05-02 08:49:12 +02:00
Romain Bignon
6d6542f474 remove downparadise 2011-05-02 08:49:12 +02:00
Laurent Bachelier
aa939ca2bd Support testing with multiple backend instances
This is useful for testing backends with different configurations
(different sites, being anonymous or not, etc.)
The previous behavior was to chose a random backend instance.
2011-05-02 02:05:14 +02:00
Laurent Bachelier
5fcc515fa6 Browser tries to login if the password is not None
Workaround since there is no way yet to mark a config argument as
optional.
2011-05-01 22:51:39 +02:00
Laurent Bachelier
f11d093e22 pastebin backend: stricter URL matching 2011-05-01 22:30:11 +02:00
Laurent Bachelier
5e90c1f47c Support more YouTube URLs
The regular expression is also more strict, yet accepts the
youtu.be short URLs and user page URLs.
2011-05-01 14:37:15 +02:00
Laurent Bachelier
740e7f12d2 pastebin backend: Support login
Also add an option to Browser to avoid making useless requests.
2011-04-30 22:28:03 +02:00