Laurent Bachelier
f11d093e22
pastebin backend: stricter URL matching
2011-05-01 22:30:11 +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
Laurent Bachelier
f63180c187
CapPaste: Support expiration for posting, as a max_age parameter
2011-04-30 00:26:23 +02:00
Laurent Bachelier
9022435e49
paste* backends: Support the 'public' attribute
2011-04-27 00:32:15 +02:00
Laurent Bachelier
c1c9b39e9d
paste* backends: Use the check_url decorator
2011-04-21 22:23:23 +02:00
Laurent Bachelier
1a4fd0d320
paste* backends: Stricter URL matching
2011-04-21 20:48:08 +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
154c061398
paste* backends: "Paste not found" exception
2011-04-20 01:03:04 +02:00
Laurent Bachelier
1f571a9dc9
pastebin backend: Use a default expiration of one month
...
I don't want to clog pastebin's database with my unit tests!
2011-04-14 23:50:13 +02:00
Laurent Bachelier
ae52f23ea8
pastebin backend: Support posting via API if we have an apikey
2011-04-14 23:50:13 +02:00
Laurent Bachelier
667b8267db
paste* backends: Do not fill the paste after post
...
It's the application job to call fill_paste().
We only need to get the id.
2011-04-14 23:50:13 +02:00
Laurent Bachelier
51d4b87ebb
pastebin backend: various fixes and enhancements
...
* Get the contents from the HTML page, eliminating one request
* Fix encoding support (everything is unicode) for all three Browser methods
* Enhance test
2011-04-12 01:43:27 +02:00
Romain Bignon
b079953916
remove debug stuff
2011-04-11 11:17:49 +02:00
Romain Bignon
cc0b17e14e
remove unused import
2011-04-11 08:28:27 +02:00
Laurent Bachelier
8b874f6b0a
Add Pastebin backend and Paste capability
...
It is able to get a paste, and post a new one.
Only the contents and title fields are supported for now.
2011-04-10 17:32:20 +02:00