public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH widget-manager/backup/pmg v3] fix: #3971 Tasklog download button
@ 2022-10-11 13:58 Daniel Tschlatscher
  2022-10-11 13:59 ` [pve-devel] [PATCH backup v3] make tasklog downloadable in the backup server backend Daniel Tschlatscher
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Daniel Tschlatscher @ 2022-10-11 13:58 UTC (permalink / raw)
  To: pve-devel, pbs-devel, pmg-devel

This patch series' aim is to add a download button in the tasklog-
viewer GUI so that users may access the tasklog more easily.
(The tasklog-viewer only displays 50 lines at a time)
Now, when the parameter 'limit' for the /log API call is set to '0',
the backends will stream the file rather than returning a JSON array
with the corresponding lines. (Beforehand, it would return 0 lines)

This patch series revision did not see any changes to the two patches
to be applied in the proxmox-widget-toolkit. Therefore, they are
omitted here. To make this series fully functional, they have to be
applied as well.
However, the widget-toolkit frontend implementation needs all backend
patches to be working properly.


changes from v2
* replaced helper function in pve-commong with inline implementations
  in PMG and PVE backends
* improved API documentation for limit parameter
* minor refactorings


Daniel Tschlatscher (1):
  make tasklog downloadable in the backup server backend

 src/api2/node/tasks.rs | 161 ++++++++++++++++++++++++++---------------
 1 file changed, 103 insertions(+), 58 deletions(-)

Daniel Tschlatscher (1):
  make tasklog downloadable in the PMG backend

 src/PMG/API2/Tasks.pm | 44 ++++++++++++++++++++++++-------------------
 1 file changed, 25 insertions(+), 19 deletions(-)

Daniel Tschlatscher (1):
  make task log downloadable in the PVE manager backend

 PVE/API2/Tasks.pm | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

-- 
2.30.2





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-11 14:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-11 13:58 [pve-devel] [PATCH widget-manager/backup/pmg v3] fix: #3971 Tasklog download button Daniel Tschlatscher
2022-10-11 13:59 ` [pve-devel] [PATCH backup v3] make tasklog downloadable in the backup server backend Daniel Tschlatscher
2022-10-11 13:59 ` [pve-devel] [PATCH pmg-api v3] make tasklog downloadable in the PMG backend Daniel Tschlatscher
2022-10-11 13:59 ` [pve-devel] [PATCH manager v3] make task log downloadable in the PVE manager backend Daniel Tschlatscher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal