64394b0de8
bump version to 1.0.7-1
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
v1.0.7
2021-02-03 10:36:18 +01:00
2f617a4548
docs: tfa: add screenshots
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2021-02-03 10:36:18 +01:00
2ba64bed18
ui: tfa: fix emptyText for password
...
One needs to enter their password, not the one from the user one
adds/deletes TFA.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2021-02-03 10:36:18 +01:00
cafccb5991
d/control: update
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2021-02-03 10:36:18 +01:00
b22e8c3632
tape: add media pool regression tests
2021-02-03 10:23:04 +01:00
7929292618
tape: add regresion test for media state
2021-02-03 09:34:31 +01:00
0d4e4cae7f
tape: improve pmt command line completion
2021-02-03 08:54:12 +01:00
f4ba2e3155
depend on proxmox 0.10.1
2021-02-03 08:53:34 +01:00
7101ed6e27
ui: tape: add TapeInventory panel
...
since we do not show the tapes anymore in the BackupOverview, add
another panel where we can list the available tapes in the inventory
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2021-02-02 14:47:35 +01:00
85ac35aa9a
ui: tape: add Restore Window
...
in the BackupOverview, when a media-set is selected
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2021-02-02 14:47:21 +01:00
40590561fe
ui: tape: TapeBackupWindow: add missing DriveSelector
...
and make it a bit wider
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2021-02-02 14:47:05 +01:00
631e550920
ui: tape: rework BackupOverview
...
instead of grouping by tape (which is rarely interesting),
group by pool -> group -> id -> mediaset
this way a user looking for a backup of specific vm can do just that
we may want to have an additional view here were we list all snapshots
included in the selected media-set ?
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2021-02-02 14:46:43 +01:00
f806c0effa
ui: refactor get_type_icon_cls
...
we need this later again
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2021-02-02 14:46:15 +01:00
50a4797fb1
api2/types/tape/media: add media_set_ctime to MediaContentEntry
...
to be able to better sort in the ui
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2021-02-02 14:45:54 +01:00
cc2a0b12f8
test: define tape tests as submodule
2021-02-02 14:38:15 +01:00
988e8de122
tape: set correct ownership on lock file
2021-02-02 14:18:57 +01:00
2f8809c6bc
test: src/tape/inventory.rs - avoid chown when running tests
2021-02-02 13:43:16 +01:00
92b7775fa1
fix debian/control
2021-02-02 12:33:00 +01:00
f4d231e70a
test: add regression tests for tape inventory
2021-02-02 12:19:28 +01:00
b419050aa7
bump pxar to 0.8
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com >
2021-02-02 11:02:08 +01:00
8937c65951
tape: add pmt stoptions/stsethoptions/stclearoptions
2021-02-02 08:58:02 +01:00
6c6ad82d90
tape: add pmt setblk
2021-02-02 07:19:54 +01:00
d0f11b66f7
thape: add read_tapedev_options, display driver options with status command
2021-02-02 06:40:40 +01:00
f9fcac51a5
docs: add initial TFA documentation
...
better than nothing..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2021-02-01 19:46:24 +01:00
ca953d831f
cleanup: remove MT_ST_ prefix from SetDrvBufferOptions
2021-02-01 17:54:53 +01:00
01c023d50f
paperkey: rustfmt
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2021-02-01 17:05:40 +01:00
c2113a405e
paperkey: simplify block generation
...
the chunk-iterator already does exactly what we want here..
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2021-02-01 17:05:32 +01:00
5dae81d199
paperkey: allow RSA keys without passphrase
...
some users might want to store the plain version of their master key for
long-term storage and rely on physical security instead of a passphrase
to protect the paper key.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2021-02-01 17:05:22 +01:00
bd768c3320
ui: tfa: adapt low recovery key hint, drop unused other hint
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2021-02-01 15:39:56 +01:00
572fc035a2
ui: webauthn: add notes/warnings for better UX
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2021-02-01 15:37:47 +01:00
99b2f045af
ui: tfa: add auto-fill button for webAuthn setup
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2021-02-01 15:37:47 +01:00
6248e51797
change half-ticket time range from -120..240 to -60..600
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com >
2021-02-01 15:13:11 +01:00
19e4a36c70
tape: do not use drive.open() within pmt
...
Do not fail if no media is loaded. Inportant for load command.
2021-02-01 12:39:50 +01:00
90769e5694
tape: add pmt lock/unlock
2021-02-01 12:18:55 +01:00
b8cbe5d65b
tape: fix tape alert flag decoding
2021-02-01 12:18:55 +01:00
35c95ca653
bump apt-pkg-native dependency
...
our patches got applied upstream, and a release was cut, so we no longer
need to depend on a manually patched version here.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2021-02-01 11:53:25 +01:00
2dbc1a9a55
ui: tfa: improve button text for webAuthn
...
So users now what to press for starting off a webauthn challenge.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2021-02-01 11:48:43 +01:00
dceecb0bbf
debcargo: fix maintainer directive"
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2021-02-01 11:21:21 +01:00
d690d14568
tape: add pmt bsr/fsr
2021-02-01 10:39:04 +01:00
85ef624440
tape: add pmt asf
2021-02-01 10:32:21 +01:00
e995996290
tape: pmt - fix count parameter schema
2021-02-01 10:21:25 +01:00
8e6ad4301d
tape: add pmt fsfm/bsfm, pass count as arg_param
2021-02-01 10:18:18 +01:00
86740dfc89
tape: ui - remove drive from pool config
2021-02-01 10:01:06 +01:00
1399c592d1
garbage_collection: only ignore 'missing chunk' errors
...
with the fix for #2909 (improving handling missing chunks), we
changed from bailing to warning during a garbage collection when
updating the atime of a chunk.
but, updating the atime can not only fail when the chunk is missing,
but also on other occasions, e.g. no permissions or more importantly,
no space left on the device. in that case, the atime of a valid and used
chunk cannot be updated, and the second sweep of the gc will remove that chunk.
[0] is a real world example of that happening.
instead, only warn on really missin chunks, and bail on all other
errors.
0: https://forum.proxmox.com/threads/pbs-server-full-two-days-later-almost-empty.83274/
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2021-02-01 09:18:59 +01:00
9883b54cba
tape: remove drive from pool config
2021-02-01 09:14:28 +01:00
83b8949a98
tape: add pmt weof
2021-01-31 17:33:07 +01:00
28f60e5291
cleanup: avoid compiler warnings
2021-01-31 17:02:55 +01:00
1f31d06f48
tape: add pmt bsf
2021-01-31 17:00:15 +01:00
2f2e83c890
tape: add pmt fsf
2021-01-31 16:54:16 +01:00
b22c618734
tape: add pmt erase
2021-01-31 16:34:10 +01:00