Commit Graph

3091 Commits

Author SHA1 Message Date
Wolfgang Bumiller
48c8c086ba bump version to 5.0-26 2017-07-26 15:40:29 +02:00
Thomas Lamprecht
fc03fcb896 dc/Backup: do not focus node selector on window focus
Do not focus anything here in the case he backup window gains focus
again. Else, if we click outside of the window the nodefield gets
always focused again - even if another field was focused previously.
This is a bit confusing, rather have no field focused at all -
especially as a blank value will be often used here.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-07-26 15:37:05 +02:00
Thomas Lamprecht
5008eb97ad ComboGrid: open picker also when focusing an editable field
ComboBoxes provided by UI frameworks normally show their selection
possibilities once focused, ExtJS does this too but not on editable
(and thus filterable) input fields. Add a logic which allows this too
and streamlines the behavior of ComboGrid/Box like components.

To avoid a glitch, where clicking the "picker trigger" (the down
arrow which normally toggles the selection picker) would first focus
the element - thus expanding it - and only then causing a toggle
which collapses it again, we overwrite the 'Ext.form.trigger.Trigger'
onMouseDown so that we can skip a expansion on this event.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-07-26 15:37:05 +02:00
Thomas Lamprecht
1404194f35 FileStore: make editable to allow filtering
Making this ComboGrid based component editable allows implicit
filtering the backing store.
This is quite helpful on file selection, as for example the ISO file
selector from the create wizard is.
Clear the filter (and its displayed value) on store selection change,
as there the filter becomes void - at least this is a simple and easy
solution without glitches.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-07-26 15:37:05 +02:00
Thomas Lamprecht
83fb529c2f ComboGrid: improve setting 'editable' default value
This allows child classes to use another default, the initialConfig
didn't allowed that.
This is also the ExtJS like way to set defaults.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-07-26 15:37:05 +02:00
Thomas Lamprecht
eae6918493 FileSelector: adapt combogrid total and column width
By default the "Size" column ellipsed a lot entries, which is just
annoying. Adapt it so that all sizes can be viewed comfortably.

Further increase the total width of this combogrid, a lot less could
be seen there since theme change from the 4.X era.
Use an new empirical found out good  working value.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-07-26 15:37:05 +02:00
Dominik Csapak
be753927e7 whitespace cleanup
and intendation fix

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-26 14:45:07 +02:00
Dominik Csapak
ca68ac3efd pveceph: add createmgr/destroymgr commands
this patch adds the create-/destroymgr commands to the api and pveceph,
so that advanced users can split monitor and manager daemons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-26 14:45:07 +02:00
Dominik Csapak
c05ff7b4de pveceph: create mgr with mon, use nodename for id
we now want to add a ceph-mgr daemon to every node where a ceph-mon
daemon runs, as per ceph documentation recommendation, because in
luminous the mgr daemons will not be automatically created/started
with a monitor anymore

we also give the createmon an optional id parameter, so that one
can set a custom id, and make the creation/removal of the manager
optional but the default

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-26 14:45:07 +02:00
Emmanuel Kasper
61516423ad Improve a bit the esthetics of the User Settings window
* group the action buttons on the left, to distinguish them from the modal
 'close' button
 * display the action buttons as grey instead of blue, to be consistent
 with the rest of the GUI
2017-07-25 14:24:35 +02:00
Emmanuel Kasper
9317d08a2d Rename the pve-help-button to pve-inline-button
This will allow reuse of the class for other inlined buttons
2017-07-25 14:24:35 +02:00
Emmanuel Kasper
d0ad472c73 Close #1268: Show migration start server and migration end server 2017-07-25 14:24:35 +02:00
Emmanuel Kasper
2ddb072661 Do not display the abbreviated commit SHA-1 in the workspace version string
This string is ugly and unfit for human consumption for 99% of our users.
The same information is available in a number of place in the GUI via Node
Summary, Package Versions, Subscription (Report)
2017-07-25 14:24:35 +02:00
Wolfgang Bumiller
aa44a5a8cf bump version to 5.0-25 2017-07-24 16:17:16 +02:00
Dominik Csapak
e932cd5f70 adapt the health message list to luminous
they restructured the json structure, so we have to adapt to it.
additionally, we now have a 'detail' property for the messages
which we show on a click of the 'info' button in the new actioncolumn

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-24 16:10:24 +02:00
Dominik Csapak
4a0bb01712 adapt ceph status detail to luminous and make it more robust
they restructured the json interface
(e.g. they removed the timechecks from ceph status)

so we have to generate those differently

also make the whole thing more robust to changes,
as in do not bail out if one thing is missing, but check the needed
data only when we need it and omit that part

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-24 16:10:24 +02:00
Dominik Csapak
d18bf116a3 rename 'monitors' to 'states' in pg list
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-24 16:10:24 +02:00
Dominik Csapak
dfe6d184ff adapt render_ceph_health for luminous
it is using 'status' instead of 'overall_health' now

also only give the health object now

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-24 16:10:24 +02:00
Dominik Csapak
84caf265bd add health detail to ceph status api call
with ceph 12.1.1 luminous, ceph has reorganized its json
interface of the ceph status and ceph health call

so to get everything we need, we have to also get
the ceph health detail information into our
status call

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-24 16:10:24 +02:00
Wolfgang Bumiller
9cf3e44912 ceph: end ceph.list with a newline 2017-07-20 09:32:28 +02:00
Wolfgang Bumiller
a58dc7f35f bump version to 5.0-24 2017-07-19 12:56:00 +02:00
Emmanuel Kasper
b6571655d9 Use emptyText to inform the user of the value that will set be when the field is empty
emptyText is not submitted, because it does not count as value when getSubmitValue() is
called on it in PVE.panel.InputPanel.getValues()
2017-07-19 12:49:46 +02:00
Wolfgang Link
b6c427261c Fix pveceph createosd
The --filestore flag is now required see doc of ceph.

If the --bluestore argument is given, a bluestore objectstore will be
created.  If --filestore is provided, a legacy FileStore objectstore
will be created.  If neither is specified, we default to BlueStore.
2017-07-19 12:40:28 +02:00
Wolfgang Bumiller
85fd9b52ae Revert "trust StartCom_Certification_Authority_2.crt"
This reverts commit 12fe9183cb.

Revert "add missing file"

This reverts commit c11885e0a0.

We've switched to Let's Encrypt.

postinst configure: run update-ca-certificates if the
  previous version is <= 5.0-23.
2017-07-19 09:38:49 +02:00
Wolfgang Bumiller
103ddb8868 buildsys: use CC, CPPFLAGS and CFLAGS
pvemailforward is a tiny oneliner, but for the sake of best
practices, let's use the build tools from the environment.
For example, with dpkg-buildpackage this will make us use
-D_FORTIFY_SOURCE=2 etc.
2017-07-19 08:57:31 +02:00
Emmanuel Kasper
db3395bb83 Fix #1450 : restore setgid bit on pvemailforward binary
When calling chown on a setuid/setgid executable, the
setuid/setgid bits are reset to 0. So ordering matters
here. See chown(2).
2017-07-19 08:57:31 +02:00
Dominik Csapak
dcbb4ba190 check if storage is in the selector
when having an lxc mountpoint/rootfs on a storage which does not
allow the 'rootfs' content (e.g. somebody disabled it after creating
a container there), trying to edit the mp/rootfs broke the gui

now we check if the record exists

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-13 09:48:44 +02:00
Dominik Csapak
20d9d1f326 fix breaking gui when trying to edit a bindmount rootfs
when having a simple directory as rootfs,
trying to edit it in the gui broke it, because
we tried to disable the backup checkbox which did not exists

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-13 06:36:43 +02:00
Dominik Csapak
60a14a047d fix wrong osd calculation in ceph dashboard
in luminous, the error message is not
'x/y in osds are down' anymore, but
'x osds down'

so we need to adapt the parsing, and it means we cannot check
the number of in osds there anymore (was never really needed, so
we can simply omit it)

when an osd is down but marked as out, those errors disappear

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-13 06:36:34 +02:00
Emmanuel Kasper
7da4966dc0 Select OS Type after selecting the Installation Media
This prepares for the future, in case we want to infer the
OS Type from the installation media name or content.
2017-07-11 13:25:25 +02:00
Emmanuel Kasper
8d4f1d4d2b Use a View Controller for making components react to each other
This allow to declare all the components inside the same items
array, and separate behaviour from view better.

No functional changes.
2017-07-11 13:24:48 +02:00
Emmanuel Kasper
85806e47d1 Use camel case for InputPanels aliases
Camel Case names for component alias follow Ext recommended practises
and are used otherwise everyelse in the code base.

No functionnal changes, aliases for these components were not used
anyway.
2017-07-11 13:23:38 +02:00
Dietmar Maurer
c11885e0a0 add missing file 2017-07-04 11:57:07 +02:00
Dietmar Maurer
9795f74434 bump version to 5.0-23 2017-07-04 11:51:00 +02:00
Dietmar Maurer
12fe9183cb trust StartCom_Certification_Authority_2.crt 2017-07-04 11:48:52 +02:00
Dietmar Maurer
4029c97f08 Replication.js: translate 'Error' 2017-07-04 09:06:25 +02:00
Dietmar Maurer
d4177d53d5 avoid extra gettext string 2017-07-04 09:02:24 +02:00
Dietmar Maurer
dc4512ec14 bump version to 5.0-22 2017-07-04 08:18:55 +02:00
Dietmar Maurer
d095787660 update aplinfo.dat 2017-07-04 08:17:45 +02:00
Dietmar Maurer
2c07461480 bump version to 5.0-21 2017-07-03 16:09:03 +02:00
Dietmar Maurer
4840b6fd9b update aplinfo.dat 2017-07-03 16:06:49 +02:00
Dietmar Maurer
d136f4ad68 bump version to 5.0-20 2017-06-30 11:19:10 +02:00
Thomas Lamprecht
defa3bb78f replication: reuse fitting translations
while it does not makes sense do over-reuse translations for the sake
of translating less, imo, here we can safely reuse already existing
ones and pull out the unit 'MB/s' from the gettext.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-06-30 06:46:04 +02:00
Thomas Lamprecht
ca7d070799 pvesr: allow schedule now from CLI
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-06-29 17:44:35 +02:00
Dietmar Maurer
ee86f19f6a bump version to 5.0-19 2017-06-29 12:02:14 +02:00
Thomas Lamprecht
0cfec28cd8 pvesr status: handle disabled jobs
As the nodes replication status call also returns disabled jobs now,
we need to handle them here too.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-06-29 11:50:15 +02:00
Thomas Lamprecht
3b0ab40a2a replication; merge status and status text and add to dc mode
It was a bit strange to have two separate status columns, which do
effectively the same thing. So merge them together to save a bit
space and have less columns.

We do not need to translate 'Status Text' as a nice side effect.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-06-29 11:49:46 +02:00
Thomas Lamprecht
959f37afe2 replication: show disabled jobs and allow enabling/disabling
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-06-29 10:59:11 +02:00
Dietmar Maurer
07e5f4f776 PVE/APLInfo.pm - use correct version for user agent 2017-06-29 08:07:11 +02:00
Dietmar Maurer
abbc1b7948 Revert "add beta text with link to bugtracker"
This reverts commit 6531861e69.

Prepare for final 5.0 release.
2017-06-29 07:58:37 +02:00