Commit Graph

6753 Commits

Author SHA1 Message Date
Thomas Lamprecht
ff166f9c58 bump version to 8.0.0~4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-31 18:10:20 +02:00
Thomas Lamprecht
de52feb88d drop outdated pve6to7 upgrade checker script for bookworm
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-31 18:02:39 +02:00
Thomas Lamprecht
a98193c295 update source of pve7to8 upgrade checker script
squashed from the respective commits of the stable-7 branch, which is
the canonical source for this specific script.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-31 18:00:07 +02:00
Thomas Lamprecht
37c01c901d buildsys: split list of CLI sources over multiple lines
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-31 18:00:07 +02:00
Thomas Lamprecht
c07ef53624 bump version to 8.0.0~3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-30 15:32:35 +02:00
Thomas Lamprecht
fa3dfb1c2c ui: ceph install wizard: drop releases not supported for Proxmox VE 8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-30 15:31:46 +02:00
Thomas Lamprecht
40d819c7bf bump version to 8.0.0~2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-30 15:19:29 +02:00
Thomas Lamprecht
ddd8927990 pveceph: drop special for octopus and pacific, unsupported in 8.x
sort the package list while at it

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-30 15:17:10 +02:00
Thomas Lamprecht
74ea1fb257 pveceph: update Ceph releases and repo dist for Bookworm
We'll only support Quincy and newer in Bookworm, and Reef isn't yet
released.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-30 15:16:19 +02:00
Thomas Lamprecht
03e1cd62c3 pve sources: update dist to bookworm
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-30 15:15:06 +02:00
Thomas Lamprecht
39075150e1 bump version to 8.0.0~1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
70d3278363 d/control: define compat level via build-depends and raise to 13
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
67089f146e update/extend lintian-overrides for debhelper 13+
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
e36407c29e buildsys: derive upload dist automatically and avoid bogus check
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
ff7fd641ac buildsys: adapt extracting release to native versioning
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
b90691f4ac d/control: do not depend on obsolete lsb-base
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
2731ef99e4 d/control: don't depend on libc, just use debhelper ${shlib:Depends}
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
c8a1f640ac d/control: apt-transport-https as separate package is gone
just keep the versioned apt dependency, that alone ensures it and apt
1.5 got released on 24 Sep 2017, so just keep it for (or to avoid)
the real messed up installations

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
4209cc3ad3 d/postinst: fix version format for apt auth config migration check
The mistake wasn't that bad, as we mostly checked for the migration
to often, i.e., for any update to the 7.2-X releases, not just until
7.2-11 was crossed (but with 7.3-X the check worked again as
indented).

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
6cfada4a8f d/control: add missing Standards-Version fields
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
057246a661 d/control: avoid versioned build-dependencies with a -1 revision
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
829f99e034 d/changelog: fix typos
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
739e2a4f04 buildsys: add DSC & sbuild convenience target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
8df08859c4 buildsys: make build-dir generation atomic and versioned
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
7389c41a62 buildsys: use correct DEB_HOST_ARCH
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
08c9d4ebef buildsys: rework doc-gen cleanup and makefile inclusion
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
0e77456f1f expand repoid to 16 chars and avoid querying git for it twice
i.e., just reuse GITVERSION, and FWIW, the current ID length git
auto chooses is 9 chars, suggesting that 8 really was getting to
small. With 16 we got now 64 bits, that's plenty for the next few
years.

Document the format also (roughly) in the API schema

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
147d67c495 makefile: convert to use simple parenthesis
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
228e723a84 aplinfo: add bookworm release key to trusted ones
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
00ea2e4b6e aplinfo: use sequioa for key ring generation
The sq CLI tool's UX is such a fresh breath of air compared to gpg...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-29 18:24:00 +02:00
Thomas Lamprecht
4a8501a8b7 bump version to 7.4-4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-28 19:58:41 +02:00
Thomas Lamprecht
0947b5c36f mobile ui: statically import widget toolkit
as loading the whole wtk breaks the mobile ui and is
- not always trivial to fix
- a sisyphean task (in the future)
- we don't check this often, so breakage is likely to go unnoticed

I.e., just much simple to freeze this also in time..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-28 19:19:55 +02:00
Thomas Lamprecht
5ba187c1a8 mobile ui: eslint fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-28 19:12:27 +02:00
Thomas Lamprecht
3245864db8 mobile ui: adhere debug flag when loading sencha touch
not that this UI has _that_ much use, but mobile users might be happy
to only load 931 KB and not 3.6 MB (3.85 times as many)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-28 18:42:25 +02:00
Thomas Lamprecht
509d7a2003 mobile ui: implement dummy message box and scrip loader
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-28 18:39:04 +02:00
Thomas Lamprecht
33d0357208 www: merge remaining touch files into mobile
only the index and (empty) css files left-over, so just merge this to
where it belongs

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-28 18:39:04 +02:00
Thomas Lamprecht
80cb7dda78 drop local hosted sencha-touch source, depend on libjs-sencha-touch
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-28 18:37:59 +02:00
Thomas Lamprecht
8829bad31f pveproxy: sort base dir mappings
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-28 18:25:34 +02:00
Thomas Lamprecht
39e0265980 pvereport: add missing newline for style
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-28 18:25:24 +02:00
Thomas Lamprecht
6219f6c898 pveproxy: fix detecting mobile if enforced
Fixes: f16342f37 ("proxy: cleanup getting index method")
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-28 18:25:24 +02:00
Fiona Ebner
a2b8ac2e21 ui: backup restore: validate name
Use the same validation as the guest creation wizards do to catch
errors early, before sending the API request.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2023-04-24 12:09:52 +02:00
Fiona Ebner
54fbdcd1c0 ui: clone: validate name
As reported in the community forum[0], as opposed to VM/LXC creation,
there is no validation for the name in the clone dialog. Use the same
validation as the guest creation wizards do to catch errors early,
before sending the API request.

[0]: https://forum.proxmox.com/threads/125883/#post-549304

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2023-04-24 12:09:52 +02:00
Daniel Koć
0d1108b26c ui: enable gettext localisation for more user exposed strings
Link: https://lists.proxmox.com/pipermail/pve-devel/2023-April/056588.html
Signed-off-by: Daniel Koć<daniel@xn--ko-wla.pl>
 [ T: rework subject & add S-o-b supplied by reply ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-04-24 11:52:23 +02:00
Aaron Lauterer
c2175df21f ui: utils: monitor_ceph_installed: avoid setting nodename to localhost
If a user is accessing the Ceph panel via Datacenter -> Ceph, then the
install & config wizard might be shown. The nodename that is passed to
the wizard  will decide the ID of the initial MON and MGR services.

Therefore, don't fall back to 'localhost' but the actual name of the
node to which we are connected to. The result will be that the first MON
and MGR will have the expected ID instead of 'localhost'.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2023-04-22 09:50:42 +02:00
Thomas Lamprecht
f16342f37e proxy: cleanup getting index method
- improve variable definition/use locality
- avoid some if's for some (mostly boolean) assignments, just use an
  expression

As long as we don't go overboard with code golfing it to extremely
terse, shorter code is always more readable, especially if
definition/use happens not dozens of lines apart.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-04-22 09:47:30 +02:00
Thomas Lamprecht
919cfa29e1 proxy: sort directory registration calls
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-04-18 08:21:28 +02:00
Thomas Lamprecht
bc9172758c proxy: group and sort use statements
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-04-18 08:20:51 +02:00
Dominik Csapak
25f7446c90 fix #4627: ui: backup edit: don't deselect all guests on load
'selectPoolMembers' will be called when the poolid field changes.
(That can even happen when the mode is not even 'pool') Due to how
the fields are set, there is a race condition that this will be
called after the remaining fields were set up, including the VM list
that might have entries selected.

Since the first thing we do here is to deselect all, this wiped the
virtual guest selection sometimes.

To fix it, check if we're actually in the correct mode before doing
anything.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2023-04-12 13:27:57 +02:00
Fiona Ebner
16f3482b34 api: ceph: mon create: remove superfluous verification call
The pve_verify_cidr{,v4,v6} functions were originally intended for
the /etc/network/interfaces API endpoints and thus are a bit
restrictive. For example, as reported in the community forum[0],
pve_verify_cidr() does not consider '0::/0' and '0::/1' to be valid.

The error message in this scenario being
> value does not look like a valid CIDR network
is also confusing, as the first thought of users will be that it comes
from the passed-in monitor address.

The public networks are not written here and read from the Ceph config
and via a RADOS mon command, so no need to try and verify them. If
something really would go wrong during parsing, the
get_local_ip_from_cidr() call would complain afterwards.

[0]: https://forum.proxmox.com/threads/125226/

Suggested-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2023-04-12 13:26:49 +02:00
Lukas Wagner
3e631cf444 configs: blacklist: fix typo
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-04-12 13:26:17 +02:00