Commit Graph

1027 Commits

Author SHA1 Message Date
Dietmar Maurer
10ad340322 bump proxmox-sys version to 0.2.1
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-25 12:12:35 +01:00
Dietmar Maurer
41d3df8950 proxmox-io: imported pbs-tools/src/sync/std_channel_writer.rs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-25 11:21:31 +01:00
Dietmar Maurer
80df41a887 proxmox-sys: import pipe() function from pbs-toos/src/io.rs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-25 10:34:33 +01:00
Dietmar Maurer
d357ce2070 remove proxmox crate (no longer used)
Most functionality is now in proxmox-sys. The common-regex.rs is
moved back into proxmox-backup-server, because it is only used there.
Serde code is now in new proxmox-serde crate.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
82245339b8 use new proxmox-sys 0.2.0 for all crates
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
dace74a556 bump proxmox-sys version to 0.2.0
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
194b028789 proxmox-serde: add new crate with code from proxmox/src/tools/serde.rs 2021-11-24 10:00:38 +01:00
Dietmar Maurer
b06807532e proxmox-sys: add stortable-macro feature and remove it from proxmox
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
ee4e56e372 proxmox-sys: moved nodename from proxmox crate
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
ec3965fdad proxmox-sys: fix regression tests 2021-11-24 10:00:38 +01:00
Dietmar Maurer
21686c99e6 proxmox-sys: fixup worker task log macros 2021-11-24 10:00:38 +01:00
Dietmar Maurer
6efbe4e6e8 proxmox-sys: imported proxmox/src/tools/systemd.rs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
ba1f59c098 proxmox-sys: imported proxmox/src/tools/email.rs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
0806020ebf proxmox-sys: improve dev docs
And move WorkerTaskContext to top level.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
e011964f81 proxmox-sys: imported pbs-tools/src/command.rs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
4c7bd0ee50 proxmox-sys: imported pbs-tools/src/acl.rs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
66aea897b6 proxmox-sys: imported pbs-tool/src/xattr.rs 2021-11-24 10:00:38 +01:00
Dietmar Maurer
d98ed51fa8 proxmox-sys: move file_get_non_comment_lines to src/fs/file.rs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
92caf51634 proxmox-sys: split xattr code into extra file
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
d0b7e1e299 proxmox-sys: imported pbs-tools/src/fs.rs to src/fs/read_dir.rs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
32b69176dd proxmox-sys: imported proxmox tools/sys
And split some files into smaller parts.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Wolfgang Bumiller
4b1cb9f9b3 bump proxmox-tfa to 1.3.2-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-22 13:30:51 +01:00
Wolfgang Bumiller
54e97d35c1 fix u2f context instantiation
don't use the appid for the origin if an origin was
specified

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-22 13:25:49 +01:00
Dietmar Maurer
c0312f3717 bum proxmox-sys version to 0.1.2
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-22 10:35:45 +01:00
Dietmar Maurer
4d158ec1b3 proxmox-sys: fix test for wrong logrotate path
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-22 10:35:45 +01:00
Wolfgang Bumiller
19c29ab9b2 clipy fixes
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-22 09:07:29 +01:00
Wolfgang Bumiller
9da1062f82 add Mmap::assume_init
to convert Mmap<MaybeUninit<T>> to Mmap<T>

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-22 09:06:46 +01:00
Dietmar Maurer
ffbf58cad3 bump proxmox-async version to 0.2.0 2021-11-20 17:07:52 +01:00
Dietmar Maurer
cab125297b proxmox-async: improve dev docs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-20 17:07:52 +01:00
Dietmar Maurer
5bd54b4d9b proxmox-async: move AsyncChannelWriter to src/io
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-20 17:07:52 +01:00
Dietmar Maurer
7b7247fa80 proxmox-async: move TokioWriterAdapter to blocking
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-20 16:38:36 +01:00
Dietmar Maurer
6c4982bd7c proxmox-async: remove duplicate src/stream/wrapped_reader_stream.rs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-20 16:15:05 +01:00
Dietmar Maurer
781b5161bd proxmox-async: split stream.rs into separate files
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-20 16:12:55 +01:00
Dietmar Maurer
fa2032c7aa proxmox-async: split blocking.rs into separate files 2021-11-20 15:58:04 +01:00
Dietmar Maurer
4413002f22 proxmox-async: add copyright file
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:43:19 +01:00
Dietmar Maurer
b63229bf1d proxmox-async: imported pbs-tools/src/zip.rs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
64dca3c869 proxmox-async: imported pbs-tools/src/compression.rs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
112b239d50 proxmox-async: imported pbs-tools/src/tokio/tokio_writer_adapter.rs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
743f7df2a5 proxmox-async: imported pbs-tools/src/stream.rs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
a2d62a2555 proxmox-async: imported pbs-tools/src/broadcast_future.rs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
e1f0eb4aec proxmox-async: start new crate
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
45645d9aee proxmox-sys: add copyright file
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 15:48:18 +01:00
Wolfgang Bumiller
c08d4a173d tfa: remove unnecessary bound attribute
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-19 12:45:23 +01:00
Fabian Grünbichler
5ecc7724e2 sys: update d/control
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-19 12:12:01 +01:00
Fabian Grünbichler
f3872d0a69 bump proxmox-tfa to 1.3.1
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-19 12:05:48 +01:00
Fabian Grünbichler
91932da15c tfa: bump webauthn-rs to 0.3
switch WebauthnConfig to use Url for the origin field, via a wrapper
type to make Updater and ApiType happy.

the two new Credential fields `verified` and `registration_policy` are
always set to `false` and `Discouraged`, to get the same behaviour as
before.

Suggested-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Tested-by: Wolfgang Bumiller <w.bumiller@proxmox.com>

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-19 12:05:48 +01:00
Fabian Grünbichler
148950fd17 tfa: properly wrap webauthn credentials
this (external) struct gets new fields in webauthn-rs 0.3, so let's
properly wrap / convert it instead of just aliasing, else deserializing
will fail.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-19 12:05:48 +01:00
Fabian Grünbichler
d49e6a362e bump proxmox-sys to 0.1.1
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-19 12:05:48 +01:00
Fabian Grünbichler
aedc5197f5 sys: add missing file
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-19 12:05:48 +01:00
Fabian Grünbichler
6b2d0e7427 bump proxmox-http to 0.5.6
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-19 11:46:21 +01:00