Commit Graph

19 Commits

Author SHA1 Message Date
Thomas Lamprecht
9fdfebf743 allow 8-way NUMA systems
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-01-11 10:21:55 +01:00
Dietmar Maurer
2d2ed7ab53 fix wrong permissions for subscription info
workaround to keep the subscription popup on login even without 'Sys.Audit'
permissions but remove the subscription details in the GUI for unauthorized
users.
2018-10-30 11:37:00 +01:00
Thomas Lamprecht
69bbb88541 api: nodes/subscription: implement reasonable access rights
Allow users which have Sys.Audit on a specific node to get the
subscription status and those with Sys.Modify to set and check
(update) it.

This mirrors the required permissions from other node specific
actions, e.g., APT (package management).

We always showed the Subscription Panel and all its elements in the
WebUI, so no need for change there.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-12-12 07:52:18 +01:00
Dietmar Maurer
43fc27a4ec PVE/API2/Subscription.pm - use new PVE::Subcription class 2017-10-03 12:54:29 +02:00
Dietmar Maurer
f494187fb6 do not use Net::SSL
seems IO::Socket::SSL can now connect to proxy
2016-02-26 11:29:00 +01:00
Dietmar Maurer
94cc956030 trim subscription key to avoid unexpected errors.
People normally use cut&paste, and that often adds unexpected white space
characters. So we simply remove them for convenience.
2014-06-13 06:32:07 +02:00
Dietmar Maurer
718427dacb subscription updates: set UserAgent header on proxy connect request 2013-10-29 10:20:38 +01:00
Dietmar Maurer
446b96693a corretly use proxy CONNECT
There is a bug in LWP:UserAgent - it does not use CONNECT for https
proxy calls. So such calls fails with SQUID.
2013-09-09 11:33:25 +02:00
Dietmar Maurer
2ba6d82257 fix changelog url for pve repository
To make it compatible with 'apt-get changelog'
2013-08-01 11:35:48 +02:00
Dietmar Maurer
7b02d9ecf3 write auth.conf 2013-07-25 10:29:52 +02:00
Dietmar Maurer
e721a8293f fix permissions on subscription api 2012-04-12 11:16:04 +02:00
Dietmar Maurer
00a93a4bef cleanup subscription code 2012-04-05 08:04:06 +02:00
Dietmar Maurer
bbb3512854 only save required information 2012-03-30 11:45:55 +02:00
Dietmar Maurer
5f7b79501f use /etc/subscription to store subscription key 2012-03-29 11:30:11 +02:00
Dietmar Maurer
7a95afb978 use validdirectory instead of validdomains 2012-03-29 09:33:52 +02:00
Dietmar Maurer
16b69b6c3e add subscription status to datacenter summary 2012-03-26 10:39:10 +02:00
Dietmar Maurer
8ae3531231 fix error message
Only test MD5 if status is active
2012-03-26 08:24:15 +02:00
Dietmar Maurer
8f9217dc97 use PVE::ProcFSTools::read_cpuinfo to get numbert of sockets 2012-03-26 08:00:57 +02:00
Dietmar Maurer
21ace8d328 add subscription management API 2012-03-23 06:31:34 +01:00