Emmanuel Kasper
67cb91e4d7
Indentation fix
2017-02-28 11:33:51 +01:00
Thomas Lamprecht
09f19204be
InfluxDB plugins: send nodename when updating CT/VM status
...
This allows filtering by node in InfluxDB queries, so the statistics
of all virtual guests on a specific nodes can be queried.
While for InfluxDB this is only a tag which does changes where the
data is stored, Graphite - our other status plugin - has no such
mechanics available. If we would add it to the object hierarchy,
e.g.: "qemu.$vmid.$nodename" a migration of a VM would result in two
different datasets.
So avoid breaking setups and omit it for Graphite for now.
Suggested-by: Daniel1108 <danielgallegosanchez@gmail.com>
CC: Daniel1108 <danielgallegosanchez@gmail.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-02-28 11:28:10 +01:00
Emmanuel Kasper
f4f9e66296
Make explicit the meaning of an empty storage field
...
By default when no target storage is selected in the clone panel, the clone
will use the same storage*s* as the source.
This was not obvious to guess that from the panel.
2017-02-28 11:20:30 +01:00
Emmanuel Kasper
c8fc7a4eee
Add a clone button in the VM toolbar
...
Up to now the Migrate function had a first class button in the toolbar,
but the Clone function didn't.
With this button the toolbar still fit correctly in a smaller
1280 pixel wide display.
2017-02-22 13:54:36 +01:00
Emmanuel Kasper
4e2b6cc8ee
Move the snapshot API test to a static function
...
This will allow code reuse in a following patch.
No functional change.
2017-02-22 13:54:36 +01:00
Emmanuel Kasper
0057ea5c88
Fix handling of failed API call verifyFeature()
...
This call can for instance fails when a source VM has references
to non existing storages.
2017-02-22 13:54:35 +01:00
Thomas Lamprecht
3a2402368f
pveperf: remove outated POD replaced by pve-docs
...
Remove the POD content and the overwriting makefile rule
'pveperf.1.pod' so that the rule from pve-doc-generator.mk matches
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-02-15 11:10:27 +01:00
Emmanuel Kasper
245859bd83
Use ip from iproute2 package instead of net-tools
...
iproute2 is a direct depency from pve-qemu-kvm and should
be always available
use -statistics so we get the RX/TX traffic sum like ifconfig
use -details to get extra info like current vlan_protocol
2017-02-08 10:00:55 +01:00
Emmanuel Kasper
4092576b1b
Fix #1266 : use a renderer when displaying Unix timestamps.
...
The timestamp is displayed read only in a large window, and not sortable,
hence we use the human readable renderer.
2017-02-01 10:09:58 +01:00
Emmanuel Kasper
3f6336553c
Add a new renderer for displaying dates in a human readable way
...
render_timestamp returns a Date as
"2017-01-31 16:17:33"
which is good for computers and column sorting but unfit
for human consumption
the new renderer added by this patch renders a Date as
"Tuesday 31 January 2017 16:18:08"
Day-month-year order is the most used ordering
in the world and also commonly used in the USA for
official documents.
source:
https://en.wikipedia.org/wiki/Date_and_time_notation_in_the_United_States
https://en.wikipedia.org/wiki/Date_format_by_country
2017-02-01 10:09:38 +01:00
Dietmar Maurer
b0f820ab9f
PVE/API2/Tasks.pm: corretly return true after loading
2017-01-31 08:13:17 +01:00
Fabian Grünbichler
7965e09fbc
bump version to 4.4-12
2017-01-27 10:56:21 +01:00
Wolfgang Bumiller
f70fc9ace9
REST/RPCEnvironment's check_worker is a method now
2017-01-27 10:39:02 +01:00
Wolfgang Bumiller
804e97f9ec
spiceproxy: import PVE::SafeSyslog
2017-01-26 12:59:57 +01:00
Dietmar Maurer
a7157188f2
bump version to 4.4-11
2017-01-26 09:23:19 +01:00
Dietmar Maurer
9556b395b0
depend on libjs-extjs
2017-01-25 18:29:17 +01:00
Dietmar Maurer
87d50de749
delete extjs source files
2017-01-25 18:23:07 +01:00
Fabian Grünbichler
9a91a41cea
bump version to 4.4-10
2017-01-25 09:38:53 +01:00
Fabian Grünbichler
8dccd400fd
move VZDump base Plugin
...
moved to pve-common-guest
2017-01-25 09:35:39 +01:00
Dominik Csapak
e49da95bfe
do no translate ha states
...
because they have a special meaning, do not translate them
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-01-24 09:00:09 +01:00
Emmanuel Kasper
0a3cf3d482
Use the enabled/disabled toggler to render grid options
...
Allows getting rid of multiple "Enable foobar" gettext strings in
LXC and Firewall option panels.
2017-01-24 08:54:58 +01:00
Emmanuel Kasper
a3b8efb45c
Add new renderer function for toggling enabled/disabled options
2017-01-24 08:53:39 +01:00
Emmanuel Kasper
8f8ec25d24
Remove technical terms from content to be translated
2017-01-23 11:51:05 +01:00
Dietmar Maurer
0f31ba296c
bump version to 4.4-9
2017-01-19 09:23:16 +01:00
Dietmar Maurer
989f3c7ead
use new PVE::Storage::check_volume_access()
2017-01-18 17:30:40 +01:00
Dietmar Maurer
8a9bf7771e
pvestatd.pm: corretly use new RPCEnvironment
...
Call $rpcenv->active_workers()
2017-01-18 17:28:59 +01:00
Dietmar Maurer
c5bd68e84f
pveproxy: do not expose /pve2/js/ (no longer required)
2017-01-18 12:59:21 +01:00
Emmanuel Kasper
7e3e04e6fd
Remove redundant helper for login window
...
the information is already provided by the label, the helper does not add
meaningfull information here.
2017-01-18 10:23:06 +01:00
Emmanuel Kasper
2ce6111f53
Do not try to translate domain specific terms
...
No one is translating DHCP in his/her own language.
2017-01-18 10:20:27 +01:00
Emmanuel Kasper
ec99b1c367
Remove duplicate strings
2017-01-18 10:19:43 +01:00
Dietmar Maurer
5c5e751c74
remove reference to PVE.ConsoleWorkspace
...
We already removed that code (unused).
2017-01-17 08:04:45 +01:00
Dietmar Maurer
5ed88bcc5e
bump version to 4.4-8
2017-01-16 18:43:06 +01:00
Dietmar Maurer
e9e284c26a
PVE/HTTPServer: do not return cookie_name from auth_handler
...
This is no longer required.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2017-01-16 11:54:34 +01:00
Dietmar Maurer
70473e51d4
HTTPServer.pm: rewrite rest_handler (simplify code)
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2017-01-16 11:54:34 +01:00
Dietmar Maurer
b84415d325
remove base_handler_class - directly use PVE::API2 instead
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2017-01-16 11:54:34 +01:00
Dietmar Maurer
a2e669fe2c
HTTPServer.pm: call rpcenv->init_request earlier.
...
Because we access file from /etc/pve/ in auth_handler.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2017-01-16 11:54:34 +01:00
Dietmar Maurer
9d3f059fd9
HTTPServer.pm: call $rpcenv-init() when necessary.
...
This code was removed from the generic server, so we need
to add it here. cleanup follows ...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2017-01-16 11:54:34 +01:00
Dietmar Maurer
a9de2d443b
pveproxy.pm: set title to 'Proxmox VE API'
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2017-01-16 11:54:34 +01:00
Dietmar Maurer
e4e84ee023
remove www/bootstrap completely (now in pve-http-server)
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2017-01-16 11:54:33 +01:00
Dietmar Maurer
e469770953
pveproxy.pm: use PVE::APIServer::AnyEvent::add_dirs()
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2017-01-16 11:54:33 +01:00
Dietmar Maurer
b996e6c0ec
use new libpve-http-server-perl package
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2017-01-16 11:54:33 +01:00
Fabian Grünbichler
f8a723372a
bump version to 4.4-7
2017-01-13 11:01:33 +01:00
Fabian Grünbichler
f50cdc4e8c
fix CSRF token generation
...
this broke with the recent refactoring
2017-01-13 10:58:44 +01:00
Emmanuel Kasper
22c01a4473
Disable autoSelect of target storage
...
autoSelect: true was surreptitiously commited with the refactoring
of 406ac585db
( Use component references via lookupReference() )
2017-01-12 17:00:33 +01:00
Dietmar Maurer
d3c0bf7b95
bump version to 4.4-6
2017-01-12 14:24:13 +01:00
Dietmar Maurer
7e5f7c618b
HTTPServer.pm: factor out code which refers to PVE::Cluster
...
This will make it easier to move HTTPServer to a separate package.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2017-01-12 13:07:00 +01:00
Dietmar Maurer
7e017024a7
add setup_environment hooks to CLIHandler classes
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2017-01-12 13:07:00 +01:00
Emmanuel Kasper
406ac585db
Use component references via lookupReference()
...
This allows to add the components in each column in the order they
appear in the Clone Window.
References from child components are kept in an object in the parent
component so it should be the same performance-wise (contrary to to Ext.ComponentQuery
which is doing DOM parsing)
2017-01-12 12:26:07 +01:00
Fabian Grünbichler
7edaceb484
HTTPServer.pm: make split_abs_uri() private
...
and rename baseuri to base_uri to be consistent
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-01-12 11:55:54 +01:00
Dietmar Maurer
68d2366c32
HTTPServer.pm: improve baseuri matching
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2017-01-12 11:53:19 +01:00