<feed xmlns='http://www.w3.org/2005/Atom'>
<title>phosphor-webui/app/index.html, branch master</title>
<subtitle>OpenBMC Phosphor WebUI sources</subtitle>
<id>https://git.raptorcs.com/git/phosphor-webui/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/phosphor-webui/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-webui/'/>
<updated>2019-10-23T20:41:42+00:00</updated>
<entry>
<title>Remove CSP protections from HTML</title>
<updated>2019-10-23T20:41:42+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>ed.tanous@intel.com</email>
</author>
<published>2019-10-23T20:41:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-webui/commit/?id=f6387628d22b525c20a16e4b928ceece0e03c92b'/>
<id>urn:sha1:f6387628d22b525c20a16e4b928ceece0e03c92b</id>
<content type='text'>
When I originally wrote CSP into the webui files, I intended to drop it
into the HTML file so it could be removed from bmcweb.  Unfortunately,
that plan doesn't fly, as the CSP headers in bmcweb need to remain for
non-html files.

This normally wouldn't matter, but a number of people utilize
BMCWEB_INSECURE_DISABLE_XSS_PREVENTION to run the webui locally and
debug a new webui patch from a working BMC.  This causes the CSP headers
to conflict, and the browser to fail with a CSP error on connect-src
when debugging locally.

Removing the CSP section entirely from the webui resolves this, and
doesn't change functionality at all, as it's still covered in bmcweb.

Tested:  Will verify on a real platform.

Verified that building the webui locally with the above bmcweb flag
allows the webui to launch correctly.

Signed-off-by: Ed Tanous &lt;ed.tanous@intel.com&gt;
Change-Id: I60e5011361ec3ce1930249a20cf34480beb48a7f
</content>
</entry>
<entry>
<title>Remove unused errors.html</title>
<updated>2019-05-23T17:11:40+00:00</updated>
<author>
<name>Gunnar Mills</name>
<email>gmills@us.ibm.com</email>
</author>
<published>2019-05-23T16:45:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-webui/commit/?id=7920baeb036d499203d8b59516a2355eab9aba79'/>
<id>urn:sha1:7920baeb036d499203d8b59516a2355eab9aba79</id>
<content type='text'>
Also removed errorModalDetails and displayErrorModal from
dataService since they are no longer used.

errors.html was only active when displayErrorModal was true.
displayErrorModal was only true when activateErrorModal was
called.

activateErrorModal was removed in a previous
commit. activateErrorModal's only use was removed here:
https://github.com/openbmc/phosphor-webui/commit/a38a287ccaa97eddc9df7333e33357b14772d4c6#diff-65affd2488457363c5b9e9266258c3b8

Tested: Searched the repo. Built an image and loaded onto a
        Witherspoon. No regressions observed.

Change-Id: I96e26dd3817d7b02bbce74b4cc093b75dab669ed
Signed-off-by: Gunnar Mills &lt;gmills@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Add toast notifications to SNMP page</title>
<updated>2019-01-15T15:22:20+00:00</updated>
<author>
<name>beccabroek</name>
<email>beccabroek@gmail.com</email>
</author>
<published>2018-12-14T23:19:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-webui/commit/?id=a30394b79c414a7f470bd89a333e892ccb3d2340'/>
<id>urn:sha1:a30394b79c414a7f470bd89a333e892ccb3d2340</id>
<content type='text'>
Design team proposed that our error and success messages be
delivered as 'toast' messages on the right side of the screen.
This brings in ngToast and implements notifications on SNMP page.
Notifications will fade after 10 seconds or can be dismissed.

https://github.com/tameraydin/ngToast

Change-Id: I1053534cd1ab189ae5c2ac07e2a922acea231c70
Signed-off-by: beccabroek &lt;beccabroek@gmail.com&gt;
</content>
</entry>
<entry>
<title>Enable strict content security policy</title>
<updated>2018-12-22T17:36:03+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>ed.tanous@intel.com</email>
</author>
<published>2018-12-20T01:59:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-webui/commit/?id=0f2f981e3218a57f89995aa6cb6b684b2ec0ba8f'/>
<id>urn:sha1:0f2f981e3218a57f89995aa6cb6b684b2ec0ba8f</id>
<content type='text'>
Webpack allows us to define a content security policy that utilizes
hashes to define what is, and isn't allowed to execute in the page
context.  Because we're a single page application, this means that we
can effectively defend the whole page with a few extra lines of setup.

This does not utilitize _any_ of the unsafe-* calls that content
security policy has, which should meet security standards for all uses.

Tested By:
Launched GUI, observed no functional changes, and watched console for
CSP errors.  Saw none.

Change-Id: I892df1f1b004384943be0ae6e51046054991fd45
Signed-off-by: Ed Tanous &lt;ed.tanous@intel.com&gt;
</content>
</entry>
<entry>
<title>webui: enable ngCSP</title>
<updated>2018-12-22T17:34:04+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>ed.tanous@intel.com</email>
</author>
<published>2018-12-20T01:59:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-webui/commit/?id=11adec7e71dc62952a573a2201e7284c440f396b'/>
<id>urn:sha1:11adec7e71dc62952a573a2201e7284c440f396b</id>
<content type='text'>
ngCSP allows angular to avoid using inline style and unsafe eval
mechanisms.  Enabling this will allow us to update to a more stringent
content-security policy.

for more details, see documentation here:
https://docs.angularjs.org/api/ng/directive/ngCsp

Tested by:
Launching the GUI, and saw no ill effects.

Change-Id: I4db732e997c2901d1fe57eee99607007b5e3afec
Signed-off-by: Ed Tanous &lt;ed.tanous@intel.com&gt;
</content>
</entry>
<entry>
<title>Rename title "OpenBMC"</title>
<updated>2018-04-28T20:35:50+00:00</updated>
<author>
<name>Gunnar Mills</name>
<email>gmills@us.ibm.com</email>
</author>
<published>2018-04-28T20:31:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-webui/commit/?id=cb97dad62130f55eb21bd6a9e21de9de0ff80160'/>
<id>urn:sha1:cb97dad62130f55eb21bd6a9e21de9de0ff80160</id>
<content type='text'>
This is the name that appears in the browser tab.
Fixed OpenBMC capitalization and removed "app".
This conforms to other websites (e.g. the browser tab for riot.im
is "Riot". For google.com it is "Google").

Change-Id: Ibd64ccd37d9f4b1fbea42c398e57abfad6efe357
Signed-off-by: Gunnar Mills &lt;gmills@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Add fixes for cold reboot</title>
<updated>2018-04-19T21:17:38+00:00</updated>
<author>
<name>Iftekharul Islam</name>
<email>iffy.ryan@ibm.com</email>
</author>
<published>2018-02-26T18:29:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-webui/commit/?id=a1d238f3a53db2ec3cc4c2fd52fe78738b37968b'/>
<id>urn:sha1:a1d238f3a53db2ec3cc4c2fd52fe78738b37968b</id>
<content type='text'>
This fixes the cold reboot issue with the following steps

- It applies the command to shut off the chassis.
- Then verify the chassis is off. It checks for every 5 seconds.
  During this time the spinner displays. A 5min timeout has been
  added.
- Once the chassis is off, it turns on the host.

fixes openbmc/openbmc#2795

Change-Id: I119a1c95e57c10ccee27be1512a1fc38cde307fa
Signed-off-by: Iftekharul Islam &lt;iffy.ryan@ibm.com&gt;
Signed-off-by: CamVan Nguyen &lt;ctnguyen@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Add proper favicon handling</title>
<updated>2018-02-02T20:14:40+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>ed.tanous@intel.com</email>
</author>
<published>2018-02-02T19:02:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-webui/commit/?id=3b3ab8af26dddc1229920e93ebb741ab6230fcc5'/>
<id>urn:sha1:3b3ab8af26dddc1229920e93ebb741ab6230fcc5</id>
<content type='text'>
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 &lt;ed.tanous@intel.com&gt;
</content>
</entry>
<entry>
<title>Modernize web GUI and make it installable on BMC</title>
<updated>2017-11-07T00:25:49+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>ed.tanous@intel.com</email>
</author>
<published>2017-10-06T20:53:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-webui/commit/?id=bbcf670a1c8c7463556eb006bc8f6bbfe29af3e4'/>
<id>urn:sha1:bbcf670a1c8c7463556eb006bc8f6bbfe29af3e4</id>
<content type='text'>
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 &lt;ed.tanous@intel.com&gt;
Signed-off-by: Brad Bishop &lt;bradleyb@fuzziesquirrel.com&gt;
</content>
</entry>
<entry>
<title>Updating images and stles</title>
<updated>2017-11-02T18:16:17+00:00</updated>
<author>
<name>Iftekharul Islam</name>
<email>iffy.ryan@ibm.com</email>
</author>
<published>2017-11-02T18:16:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-webui/commit/?id=db28a387c218b82ff70766359f4a521c713ab274'/>
<id>urn:sha1:db28a387c218b82ff70766359f4a521c713ab274</id>
<content type='text'>
Updating images and styles after code merge conflicts

Change-Id: I96490926caa41d13e4d625ff67f6a463d7819d34
Signed-off-by: Iftekharul Islam &lt;iffy.ryan@ibm.com&gt;
</content>
</entry>
</feed>
