a546a8a072
proxy/api: await running workers before shutdown
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com >
2019-12-27 12:50:33 +01:00
3332a91426
bump version to 0.1.1
2019-12-27 11:51:22 +01:00
f8fd5095d8
src/bin/proxmox-backup-proxy.rs: create self signed cert at startup.
2019-12-27 11:21:32 +01:00
afddffc7ec
proxmox-backup-manager.rs: remove wrong fixme
2019-12-27 10:17:06 +01:00
e739a8d8b4
src/bin/proxmox-backup-manager.rs: impl. cert info
2019-12-23 13:06:43 +01:00
75232e517a
packaging: fix docs install path
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2019-12-23 07:52:40 +01:00
550e0d8870
src/bin/proxmox-backup-manager.rs: add cli to generate proxy certificate
...
Without calling external openssl binary.
2019-12-22 17:35:06 +01:00
58e1051bc9
DataStoreContent.js - render_backup_type: use better default
2019-12-22 11:09:30 +01:00
0771c57b87
DataStoreContent.js: use rowexpander plugin to display files
2019-12-22 11:06:03 +01:00
507c39c595
DataStoreContent.js: show backup groups (instead of snapshots).
2019-12-22 10:43:57 +01:00
5b32852266
revert Cargo.toml changes from commit f1baa7f4fc
2019-12-22 10:02:15 +01:00
bc9c306c13
NavigationTree.js: use other iconCls for datastores
2019-12-22 09:56:21 +01:00
f1baa7f4fc
ui: ds content: add reload button, use view controller
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2019-12-20 17:17:44 +01:00
d9c38ddc1b
ui: datastore content: add size column
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2019-12-20 17:04:45 +01:00
9d4ebe3dfe
ui: datastore content: refactor to more schematic definition
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2019-12-20 17:03:28 +01:00
ed61472b36
ui: datastore content: render timestamp
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2019-12-20 15:59:14 +01:00
da0e1e4021
various packaging fixes, bump version
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2019-12-20 12:55:32 +01:00
4aa3763944
d/control: add proper rust build-dependencies
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2019-12-20 12:55:32 +01:00
840616ca1e
tests/pxar: increase verbosity
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2019-12-20 12:55:32 +01:00
522df0b9ad
Cargo.toml: remove zstd-sys
...
no need to specify it explicitly, the bindgen feature takes care of this.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2019-12-20 12:55:32 +01:00
ceced40756
Cargo.toml: update dependencies
...
to those that are packaged.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2019-12-20 12:55:32 +01:00
ca23a97f0e
add datastore content panel
2019-12-20 12:47:04 +01:00
5e62d19cfb
fix create_datastore parameters:
...
comment was declared as optional but unwrap()ed, causing
panics when not using it
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com >
2019-12-20 12:30:25 +01:00
645995634a
src/api2/config/datastore.rs - create: pass uid and gid instead of User
2019-12-20 09:23:58 +01:00
e67770d496
src/backup/chunk_store.rs - create: pass User instead of CreateOptions
2019-12-20 09:11:40 +01:00
bca9093520
api/ui: datastore: allow to set simple comment
...
for now forbid all control characters[0] in the comment value, the
section config writer cannot cope with newlines in the value, it
writes them out literally, allowing "injection" or breaking the whole
config.
In the webinterface use also a textfield, not a textarea.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2019-12-19 17:58:01 +01:00
e88e3c3a35
ui: datastore: minor UX improvements and whitepsace cleanup
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2019-12-19 17:44:20 +01:00
e9af5b4a29
ui: do *not* close panel when triggering datastore GC
...
this broke the view, let the panel disappear until one switched to
another and back again, let's just no close main-view panels :)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2019-12-19 17:42:33 +01:00
d649e17eb7
ui: use fa-archive symbol for datastore navigation tree entry
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2019-12-19 16:49:40 +01:00
afdcfb5bc9
let ChunkStore::create take CreateOptions
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com >
2019-12-19 13:14:49 +01:00
47d4712152
src/bin/proxmox-backup-manager.rs: add task management cli
2019-12-19 11:27:36 +01:00
d6c4a1198a
src/bin/proxmox-backup-client.rs: use async fn
2019-12-19 11:20:59 +01:00
f74a03da1f
remove tools::getpwnam_ugid, impl. crate::backup::backup_user()
...
And use new nix::unistd::User struct.
2019-12-19 10:20:13 +01:00
8bf4559b4e
update to nix 0.16
2019-12-19 09:29:44 +01:00
769f8c9998
src/bin/proxmox-backup-manager.rs: connect to daemon to execute GC
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com >
2019-12-19 08:45:27 +01:00
25de1c8005
src/client/backup_repo.rs: impl. new()
2019-12-19 08:44:38 +01:00
94913f35ca
src/bin/proxmox-backup-client.rs - start_garbage_collection: add missing output-format parameter
2019-12-19 07:57:53 +01:00
868c585219
src/backup/datastore.rs: avoid divide by zero
2019-12-19 07:14:23 +01:00
217170e11e
src/server/worker_task.rs: set worker thread name
...
This gives better logs on thread panic...
2019-12-19 07:07:39 +01:00
7e210bd0b4
src/backup/chunk_store.rs: create lock file with correct owner
2019-12-19 06:55:53 +01:00
4897426cea
ui: allow to create datastore
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2019-12-18 21:32:00 +01:00
2e75b6d8bf
ui: trailing whitespace cleanup
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2019-12-18 19:21:59 +01:00
9710e5d00e
ui: select tree item from history url on initial load
...
or fallback to dashboard
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2019-12-18 19:19:37 +01:00
84b9eced26
ui: add simple dashboard
...
just a starting point, code ported initially over from PMG, some
minor things are handled differently though, we have not multiple
nodes (for now) so it's very 'localhost' centric.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2019-12-18 17:29:07 +01:00
2337df7b3d
api2: add very basic 'status/usage' endpoint for nodes
...
For returning the nodes basic "usage status", for now one gets memory
and CPU utilization.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2019-12-18 17:24:32 +01:00
6060a57578
debian/: run wrap-and-sort
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2019-12-18 17:22:43 +01:00
22b20d04b4
docs: fix typo in introduction.rst
...
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com >
2019-12-18 17:14:58 +01:00
bce023c57c
src/tools.rs: fix typo
2019-12-18 14:29:29 +01:00
7a550fdc76
Makefile: remove zstd-sys
2019-12-18 13:11:02 +01:00
3c50a9d82e
administration-guide.rst: fix catalog command syntax
2019-12-18 12:58:18 +01:00