]> git.proxmox.com Git - pve-http-server.git/log
pve-http-server.git
7 years agobump version to 1.0-2
Dietmar Maurer [Mon, 16 Jan 2017 17:39:56 +0000 (18:39 +0100)]
bump version to 1.0-2

7 years agosimple-demo.pl: simple demo server for testing
Dietmar Maurer [Mon, 16 Jan 2017 14:10:04 +0000 (15:10 +0100)]
simple-demo.pl: simple demo server for testing

7 years agoextract_auth_cookie: always call uri_unescape($ticket)
Dietmar Maurer [Mon, 16 Jan 2017 13:24:21 +0000 (14:24 +0100)]
extract_auth_cookie: always call uri_unescape($ticket)

should not harm.

7 years agouse canonical flag for json format
Dietmar Maurer [Mon, 16 Jan 2017 12:05:21 +0000 (13:05 +0100)]
use canonical flag for json format

7 years agoimprove error message
Dietmar Maurer [Mon, 16 Jan 2017 10:40:45 +0000 (11:40 +0100)]
improve error message

7 years agofix debian/rules permissions
Fabian Grünbichler [Mon, 16 Jan 2017 10:40:00 +0000 (11:40 +0100)]
fix debian/rules permissions

7 years agobuild script improvement
Fabian Grünbichler [Mon, 16 Jan 2017 10:34:50 +0000 (11:34 +0100)]
build script improvement

build with dpkg-buildpackage (in temp dir), instead of
install-ing the files manually and then pretending to build
with dpkg-buildpackage.

this makes the whole fakeroot/root handling simpler, and
makes "make deb" a simple wrapper around building the
package, like it should be.

7 years agopass basic server configuration to formatter functions
Dietmar Maurer [Sun, 15 Jan 2017 10:43:48 +0000 (11:43 +0100)]
pass basic server configuration to formatter functions

7 years agoFormatter/HTML: only display description if we have one
Dietmar Maurer [Sun, 15 Jan 2017 10:04:02 +0000 (11:04 +0100)]
Formatter/HTML: only display description if we have one

7 years agoadd some inline docs
Dietmar Maurer [Sun, 15 Jan 2017 09:54:26 +0000 (10:54 +0100)]
add some inline docs

7 years agoremove base_handler_class from required arguments
Dietmar Maurer [Sun, 15 Jan 2017 08:25:24 +0000 (09:25 +0100)]
remove base_handler_class from required arguments

7 years agoremove all references to rpcenv (we can do this in the subclass).
Dietmar Maurer [Sun, 15 Jan 2017 07:34:46 +0000 (08:34 +0100)]
remove all references to rpcenv (we can do this in the subclass).

7 years agoFormatter/Bootstrap.pm; use configured cookie_name
Dietmar Maurer [Sat, 14 Jan 2017 16:16:22 +0000 (17:16 +0100)]
Formatter/Bootstrap.pm; use configured cookie_name

7 years agopass $title to formatter functions
Dietmar Maurer [Sat, 14 Jan 2017 15:39:25 +0000 (16:39 +0100)]
pass $title to formatter functions

7 years agoinclude jquery-3.3.1.min.js
Dietmar Maurer [Sat, 14 Jan 2017 15:00:29 +0000 (16:00 +0100)]
include jquery-3.3.1.min.js

7 years agoBootstrap.pm: remove support for IE8 and older
Dietmar Maurer [Sat, 14 Jan 2017 14:42:36 +0000 (15:42 +0100)]
Bootstrap.pm: remove support for IE8 and older

7 years agoinclude bootstrap-3.3.7-dist.zip files
Dietmar Maurer [Sat, 14 Jan 2017 14:36:15 +0000 (15:36 +0100)]
include bootstrap-3.3.7-dist.zip files

7 years agonew helper add_dirs (copied from pveproxy.pm)
Dietmar Maurer [Sat, 14 Jan 2017 13:26:33 +0000 (14:26 +0100)]
new helper add_dirs (copied from pveproxy.pm)

7 years agodepend on perl
Dietmar Maurer [Sat, 14 Jan 2017 13:25:57 +0000 (14:25 +0100)]
depend on perl

7 years agowhite space cleanups
Dietmar Maurer [Sat, 14 Jan 2017 12:18:27 +0000 (13:18 +0100)]
white space cleanups

7 years agoadd new hook function to generate CSRF token
Dietmar Maurer [Sat, 14 Jan 2017 12:16:59 +0000 (13:16 +0100)]
add new hook function to generate CSRF token

This avoid the reference to PVE::AccessControl.

7 years agopass auth_handler result to formatters
Dietmar Maurer [Sat, 14 Jan 2017 10:12:05 +0000 (11:12 +0100)]
pass auth_handler result to formatters

In case somebody want to display that info.

7 years agorework formatter registration
Dietmar Maurer [Sat, 14 Jan 2017 09:25:10 +0000 (10:25 +0100)]
rework formatter registration

Do the whole thing inside PVE/APIServer/Formatter.pm

7 years agoadd generic formatter framework
Dietmar Maurer [Fri, 13 Jan 2017 18:05:21 +0000 (19:05 +0100)]
add generic formatter framework

7 years agorename class to PVE::APIServer::AnyEvent
Dietmar Maurer [Fri, 13 Jan 2017 17:18:13 +0000 (18:18 +0100)]
rename class to PVE::APIServer::AnyEvent

So that we can move all api server related code into PVE::APIServer::*.

7 years agodebian/control: add missing dependencies
Dietmar Maurer [Fri, 13 Jan 2017 13:55:16 +0000 (14:55 +0100)]
debian/control: add missing dependencies

7 years agoavoide dependency on PVE::AccessControl
Dietmar Maurer [Fri, 13 Jan 2017 13:53:28 +0000 (14:53 +0100)]
avoide dependency on PVE::AccessControl

add new abstract function verify_spice_connect_url().

7 years agomove abstract fuctions to end of file
Dietmar Maurer [Fri, 13 Jan 2017 13:45:56 +0000 (14:45 +0100)]
move abstract fuctions to end of file

7 years agoAsyncHTTPServer.pm: fix dependencies, remove handler implementation
Dietmar Maurer [Fri, 13 Jan 2017 12:33:22 +0000 (13:33 +0100)]
AsyncHTTPServer.pm: fix dependencies, remove handler implementation

So this is an abstract, reusable class now.

7 years agofix/change class name to PVE::AsyncHTTPServer
Dietmar Maurer [Fri, 13 Jan 2017 12:16:54 +0000 (13:16 +0100)]
fix/change class name to PVE::AsyncHTTPServer

7 years agoinitial import
Dietmar Maurer [Fri, 13 Jan 2017 11:55:20 +0000 (12:55 +0100)]
initial import

The PVE/AsyncHTTPServer.pm code is copied from the pve-manager
package (PVE/HTTPServer.pm) and renamed.