Dietmar Maurer
1370ec6145
move formater registration to HTTPServer
2014-05-02 07:03:12 +02:00
Dietmar Maurer
3ed610334e
add generic formater support
2014-04-30 15:28:30 +02:00
Dietmar Maurer
f23d76c905
PVE::REST - always add method info to result
...
This is usefule for result formaters.
2014-04-30 09:22:50 +02:00
Dietmar Maurer
d804d82f50
introduce base_handler_class
...
To make the framework more generic. The final plan is to move the
generic server code to package pve-common.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2014-04-30 08:31:14 +02:00
Dietmar Maurer
949118487d
bump version to 3.1-44, re-add spiceconfig support
2014-02-24 12:51:07 +01:00
Dietmar Maurer
a2c052b012
remove spiceconfig output format
...
The client can generate a data url with that content easily.
2013-12-09 08:38:47 +01:00
Dietmar Maurer
069afca616
use application/x-virt-viewer
2013-06-26 06:20:42 +02:00
Dietmar Maurer
b063f04cd9
cleanup previous commit
2013-06-25 08:41:31 +02:00
Alexandre Derumier
6e30b52dd4
rest : handle application/x-spice-configuration response format
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-06-25 08:22:50 +02:00
Alexandre Derumier
0ebf2fa8d9
avoid gzip http response for png & gif
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-06-11 06:58:25 +02:00
Dietmar Maurer
96d981eb38
correctly encode PVEAuthCookie
2013-04-15 12:29:03 +02:00
Dietmar Maurer
d06a1c62c3
implement file upload
...
And remove CGI.pm dependency (because we want nonblocking upload).
2013-04-15 11:20:17 +02:00
Dietmar Maurer
d846ca61bd
implement api proxy calls using AnyEvent::HTTP
2013-04-11 06:43:00 +02:00
Dietmar Maurer
0c308a030e
remove apache2 dependency
...
And add init.d script for pveproxy.
2013-04-09 12:31:14 +02:00
Dietmar Maurer
bd7333661e
implement new event based api server
2013-04-09 11:51:51 +02:00
Dietmar Maurer
c4113f6c3a
add comment about why we do not use the CA file
2013-03-21 08:41:20 +01:00
Dietmar Maurer
15d29886e7
disable verify_hostname with LWP
...
This was the default for libwww-perl-5.837 and earlier releases.
2013-03-21 06:57:27 +01:00
Dietmar Maurer
0ba26fb503
REST.pm: use inlime image data
...
New create_rrd_graph returns image data directly - no need to read from file.
2012-10-31 07:18:44 +01:00
Dietmar Maurer
52878b0a38
use Digest::SHA instead of Digest::SHA1
2012-03-20 12:33:38 +01:00
Dietmar Maurer
e084c7747a
fix file upload permission checks
2012-02-22 09:14:24 +01:00
Dietmar Maurer
f797e949fb
split out code to convert exceptions to apache handler results
2012-01-26 08:08:21 +01:00
Dietmar Maurer
40bbaac1f5
moved permission check code to RPCEnvironment.pm
2012-01-25 06:40:55 +01:00
Dietmar Maurer
987bb911d4
better userid-group test (allow groups passed as parameter)
2012-01-24 11:52:02 +01:00
Dietmar Maurer
7d020b4246
implement new check attribute for permissions.
...
We use a simple prefix notation to express complex expressions.
2012-01-23 12:18:27 +01:00
Dietmar Maurer
e4d554ba9b
implement PasswordEdit dialog
...
And cleanup permission check code.
2012-01-20 12:56:48 +01:00
Dietmar Maurer
d25e743196
fix bug #88 : use decode_utf8_parameters()
2012-01-19 14:08:49 +01:00
Dietmar Maurer
e771ec500a
fix bug #86 : correctly decode cookie
2012-01-17 08:18:13 +01:00
Dietmar Maurer
56ecfafd03
fix bug #85 : allow root@pam to generate tickets for other users
...
We cannot automatically set the auth cookie any longer - the client need
to do that now.
2012-01-17 07:01:34 +01:00
Dietmar Maurer
b00b561726
make password optional
2012-01-13 13:34:08 +01:00
Dietmar Maurer
e09058af9a
use new set_result_attrib
2011-12-21 07:11:04 +01:00
Dietmar Maurer
3dff4a9fc1
use new get_result_changes()
...
That way we can return file diffs as additional return attribute.
2011-12-20 11:21:36 +01:00
Dietmar Maurer
6c980a6779
add some comments about KeepAlive usage.
...
Seems KeepAlive spawns too many processes, so we cant use it.
2011-11-10 09:21:28 +01:00
Dietmar Maurer
97ab5760dc
add file upload hacks
2011-11-03 09:34:34 +01:00
Dietmar Maurer
282184f5a0
disable debug messages in REST.pm by default
2011-09-29 08:33:41 +02:00
Dietmar Maurer
beb651ee65
removed automake/autoconf, removed unused files
2011-08-23 16:11:04 +02:00