Commit graph

10 commits

Author SHA1 Message Date
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
f63180c187 CapPaste: Support expiration for posting, as a max_age parameter 2011-04-30 00:26:23 +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
4b2b9e511f pastoob: add a newline for get
Unless we are writing in a file or in a pipe
2011-04-26 18:55:42 +02:00
Laurent Bachelier
61c1aef493 pastoob: Fix displayed help for post 2011-04-26 18:55:42 +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
5c7eaa3151 Pastoob fixes
Do not use print (as it add a newline), fix the wanted fields, use "get"
instead of "show".
2011-04-22 22:06:14 +02:00
Laurent Bachelier
d3f6c270f8 Introduce the pastoop application
For now it can only get the contents of a paste.
2011-04-21 23:11:00 +02:00