Commit graph

11 commits

Author SHA1 Message Date
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
f63180c187 CapPaste: Support expiration for posting, as a max_age parameter 2011-04-30 00:26:23 +02:00
Laurent Bachelier
b64b039cdd paste* backends: Support '$full' for fields 2011-04-27 18:31:03 +02:00
Laurent Bachelier
fbd4511ffa CapPaste: add method to find if a paste is suitable for the backend
Basic support in pastoob added (there is no way yet to change the
default options).
Backends support the "public/private" requirement.
2011-04-27 00:41:50 +02:00
Laurent Bachelier
30f2f8e374 Python 2.5 compatibility for pastoob and paste backends 2011-04-24 00:18:05 +02:00
Laurent Bachelier
8af2674994 Better API for ICapPaste.new_paste 2011-04-23 00:30:27 +02:00
Laurent Bachelier
6c2d164883 Add basic support for pasting with pastoob
And fix the capability.
2011-04-23 00:17:40 +02:00
Laurent Bachelier
dc35df83ef paste* backends: Accept an URL or an ID
Like most other backends, with the id2url decorator.
2011-04-21 18:29:18 +02:00
Laurent Bachelier
4dc3e56d18 pastealacon backend: Support posting
The captcha is not handled but an exception is properly raised.
2011-04-14 16:19:51 +02:00
Laurent Bachelier
9363781b3c Add pastealacon backend for CapPaste
Sadly, not posting for now, for two reasons:
* we get a captcha very often
* the form page seems invalid and mechanize is not able to select the form
2011-04-14 16:19:50 +02:00