]> git.proxmox.com Git - pve-client.git/log
pve-client.git
5 years agoFix the WebSocket client to work with none PVE servers.
René Jochum [Tue, 5 Jun 2018 16:03:41 +0000 (18:03 +0200)]
Fix the WebSocket client to work with none PVE servers.

For debugging I tested the WebSocket client with my Protocol::WebSocket
server (i have hexdumps in it), this patch is required to make it work
with it. I'm pretty sure we need it for Proxies too.

5 years agoRemove the File::HomeDir requirement
Dietmar Maurer [Tue, 5 Jun 2018 10:06:31 +0000 (12:06 +0200)]
Remove the File::HomeDir requirement

Simply use $ENV{HOME} instead.

5 years agouse SectionConfig for PVE::APIClient::Config
Dietmar Maurer [Tue, 5 Jun 2018 09:44:45 +0000 (11:44 +0200)]
use SectionConfig for PVE::APIClient::Config

5 years agohelp.pm: fix generate usage string (hide password option)
Dietmar Maurer [Tue, 5 Jun 2018 08:37:41 +0000 (10:37 +0200)]
help.pm: fix generate usage string (hide password option)

5 years agoadd PVE::Tools::extract_param helper
Dietmar Maurer [Tue, 5 Jun 2018 07:33:43 +0000 (09:33 +0200)]
add PVE::Tools::extract_param helper

5 years agoregister standard option inside PVE::APIClient::Config
Dietmar Maurer [Tue, 5 Jun 2018 06:03:57 +0000 (08:03 +0200)]
register standard option inside PVE::APIClient::Config

5 years agoimported SectionConfig from pve-common
Dietmar Maurer [Tue, 5 Jun 2018 05:51:00 +0000 (07:51 +0200)]
imported SectionConfig from pve-common

5 years agoremove useless comments
Dietmar Maurer [Tue, 5 Jun 2018 05:41:34 +0000 (07:41 +0200)]
remove useless comments

5 years agoImplement remote remove
René Jochum [Mon, 4 Jun 2018 14:49:05 +0000 (16:49 +0200)]
Implement remote remove

Signed-off-by: René Jochum <r.jochum@proxmox.com>
5 years agoAdd a basic implementation of remote list
René Jochum [Mon, 4 Jun 2018 14:49:04 +0000 (16:49 +0200)]
Add a basic implementation of remote list

Signed-off-by: René Jochum <r.jochum@proxmox.com>
5 years agoImplement remote add
René Jochum [Mon, 4 Jun 2018 14:49:03 +0000 (16:49 +0200)]
Implement remote add

Signed-off-by: René Jochum <r.jochum@proxmox.com>
5 years agoAdd config class.
René Jochum [Mon, 4 Jun 2018 14:49:02 +0000 (16:49 +0200)]
Add config class.

Signed-off-by: René Jochum <r.jochum@proxmox.com>
5 years agoimplement help
Dietmar Maurer [Mon, 4 Jun 2018 08:41:41 +0000 (10:41 +0200)]
implement help

5 years agoinclude PVE/PTY.pm (copied from pve-common)
Dietmar Maurer [Mon, 4 Jun 2018 06:28:31 +0000 (08:28 +0200)]
include PVE/PTY.pm (copied from pve-common)

5 years agoAdd .gitignore
René Jochum [Wed, 30 May 2018 12:18:31 +0000 (14:18 +0200)]
Add .gitignore

Signed-off-by: René Jochum <r.jochum@proxmox.com>
5 years agocorrectly use HTTP::Response
Dietmar Maurer [Wed, 30 May 2018 09:28:18 +0000 (11:28 +0200)]
correctly use HTTP::Response

5 years agoremove generic websocket code - not worth to share
Dietmar Maurer [Wed, 30 May 2018 08:40:06 +0000 (10:40 +0200)]
remove generic websocket code - not worth to share

5 years agoimplement basic websocket protocol
Dietmar Maurer [Wed, 30 May 2018 08:35:27 +0000 (10:35 +0200)]
implement basic websocket protocol

5 years agoinstall missing file PVE/APIClient/Config.pm
Dietmar Maurer [Tue, 29 May 2018 09:45:10 +0000 (11:45 +0200)]
install missing file PVE/APIClient/Config.pm

5 years agomove config related code to PVE/APIClient/Config.pm
Dietmar Maurer [Tue, 29 May 2018 07:33:05 +0000 (09:33 +0200)]
move config related code to PVE/APIClient/Config.pm

5 years agouse new PVE::APIClient::Config class, register_standard_option 'pveclient-remote...
Dietmar Maurer [Tue, 29 May 2018 07:20:25 +0000 (09:20 +0200)]
use new PVE::APIClient::Config class, register_standard_option 'pveclient-remote-name'

and implement command line completion for 'remote' names.

5 years agoPVE/APIClient/Config.pm: new class to handle configuration file
Dietmar Maurer [Tue, 29 May 2018 07:18:26 +0000 (09:18 +0200)]
PVE/APIClient/Config.pm: new class to handle configuration file

5 years agolxc.pm: add test code to read config from ~/.pveclient
Dietmar Maurer [Tue, 29 May 2018 06:32:39 +0000 (08:32 +0200)]
lxc.pm: add test code to read config from ~/.pveclient

5 years agoadd code to print perl package dependencies
Dietmar Maurer [Thu, 24 May 2018 11:58:50 +0000 (13:58 +0200)]
add code to print perl package dependencies

We want to minimize that list ...

5 years agoimprove bash completion
Dietmar Maurer [Thu, 24 May 2018 11:28:28 +0000 (13:28 +0200)]
improve bash completion

5 years agoadd split_args helper
Dietmar Maurer [Thu, 24 May 2018 09:06:15 +0000 (11:06 +0200)]
add split_args helper

5 years agouse correct name for bash completion file
Dietmar Maurer [Thu, 24 May 2018 08:55:35 +0000 (10:55 +0200)]
use correct name for bash completion file

5 years agoadd simple bash completion code
Dietmar Maurer [Thu, 24 May 2018 08:26:29 +0000 (10:26 +0200)]
add simple bash completion code

5 years agoadd stub for lxc commands
Dietmar Maurer [Wed, 23 May 2018 10:19:34 +0000 (12:19 +0200)]
add stub for lxc commands

5 years agoimprove usage text
Dietmar Maurer [Wed, 23 May 2018 09:56:40 +0000 (11:56 +0200)]
improve usage text

5 years agouse get_options from PVE::JSONSchema
Dietmar Maurer [Wed, 23 May 2018 08:57:34 +0000 (10:57 +0200)]
use get_options from PVE::JSONSchema

5 years agocopy and use files from pve-common packages
Dietmar Maurer [Wed, 23 May 2018 08:53:55 +0000 (10:53 +0200)]
copy and use files from pve-common packages

We don't want to depend on pve-common, so we simply copy used files.

5 years agocomment out upload target
Dietmar Maurer [Tue, 22 May 2018 12:20:55 +0000 (14:20 +0200)]
comment out upload target

this is experimental code

5 years agoadd debian package files
Dietmar Maurer [Tue, 22 May 2018 12:19:53 +0000 (14:19 +0200)]
add debian package files

5 years agoadd Makefile
Dietmar Maurer [Tue, 22 May 2018 12:14:56 +0000 (14:14 +0200)]
add Makefile

5 years agoadd API definition
Dietmar Maurer [Tue, 22 May 2018 12:11:05 +0000 (14:11 +0200)]
add API definition

5 years agoadd client skeleton
Dietmar Maurer [Tue, 22 May 2018 12:03:28 +0000 (14:03 +0200)]
add client skeleton