30 Commits

Author SHA1 Message Date
Dietmar Maurer
0b4a6c573a use new pidfile option (instead of run_dir) 2015-01-02 14:19:23 +01:00
Dietmar Maurer
64a5c80481 use setuid/setgid feature from PVE::Daemon 2015-01-02 14:11:38 +01:00
Dietmar Maurer
8208f7db2f remove class APIDaemon
Moved last used sub into PVE::API2Tools.
2015-01-01 16:54:21 +01:00
Dietmar Maurer
fd2c4d2534 pveproxy: use PVE::Daemon 2015-01-01 16:19:41 +01:00
Dietmar Maurer
f6bc4a73d0 pveproxy: also support newer tls versions 2014-12-02 14:01:32 +01:00
Dietmar Maurer
434e314196 pveproxy: limit ourselfes to tlsv1
older versions are considered insecure, for example search for "Poodle"-Attac
2014-10-15 15:46:47 +02:00
Dietmar Maurer
9940ea0165 add sencha touch based GUI for mobile devices 2014-08-05 08:31:17 +02:00
Dietmar Maurer
364b1b589d add sencha touch framework 2014-08-05 07:00:02 +02:00
Dietmar Maurer
eeffac5b3b generate index file for noVNC here
Include CSRFToken and gettext catalogs.
2014-08-05 06:38:01 +02:00
Dietmar Maurer
cba684d8d6 move index file generation into extra file PVE/ExtJSIndex.pm
And load locale files instead of including them into image.
2014-08-04 08:32:21 +02:00
Dietmar Maurer
d685ae5b70 pveproxy: add routing to novnc dirs 2014-06-13 10:34:13 +02:00
Dietmar Maurer
3d84ba73bb new html formatter PVE::API2::Formatter::HTML
This one provides a login page and uses bootstrap for html.
2014-05-02 11:36:11 +02:00
Dietmar Maurer
0cf4ab9b8e include bootstrap html framework 2014-05-02 11:35:16 +02:00
Dietmar Maurer
fa239655a0 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
56e59fcc14 add X-UA-Compatible tag
To avoid GUI bugs with IE
2014-04-26 09:33:02 +02:00
Dietmar Maurer
45c7d95974 correctly set content type for GUI index page 2013-10-29 11:09:26 +01:00
Stefan Priebe
cc04752964 do not use -w switch as it breaks modules
-w enabled warnings for all modules - even when these modules comes from the OS and are not compatible
with warnings. This is the reason to NOT use -w and instead use "use warnings".
2013-10-01 10:36:47 +02:00
Dietmar Maurer
dd28cbbd1b add favicon.ico 2013-08-16 13:06:32 +02:00
Dietmar Maurer
787217cdca allow to configure cipher list for pveproxy 2013-08-01 09:36:53 +02:00
Dietmar Maurer
60172a9333 pveproxy: use same cipher list as debian apache ssl.conf 2013-07-24 06:56:45 +02:00
Dietmar Maurer
3ffb722d3c reuse host based access control code for spiceproxy 2013-06-27 07:55:11 +02:00
Dietmar Maurer
81af31335e pveproxy: implement host based access control 2013-04-23 10:30:10 +02:00
Dietmar Maurer
cb39891f75 code cleanups 2013-04-17 08:28:05 +02:00
Dietmar Maurer
519ea5b07f implement file upload
And remove CGI.pm dependency (because we want nonblocking upload).
2013-04-15 11:20:17 +02:00
Dietmar Maurer
f4defdaafb code cleanups 2013-04-11 08:31:03 +02:00
Dietmar Maurer
21920a6243 implement signal handler for clean reload/restart 2013-04-10 11:12:03 +02:00
Dietmar Maurer
4b73743aa9 run pveproxy as unpriviledged user (www-data)
We log to /var/log/pveproxy/access.log. Extra directory is needed because we run
as www-data (no permissions to write into /var/log/pve/).
2013-04-10 09:58:35 +02:00
Dietmar Maurer
60630ac1c3 only allow pre-defined directories (avoid regex)
Just to be more secure.
2013-04-10 07:10:50 +02:00
Dietmar Maurer
eff15abe48 use liburi-perl to get query params 2013-04-10 06:08:03 +02:00
Dietmar Maurer
962a5c2865 implement new event based api server 2013-04-09 11:51:51 +02:00