Project

General

Profile

Todo #5279

Package installation GUI updates

Added by Steve Beaver over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
10/07/2015
Due date:
% Done:

0%

Estimated time:

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.

Associated revisions

History

#1 Updated by Steve Beaver over 3 years ago

  • Tracker changed from Bug to Todo

#2 Updated by Steve Beaver over 3 years ago

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

#3 Updated by Steve Beaver over 3 years ago

  • Status changed from Assigned to Resolved

Scripts combined and reloads handled.

Also available in: Atom PDF