]> git.proxmox.com Git - proxmox-backup.git/log
proxmox-backup.git
3 years agoclient: refactor keyfile_parameters
Fabian Grünbichler [Fri, 5 Feb 2021 15:35:31 +0000 (16:35 +0100)]
client: refactor keyfile_parameters

no semantic changes intended

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agoclient: add test for keyfile_parameters
Fabian Grünbichler [Fri, 5 Feb 2021 15:35:30 +0000 (16:35 +0100)]
client: add test for keyfile_parameters

this will get more complex soon, so add test to document current
behaviour.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agokey: rustfmt module
Fabian Grünbichler [Fri, 5 Feb 2021 15:35:29 +0000 (16:35 +0100)]
key: rustfmt module

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agokey: add show-master-pubkey command
Fabian Grünbichler [Fri, 5 Feb 2021 15:35:28 +0000 (16:35 +0100)]
key: add show-master-pubkey command

and print public key when generating/importing..

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agokey: make 'default' master key explicit
Fabian Grünbichler [Fri, 5 Feb 2021 15:35:26 +0000 (16:35 +0100)]
key: make 'default' master key explicit

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agodocs/scanrefs: fix handling if ref is same as headline
Aaron Lauterer [Fri, 5 Feb 2021 15:10:30 +0000 (16:10 +0100)]
docs/scanrefs: fix handling if ref is same as headline

If the ref is named the same as the headline (once normalized), sphinx
will return a 'idX' value in node['ids'][1] which we use for the label
ID. The headline is always present at index 0.

Checking for that and using index 0 in case we do get a 'idX' helps us
to avoid using the 'idX' as keys in our OnlineHelpInfo.js and actually
use the intended key.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
3 years agodocs: fix references to changed refs
Aaron Lauterer [Fri, 5 Feb 2021 15:10:29 +0000 (16:10 +0100)]
docs: fix references to changed refs

With commit ec1ae7e63180768c9ad8fa52d437a1cee6ef1c50 some refs were
changed by getting prefixes and such. We need to adapt the places that
reference them as well

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
3 years agoui: tape/DriveConfig: add missing tooltips
Dominik Csapak [Fri, 5 Feb 2021 14:26:20 +0000 (15:26 +0100)]
ui: tape/DriveConfig: add missing tooltips

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoui: tape/DriveConfig: add Catalog button
Dominik Csapak [Fri, 5 Feb 2021 14:26:19 +0000 (15:26 +0100)]
ui: tape/DriveConfig: add Catalog button

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoui: tape/ChangerStatus: add inventory button
Dominik Csapak [Fri, 5 Feb 2021 14:26:18 +0000 (15:26 +0100)]
ui: tape/ChangerStatus: add inventory button

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoui: tape/ChangerStatus: remove unnecessary buttons
Dominik Csapak [Fri, 5 Feb 2021 14:26:17 +0000 (15:26 +0100)]
ui: tape/ChangerStatus: remove unnecessary buttons

they exist in the changer config pane, and are unnecessary here

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agotape/inventory: fix missing parameter in error message
Dominik Csapak [Fri, 5 Feb 2021 14:26:16 +0000 (15:26 +0100)]
tape/inventory: fix missing parameter in error message

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoupdate debian/control
Dietmar Maurer [Fri, 5 Feb 2021 15:11:48 +0000 (16:11 +0100)]
update debian/control

3 years agoMerge branch 'master' of ssh://proxdev.maurer-it.com/rust/proxmox-backup
Dietmar Maurer [Fri, 5 Feb 2021 11:53:43 +0000 (12:53 +0100)]
Merge branch 'master' of ssh://proxdev.maurer-it.com/rust/proxmox-backup

3 years agoinstall pmt binary
Dietmar Maurer [Fri, 5 Feb 2021 10:12:52 +0000 (11:12 +0100)]
install pmt binary

3 years agodepend on proxmox 0.10.2
Dietmar Maurer [Fri, 5 Feb 2021 11:39:45 +0000 (12:39 +0100)]
depend on proxmox 0.10.2

3 years agodocs/online-help: prefix some refs with their chapter name
Thomas Lamprecht [Fri, 5 Feb 2021 10:42:04 +0000 (11:42 +0100)]
docs/online-help: prefix some refs with their chapter name

and fix some issues from referenced named the same as their heading
they anchor too.

This should be fixed for real in our python plugin to scan for such
references, its probably a bug there, but as most of the problematic
ones where wrong (missing chapter prefix) anyway changing them is OK
too.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agotape: correctly lock the tape device
Dietmar Maurer [Fri, 5 Feb 2021 09:50:21 +0000 (10:50 +0100)]
tape: correctly lock the tape device

3 years agoui: autofocus after rendering text fields for 2fa
Oguz Bektas [Thu, 4 Feb 2021 15:32:46 +0000 (16:32 +0100)]
ui: autofocus after rendering text fields for 2fa

Co-Authored-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Oguz Bektas <o.bektas@proxmox.com>
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
3 years agoui: wrap regexText in gettext() for translations
Oguz Bektas [Thu, 4 Feb 2021 15:32:47 +0000 (16:32 +0100)]
ui: wrap regexText in gettext() for translations

also fix a small typo in recovery keys text

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
3 years agoui: tape/ChangerStatus: add 'is labeled' column for tapes
Dominik Csapak [Thu, 4 Feb 2021 12:56:32 +0000 (13:56 +0100)]
ui: tape/ChangerStatus: add 'is labeled' column for tapes

so that a user can see if a tape in a library is not yet labeled

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoui: tape/PoolConfig: add flex to columns
Dominik Csapak [Thu, 4 Feb 2021 12:56:31 +0000 (13:56 +0100)]
ui: tape/PoolConfig: add flex to columns

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoui: tape/PoolEdit: add selector for encryption keys
Dominik Csapak [Thu, 4 Feb 2021 12:56:30 +0000 (13:56 +0100)]
ui: tape/PoolEdit: add selector for encryption keys

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoui: tape: add EncryptionPanel to add/remove encryption keys
Dominik Csapak [Thu, 4 Feb 2021 12:56:29 +0000 (13:56 +0100)]
ui: tape: add EncryptionPanel to add/remove encryption keys

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agodocs: index: update copyright years
Thomas Lamprecht [Thu, 4 Feb 2021 15:06:38 +0000 (16:06 +0100)]
docs: index: update copyright years

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version to 1.0.8-1 v1.0.8
Thomas Lamprecht [Thu, 4 Feb 2021 11:39:46 +0000 (12:39 +0100)]
bump version to 1.0.8-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agodocs: tech overview: avoid 'we' and other small style fixes/additions
Thomas Lamprecht [Thu, 4 Feb 2021 11:27:13 +0000 (12:27 +0100)]
docs: tech overview: avoid 'we' and other small style fixes/additions

"we" should be avoided, it's never quite clear who is "we" in the
context here and it leads to some technical wrong meanings, e.g., we
(here assumed to be "we developers") do not read any backup data, the
Proxmox Backup client does.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agodocs: tech overfiew: fix line length
Thomas Lamprecht [Thu, 4 Feb 2021 11:05:27 +0000 (12:05 +0100)]
docs: tech overfiew: fix line length

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agodocs: explain some technical details about datastores/chunks
Dominik Csapak [Fri, 11 Dec 2020 12:17:09 +0000 (13:17 +0100)]
docs: explain some technical details about datastores/chunks

adds explanations for:
* what datastores are
* their relation with snapshots/chunks
* basic information about chunk directory structures
* fixed-/dynamically-sized chunks
* special handling of encrypted chunks
* hash collision probability
* limitation of file-based backups

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoui: task summary: add verification jobs to count
Dylan Whyte [Wed, 3 Feb 2021 13:15:57 +0000 (14:15 +0100)]
ui: task summary: add verification jobs to count

fixes a bug in which verification jobs were being excluded from the
verify task summary.

Signed-off-by: Dylan Whyte <d.whyte@proxmox.com>
3 years agotape: MediaPool - replace use_offline_media with changer_name
Dietmar Maurer [Thu, 4 Feb 2021 09:15:18 +0000 (10:15 +0100)]
tape: MediaPool - replace use_offline_media with changer_name

This way, we can improve location_is_available, because we only
consider media from that changer as available.

3 years agotape: improve code reuse
Dietmar Maurer [Thu, 4 Feb 2021 08:39:16 +0000 (09:39 +0100)]
tape: improve code reuse

3 years agotape: fix tests for BlockedReader
Dietmar Maurer [Thu, 4 Feb 2021 07:54:54 +0000 (08:54 +0100)]
tape: fix tests for BlockedReader

3 years agotape: add multi volume reader/writer implementations
Dietmar Maurer [Thu, 4 Feb 2021 07:36:35 +0000 (08:36 +0100)]
tape: add multi volume reader/writer implementations

We currently do not use it. Added anaways, to show the possibility.

3 years agotape: cleanup - move tape file readers/writers into src/tape/file_formats folder
Dietmar Maurer [Thu, 4 Feb 2021 06:58:34 +0000 (07:58 +0100)]
tape: cleanup - move tape file readers/writers into src/tape/file_formats folder

3 years agotape: allow to abort restore tasks
Dietmar Maurer [Thu, 4 Feb 2021 06:05:43 +0000 (07:05 +0100)]
tape: allow to abort restore tasks

3 years agocleanup: use task_log macro
Dietmar Maurer [Thu, 4 Feb 2021 05:55:18 +0000 (06:55 +0100)]
cleanup: use task_log macro

3 years agoHttpsConnector: use hostname instead of URL again
Wolfgang Bumiller [Wed, 3 Feb 2021 14:09:19 +0000 (15:09 +0100)]
HttpsConnector: use hostname instead of URL again

fixes connecting to hosts with valid certificates without a
pinned fingerprint
this was accidentally changed in the tokio-1.0 updates
apparently

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Fixes: 0f860f712f86 ("tokio 1.0: update to new tokio-openssl interface")
3 years agotape: BlockedReader - always consume EOF
Dietmar Maurer [Wed, 3 Feb 2021 12:15:18 +0000 (13:15 +0100)]
tape: BlockedReader - always consume EOF

3 years agoupdate copyright years
Thomas Lamprecht [Wed, 3 Feb 2021 11:04:27 +0000 (12:04 +0100)]
update copyright years

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version to 1.0.7-1 v1.0.7
Thomas Lamprecht [Mon, 1 Feb 2021 15:29:45 +0000 (16:29 +0100)]
bump version to 1.0.7-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agodocs: tfa: add screenshots
Thomas Lamprecht [Wed, 3 Feb 2021 09:33:32 +0000 (10:33 +0100)]
docs: tfa: add screenshots

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoui: tfa: fix emptyText for password
Thomas Lamprecht [Wed, 3 Feb 2021 09:21:56 +0000 (10:21 +0100)]
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>
3 years agod/control: update
Thomas Lamprecht [Wed, 3 Feb 2021 09:36:11 +0000 (10:36 +0100)]
d/control: update

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agotape: add media pool regression tests
Dietmar Maurer [Wed, 3 Feb 2021 09:23:04 +0000 (10:23 +0100)]
tape: add media pool regression tests

3 years agotape: add regresion test for media state
Dietmar Maurer [Wed, 3 Feb 2021 08:34:31 +0000 (09:34 +0100)]
tape: add regresion test for media state

3 years agotape: improve pmt command line completion
Dietmar Maurer [Wed, 3 Feb 2021 07:54:12 +0000 (08:54 +0100)]
tape: improve pmt command line completion

3 years agodepend on proxmox 0.10.1
Dietmar Maurer [Wed, 3 Feb 2021 07:53:34 +0000 (08:53 +0100)]
depend on proxmox 0.10.1

3 years agoui: tape: add TapeInventory panel
Dominik Csapak [Tue, 2 Feb 2021 13:00:39 +0000 (14:00 +0100)]
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>
3 years agoui: tape: add Restore Window
Dominik Csapak [Tue, 2 Feb 2021 13:00:38 +0000 (14:00 +0100)]
ui: tape: add Restore Window

in the BackupOverview, when a media-set is selected

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoui: tape: TapeBackupWindow: add missing DriveSelector
Dominik Csapak [Tue, 2 Feb 2021 13:00:37 +0000 (14:00 +0100)]
ui: tape: TapeBackupWindow: add missing DriveSelector

and make it a bit wider

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoui: tape: rework BackupOverview
Dominik Csapak [Tue, 2 Feb 2021 13:00:36 +0000 (14:00 +0100)]
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>
3 years agoui: refactor get_type_icon_cls
Dominik Csapak [Tue, 2 Feb 2021 13:00:35 +0000 (14:00 +0100)]
ui: refactor get_type_icon_cls

we need this later again

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoapi2/types/tape/media: add media_set_ctime to MediaContentEntry
Dominik Csapak [Tue, 2 Feb 2021 13:00:34 +0000 (14:00 +0100)]
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>
3 years agotest: define tape tests as submodule
Dietmar Maurer [Tue, 2 Feb 2021 13:38:15 +0000 (14:38 +0100)]
test: define tape tests as submodule

3 years agotape: set correct ownership on lock file
Dietmar Maurer [Tue, 2 Feb 2021 13:18:57 +0000 (14:18 +0100)]
tape: set correct ownership on lock file

3 years agotest: src/tape/inventory.rs - avoid chown when running tests
Dietmar Maurer [Tue, 2 Feb 2021 12:43:16 +0000 (13:43 +0100)]
test: src/tape/inventory.rs - avoid chown when running tests

3 years agofix debian/control
Dietmar Maurer [Tue, 2 Feb 2021 11:33:00 +0000 (12:33 +0100)]
fix debian/control

3 years agotest: add regression tests for tape inventory
Dietmar Maurer [Tue, 2 Feb 2021 11:17:54 +0000 (12:17 +0100)]
test: add regression tests for tape inventory

3 years agobump pxar to 0.8
Wolfgang Bumiller [Tue, 2 Feb 2021 10:02:08 +0000 (11:02 +0100)]
bump pxar to 0.8

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agotape: add pmt stoptions/stsethoptions/stclearoptions
Dietmar Maurer [Tue, 2 Feb 2021 07:58:02 +0000 (08:58 +0100)]
tape: add pmt stoptions/stsethoptions/stclearoptions

3 years agotape: add pmt setblk
Dietmar Maurer [Tue, 2 Feb 2021 06:19:54 +0000 (07:19 +0100)]
tape: add pmt setblk

3 years agothape: add read_tapedev_options, display driver options with status command
Dietmar Maurer [Tue, 2 Feb 2021 05:39:43 +0000 (06:39 +0100)]
thape: add read_tapedev_options, display driver options with status command

3 years agodocs: add initial TFA documentation
Thomas Lamprecht [Mon, 1 Feb 2021 18:46:07 +0000 (19:46 +0100)]
docs: add initial TFA documentation

better than nothing..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agocleanup: remove MT_ST_ prefix from SetDrvBufferOptions
Dietmar Maurer [Mon, 1 Feb 2021 16:54:53 +0000 (17:54 +0100)]
cleanup: remove MT_ST_ prefix from SetDrvBufferOptions

3 years agopaperkey: rustfmt
Fabian Grünbichler [Mon, 1 Feb 2021 13:06:18 +0000 (14:06 +0100)]
paperkey: rustfmt

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agopaperkey: simplify block generation
Fabian Grünbichler [Mon, 1 Feb 2021 13:06:17 +0000 (14:06 +0100)]
paperkey: simplify block generation

the chunk-iterator already does exactly what we want here..

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agopaperkey: allow RSA keys without passphrase
Fabian Grünbichler [Mon, 1 Feb 2021 13:06:16 +0000 (14:06 +0100)]
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>
3 years agoui: tfa: adapt low recovery key hint, drop unused other hint
Thomas Lamprecht [Mon, 1 Feb 2021 14:39:56 +0000 (15:39 +0100)]
ui: tfa: adapt low recovery key hint, drop unused other hint

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoui: webauthn: add notes/warnings for better UX
Thomas Lamprecht [Mon, 1 Feb 2021 14:37:43 +0000 (15:37 +0100)]
ui: webauthn: add notes/warnings for better UX

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoui: tfa: add auto-fill button for webAuthn setup
Thomas Lamprecht [Mon, 1 Feb 2021 13:53:45 +0000 (14:53 +0100)]
ui: tfa: add auto-fill button for webAuthn setup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agochange half-ticket time range from -120..240 to -60..600
Wolfgang Bumiller [Mon, 1 Feb 2021 14:13:01 +0000 (15:13 +0100)]
change half-ticket time range from -120..240 to  -60..600

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agotape: do not use drive.open() within pmt
Dietmar Maurer [Mon, 1 Feb 2021 11:39:50 +0000 (12:39 +0100)]
tape: do not use drive.open() within pmt

Do not fail if no media is loaded. Inportant for load command.

3 years agotape: add pmt lock/unlock
Dietmar Maurer [Mon, 1 Feb 2021 11:18:20 +0000 (12:18 +0100)]
tape: add pmt lock/unlock

3 years agotape: fix tape alert flag decoding
Dietmar Maurer [Mon, 1 Feb 2021 11:17:43 +0000 (12:17 +0100)]
tape: fix tape alert flag decoding

3 years agobump apt-pkg-native dependency
Fabian Grünbichler [Mon, 1 Feb 2021 10:51:50 +0000 (11:51 +0100)]
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>
3 years agoui: tfa: improve button text for webAuthn
Thomas Lamprecht [Mon, 1 Feb 2021 10:48:33 +0000 (11:48 +0100)]
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>
3 years agodebcargo: fix maintainer directive"
Fabian Grünbichler [Mon, 1 Feb 2021 10:02:55 +0000 (11:02 +0100)]
debcargo: fix maintainer directive"

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agotape: add pmt bsr/fsr
Dietmar Maurer [Mon, 1 Feb 2021 09:39:04 +0000 (10:39 +0100)]
tape: add pmt bsr/fsr

3 years agotape: add pmt asf
Dietmar Maurer [Mon, 1 Feb 2021 09:32:21 +0000 (10:32 +0100)]
tape: add pmt asf

3 years agotape: pmt - fix count parameter schema
Dietmar Maurer [Mon, 1 Feb 2021 09:21:25 +0000 (10:21 +0100)]
tape: pmt - fix count parameter schema

3 years agotape: add pmt fsfm/bsfm, pass count as arg_param
Dietmar Maurer [Mon, 1 Feb 2021 09:18:18 +0000 (10:18 +0100)]
tape: add pmt fsfm/bsfm, pass count as arg_param

3 years agotape: ui - remove drive from pool config
Dietmar Maurer [Mon, 1 Feb 2021 09:01:06 +0000 (10:01 +0100)]
tape: ui - remove drive from pool config

3 years agogarbage_collection: only ignore 'missing chunk' errors
Dominik Csapak [Mon, 1 Feb 2021 08:07:12 +0000 (09:07 +0100)]
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>
3 years agotape: remove drive from pool config
Dietmar Maurer [Mon, 1 Feb 2021 08:14:28 +0000 (09:14 +0100)]
tape: remove drive from pool config

3 years agotape: add pmt weof
Dietmar Maurer [Sun, 31 Jan 2021 16:33:07 +0000 (17:33 +0100)]
tape: add pmt weof

3 years agocleanup: avoid compiler warnings
Dietmar Maurer [Sun, 31 Jan 2021 16:02:55 +0000 (17:02 +0100)]
cleanup: avoid compiler warnings

3 years agotape: add pmt bsf
Dietmar Maurer [Sun, 31 Jan 2021 16:00:15 +0000 (17:00 +0100)]
tape: add pmt bsf

3 years agotape: add pmt fsf
Dietmar Maurer [Sun, 31 Jan 2021 15:49:48 +0000 (16:49 +0100)]
tape: add pmt fsf

3 years agotape: add pmt erase
Dietmar Maurer [Sun, 31 Jan 2021 15:34:10 +0000 (16:34 +0100)]
tape: add pmt erase

3 years agotape: add pmt command line tool
Dietmar Maurer [Sun, 31 Jan 2021 15:19:53 +0000 (16:19 +0100)]
tape: add pmt command line tool

Experimental, not installed by now.

3 years agopostinst: add user backup to group tape
Dietmar Maurer [Sat, 30 Jan 2021 10:48:49 +0000 (11:48 +0100)]
postinst: add user backup to group tape

So that it is possible to access tape and changer devcies.

3 years agotape: API type cleanup, use serde flatten to derive types
Dietmar Maurer [Sat, 30 Jan 2021 08:36:54 +0000 (09:36 +0100)]
tape: API type cleanup, use serde flatten to derive types

3 years agotape: move scan_drives API code to correct file
Dietmar Maurer [Sat, 30 Jan 2021 07:03:17 +0000 (08:03 +0100)]
tape: move scan_drives API code to correct file

3 years agoui: tape/ChangerStatus - use POST for barcode-label-media
Dietmar Maurer [Fri, 29 Jan 2021 16:06:53 +0000 (17:06 +0100)]
ui: tape/ChangerStatus - use POST for barcode-label-media

3 years agoui: tape/ChangerStatus: add missing tooltips
Dominik Csapak [Fri, 29 Jan 2021 13:57:52 +0000 (14:57 +0100)]
ui: tape/ChangerStatus: add missing tooltips

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoui: tape: change wrong window title
Dominik Csapak [Fri, 29 Jan 2021 13:57:51 +0000 (14:57 +0100)]
ui: tape: change wrong window title

this is the 'status' msgbox not the label information

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoui: tape/ChangerStatus: add import action for import/export slots
Dominik Csapak [Fri, 29 Jan 2021 13:57:50 +0000 (14:57 +0100)]
ui: tape/ChangerStatus: add import action for import/export slots

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoui: tape: add Changer config grid
Dominik Csapak [Fri, 29 Jan 2021 13:57:49 +0000 (14:57 +0100)]
ui: tape: add Changer config grid

analogous to the drive grid

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agotape: proxmox-tape - use API instead of direct functions calls
Dietmar Maurer [Fri, 29 Jan 2021 10:49:11 +0000 (11:49 +0100)]
tape: proxmox-tape - use API instead of direct functions calls