Commit Graph

765 Commits

Author SHA1 Message Date
Thomas Lamprecht
6895e13f39 node/apt updates: show full package description conditionally
The full package description is often quite long, and for upgrades
it's not relevant most of the time. But, it can be intresting to
have, if one wonders what a package is even used for.
So add a checkbox in the top bar which allows to switch between
showing and hiding the description, simply done by re-using the
'grid-row-body-hidden' ExtJS CSS class (got the idea from the
RowBody feature source code).
Default it to off, as it's better to not overwhelm users here with a
huge pile of text by default, showing the list of package with the
short one line title is enough most of the times, I'd guess.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Tim Marx <t.marx@proxmox.com>
2019-06-03 16:37:57 +02:00
Dominik Csapak
acfbf25527 backport fix for ExtJS pie chart tooltip for 0% entries
this fixes bug EXTJS_18900 where the tooltip of a piechart was always
shown for the first data entry with 0 percent of the pie chart

the relevant lines for the fix are
...
if (a === b) {
    return false;
}
...

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-31 10:58:11 +02:00
Thomas Lamprecht
464dd619c7 buildsys: switch upload dist over to buster
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 10:23:21 +02:00
Thomas Lamprecht
4b428ce002 bump version to 2.0-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 07:16:44 +02:00
Thomas Lamprecht
72bfd4bd3e buildsys: cleanup before building source package
makes lintian happier and there's no real reason not to do so.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 07:13:26 +02:00
Thomas Lamprecht
63a503c955 buildsys: use dpkg-dev makefile helpers for pkg info
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 07:12:53 +02:00
Thomas Lamprecht
edc6115643 bump version to 1.0-28
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-15 14:28:44 +02:00
Thomas Lamprecht
70df8f46be followup: elaborate a bit more why there could be no content
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-15 13:18:08 +02:00
Thomas Lamprecht
cd82be4911 followup: pull out 'Since/Until' to remove extra whitespace
This is similar to how we did in panel/LogView but adds disabling
also to the label, not only the picker field, which is a bit nicer.

And no, it really does not seems like this can be done easier...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-15 13:14:12 +02:00
Dominik Csapak
a1498508da add panel/JournalView
similar to LogView, but expects the result from the /node/journal api call,
which is an array of strings, with start/endcursor instead of
an array of objects with line numbers

the new api call also does not accept start line numbers and limit,
so it is necessary to handle it differently

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-05-15 11:44:21 +02:00
Dominik Csapak
8e2d096c7f change network input from address/netmask to cidr and change labels
this makes the ui easier and is consistent with the rest of our ui
(container and cloud init)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-05-08 14:56:52 +00:00
Dominik Csapak
d0c2b8781a show cidr in network view and optimize renderer
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-05-08 14:56:52 +00:00
Thomas Lamprecht
097729e50f re-bump version to 1.0-27
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-07 15:14:32 +00:00
Thomas Lamprecht
72be386c64 LogView: also reduce log syscall on scrolling
move the "return early, because a request is already pending" into
the doLoad function, so that all calls to it underly the request
limiting, but note that such a new request is desired, and if so
schedule it once the current finishes. This ensures that scrolling
will always get honored, but does not produces multiple hanging
workers, at max one.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-07 15:11:38 +00:00
Thomas Lamprecht
44b6879934 bump version to 1.0-27
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-07 14:22:42 +00:00
Dominik Csapak
7f9a65672a reduce syslog api calls
do not poll the syslog api call multiple times simultaneously,
since it can be very costly, depending on the journal size

with this, there is always only one per client

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-30 13:28:00 +00:00
Thomas Lamprecht
9b38808198 bump version to 1.0-26
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-16 05:58:20 +00:00
Thomas Lamprecht
94ec386d9a node/TimeEdit: allow to 'search' time zone
follow the logic we use in file selectors of the PVE gui, i.e., allow
editable but force a match and do not allow blank, this lets
quick filter this big list instead of scrolling, and searching if
something appears or not, even if one is may not be sure if/how this
was sorted...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-16 05:53:09 +00:00
Mira Limbeck
577b6c7546 add ipv6 and ipv4 cidr match vtype
add additional vtype for combined ipv4 and ipv6 cidr validation.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
2019-04-16 05:37:12 +00:00
Thomas Lamprecht
a9c65d7e9c fix #1784: allow to set UTC as Timezone
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-15 11:31:26 +00:00
Thomas Lamprecht
22bb0802e1 bump version to 1.0-25
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-03 14:01:18 +02:00
Wolfgang Bumiller
c2e25a2111 add helpers required for u2f authentication
With u2f having a ticket doesn't mean we're logged in yet,
so we need to be able to distinguish between the two.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-04-03 13:12:29 +02:00
Dominik Csapak
65bb3b678f rework panel/LogView
use the view, viewmodel, controller style code, which makes the logic
much more understandable

this adds two features to it, namely a viewBuffer range, which controls
the distance to the end of the data on which the panel loads the next data
and an optional failCallback, which will be used for the cephlog

this also fixes #2151

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-02 12:52:05 +02:00
Thomas Lamprecht
f2a630d4c6 use <sourcepackage>-<upstreamversion> as build dir, dpkg-source likes it
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-30 13:00:20 +01:00
Thomas Lamprecht
1b44369277 compat 10 and record rsync as build dependency
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-30 12:59:38 +01:00
Thomas Lamprecht
e62859c5e5 ship commit hash and repo we build from
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-30 12:57:19 +01:00
Thomas Lamprecht
f0e4870b4f buildsys: add dsc target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-30 12:56:57 +01:00
Dominik Csapak
b7d94d3e1a reword suspend
we have now have two suspend modes:

* pause: leave the process running and pause the guest cpu
* hibernate: save the state (and memory) to disk, stop the vm

since the meanings of suspend and hibernate are too close,
we change the old 'suspend' to 'pause'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-30 12:41:41 +01:00
Stoiko Ivanov
a2fb6c87cb change allowed v6 prefix-length to 128
Currently the frontend validation only allows values 8-120 as prefix-lengths for
ipv6-cidr notations.

Following commit 70ea22506939f9687e1146c0f35247cfbe9225b8 in pve-common, this
patch changes that value to 128, which, while seldomly seen in regular setups
is technically correct.

Problem was reported by a user in the forum - they needed to set a length of
125, because their provider supplies only smaller networks. [0]

[0] https://forum.proxmox.com/threads/lxc-ipv6-why-8-120.52638/

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2019-03-21 18:35:37 +01:00
Thomas Lamprecht
ffe265051c MacPrefix: add note about unicast addr. to MacPrefixText
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-14 10:12:49 +01:00
Stoiko Ivanov
add18fadb5 MacPrefix: prevent multicast MacPrefixes
provide direct visual feedback for the related commit in pve-cluster.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2019-03-14 10:08:22 +01:00
Thomas Lamprecht
60b98983d4 bump version to 1.0-24
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-14 07:42:09 +01:00
Thomas Lamprecht
694a76f617 minimal coding style and grammar fixup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-14 07:41:18 +01:00
Dominik Csapak
ba916e58a9 add DnsOrIp vtype
this is useful for options that can be dns names or ips (e.g. ldap servers)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-14 07:38:21 +01:00
Thomas Lamprecht
f90c941bc6 bump version to 1.0-23
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-02-28 11:25:52 +01:00
Tim Marx
f80f1f94d3 utils: xtermjs: allow to pass a 'cmd' parameter to the terminal
also, as we already touch this:
Ext.urlEncode is deprecated, use Ext.Object.toQueryString instead

Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-02-28 10:39:40 +01:00
Dominik Csapak
9bf01f76c7 fix popup behaviour in firefox with touchscreens on desktop
when the popup blocker is active, nw is undefined and nw.focus() throws
an error and the touchend event is not finished, causing
extjs to retry the touchevent and click handler, which tries to open
a popup which gets blocked here, and so on

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-02-21 12:31:16 +01:00
Fabian Grünbichler
9138244f8b tasks: put vzdump into VM/CT category
to allow rendering of guest ID if available.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-01-03 09:19:40 +01:00
Thomas Lamprecht
2caa58a379 bump version to 1.0-22
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-29 12:59:09 +01:00
Dominik Csapak
99a5979b2b fix typo
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-11-29 12:33:08 +01:00
Thomas Lamprecht
ec0798689f form: proxmox textfield: support binding 'allowBlank'
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-28 12:17:57 +01:00
Thomas Lamprecht
0a751aabb5 update bump to 1.0-21
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-22 15:00:54 +01:00
Dominik Csapak
0908d830cf Utils: storage creation task descriptions
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-11-22 14:07:31 +01:00
Thomas Lamprecht
cbf3acee3a bump version to 1.0-21
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-22 13:23:32 +01:00
Thomas Lamprecht
c5aaa502d3 Utils: fix jslint errors
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-22 13:20:25 +01:00
Thomas Lamprecht
9367da29d2 Utils: add some task descriptions
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-22 13:20:21 +01:00
Dominik Csapak
9629b6ca03 node/DNS: render DNS fields htmlEncoded
and change to a better code formatting of the properties

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-22 08:57:24 +02:00
Dietmar Maurer
7fc8bdf570 bump version to 1.0-20 2018-09-14 12:01:38 +02:00
Dominik Csapak
3cf341e92a add node/HostsView
to show/edit /etc/hosts

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-09-14 11:51:31 +02:00
Thomas Lamprecht
8cb1ec178c fixup: vlan type: use 'Linux VLAN'
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-19 14:22:34 +02:00