[pve-devel] [PATCH v2 00/10] get rid of PVE::REST
Dietmar Maurer
dietmar at proxmox.com
Tue Jan 10 17:05:57 CET 2017
I want to split out HTTPServer into a separate package. This is much
easiere if we remove the PVE::REST class, which does not really add
any value.
changelog V2:
* use \Q\E in regex
* use static extract_auth_cookie/create_auth_cookie methods
* do not pass HTTPServer to page formatter (instead, set $auth->{cookie_name}
and use that).
Dietmar Maurer (10):
HTTPServer.pm: add cookie handling methods
HTTPServer.pm: add auth_handler
HTTPServer.pm: allow to set baseuri when creating the class
HTTPServer.pm: add rest_handler method
HTTPServer.pm: add missing 'use' statements
PVE/Service/pveproxy.pm: avoid using PVE::REST
PVE/API2/Formatter/HTML.pm: avoid use of PVE::REST
bin/Makefile: export PERLLIB=.. so that doc generator works correctly
remove obsolete PVE::REST class
HTTPServer.pm: improve baseuri matching
PVE/API2/Formatter/HTML.pm | 5 +-
PVE/HTTPServer.pm | 213 ++++++++++++++++++++++++++++++++++++++++++---
PVE/Makefile | 1 -
PVE/REST.pm | 203 ------------------------------------------
PVE/Service/pveproxy.pm | 2 +-
bin/Makefile | 2 +
6 files changed, 205 insertions(+), 221 deletions(-)
delete mode 100644 PVE/REST.pm
--
2.1.4
More information about the pve-devel
mailing list