proxmox-backup/src
Stefan Reiter 137a6ebcad apt: allow changelog retrieval from enterprise repo
If a package is or will be installed from the enterprise repo, retrieve
the changelog from there as well (securely via HTTPS and authenticated
with the subcription key).

Extends the get_string method to take additional headers, in this case
used for 'Authorization'. Hyper does not have built-in basic auth
support AFAICT but it's simple enough to just build the header manually.

Take the opportunity and also set the User-Agent sensibly for GET
requests, just like for POST.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2020-11-09 17:28:58 +01:00
..
api2 apt: allow changelog retrieval from enterprise repo 2020-11-09 17:28:58 +01:00
backup cleanup: use const_regex, use BACKUP_ID_REGEX for api too 2020-11-03 06:36:50 +01:00
bin proxy: fix log message for auth log rotation 2020-11-09 16:34:03 +01:00
client sync: improve log format 2020-11-04 09:10:56 +01:00
config config: make notify a property string 2020-11-05 11:35:14 +01:00
pxar pxar: log when skipping mount points 2020-11-09 12:43:16 +01:00
rrd clippy fixups 2020-10-14 11:20:07 +02:00
server tasks: allow access to job tasks 2020-11-06 12:56:06 +01:00
tools apt: allow changelog retrieval from enterprise repo 2020-11-09 17:28:58 +01:00
api2.rs api: add world accessible ping dummy endpoint 2020-10-24 19:12:14 +02:00
auth.rs clippy fixups 2020-10-14 11:20:07 +02:00
auth_helpers.rs avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +02:00
backup.rs rustdoc: overhaul backup rustdoc and add locking table 2020-10-16 09:38:01 +02:00
buildcfg.rs api: factor out auth logger and use for all API authentication failures 2020-11-04 17:26:34 +01:00
client.rs switch to external pxar and fuse crates 2020-06-08 13:56:58 +02:00
config.rs config: add token.shadow file 2020-10-29 15:11:39 +01:00
lib.rs rustdoc: add crate level doc 2020-10-16 09:37:50 +02:00
server.rs report: add api endpoint and function to generate report 2020-11-03 15:16:42 +01:00
task.rs introduce TaskState trait 2020-10-12 14:11:57 +02:00
tools.rs api/tools: split out apt helpers from api to own module 2020-10-31 21:31:36 +01:00