]>
git.proxmox.com Git - proxmox-backup.git/log
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
Dietmar Maurer [Wed, 22 Apr 2020 08:54:07 +0000 (10:54 +0200)]
src/api2/config/network.rs: improve network api
Dietmar Maurer [Wed, 22 Apr 2020 08:53:26 +0000 (10:53 +0200)]
src/config/network/parser.rs: remove debug println
Dietmar Maurer [Wed, 22 Apr 2020 08:52:31 +0000 (10:52 +0200)]
src/config/network/helper.rs: fix CIDR regex
Dietmar Maurer [Wed, 22 Apr 2020 08:28:53 +0000 (10:28 +0200)]
src/api2/types.rs: add schemas for IP/CIDR
Dietmar Maurer [Wed, 22 Apr 2020 06:53:16 +0000 (08:53 +0200)]
src/api2/config/datastore.rs_ fix method docs
Dietmar Maurer [Wed, 22 Apr 2020 06:45:13 +0000 (08:45 +0200)]
src/config/network.rs: remove netmask support
rely on cidr instead.
Dietmar Maurer [Tue, 21 Apr 2020 15:54:52 +0000 (17:54 +0200)]
src/api2/types.rs: define NETWORK_INTERFACE_NAME_SCHEMA
Dietmar Maurer [Tue, 21 Apr 2020 15:25:05 +0000 (17:25 +0200)]
src/config/network.rs: move type definitions to src/api2/types.rs
Dietmar Maurer [Tue, 21 Apr 2020 15:17:57 +0000 (17:17 +0200)]
rename ConfigMethod to NetworkConfigMethod
Dietmar Maurer [Tue, 21 Apr 2020 12:28:26 +0000 (14:28 +0200)]
src/api2/config/network.rs: start network configuration api
Dietmar Maurer [Tue, 21 Apr 2020 10:55:33 +0000 (12:55 +0200)]
src/config/network.rs: impleement load/save
Dietmar Maurer [Tue, 21 Apr 2020 09:46:56 +0000 (11:46 +0200)]
src/config/network.rs: add Interface flags 'exists' and 'active'
Dietmar Maurer [Tue, 21 Apr 2020 09:06:22 +0000 (11:06 +0200)]
src/config/network.rs: cleanup autostart flag handling
Dietmar Maurer [Tue, 21 Apr 2020 08:32:54 +0000 (10:32 +0200)]
src/config/network/helper.rs: new helper get_network_interfaces()
Dietmar Maurer [Mon, 20 Apr 2020 16:10:15 +0000 (18:10 +0200)]
src/config/network.rs: simplify code
Dietmar Maurer [Mon, 20 Apr 2020 12:15:57 +0000 (14:15 +0200)]
src/config/network.rs: read/write /etc/network/interfaces
Start implementing a recursive descent parser.
Dietmar Maurer [Sat, 18 Apr 2020 06:49:20 +0000 (08:49 +0200)]
src/config/cached_user_info.rs: cache it up to 5 seconds
Dietmar Maurer [Sat, 18 Apr 2020 06:23:04 +0000 (08:23 +0200)]
fix permission tests using non-uri parameters
We nood to do those tests inside the fuction body instead...
Dietmar Maurer [Sat, 18 Apr 2020 06:09:34 +0000 (08:09 +0200)]
src/config/cached_user_info.rs: new check_privs helper
Dietmar Maurer [Sat, 18 Apr 2020 05:28:25 +0000 (07:28 +0200)]
src/api2/access.rs: cleanup
Dietmar Maurer [Sat, 18 Apr 2020 05:05:31 +0000 (07:05 +0200)]
src/api2/types.rs: use anyhow::Error in test cases
Wolfgang Bumiller [Fri, 17 Apr 2020 12:11:25 +0000 (14:11 +0200)]
switch from failure to anyhow
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dietmar Maurer [Fri, 17 Apr 2020 13:27:04 +0000 (15:27 +0200)]
src/api2/pull.rs: add access permission
Dietmar Maurer [Fri, 17 Apr 2020 13:14:28 +0000 (15:14 +0200)]
src/api2/subscription.rs: add access permissions
Dietmar Maurer [Fri, 17 Apr 2020 13:01:56 +0000 (15:01 +0200)]
src/api2/reader.rs: add access permissions
Dietmar Maurer [Fri, 17 Apr 2020 12:57:26 +0000 (14:57 +0200)]
src/api2/config/remote.rs: add access permissions
Dietmar Maurer [Fri, 17 Apr 2020 12:51:29 +0000 (14:51 +0200)]
src/api2/config/datastore.rs: impl digest check for delete, add access permissions
Dietmar Maurer [Fri, 17 Apr 2020 12:40:20 +0000 (14:40 +0200)]
src/api2/backup.rs: add access permissions
Dietmar Maurer [Fri, 17 Apr 2020 12:36:27 +0000 (14:36 +0200)]
src/api2/admin/datastore.rs: add access permissions - first try
We need to refine this later (introduce backup owner concept?)
Dietmar Maurer [Fri, 17 Apr 2020 12:15:44 +0000 (14:15 +0200)]
acl: change path "storage" to "datastore"
Dietmar Maurer [Fri, 17 Apr 2020 12:14:06 +0000 (14:14 +0200)]
src/api2/access/role.rs: use schema ACL_ROLE_SCHEMA
Dietmar Maurer [Fri, 17 Apr 2020 12:12:12 +0000 (14:12 +0200)]
move type defs from src/api2/access/acl.rs to src/api2/types.rs
Dietmar Maurer [Fri, 17 Apr 2020 12:03:24 +0000 (14:03 +0200)]
src/api2/access/role.rs: new api to list roles
Dietmar Maurer [Fri, 17 Apr 2020 09:04:36 +0000 (11:04 +0200)]
src/api2/access/user.rs: add access permissions
Dietmar Maurer [Fri, 17 Apr 2020 08:08:45 +0000 (10:08 +0200)]
src/api2/access/user.rs: add access permissions
Dietmar Maurer [Fri, 17 Apr 2020 08:03:09 +0000 (10:03 +0200)]
src/api2/access/acl.rs: add access permissions
Dietmar Maurer [Thu, 16 Apr 2020 15:47:21 +0000 (17:47 +0200)]
src/api2/node/tasks.rs: use api macro, implement access permissions
Dietmar Maurer [Thu, 16 Apr 2020 15:08:19 +0000 (17:08 +0200)]
src/api2/node/syslog.rs: add access permissions
Dietmar Maurer [Thu, 16 Apr 2020 15:05:09 +0000 (17:05 +0200)]
src/api2/node/status.rs: add access permissions
Dietmar Maurer [Thu, 16 Apr 2020 10:56:34 +0000 (12:56 +0200)]
src/server/rest.rs: reduce delay for permission error to 500ms
Dietmar Maurer [Thu, 16 Apr 2020 10:46:39 +0000 (12:46 +0200)]
src/api2/node/services.rs: add access permissions
Dietmar Maurer [Thu, 16 Apr 2020 10:44:59 +0000 (12:44 +0200)]
src/api2/node/journal.rs: add access permissions
Dietmar Maurer [Thu, 16 Apr 2020 08:01:59 +0000 (10:01 +0200)]
start impl. access permissions
Dietmar Maurer [Thu, 16 Apr 2020 07:18:56 +0000 (09:18 +0200)]
src/config/cached_user_info.rs: new helper class
Dietmar Maurer [Thu, 16 Apr 2020 07:36:28 +0000 (09:36 +0200)]
depend on proxmox 0.1.21
Dietmar Maurer [Wed, 15 Apr 2020 09:35:57 +0000 (11:35 +0200)]
src/config/user.rs - cached_config: do not store/return digest
Dietmar Maurer [Wed, 15 Apr 2020 09:30:47 +0000 (11:30 +0200)]
src/config/acl.rs: implement cached_config
Dietmar Maurer [Wed, 15 Apr 2020 08:09:18 +0000 (10:09 +0200)]
src/api2/node/dns.rs: use api macro (cleanup)
Dietmar Maurer [Wed, 15 Apr 2020 06:11:43 +0000 (08:11 +0200)]
acl: improve NoAccess handling
Aaron Lauterer [Tue, 14 Apr 2020 15:12:47 +0000 (17:12 +0200)]
Docu: first proof reading
This is a first proof reading of the currently existing documentation.
fixes (hopefully all):
* spelling
* grammar
Tries to increase readabilty and ease of understanding by simplifying
and restructing some sentences and paragraphs. Filler words which add
to the cognitive load but don't add anything are removed
(most notably `also`).
Dietmar Maurer [Wed, 15 Apr 2020 04:41:37 +0000 (06:41 +0200)]
pxar extract: remove pattern from arg_param, add target instead
Dietmar Maurer [Wed, 15 Apr 2020 04:31:46 +0000 (06:31 +0200)]
pxar create: remove exclude from arg_param
Dietmar Maurer [Tue, 14 Apr 2020 15:35:44 +0000 (17:35 +0200)]
fix previous commit - use result.
Dietmar Maurer [Tue, 14 Apr 2020 15:23:48 +0000 (17:23 +0200)]
acl update: check path
Dietmar Maurer [Tue, 14 Apr 2020 11:46:27 +0000 (13:46 +0200)]
acl update: check if user exist.
Dietmar Maurer [Tue, 14 Apr 2020 11:45:45 +0000 (13:45 +0200)]
src/config/user.rs: implement user config cache
Dietmar Maurer [Tue, 14 Apr 2020 06:40:53 +0000 (08:40 +0200)]
acl api: implement update
Dietmar Maurer [Mon, 13 Apr 2020 09:09:44 +0000 (11:09 +0200)]
start ACL api
Dietmar Maurer [Sun, 12 Apr 2020 15:13:53 +0000 (17:13 +0200)]
acl: use BTreeMap and BTreeSet to avoid sort()
Dietmar Maurer [Sun, 12 Apr 2020 11:06:50 +0000 (13:06 +0200)]
acl: implement roles(), add regression tests.
Dietmar Maurer [Sat, 11 Apr 2020 10:24:26 +0000 (12:24 +0200)]
add acl config
Dietmar Maurer [Thu, 9 Apr 2020 11:37:14 +0000 (13:37 +0200)]
gui: improve login view (use realms)
Dietmar Maurer [Thu, 9 Apr 2020 11:35:58 +0000 (13:35 +0200)]
PASSWORD_SCHEMA: set max_length to 1024 (for tickets)
Dietmar Maurer [Thu, 9 Apr 2020 11:35:08 +0000 (13:35 +0200)]
api: add default property to domain list
Dietmar Maurer [Thu, 9 Apr 2020 11:34:07 +0000 (13:34 +0200)]
api: correctly sort access subdirmap
Dietmar Maurer [Thu, 9 Apr 2020 09:36:45 +0000 (11:36 +0200)]
api: add list_domains
Dietmar Maurer [Thu, 9 Apr 2020 08:19:38 +0000 (10:19 +0200)]
api: move config/user to access/users, implement change_password
To make it similar to the pve api
Dietmar Maurer [Wed, 8 Apr 2020 09:57:14 +0000 (11:57 +0200)]
implement auth framework
Dietmar Maurer [Mon, 6 Apr 2020 10:09:27 +0000 (12:09 +0200)]
add user configiguration
Dietmar Maurer [Mon, 6 Apr 2020 07:50:40 +0000 (09:50 +0200)]
gc: log pending removals
Dietmar Maurer [Wed, 1 Apr 2020 12:14:44 +0000 (14:14 +0200)]
gui: preview prune selection
Dietmar Maurer [Wed, 1 Apr 2020 10:24:28 +0000 (12:24 +0200)]
prune api: return a usable result (we run synchronous anyways)
Dominik Csapak [Tue, 31 Mar 2020 06:42:05 +0000 (08:42 +0200)]
fix 'keep-monthly' field name
else the backend complains about a non-existant parameter
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Thu, 26 Mar 2020 17:01:04 +0000 (18:01 +0100)]
gui - DataStoreContent: avoid useless icons, display file path
Dietmar Maurer [Thu, 26 Mar 2020 16:23:51 +0000 (17:23 +0100)]
gui - DataStoreContent: move control code into controller (cleanup)
Dietmar Maurer [Thu, 26 Mar 2020 12:23:28 +0000 (13:23 +0100)]
gui: add prune dialog
Dietmar Maurer [Thu, 26 Mar 2020 11:54:20 +0000 (12:54 +0100)]
src/server/rest.rs: use correct formatter
Dietmar Maurer [Thu, 26 Mar 2020 10:17:15 +0000 (11:17 +0100)]
gui: cleanup DataStoreContent.js
Dietmar Maurer [Thu, 26 Mar 2020 07:38:35 +0000 (08:38 +0100)]
gui: display DataStoreConfig above DataStoreContent
Dietmar Maurer [Wed, 25 Mar 2020 14:17:28 +0000 (15:17 +0100)]
gui: use a tree panel for DataStoreContent
Dietmar Maurer [Wed, 25 Mar 2020 14:17:16 +0000 (15:17 +0100)]
depend on proxmox 0.1.20
Wolfgang Bumiller [Thu, 19 Mar 2020 09:05:08 +0000 (10:05 +0100)]
bump proxmox dependency to 0.1.19
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>