Commit graph

514 commits

Author SHA1 Message Date
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
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
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
9ca4a2530c filename is not a required argument 2011-05-03 12:08:10 +02:00
Laurent Bachelier
904c9ff5f9 Fix typos and trailing spaces 2011-05-03 11:56:47 +02:00
Noe Rubinstein
5eba831497 Fix and improve Galleroob 2011-05-03 02:52:54 +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
Noé Rubinstein
ee7ae31abf fix and improve galleroob 2011-05-03 02:22:49 +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
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
Romain Bignon
48d6f1daf1 fix license 2011-04-26 09:12:22 +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
Romain Bignon
7098e44d9b use CapResources for radios 2011-04-21 12:07:37 +02:00
Romain Bignon
c28d5a99c1 factorize ls and cd in ReplApplication 2011-04-21 11:01:50 +02:00
Nicolas Duhamel
cc52b8eb3c Downparadise backend first commit 2011-04-20 09:26:34 +02:00
Nicolas Duhamel
0f53a02947 Introduce tostring function 2011-04-20 09:26:33 +02:00
Nicolas Duhamel
82afb34f7a Use Path object 2011-04-20 09:26:33 +02:00
Nicolas Duhamel
f815a9c2c2 Catch CollectionNotFound 2011-04-20 09:26:33 +02:00
Nicolas Duhamel
3e17eb0991 little fix 2011-04-20 09:26:33 +02:00
Nicolas Duhamel
95edb50496 little fix 2011-04-20 09:26:33 +02:00
Nicolas Duhamel
27876970f3 backend stateful 2011-04-20 09:26:32 +02:00
Nicolas Duhamel
8adc8dca9a Videoob fix license 2011-04-20 09:26:32 +02:00
Nicolas Duhamel
8b2e4b276d Add collections to videoob 2011-04-20 09:26:32 +02:00
Romain Bignon
129dfc181a fix unused imports and version 2011-04-14 16:19:51 +02:00
Noé Rubinstein
61ded12577 Application stub using CapGallery 2011-04-14 16:19:51 +02:00
Nicolas Duhamel
d8b80139d4 Fix download rtmp video source (closes #631) 2011-04-11 08:28:29 +02:00
Romain Bignon
be7bc2e8cb link to backend icons 2011-04-10 19:07:05 +02:00
Romain Bignon
f09f32c2ea can close an event and set winner 2011-04-10 19:03:51 +02:00
Romain Bignon
f3b2cea4ea fix franceinter radio 2011-04-10 16:48:56 +02:00
Romain Bignon
76c54b7ff8 fix display 2011-04-10 16:48:55 +02:00
Romain Bignon
3bd2322b48 fix encoding error 2011-04-09 16:04:46 +02:00
Romain Bignon
cf2dca7520 display 2011-04-08 19:39:40 +02:00
Romain Bignon
7e2bb91b3b change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
Romain Bignon
148265291d add 'edit me' command 2011-04-07 17:28:48 +02:00
Romain Bignon
c4c0377b23 UI enhancements 2011-04-07 15:57:18 +02:00
Romain Bignon
d646295292 ask name of user when trying to join the event 2011-04-07 14:38:13 +02:00
Romain Bignon
45f7c534cc docstrings and new commands 2011-04-07 12:35:46 +02:00
Romain Bignon
33051bb986 new commands 2011-04-07 12:35:46 +02:00
Romain Bignon
7a4cbacc48 new application 'boobathon' 2011-04-07 12:35:46 +02:00
Christophe Benz
ca658e3946 python2.5 compatibility. 2011-04-04 21:51:51 +02:00
Christophe Benz
c7ff4640a0 Fix application descriptions. 2011-04-04 10:35:41 +02:00