Oguz Bektas
|
1c79e1017f
|
services: fix indentation
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
|
2020-01-15 10:55:04 +01:00 |
|
Dietmar Maurer
|
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 |
|
Thomas Lamprecht
|
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 |
|
Wolfgang Bumiller
|
feaa1ad35f
|
replace file_set_contents with replace_file
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2019-12-18 11:16:04 +01:00 |
|
Dietmar Maurer
|
81cc71c0d7
|
use proxmox-mini-journalreader to display syslog
|
2019-12-17 14:06:48 +01:00 |
|
Dietmar Maurer
|
20197f7cf5
|
src/api2/node/syslog.rs: use api macro
|
2019-12-17 13:26:49 +01:00 |
|
Dietmar Maurer
|
503995c767
|
src/api2/admin/datastore.rs: fix prune worker id
|
2019-12-14 16:05:21 +01:00 |
|
Dietmar Maurer
|
66c49c21c3
|
src/api2/types.rs: factor out DATASTORE_SCHEMA
|
2019-12-11 13:45:23 +01:00 |
|
Dietmar Maurer
|
567d3e00fb
|
src/api2/node/tasks.rs: new filter "store" to filter tasks for one store
|
2019-12-11 12:53:34 +01:00 |
|
Dietmar Maurer
|
6d04612955
|
src/api2/node/tasks.rs: add "running" filter to list only running tasks
|
2019-12-11 10:52:27 +01:00 |
|
Dietmar Maurer
|
8560fe3e5f
|
src/api2/node/tasks.rs - extract_upid: avoid duplicate error message
|
2019-12-10 13:45:56 +01:00 |
|
Dietmar Maurer
|
5830c20560
|
src/bin/proxmox-backup-client.rs: add simple task management cli
|
2019-12-10 13:43:53 +01:00 |
|
Dietmar Maurer
|
6b508dd563
|
src/server/formatter.rs: impl. new result attribute "active"
|
2019-12-07 15:29:42 +01:00 |
|
Wolfgang Bumiller
|
cad540e969
|
api/compat: remove remaining api_schema references
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2019-11-21 14:53:15 +01:00 |
|
Wolfgang Bumiller
|
a2479cfa1a
|
api/compat: drop more compat imports from api_schema.rs
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2019-11-21 14:36:28 +01:00 |
|
Dietmar Maurer
|
552c225948
|
sort all property lookup tables
Required, because we use binary sreach to find items.
|
2019-11-21 13:32:09 +01:00 |
|
Dietmar Maurer
|
255f378a1b
|
use const api definitions
|
2019-11-21 13:32:09 +01:00 |
|
Dietmar Maurer
|
62ee2eb405
|
avoid some clippy warnings
|
2019-10-26 11:42:05 +02:00 |
|
Dietmar Maurer
|
11377a47bb
|
avoid some clippy warnings
|
2019-10-25 18:04:37 +02:00 |
|
Wolfgang Bumiller
|
f3a8d1d7e0
|
api2/node/time: replace mem::uninitialized
and fixup use statements
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2019-08-22 11:14:41 +02:00 |
|
Dietmar Maurer
|
7f66c29e5c
|
remove src/tools/common_regex.rs, use proxmox::tools::common_regex instead
|
2019-08-03 16:44:31 +02:00 |
|
Dietmar Maurer
|
e18a6c9ee5
|
update to nix 0.14, use code from proxmox:tools
|
2019-08-03 13:05:38 +02:00 |
|
Dietmar Maurer
|
bffd40d6b7
|
src/tools.rs: move hex_to_digest and digest_to_hex to proxmox::tools
|
2019-06-14 11:40:04 +02:00 |
|
Wolfgang Bumiller
|
dd5495d6dc
|
tree-wide: use 'dyn' for all trait objects
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2019-06-07 13:13:48 +02:00 |
|
Dietmar Maurer
|
4ebf0eabb0
|
src/api2/types.rs: use separate file for schema definitions
|
2019-05-09 07:44:09 +02:00 |
|
Dietmar Maurer
|
13f1cc17ea
|
src/api_schema/router.rs: implement list_subdirs() helper
|
2019-04-16 12:07:02 +02:00 |
|
Wolfgang Bumiller
|
062d4916ff
|
api_schema: allow generic api handler functions
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2019-04-16 11:22:23 +02:00 |
|
Dietmar Maurer
|
1a6c9415ae
|
src/api2/node/services.rs: add proxmox-backup-proxy service
|
2019-04-15 09:48:02 +02:00 |
|
Dietmar Maurer
|
a665dea128
|
src/api2/node/tasks.rs: implement stop_task api
|
2019-04-10 13:55:05 +02:00 |
|
Dietmar Maurer
|
c360bd73d3
|
src/api2/node/tasks.rs: fix task status api
|
2019-04-09 15:12:20 +02:00 |
|
Dietmar Maurer
|
d8d40dd0c2
|
src/api2/node.rs: add node parameter
|
2019-04-09 14:43:30 +02:00 |
|
Dietmar Maurer
|
634132fe10
|
src/server/upid.rs: moved code into separate file
|
2019-04-08 18:43:26 +02:00 |
|
Dietmar Maurer
|
5a12c0e2fb
|
src/api2/node/tasks.rs: start upid API
|
2019-04-07 14:36:57 +02:00 |
|
Dietmar Maurer
|
d2a2e02bb7
|
src/api2/node/tasks.rs: implement userfilter
|
2019-04-07 13:17:19 +02:00 |
|
Dietmar Maurer
|
3c3bee2e32
|
src/api2/node/tasks.rs: correctly handle start parameter
|
2019-04-07 12:41:24 +02:00 |
|
Dietmar Maurer
|
063ca5be77
|
src/api2/node/tasks.rs: implement list_tasks
|
2019-04-07 12:18:58 +02:00 |
|
Dietmar Maurer
|
ef2f2efbcc
|
improve api_schema module structure
|
2019-02-17 10:16:33 +01:00 |
|
Dietmar Maurer
|
dc9a007b11
|
rename src/api to src/api_schema
|
2019-02-17 09:59:20 +01:00 |
|
Wolfgang Bumiller
|
13f8310cac
|
api2: time: use /etc/localtime as fallback
in case there is no /etc/timezone
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2019-02-05 14:14:56 +01:00 |
|
Dietmar Maurer
|
4b2cdeb9a6
|
implement relead_timezone flag
|
2019-02-01 10:04:46 +01:00 |
|
Dietmar Maurer
|
9f49fe1d5d
|
avoid compiler warnings
|
2019-01-30 18:25:37 +01:00 |
|
Dietmar Maurer
|
a859fa95a9
|
add protected flag for some api methods
|
2019-01-28 18:16:47 +01:00 |
|
Dietmar Maurer
|
f120483353
|
server/rest.rs: add proxy_sync_api_request() dummy
|
2019-01-28 17:30:39 +01:00 |
|
Dietmar Maurer
|
48849593ee
|
api2/node/services.rs: implement service commands
|
2019-01-27 12:40:31 +01:00 |
|
Dietmar Maurer
|
d2ab5f19e2
|
api2/node/services.rs: start services api
|
2019-01-26 17:54:18 +01:00 |
|
Dietmar Maurer
|
6049b71f41
|
api: pass RpcEnvirnment to api handlers
|
2019-01-26 14:50:37 +01:00 |
|
Dietmar Maurer
|
d96d82736d
|
use crate log and syslog
|
2019-01-26 10:56:11 +01:00 |
|
Dietmar Maurer
|
e182ab4a4a
|
api2/node/syslog.rs: improve error handling
|
2019-01-26 10:23:52 +01:00 |
|
Dietmar Maurer
|
0441886842
|
api2/node/syslog.rs: implement dump journal
|
2019-01-25 18:20:51 +01:00 |
|
Dietmar Maurer
|
4f9a726833
|
api2/node/syslog.rs: add syslog api schema
|
2019-01-25 17:17:30 +01:00 |
|