summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add additional "Image States"Gunnar Mills2018-02-282-22/+19
| | | | | | | | | | | | | | | | | | | Added the following Activation States or as they are known on the GUI, "Image States": "NotReady", "Invalid", "Activating", and "Failed". Instead of having a variable for each state, these "Image States" are now tracked under one variable. Also, moved to looking at the value of "Activation", github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Software/Activation.interface.yaml#L17, so if more states are added in the future they will be picked up. Resolves openbmc/openbmc#2928 Tested: Verified when I activated an image I see the "Activating" state. Change-Id: I1f5e408ebe31f3eb6c3f0417d6605bff06c9ac19 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Add "block" to active modalsGunnar Mills2018-02-271-1/+2
| | | | | | | | | | When a modal is active make it blocked so it can be viewed. The modals such as confirming activating an image were not visible. This change makes those modal visible when active. Tested: Activated several images on a Witherspoon system. Change-Id: I6667af017ea397344df6b6ed7e08949ffb4a3c55 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Display the "type" of event logGunnar Mills2018-02-232-1/+2
| | | | | | | | | | | | | | | | The GUI before displayed the "Severity" of the event log in the name field. It now displays the type. Type is from the "Message" field in the event log. An example of the type is: "xyz.openbmc_project.Software.Version.Error.ManifestFileFailure". This is much more useful than the "Severity" ( e.g. "xyz.openbmc_project.Logging.Entry.Level.Error"). Severity is still displayed in the event log, above the type. Resolves openbmc/openbmc#2875 Change-Id: I10fdf90f6498f49b11a64e2c1e556b9a1c95f7b4 Tested: Running GUI locally Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Move to "xyz" Download via TFTPGunnar Mills2018-02-231-2/+2
| | | | | | | | | Move from the old "org" Download via TFTP to the new "xyz" Download via TFTP interface. Tested: Downloaded several images to a Witherspoon system. Change-Id: Id556a3a56d06bfc3400f905a58e9a76964056d68 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Fix the "Upload firmware" buttonGunnar Mills2018-02-233-43/+17
| | | | | | | | | | | | | | | | | The "Upload firmware" button was not calling the uploadImage() function in api-utils.js. The uploadImage() function was not making the correct call to the /upload/image REST API. Removed the confirmUpload function since not needed on a upload since the user has already selected the file they want to upload, pressed "Open", and then pressed the "Upload firmware" button. Resolves openbmc/openbmc#2770 Tested: Uploaded several images to a Witherspoon system. Change-Id: Ia0e0ffba501066f59a4355b8f61595e30aea3f98 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Adding user friendly warning message in sensor pageIftekharul Islam2018-02-203-3/+20
| | | | | | | fixes openbmc/openbmc#2748 Change-Id: I4370be0b921e7ba7ecb16afecf59a7246a0a4224 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* Move to gulp-sass 3.0.0Gunnar Mills2018-02-121-2/+3
| | | | | | | | | | | | | | | | | I have seen the following error on gulp-sass 2.3.2: npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-sass@3.13.1 postinstall: `node scripts/build.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-sass@3.13.1 postinstall script. Googling this appears to be a common problem and the recommendation is to move to gulp-sass 3.0.0 Tested: Running GUI locally Change-Id: If8ae76a0184f9abf16c3c7d71446a5bc7bf5e8be Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Scale critical and warning valuesGunnar Mills2018-02-121-1/+4
| | | | | | | | | | | | The scale value should be applied to the CriticalLow, CriticalHigh, WarningLow, and WarningHigh values. Resolves openbmc/openbmc#2874 Tested: Pointed the local GUI to a Witherspoon system and verfied the correct critical and warning values. Change-Id: I5a04009570e47d2b448f505969585d46b5ffca07 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Warm Reboot should call the host reboot objectGunnar Mills2018-02-122-12/+8
| | | | | | | | | | | | | | | | From https://github.com/openbmc/docs/blob/master/host-management.md: To reboot the host: curl -c cjar -b cjar -k -H "Content-Type: application/json" -X PUT -d '{"data": "xyz.openbmc_project.State.Host.Transition.Reboot"}' https://${bmc}/xyz/openbmc_project/state/host0/attr/RequestedHostTransition Resolves openbmc/openbmc#2797 Tested: Pointed the local GUI to a Witherspoon system and verfied the correct rest call was made and the system warm rebooted. Change-Id: If073ef4447b323777603e886668212bd04791eea Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Have Immediate Shutdown call the chassis objectGunnar Mills2018-02-122-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | "Immediate Shutdown" on the GUI should be a hard power off and differ from the "Orderly shutdown". From https://github.com/openbmc/docs/blob/master/host-management.md: To issue a hard power off (accomplished by powering off the chassis): curl -c cjar -b cjar -k -H "Content-Type: application/json" -X PUT \ -d '{"data": "xyz.openbmc_project.State.Chassis.Transition.Off"}' \ https://${bmc}/xyz/openbmc_project/state/chassis0/attr/RequestedPowerTransition There was already an unused "chassisPowerOff" function, reworked it to call the chassis object. Resolves openbmc/openbmc#2890 Tested: Pointed the local GUI to a Witherspoon system and verfied the correct rest call was made and the system hard powered off. Change-Id: Ibdb712656930a62e34603daa17df0d3116c86d92 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Fixing the logout issue in webuiIftekharul Islam2018-02-121-1/+1
| | | | | | | | | A manual page refresh is required. Avoid the page refresh. fixes openbmc/openbmc#2737 Change-Id: Iaecb70cd3f9d43b730ca606cf3395f7fdb0640f3 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* Turn off the manglerMatt Spinler2018-02-071-1/+4
| | | | | | | | | | | The javascript in this repository isn't currently compatible with the name mangling done by the uglifier plugin (it causes unknown provider errors). This commit can be reverted when it is fixed. Change-Id: I1589e2ba392aec7b321b9816475613215836c47d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add proper favicon handlingEd Tanous2018-02-023-3/+6
| | | | | | | | | | The current repo doesn't seem to produce a favicon, so having the reference to it produces either a 404 error or a 401 error depending on the server. Add a transparent favicon until someone can cobble together a proper one from the openbmc SVG files Change-Id: I5a79be5982e164a8ae0b28a69f673129c0a959ba Signed-off-by: Ed Tanous <ed.tanous@intel.com>
* README: add example usage with OpenBMCLei YU2018-02-011-7/+13
| | | | | | | | | 1. Add nodejs requirement; 2. Remove the out dated content; 3. Add example usage with OpenBMC Change-Id: I66f418ed53ccf28d845416790de8fcca8ff2fe98 Signed-off-by: Lei YU <mine260309@gmail.com>
* Fix to get full BMC IP address / hostnameSivas SRR2018-01-271-2/+2
| | | | | | | Resolves openbmc/openbmc#2648 Change-Id: I5669a3569fff086e30e4c794edfe19f9c17208d8 Signed-off-by: Sivas SRR <sivas.srr@in.ibm.com>
* Remove reference to IBM in phosphor-webuiEd Tanous2017-11-074-23/+6
| | | | | | | | | | | | | | | | As phosphor webui is supposed to be the reference implementation, it should not reference IBM, nor have IBM copywritten logos contained within it. If these are neccesary for IBM platforms, they should be done in a bbappend in the bitbake layer, or in a way that doesn't put copywritten materials on BMCs that may not have permission to use and release it. I'm hoping to generate ddiscussion on how the best way to handle this from a build perspective would be, but for now, references should be to the OpenBmc project, not IBM to avoid copyright issues. Change-Id: I73efda399e967ca4446b8df403e94e14ab24aff8 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
* Modernize web GUI and make it installable on BMCEd Tanous2017-11-0639-254/+622
| | | | | | | | | | | | | | | | | | | 1. Move from gulp server to webpack. This allows the proper compression to allow the webui to be embedded in the BMC. 2. Update js paths to use requires, not hardcoded paths. This was required to make the packaging work correctly. 3. Add babel config to do translation. 4. Update angularjs directive calls to use the angular 1.6 syntax for promises intead of success and fail. https://docs.angularjs.org/guide/migration#migrate1.5to1.6-ng-services-$http 5. As a consequence of using NPM/webpack, the versions of angular and associated modules that were checked in have been updated. Change-Id: Icb71e2eedb0d9a8943fc914f9dc4be11d0983c00 Signed-off-by: Ed Tanous <ed.tanous@intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Updating network settingsIftekharul Islam2017-11-025-41/+172
| | | | | | | Adding display network settings info in network settings page Change-Id: I5ab3b399445b8d2d6422f907dc4c5a477bfc794d Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* Updating login structureIftekharul Islam2017-11-0212-70/+257
| | | | | | | Updated login structure with a field where user can manually add server hostname if it is not populated automatically Change-Id: I147c2c15869131540e327bda26c05b59d78e01d5 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* Updating images and stlesIftekharul Islam2017-11-0237-105/+17395
| | | | | | | Updating images and styles after code merge conflicts Change-Id: I96490926caa41d13e4d625ff67f6a463d7819d34 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* added confirmation modalMichael Davis2017-10-091-2/+4
| | | | | Change-Id: If1bdfd21b34cba5944c1acc69e90ca35ea0189c0 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* fixed label for accessibilityMichael Davis2017-10-091-2/+2
| | | | | Change-Id: I00785d4edad7cf45340ccaadd96783bf748d9f16 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* removed Illustrator generated commentsMichael Davis2017-10-0913-26/+0
| | | | | Change-Id: Ia6eff395e1caca899d5a11da97dff5b697cc38fd Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* fixed package infoMichael Davis2017-10-091-3/+8
| | | | | Change-Id: Ibc25222efa4c5cade92fdb2ed8ab46a57f5d685e Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* alignment fix for sensor readingsMichael Davis2017-10-092-3/+4
| | | | | Change-Id: I6316956206b675b931c4ed88fb237928ab3eeecf Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* network settings modal template addedMichael Davis2017-10-092-0/+60
| | | | | Change-Id: If4612da39126fbfbaaebc915c59b4404092f05e1 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* fixed button icon alignmentMichael Davis2017-10-091-0/+1
| | | | | Change-Id: Ie5bd4342fde5809a9ad793bfedf9079b0758de59 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* added faviconMichael Davis2017-10-094-1/+2
| | | | | Change-Id: I7f70505fd25252223cac121fb74d21bed0e5a5c1 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* fixed cancel button to close add server modalMichael Davis2017-10-091-1/+1
| | | | | Change-Id: Ib507d6e66396e7d5f48bdafc3445ce93f2cbeb7c Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* fix icon alignmentsMichael Davis2017-10-092-1/+4
| | | | | Change-Id: Id4a783d23e18be74048540310523079ec5613e8e Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Header and navigation fixesMichael Davis2017-10-092-8/+4
| | | | | | | | - fixed header slider position - decreased size of main nav buttons based on user feedback Change-Id: I86f6d2c448352c820e843837368c74407c00ec90 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* template changes for multiserverMichael Davis2017-10-093-4/+7
| | | | | Change-Id: I63fe948d18b895d4bf774a02237018df9dccc51a Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* fixed accordion at small screen size and resolved labelMichael Davis2017-10-092-2/+2
| | | | | Change-Id: Ic0d17f91c8a54ce273d985b0ff6d85fb528d8098 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Changing the server name from Quiesced to Standby in header and power ↵Iftekharul Islam2017-10-093-5/+16
| | | | | | | operation page Change-Id: I5a2358fa4783a58d1d6ab73f9901e1f8fa2f54a8 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* Fixed the date range so that it displays the correct events if the range is ↵Iftekharul Islam2017-10-091-4/+11
| | | | | | | set to one day Change-Id: Ic0d575c332482a49e4d781080fa84e172bcb77dc Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* Display order change in sensor overview page based on client feedbackIftekharul Islam2017-10-093-4/+22
| | | | | Change-Id: I0930e94f6ac26c0649b44077768ff32c3a48cb3c Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* changed to Courier New font per visual designer requestMichael Davis2017-10-091-2/+2
| | | | | Change-Id: I54464dc078760402ed553b593c5859e1ca22c864 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* fixed alignment of iconsMichael Davis2017-10-092-2/+2
| | | | | Change-Id: I9d2895170c50c77b1cbf12fcc069492c9764c88a Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* multi server fixes and added login modalMichael Davis2017-10-093-13/+101
| | | | | Change-Id: I1887f3d8e55fc3f48bc4d2ee9ec8fb1935df7130 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* fixed content errorsMichael Davis2017-10-092-5/+5
| | | | | Change-Id: I9bccc9c728bb40925bf4072bb9440b506efb014f Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* changed Quiesced term to Standby based on feedbackMichael Davis2017-10-092-4/+4
| | | | | Change-Id: I8f02249ccdfd0eaddc6c7e566335b706b9542959 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* multi-server changes and prototype additionsMichael Davis2017-10-098-78/+327
| | | | | Change-Id: Icfdf19205bc4123ebd1bea086f01323ec41b4685 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Updating firmware update pages functionalityIftekharul Islam2017-10-096-1/+101
| | | | | Change-Id: Ie82640d47108e8367409d669a7ea72d38598443f Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* Revisiting log status info in header with better styesIftekharul Islam2017-10-097-11/+24
| | | | | Change-Id: I0b2ee399243f0bc3e5ed44bc578a0d153486ed55 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* Add hostname as well as server name in power operations status barIftekharul Islam2017-10-091-1/+1
| | | | | Change-Id: I5eda360b9528eb9f61dd6783f4a73ee37b697d34 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* Updating server health icon in header based on event log statusIftekharul Islam2017-10-099-15/+94
| | | | | Change-Id: Iae10d39428b6ce6a228e775aa68fb7805dd61ecb Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* Serial over lan popup functionality addedIftekharul Islam2017-10-095-3/+14
| | | | | Change-Id: If624d4b1858abea7d15ecc54caf78ae1deb38232 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* Server health icon status on header fixedIftekharul Islam2017-10-0911-19/+89
| | | | | Change-Id: I06100d8ffe9e26129585ca9476fa7097ef34a6b4 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* moved code from index-controller to multi-server-controllerMichael Davis2017-10-097-187/+153
| | | | | Change-Id: Id97de89d646bc0c980fd4f0849109047906383e1 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* changed modal behavior to animate/slide in from topand fixed overlay to fade ↵Michael Davis2017-10-091-7/+9
| | | | | | | in/out. Change-Id: I9942715f424b0e79196916551d161ccdbf94b7bf Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
OpenPOWER on IntegriCloud