Romain Bignon
cb1372b99f
new class BackendConfig to manage backend configs
2011-05-21 10:26:57 +02:00
Romain Bignon
53e22d9f4b
bump to 0.9
2011-05-08 18:31:44 +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
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
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
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
ae52f23ea8
pastebin backend: Support posting via API if we have an apikey
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
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