Todo #5279
closed
Package installation GUI updates
Added by Anonymous almost 10 years ago.
Updated almost 10 years ago.
Description
Recent changes to the package system require the GUI is updated to match.
pkg_install.php will now start the installation process in the background and make AJAX calls to read the installation log file.
A similar system will be used to get the progress status to drive the indicator.
- Tracker changed from Bug to Todo
The package installation system has been updated such that:
- The installer is run in the background so that the GUI remains responsive
- The GUI polls for status/progress via AJAX
- The progress bar works correctly, obtaining its information from the installer JSON output
- The exit status of each step is indicated by "Success" or "Failure" in the text window
- A banner is displayed showing "Wait", "Success" and "failed" (paraphrasing). THe background color is changed to match the message.
ToDo:
- Handle page reloads and catch some of the less obvious errors.
- Combine the pfSense-upgrade and pfSense-upgrade-GUI.sh scripts
See #5291 for gif demo
- Status changed from Assigned to Resolved
Scripts combined and reloads handled.
Also available in: Atom
PDF