-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #886 from sjd78/1.4_ie11
(backport to 1.4) Add additional IE11 support to load the App, Edge support to download console.vv files
- Loading branch information
Showing
15 changed files
with
113 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,8 @@ | ||
// NOTE: These polyfills are most likely unnecessary for our supported browsers. If verified, | ||
// they may be removed and save the space in the bundle. | ||
|
||
// TODO: Verify if these polyfills are still necessary. | ||
|
||
if (typeof Promise === 'undefined') { | ||
// Rejection tracking prevents a common issue where React gets into an | ||
// inconsistent state due to an error, but it gets swallowed by a Promise, | ||
// and the user has no idea what causes React's erratic future behavior. | ||
require('promise/lib/rejection-tracking').enable() | ||
window.Promise = require('promise/lib/es6-extensions.js') | ||
} | ||
|
||
// fetch() polyfill for making API calls. | ||
require('whatwg-fetch') | ||
|
||
// Object.assign() is commonly used with React. | ||
// It will use the native implementation if it's present and isn't buggy. | ||
Object.assign = require('object-assign') | ||
// Babel-polyfills for using Array.prototype.includes, Object.assign and Promise | ||
require('babel-polyfill') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
# Used for rpm-packaging of pre-bundled application with already resolved JS dependencies | ||
%global _ovirtwebuidir %{_datarootdir}/ovirt-web-ui | ||
%global _ovirt_engine_conf %{_datarootdir}/ovirt-engine/services/ovirt-engine/ovirt-engine.conf | ||
%global _ovirt_engine_ear_application_xml %{_datarootdir}/ovirt-engine/engine.ear/META-INF/application.xml | ||
%global product oVirt | ||
|
||
%global use_rhev %( test -z @RHEV@ && echo 1 || echo 0) | ||
|
@@ -23,10 +20,10 @@ BuildArch: noarch | |
BuildRequires: ovirt-engine-nodejs >= 8.0.0 | ||
BuildRequires: ovirt-engine-yarn >= 1.7.0 | ||
|
||
BuildRequires: ovirt-engine-nodejs-modules >= 1.5.7 | ||
BuildRequires: ovirt-engine-nodejs-modules >= 1.8.2 | ||
|
||
%description | ||
This package provides new VM Portal for %{product}, so far as technical preview. | ||
This package provides the VM Portal for %{product}. | ||
|
||
%prep | ||
# Use the ovirt-engine nodejs installation | ||
|
@@ -51,7 +48,7 @@ make install DESTDIR=%{buildroot} | |
%files | ||
%doc README.md | ||
%license LICENSE | ||
%{_ovirtwebuidir} | ||
%{_datarootdir}/ovirt-web-ui | ||
%{_datarootdir}/ovirt-engine/ovirt-web-ui.war | ||
%{_sysconfdir}/ovirt-engine/engine.conf.d/50-ovirt-web-ui.conf | ||
%{_sysconfdir}/ovirt-web-ui/branding/00-ovirt.brand | ||
|
@@ -65,7 +62,7 @@ make install DESTDIR=%{buildroot} | |
- Fix use of VmNics in VmDetail such that Nic operations work again [BZ1631149](https://bugzilla.redhat.com/show_bug.cgi?id=1631149) | ||
- implement ErrorBoundary to prevent white screen crash [#729](https://github.com/oVirt/ovirt-web-ui/issues/729) | ||
|
||
* Wed Sep 5 2018 Greg Sheremeta <[email protected]> - 1.4.3-1 | ||
* Tue Sep 5 2018 Greg Sheremeta <[email protected]> - 1.4.3-1 | ||
Fixed issues: | ||
- ux-redesign: make old Normal View the default when clicking a VM [#751](https://github.com/oVirt/ovirt-web-ui/issues/751) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{{#if htmlWebpackPlugin.options.jspSSO}} | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | ||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> | ||
{{/if}} | ||
|
||
<!-- App container page --> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta http-equiv="Access-Control-Allow-Origin" content="*"> | ||
<title>VM Portal</title> | ||
|
||
{{#if htmlWebpackPlugin.options.jspSSO}} | ||
<!-- In prod mode, JSP code will inject SSO tokens on the server side. --> | ||
<script type="text/javascript"> | ||
<c:if test="${sessionScope['userInfo'] != null}"> | ||
var userInfo = { | ||
<c:forEach items="${sessionScope['userInfo']}" var="entry" varStatus="loop"> | ||
"${entry.key}": "${entry.value}"${loop.last ? '' : ','} | ||
</c:forEach> | ||
}; | ||
</c:if> | ||
</script> | ||
{{else}} | ||
<!-- In dev mode, webpack will inject SSO tokens to the js bundle. --> | ||
{{/if}} | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
</body> | ||
</html> |
Oops, something went wrong.