Skip to content

Commit

Permalink
snapshot of OIE for LEA customers
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCowan-okta committed Jul 9, 2021
1 parent 6d3ce30 commit d23b819
Show file tree
Hide file tree
Showing 920 changed files with 231,960 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added oie-r1/Content/Resources/Images/assign-all-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added oie-r1/Content/Resources/Images/assign_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added oie-r1/Content/Resources/Images/beyondtrust11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added oie-r1/Content/Resources/Images/beyondtrust7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added oie-r1/Content/Resources/Images/beyondtrust8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added oie-r1/Content/Resources/Images/checkpoint1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added oie-r1/Content/Resources/Images/checkpoint10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added oie-r1/Content/Resources/Images/checkpoint11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added oie-r1/Content/Resources/Images/checkpoint12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added oie-r1/Content/Resources/Images/checkpoint13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added oie-r1/Content/Resources/Images/checkpoint14.png
Binary file added oie-r1/Content/Resources/Images/checkpoint15.png
Binary file added oie-r1/Content/Resources/Images/checkpoint16.png
Binary file added oie-r1/Content/Resources/Images/checkpoint17.png
Binary file added oie-r1/Content/Resources/Images/checkpoint18.png
Binary file added oie-r1/Content/Resources/Images/checkpoint19.png
Binary file added oie-r1/Content/Resources/Images/checkpoint2.png
Binary file added oie-r1/Content/Resources/Images/checkpoint20.png
Binary file added oie-r1/Content/Resources/Images/checkpoint21.png
Binary file added oie-r1/Content/Resources/Images/checkpoint22.png
Binary file added oie-r1/Content/Resources/Images/checkpoint3.png
Binary file added oie-r1/Content/Resources/Images/checkpoint4.png
Binary file added oie-r1/Content/Resources/Images/checkpoint5.png
Binary file added oie-r1/Content/Resources/Images/checkpoint7.png
Binary file added oie-r1/Content/Resources/Images/checkpoint8.png
Binary file added oie-r1/Content/Resources/Images/checkpoint9.png
Binary file added oie-r1/Content/Resources/Images/cisco_10.png
Binary file added oie-r1/Content/Resources/Images/cisco_10a.png
Binary file added oie-r1/Content/Resources/Images/cisco_10b.png
Binary file added oie-r1/Content/Resources/Images/cisco_12.png
Binary file added oie-r1/Content/Resources/Images/cisco_14.png
Binary file added oie-r1/Content/Resources/Images/cisco_15.png
Binary file added oie-r1/Content/Resources/Images/cisco_16.png
Binary file added oie-r1/Content/Resources/Images/cisco_18a.png
Binary file added oie-r1/Content/Resources/Images/cisco_18b.png
Binary file added oie-r1/Content/Resources/Images/cisco_18c.png
Binary file added oie-r1/Content/Resources/Images/cisco_18d.png
Binary file added oie-r1/Content/Resources/Images/cisco_19.OIE.png
Binary file added oie-r1/Content/Resources/Images/cisco_19.png
Binary file added oie-r1/Content/Resources/Images/cisco_19b.png
Binary file added oie-r1/Content/Resources/Images/cisco_4.png
Binary file added oie-r1/Content/Resources/Images/cisco_5.png
Binary file added oie-r1/Content/Resources/Images/cisco_6.png
Binary file added oie-r1/Content/Resources/Images/cisco_7.png
Binary file added oie-r1/Content/Resources/Images/cisco_8.png
Binary file added oie-r1/Content/Resources/Images/cisco_8b.png
Binary file added oie-r1/Content/Resources/Images/cisco_8c.png
Binary file added oie-r1/Content/Resources/Images/cisco_9.png
Binary file added oie-r1/Content/Resources/Images/cisco_9d.png
Binary file added oie-r1/Content/Resources/Images/f5_10.png
Binary file added oie-r1/Content/Resources/Images/f5_11.png
Binary file added oie-r1/Content/Resources/Images/f5_12.png
Binary file added oie-r1/Content/Resources/Images/f5_14.png
Binary file added oie-r1/Content/Resources/Images/f5_15.png
Binary file added oie-r1/Content/Resources/Images/f5_16.OIE.png
Binary file added oie-r1/Content/Resources/Images/f5_16.png
Binary file added oie-r1/Content/Resources/Images/f5_17.png
Binary file added oie-r1/Content/Resources/Images/f5_3.png
Binary file added oie-r1/Content/Resources/Images/f5_4.png
Binary file added oie-r1/Content/Resources/Images/f5_5.png
Binary file added oie-r1/Content/Resources/Images/f5_6.png
Binary file added oie-r1/Content/Resources/Images/f5_6b.png
Binary file added oie-r1/Content/Resources/Images/f5_7.png
Binary file added oie-r1/Content/Resources/Images/f5_9.png
Binary file added oie-r1/Content/Resources/Images/favicon.ico
Binary file not shown.
Binary file added oie-r1/Content/Resources/Images/netscaler-1.png
Binary file added oie-r1/Content/Resources/Images/netscaler-2.png
Binary file added oie-r1/Content/Resources/Images/netscaler-3.png
Binary file added oie-r1/Content/Resources/Images/netscaler-5.png
Binary file added oie-r1/Content/Resources/Images/netscaler-6.png
Binary file added oie-r1/Content/Resources/Images/netscaler-7.png
Binary file added oie-r1/Content/Resources/Images/netscaler-8.png
Binary file added oie-r1/Content/Resources/Images/netscaler-9.png
4 changes: 4 additions & 0 deletions oie-r1/Content/Resources/Images/okta-assets/cross-icon.svg
7 changes: 7 additions & 0 deletions oie-r1/Content/Resources/Images/okta-assets/nav-collapse.svg
6 changes: 6 additions & 0 deletions oie-r1/Content/Resources/Images/okta-assets/nav-expand.svg
4 changes: 4 additions & 0 deletions oie-r1/Content/Resources/Images/okta-assets/nav-next.svg
4 changes: 4 additions & 0 deletions oie-r1/Content/Resources/Images/okta-assets/nav-prev.svg
4 changes: 4 additions & 0 deletions oie-r1/Content/Resources/Images/okta-assets/search-icon.svg
Binary file added oie-r1/Content/Resources/Images/pulse_10.png
Binary file added oie-r1/Content/Resources/Images/pulse_11.png
Binary file added oie-r1/Content/Resources/Images/pulse_12.png
Binary file added oie-r1/Content/Resources/Images/pulse_14.png
Binary file added oie-r1/Content/Resources/Images/pulse_3.png
Binary file added oie-r1/Content/Resources/Images/pulse_4.png
Binary file added oie-r1/Content/Resources/Images/pulse_5.png
Binary file added oie-r1/Content/Resources/Images/pulse_6.png
Binary file added oie-r1/Content/Resources/Images/pulse_7.png
Binary file added oie-r1/Content/Resources/Images/pulse_8.png
Binary file added oie-r1/Content/Resources/Images/pulse_9.png
Binary file added oie-r1/Content/Resources/Images/remove_icon.png
Binary file added oie-r1/Content/Resources/Images/sophos_10.png
Binary file added oie-r1/Content/Resources/Images/sophos_11.png
Binary file added oie-r1/Content/Resources/Images/sophos_12.png
Binary file added oie-r1/Content/Resources/Images/sophos_14.png
Binary file added oie-r1/Content/Resources/Images/sophos_15.png
Binary file added oie-r1/Content/Resources/Images/sophos_4.png
Binary file added oie-r1/Content/Resources/Images/sophos_5.png
Binary file added oie-r1/Content/Resources/Images/sophos_8.png

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/* Coveo integration for MadcapFlare environment @ Okta */
document.addEventListener('readyToInitCoveo', function () {
var getMadcapFlareVariable = function (id) {
var content = '';
var wrapper = document.getElementById(id);
if (wrapper) {
content = wrapper.firstChild.textContent || '';
}
return content;
};
var coveo_org_id = getMadcapFlareVariable('coveo_org_id');
var coveo_rest_uri = getMadcapFlareVariable('coveo_rest_uri');
var coveo_search_url = getMadcapFlareVariable('coveo_search_url');
var coveo_token_url = getMadcapFlareVariable('coveo_token_url');
var tokenPromise = new Promise(function (resolve, reject) {
var MS_IN_A_DAY = 1000 * 60 * 60 * 24;
var tokenObj = JSON.parse(localStorage.getItem("CoveoSearchToken"));
var renewTokenNeeded = true;
if (tokenObj) {
var difference = new Date().getTime() - tokenObj.timestamp;
var daysDifference = Math.floor(difference / MS_IN_A_DAY);
renewTokenNeeded = daysDifference > 0;
}
if (!renewTokenNeeded) {
resolve(tokenObj.value);
}
else {
Coveo.HttpUtils.get(coveo_token_url, function (response) {
/* Code update below from Nate MacInnes for using search sandbox in review builds */
/* var newTokenObj = { value: JSON.parse(response), timestamp: new Date().getTime() }
localStorage.setItem("CoveoSearchToken", JSON.stringify(newTokenObj));
resolve(newTokenObj.value); */
var parsedResponse = JSON.parse(response);
var token = parsedResponse.token ? parsedResponse.token : parsedResponse;
var newTokenObj = { value: token, timestamp: new Date().getTime() };
localStorage.setItem("CoveoSearchToken", JSON.stringify(newTokenObj));
resolve(newTokenObj.value);
});
}
});
tokenPromise.then(function (token) {
console.log('token >>>>> ' + token);
Coveo.SearchEndpoint.configureCloudV2Endpoint(coveo_org_id, token, coveo_rest_uri);
var searchboxRoot = document.getElementById('standaloneSearchbox');
var customSelectObj = new Coveo.CustomSelect(document.getElementById('customSelect'), {
field: '@commoncontenttype',
defaultOption: 'Documentation',
customSort: Coveo.OktaCusto.CONTENT_TYPE_CUSTOM_SORT
});
Coveo.$$(searchboxRoot).on(Coveo.StandaloneSearchInterfaceEvents.beforeRedirect, function (e, args) {
args.searchPageUri = args.searchPageUri + "?sbOption=" + customSelectObj.getSelectedOption();
});
Coveo.configureResourceRoot('https://static.cloud.coveo.com/searchui/v2.5395/js/');
Coveo.initSearchbox(searchboxRoot, coveo_search_url, {
Searchbox: {
placeholder: 'Search our content'
}
});
});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
requirejs.config({
enforceDefine: true,
waitSeconds: 0
});
(function (r, e, a, d, y) { r[a] = r[a] || function () { d = new Event(a); e.dispatchEvent(d); }; })(window, document, 'readyToInitCoveo');
require(['Coveo__temporary'], function (Coveo) {
// Coveo Framework is loaded now, safe to do other require calls
// that depend on that config.
var requireScript = document.getElementById('coveoRequireScript');
var resourceUri = requireScript ? requireScript.getAttribute('src') : '';
if (resourceUri) {
var uriParts = resourceUri.split('/');
uriParts.pop();
uriParts.push('Coveo.Okta.js');
require([uriParts.join('/')], function (Custo) {
window['Coveo'] = Coveo._.extend({}, Coveo, Custo);
readyToInitCoveo();
});
}
});
12 changes: 12 additions & 0 deletions oie-r1/Content/Resources/Scripts/coveo-resources/js/cultures/en.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
String.toLocaleString({
'en': {
'ShowingResultsOf': 'Result<pl>s</pl> {0}<pl>-{1}</pl> of about {2}',
'RemoveContext': 'Remove Case Filters',
'GoToFullSearch': 'Full Search Page',
'NoCaseContext': 'Context Search is disabled',
'CustomFullSearchButton': 'Go to Full Search',
'Okta_NeedHelp': 'Need Help with Okta\'s API',
'Okta_VisitOur': 'Visit our ',
'status':'answers'
}
});
Loading

0 comments on commit d23b819

Please sign in to comment.