]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
pakfire.cgi: Implement JavaScript log message display
authorLeo-Andres Hofmann <hofmann@leo-andres.de>
Thu, 2 Dec 2021 15:39:53 +0000 (16:39 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Fri, 14 Jan 2022 14:35:57 +0000 (14:35 +0000)
commitdb9ee62e0addc535b8e3226d42b8ff70850044a0
tree4a05489634f088fe973015e400dbfb170351ebf4
parentd255e2d1c291915ca20e0f57f9d55bc0d7d8dd87
pakfire.cgi: Implement JavaScript log message display

Currently the page becomes unresponsive while Pakfire is busy.
This patch implements a AJAX/JSON driven log output, to provide
continuous information to the user while Pakfire is running.

The output is updated 1x per second, if the load should be too high,
the interval can be change by writing to "pakfire.refreshInterval".

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
html/cgi-bin/pakfire.cgi
html/html/include/pakfire.js [new file with mode: 0644]