]>
git.proxmox.com Git - proxmox-backup.git/log
Dietmar Maurer [Tue, 12 May 2020 07:35:37 +0000 (09:35 +0200)]
TODO.rst: update
Dietmar Maurer [Fri, 8 May 2020 15:28:04 +0000 (17:28 +0200)]
proxmox-backup-manager: add completion helper for port list
Dietmar Maurer [Fri, 8 May 2020 14:07:23 +0000 (16:07 +0200)]
proxmox-backup-manager - network list: render ports/slaves
And render interface name as first comumn.
Dietmar Maurer [Fri, 8 May 2020 13:51:47 +0000 (15:51 +0200)]
src/config/network.rs - check_bridge_ports: correctly check vlan ports
Dietmar Maurer [Fri, 8 May 2020 12:31:38 +0000 (14:31 +0200)]
src/config/network.rs - write_config: add more consistency checks
Dietmar Maurer [Fri, 8 May 2020 09:15:00 +0000 (11:15 +0200)]
src/config/network.rs: avoid duplicate port usage
Dietmar Maurer [Fri, 8 May 2020 08:20:57 +0000 (10:20 +0200)]
src/config/network.rs: do not combine entries
It is unclear when and how to write combined entries ...
Dietmar Maurer [Fri, 8 May 2020 07:58:03 +0000 (09:58 +0200)]
src/config/network.rs: always write bridge_ports and bond_slaves
So that we can reliable detect the interface type.
Dietmar Maurer [Fri, 8 May 2020 07:55:56 +0000 (09:55 +0200)]
proxmox-backup-manager: add network create command
Dietmar Maurer [Fri, 8 May 2020 07:30:25 +0000 (09:30 +0200)]
src/api2/node/network.rs: add protected flag to revert
Dietmar Maurer [Fri, 8 May 2020 06:49:17 +0000 (08:49 +0200)]
src/api2/node/network.rs: pass bridge_ports and slaves a property strings
To make it compatible with pve.
Dietmar Maurer [Thu, 7 May 2020 12:07:45 +0000 (14:07 +0200)]
src/config/network.rs: implement bond_mode
and rename bond_slaves to slaves to make it compatible with pve.
Dietmar Maurer [Thu, 7 May 2020 09:26:30 +0000 (11:26 +0200)]
src/api2/node/network.rs: cleanup - factor out check_duplicate_gateway
Dietmar Maurer [Thu, 7 May 2020 09:09:12 +0000 (11:09 +0200)]
src/api2/node/network.rs: allow to create bridge and bond
Dietmar Maurer [Wed, 6 May 2020 05:51:05 +0000 (07:51 +0200)]
src/config/network.rs: make it compatible with pve
and depend on proxmox 0.1.26
Dietmar Maurer [Thu, 7 May 2020 06:30:38 +0000 (08:30 +0200)]
src/server/worker_task.rs: implement and use status command
Dietmar Maurer [Thu, 7 May 2020 06:24:48 +0000 (08:24 +0200)]
src/server/command_socket.rs: do not abort loop on client errors, allow backup gid
Wolfgang Bumiller [Tue, 5 May 2020 08:14:41 +0000 (10:14 +0200)]
add tools/disks.rs (work in progress...)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dietmar Maurer [Tue, 5 May 2020 07:22:01 +0000 (09:22 +0200)]
TODO.rst: update
Dietmar Maurer [Tue, 5 May 2020 07:06:34 +0000 (09:06 +0200)]
garbage_collect: call fail_on_abort to abort GV when requested.
Dietmar Maurer [Tue, 5 May 2020 05:33:58 +0000 (07:33 +0200)]
src/bin/proxmox-backup-client.rs: add human readable date to prune list
Dietmar Maurer [Tue, 5 May 2020 05:24:27 +0000 (07:24 +0200)]
docs/administration-guide.rst: fix prune command output
Dietmar Maurer [Tue, 5 May 2020 04:45:37 +0000 (06:45 +0200)]
src/bin/proxmox-backup-client.rs: correctly format prune result list.
Dietmar Maurer [Mon, 4 May 2020 11:14:03 +0000 (13:14 +0200)]
administration-guide.rst: update snapshot list output
Dietmar Maurer [Mon, 4 May 2020 10:41:38 +0000 (12:41 +0200)]
administration-guide.rst: add section "Proxmox VE integration"
Dietmar Maurer [Mon, 4 May 2020 08:48:09 +0000 (10:48 +0200)]
docs: use OpenSans as main font
Most people also read PDFs online ...
Dietmar Maurer [Mon, 4 May 2020 08:15:27 +0000 (10:15 +0200)]
docs: use better fonts for PDFs
Font XCharter and Lato have better quality.
Dietmar Maurer [Mon, 4 May 2020 07:02:10 +0000 (09:02 +0200)]
docs/conf.py: avoid font scale option
Dietmar Maurer [Sun, 3 May 2020 07:22:01 +0000 (09:22 +0200)]
docs/conf.py: fix baselineskip in code-blocks with scaled font
Dietmar Maurer [Sun, 3 May 2020 06:23:35 +0000 (08:23 +0200)]
pdf docs: scale down monospace font
Dietmar Maurer [Sun, 3 May 2020 05:47:03 +0000 (07:47 +0200)]
use xetex to generate pdf
To correctly handle unicode art in code blocks...
Dietmar Maurer [Sat, 2 May 2020 14:40:20 +0000 (16:40 +0200)]
administration-guide.rst: add role definitions
Dietmar Maurer [Sat, 2 May 2020 09:21:05 +0000 (11:21 +0200)]
administration-guide.rst: add example to disable/remove a user
Dietmar Maurer [Fri, 1 May 2020 14:19:49 +0000 (16:19 +0200)]
administration-guide.rst: start user management docs
Dietmar Maurer [Fri, 1 May 2020 14:08:15 +0000 (16:08 +0200)]
src/bin/proxmox-backup-manager.rs: improve user list output
Dietmar Maurer [Fri, 1 May 2020 07:02:36 +0000 (09:02 +0200)]
TODO: update
Dietmar Maurer [Thu, 30 Apr 2020 10:58:41 +0000 (12:58 +0200)]
www/Dashboard.js: fix status url
Dietmar Maurer [Thu, 30 Apr 2020 10:11:08 +0000 (12:11 +0200)]
add ServerStatus.js GUI with Reboot and Shutdown buttons
Dietmar Maurer [Thu, 30 Apr 2020 09:52:40 +0000 (11:52 +0200)]
src/api2/node/status.rs: rework api, implement reboot and shutdown
Dietmar Maurer [Thu, 30 Apr 2020 09:51:56 +0000 (11:51 +0200)]
src/api2/node/tasks.rs: use api macro features for default values
Dietmar Maurer [Thu, 30 Apr 2020 08:05:50 +0000 (10:05 +0200)]
src/api2/node/tasks.rs: allow users to list/access there own tasks
Dietmar Maurer [Thu, 30 Apr 2020 07:32:13 +0000 (09:32 +0200)]
use resonable acl paths (fixup)
Dietmar Maurer [Thu, 30 Apr 2020 07:30:00 +0000 (09:30 +0200)]
use reasonable acl paths
Dietmar Maurer [Thu, 30 Apr 2020 05:42:57 +0000 (07:42 +0200)]
TODO.rst: update
Dietmar Maurer [Thu, 30 Apr 2020 05:04:23 +0000 (07:04 +0200)]
cached_config: avoid parsing non-existent files multiple times
Dietmar Maurer [Thu, 30 Apr 2020 04:50:45 +0000 (06:50 +0200)]
www/DataStoreStatus.js: define Model for datastorte list
We want to use the admin/datastore api (instead of config/datastore),
to get the restricted list of datastores.
Dominik Csapak [Wed, 29 Apr 2020 09:59:31 +0000 (11:59 +0200)]
change index to templates using handlebars
using a handlebars instance in ApiConfig, to cache the templates
as long as possible, this is currently ok, as the index template
can only change when the whole package changes
if we split this in the future, we have to trigger a reload of
the daemon on gui package upgrade (so that the template gets reloaded)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Wed, 29 Apr 2020 11:01:24 +0000 (13:01 +0200)]
use proxmox 0.1.25, use new EnumEntry feature
Dietmar Maurer [Wed, 29 Apr 2020 09:22:05 +0000 (11:22 +0200)]
add DataStoreStatus.js dummy
Dietmar Maurer [Wed, 29 Apr 2020 09:09:35 +0000 (11:09 +0200)]
Revert "gui: display DataStoreConfig above DataStoreContent"
This reverts commit
555dfe7b8e87827c680f5e0cb53695036995bd54 .
Dietmar Maurer [Wed, 29 Apr 2020 08:40:42 +0000 (10:40 +0200)]
avoid problems with missing acl.cfg and user.cfg
Dietmar Maurer [Wed, 29 Apr 2020 07:21:34 +0000 (09:21 +0200)]
src/api2/admin/datastore.rs - get_datastore_list: only return name and comment
We dont want to leak the full configuration to users with limited access permission.
Please use the api2::config::datastore api to get the full configuration.
Dietmar Maurer [Wed, 29 Apr 2020 07:09:59 +0000 (09:09 +0200)]
src/api2/config/datastore.rs_ add delete property to update method
Dietmar Maurer [Wed, 29 Apr 2020 07:09:39 +0000 (09:09 +0200)]
src/api2/config/remote.rs: fix white space
Dietmar Maurer [Wed, 29 Apr 2020 07:04:17 +0000 (09:04 +0200)]
src/api2/config/remote.rs: add delete parameter to update method
Dietmar Maurer [Wed, 29 Apr 2020 05:11:03 +0000 (07:11 +0200)]
src/api2/pull.rs: require Datastore.Prune if delete flag is set.
Dietmar Maurer [Wed, 29 Apr 2020 05:03:44 +0000 (07:03 +0200)]
src/config/acl.rs: introduice privileges and roles for remotes
Dietmar Maurer [Tue, 28 Apr 2020 11:25:02 +0000 (13:25 +0200)]
fix api2::types::ACL_ROLE_SCHEMA
make sure we list all roles ...
Dietmar Maurer [Tue, 28 Apr 2020 09:16:15 +0000 (11:16 +0200)]
src/config/acl.rs - fix regression tests
Dietmar Maurer [Tue, 28 Apr 2020 08:48:21 +0000 (10:48 +0200)]
add Datastore.Backup, Datastore.PowerUser and Datastore.Reader role
Dietmar Maurer [Tue, 28 Apr 2020 08:11:15 +0000 (10:11 +0200)]
implemnt backup ownership, improve datastore access permissions
Dietmar Maurer [Tue, 28 Apr 2020 06:23:41 +0000 (08:23 +0200)]
depend on proxmox 0.1.24
Dietmar Maurer [Mon, 27 Apr 2020 09:21:34 +0000 (11:21 +0200)]
src/config/cached_user_info.rs - lookup_privs: correctly handle superuser
Dietmar Maurer [Mon, 27 Apr 2020 05:13:06 +0000 (07:13 +0200)]
src/config/acl.rs: introduce more/better datastore privileges
Dietmar Maurer [Mon, 27 Apr 2020 04:50:35 +0000 (06:50 +0200)]
src/config/acl.rs: rtename PRTIV_DATASTORE_ALLOCATE to PRIV_DATASTORE_MODIFY
Dietmar Maurer [Sun, 26 Apr 2020 06:23:23 +0000 (08:23 +0200)]
src/bin/proxmox-backup-manager.rs: add dns sub command
Also improved the DNS api, added a --delete option.
Dietmar Maurer [Sat, 25 Apr 2020 15:20:22 +0000 (17:20 +0200)]
src/bin/proxmox-backup-manager.rs: fix node parameter handling
Dietmar Maurer [Sat, 25 Apr 2020 15:12:15 +0000 (17:12 +0200)]
depend on proxmox 0.1.23
Dietmar Maurer [Sat, 25 Apr 2020 15:00:38 +0000 (17:00 +0200)]
move src/api2/config/network.rs to src/api2/node/network.rs
So that we have the same api path for network config as pve.
Dietmar Maurer [Fri, 24 Apr 2020 10:55:22 +0000 (12:55 +0200)]
src/config/network.rs: auto-add lo, and implement a few regression tests
Wolfgang Bumiller [Fri, 24 Apr 2020 09:14:43 +0000 (11:14 +0200)]
xattr: cleanup: don't use pxar types in the API
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 24 Apr 2020 08:48:28 +0000 (10:48 +0200)]
xattr: api cleanup
Make `flistxattr()` return a `ListXAttr` helper which
provides an iterator over `&CStr`.
This exposes the property that xattr names are a
zero-terminated string without simply being an opaque
"byte vector". Using &[u8] as a type here is too lax.
Also let `fgetxattr` take a `CStr`. While this may be a
burden on the caller, we usually already have
zero-terminated strings on the call site. Currently we only
use this method coming from `flistxattr` after all.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 24 Apr 2020 07:58:15 +0000 (09:58 +0200)]
xattr: use checked_mul to increase size
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 24 Apr 2020 08:06:11 +0000 (10:06 +0200)]
tools: pub use Fd from proxmox crate
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dietmar Maurer [Fri, 24 Apr 2020 08:45:49 +0000 (10:45 +0200)]
src/bin/proxmox-backup-manager.rs: implement netwerk revert
Dietmar Maurer [Fri, 24 Apr 2020 08:27:43 +0000 (10:27 +0200)]
src/bin/proxmox-backup-manager.rs: new command to show pending network changes
Dietmar Maurer [Fri, 24 Apr 2020 08:16:57 +0000 (10:16 +0200)]
src/bin/proxmox-backup-manager.rs: only show pending changes with "text" format
Dietmar Maurer [Fri, 24 Apr 2020 07:55:46 +0000 (09:55 +0200)]
src/config/network.rs: implement network reload, set "changes" attribute
Dietmar Maurer [Fri, 24 Apr 2020 05:46:08 +0000 (07:46 +0200)]
src/config/network.rs: use a simple String for comments
Dietmar Maurer [Fri, 24 Apr 2020 05:26:54 +0000 (07:26 +0200)]
src/config/network/parser.rs: corectly detect vanished interfaces
Dietmar Maurer [Thu, 23 Apr 2020 14:08:35 +0000 (16:08 +0200)]
src/api2/config/network.rs: implement update/delete comments
Dietmar Maurer [Thu, 23 Apr 2020 13:53:48 +0000 (15:53 +0200)]
src/config/network.rs; support interface comments, cleanups
Dietmar Maurer [Thu, 23 Apr 2020 09:30:41 +0000 (11:30 +0200)]
src/config/network.rs: avoid newline after family options
Dietmar Maurer [Thu, 23 Apr 2020 09:21:27 +0000 (11:21 +0200)]
src/api2/config/network.rs: implement update/delete for bridge_ports and bond_slaves
Dietmar Maurer [Thu, 23 Apr 2020 08:37:40 +0000 (10:37 +0200)]
src/api2/config/network.rs: only allow one default gateway
Dietmar Maurer [Thu, 23 Apr 2020 07:43:38 +0000 (09:43 +0200)]
src/config/network.rs: do not allow to change interface type
Dietmar Maurer [Thu, 23 Apr 2020 07:31:10 +0000 (09:31 +0200)]
src/config/network.rs: parse bond-slaves
Dietmar Maurer [Thu, 23 Apr 2020 07:24:17 +0000 (09:24 +0200)]
src/config/network.rs: parse bridge-ports
Dietmar Maurer [Thu, 23 Apr 2020 06:45:03 +0000 (08:45 +0200)]
src/config/network.rs: introduce NetworkInterfaceType
Dietmar Maurer [Thu, 23 Apr 2020 05:54:12 +0000 (07:54 +0200)]
src/config/network.rs: cleanup (new helper combine_entry)
Dietmar Maurer [Thu, 23 Apr 2020 05:19:29 +0000 (07:19 +0200)]
src/config/network.rs: write changes to interfaces.new
Dietmar Maurer [Thu, 23 Apr 2020 05:07:14 +0000 (07:07 +0200)]
src/config/network.rs: use a single mtu setting (instead of mtu_v4 and mtu_v6)
Dietmar Maurer [Thu, 23 Apr 2020 04:44:55 +0000 (06:44 +0200)]
src/bin/proxmox-backup-manager.rs: improve network list output format
Dietmar Maurer [Wed, 22 Apr 2020 15:37:20 +0000 (17:37 +0200)]
src/bin/proxmox-backup-manager.rs: format datastore list output
Dietmar Maurer [Wed, 22 Apr 2020 15:14:52 +0000 (17:14 +0200)]
src/bin/proxmox-backup-manager.rs: format network list output
Dietmar Maurer [Wed, 22 Apr 2020 14:46:46 +0000 (16:46 +0200)]
src/api2/config/network.rs: allow to update 'auto' flag
Dietmar Maurer [Wed, 22 Apr 2020 11:28:26 +0000 (13:28 +0200)]
src/config/network/parser.rs: parse MTU settings
Dietmar Maurer [Wed, 22 Apr 2020 10:42:09 +0000 (12:42 +0200)]
src/config/network.rs: only save attriubutes used by configuration method
Dietmar Maurer [Wed, 22 Apr 2020 10:19:31 +0000 (12:19 +0200)]
src/api2/config/network.rs: implement delete property
Dietmar Maurer [Wed, 22 Apr 2020 09:32:36 +0000 (11:32 +0200)]
src/api2/config/network.rs: allow to update configuration method