Changed Algolia public API Key
This commit is contained in:
@@ -447,7 +447,7 @@ func checkGitProxy(cloneOptions *git.CloneOptions) *git.CloneOptions {
|
|||||||
func createNewUser(username, password, role, apikey string, org shuffle.OrgMini) error {
|
func createNewUser(username, password, role, apikey string, org shuffle.OrgMini) error {
|
||||||
// Returns false if there is an issue
|
// Returns false if there is an issue
|
||||||
// Use this for register
|
// Use this for register
|
||||||
err := shuffle.CheckPasswordStrength(password)
|
err := shuffle.CheckPasswordStrength(username, password)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("[WARNING] Bad password strength: %s", err)
|
log.Printf("[WARNING] Bad password strength: %s", err)
|
||||||
return err
|
return err
|
||||||
@@ -460,8 +460,6 @@ func createNewUser(username, password, role, apikey string, org shuffle.OrgMini)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
//users, err := FindUser(ctx context.Context, username string) ([]User, error) {
|
|
||||||
|
|
||||||
users, err := shuffle.FindUser(ctx, strings.ToLower(strings.TrimSpace(username)))
|
users, err := shuffle.FindUser(ctx, strings.ToLower(strings.TrimSpace(username)))
|
||||||
if err != nil && len(users) == 0 {
|
if err != nil && len(users) == 0 {
|
||||||
log.Printf("[WARNING] Failed getting user %s: %s", username, err)
|
log.Printf("[WARNING] Failed getting user %s: %s", username, err)
|
||||||
@@ -486,7 +484,6 @@ func createNewUser(username, password, role, apikey string, org shuffle.OrgMini)
|
|||||||
newUser.Active = true
|
newUser.Active = true
|
||||||
newUser.Orgs = []string{org.Id}
|
newUser.Orgs = []string{org.Id}
|
||||||
|
|
||||||
// FIXME - Remove this later
|
|
||||||
if role == "admin" {
|
if role == "admin" {
|
||||||
newUser.Role = "admin"
|
newUser.Role = "admin"
|
||||||
newUser.Roles = []string{"admin"}
|
newUser.Roles = []string{"admin"}
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ import { Context } from '../context/ContextApi.jsx';
|
|||||||
|
|
||||||
const searchClient = algoliasearch(
|
const searchClient = algoliasearch(
|
||||||
"JNSS5CFDZZ",
|
"JNSS5CFDZZ",
|
||||||
"db08e40265e2941b9a7d8f644b6e5240"
|
"c8f882473ff42d41158430be09ec2b4e"
|
||||||
)
|
)
|
||||||
|
|
||||||
const AppAuthTab = memo((props) => {
|
const AppAuthTab = memo((props) => {
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ import {
|
|||||||
|
|
||||||
const searchClient = algoliasearch(
|
const searchClient = algoliasearch(
|
||||||
"JNSS5CFDZZ",
|
"JNSS5CFDZZ",
|
||||||
"db08e40265e2941b9a7d8f644b6e5240"
|
"c8f882473ff42d41158430be09ec2b4e"
|
||||||
);
|
);
|
||||||
//const searchClient = algoliasearch("L55H18ZINA", "a19be455e7e75ee8f20a93d26b9fc6d6")
|
//const searchClient = algoliasearch("L55H18ZINA", "a19be455e7e75ee8f20a93d26b9fc6d6")
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ import { Context } from '../context/ContextApi.jsx';
|
|||||||
|
|
||||||
const searchClient = algoliasearch(
|
const searchClient = algoliasearch(
|
||||||
"JNSS5CFDZZ",
|
"JNSS5CFDZZ",
|
||||||
"db08e40265e2941b9a7d8f644b6e5240"
|
"c8f882473ff42d41158430be09ec2b4e"
|
||||||
);;
|
);;
|
||||||
|
|
||||||
const AppModal = ({ open, onClose, app, globalUrl, getApps}) => {
|
const AppModal = ({ open, onClose, app, globalUrl, getApps}) => {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import {
|
|||||||
InputAdornment,
|
InputAdornment,
|
||||||
Typography,
|
Typography,
|
||||||
} from '@mui/material';
|
} from '@mui/material';
|
||||||
const searchClient = algoliasearch("JNSS5CFDZZ", "db08e40265e2941b9a7d8f644b6e5240")
|
const searchClient = algoliasearch("JNSS5CFDZZ", "c8f882473ff42d41158430be09ec2b4e")
|
||||||
const Appsearch = props => {
|
const Appsearch = props => {
|
||||||
const { maxRows, showName, showSuggestion, isMobile, globalUrl, parsedXs, newSelectedApp, setNewSelectedApp, defaultSearch, showSearch, ConfiguredHits, userdata, cy, isCreatorPage, actionImageList, setActionImageList, setUserSpecialzedApp, placeholder,
|
const { maxRows, showName, showSuggestion, isMobile, globalUrl, parsedXs, newSelectedApp, setNewSelectedApp, defaultSearch, showSearch, ConfiguredHits, userdata, cy, isCreatorPage, actionImageList, setActionImageList, setUserSpecialzedApp, placeholder,
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import {
|
|||||||
} from '@mui/material';
|
} from '@mui/material';
|
||||||
|
|
||||||
import aa from 'search-insights'
|
import aa from 'search-insights'
|
||||||
const searchClient = algoliasearch("JNSS5CFDZZ", "db08e40265e2941b9a7d8f644b6e5240")
|
const searchClient = algoliasearch("JNSS5CFDZZ", "c8f882473ff42d41158430be09ec2b4e")
|
||||||
const Appsearch = props => {
|
const Appsearch = props => {
|
||||||
const { maxRows, showName, showSuggestion, isMobile, globalUrl, parsedXs, newSelectedApp, setNewSelectedApp, defaultSearch, showSearch, ConfiguredHits, userdata, cy, isCreatorPage, actionImageList, setActionImageList, setUserSpecialzedApp } = props
|
const { maxRows, showName, showSuggestion, isMobile, globalUrl, parsedXs, newSelectedApp, setNewSelectedApp, defaultSearch, showSearch, ConfiguredHits, userdata, cy, isCreatorPage, actionImageList, setActionImageList, setUserSpecialzedApp } = props
|
||||||
const { themeMode } = useContext(Context)
|
const { themeMode } = useContext(Context)
|
||||||
|
|||||||
@@ -52,11 +52,13 @@ import {
|
|||||||
|
|
||||||
//import { useAlert
|
//import { useAlert
|
||||||
import { typecost, typecost_single, } from "../views/HandlePaymentNew.jsx";
|
import { typecost, typecost_single, } from "../views/HandlePaymentNew.jsx";
|
||||||
import BillingStats from "./BillingStats.jsx";
|
import BillingStats from "../components/BillingStats.jsx";
|
||||||
|
import LicencePopup from "../components/LicencePopup.jsx";
|
||||||
import { handlePayasyougo } from "../views/HandlePaymentNew.jsx"
|
import { handlePayasyougo } from "../views/HandlePaymentNew.jsx"
|
||||||
import DeleteIcon from '@mui/icons-material/Delete';
|
|
||||||
import { Context } from "../context/ContextApi.jsx";
|
import { Context } from "../context/ContextApi.jsx";
|
||||||
import LicencePopup from "./LicencePopup.jsx";
|
|
||||||
|
import DeleteIcon from '@mui/icons-material/Delete';
|
||||||
import { DataGrid } from "@mui/x-data-grid";
|
import { DataGrid } from "@mui/x-data-grid";
|
||||||
|
|
||||||
const Billing = memo((props) => {
|
const Billing = memo((props) => {
|
||||||
|
|||||||
@@ -48,15 +48,21 @@ const CloudSyncTab = (props) => {
|
|||||||
const [, forceUpdate] = React.useState();
|
const [, forceUpdate] = React.useState();
|
||||||
const itemColor = "white";
|
const itemColor = "white";
|
||||||
const isCloud = window?.location?.host === "localhost:3002" || window?.location?.host === "shuffler.io";
|
const isCloud = window?.location?.host === "localhost:3002" || window?.location?.host === "shuffler.io";
|
||||||
|
|
||||||
const { themeMode, brandColor } = useContext(Context);
|
const { themeMode, brandColor } = useContext(Context);
|
||||||
const theme = getTheme(themeMode, brandColor);
|
const theme = getTheme(themeMode, brandColor);
|
||||||
|
|
||||||
useEffect(() => { getSettings(); }, []);
|
useEffect(() => { getSettings(); }, []);
|
||||||
|
|
||||||
const GridItem = (props) => {
|
const GridItem = (props) => {
|
||||||
const [expanded, setExpanded] = React.useState(false);
|
const [expanded, setExpanded] = React.useState(false);
|
||||||
const [showEdit, setShowEdit] = React.useState(false);
|
const [showEdit, setShowEdit] = React.useState(false);
|
||||||
const [newValue, setNewValue] = React.useState(-100);
|
const [newValue, setNewValue] = React.useState(-100);
|
||||||
|
|
||||||
const primary = props.data.primary;
|
var primary = props.data.primary
|
||||||
|
|
||||||
|
const shownName = props.data.newname !== undefined && props.data.newname !== null && props.data.newname !== primary ? props.data.newname : primary
|
||||||
|
|
||||||
const secondary = props.data.secondary;
|
const secondary = props.data.secondary;
|
||||||
const primaryIcon = props.data.icon;
|
const primaryIcon = props.data.icon;
|
||||||
const secondaryIcon = props.data.active ?
|
const secondaryIcon = props.data.active ?
|
||||||
@@ -191,7 +197,7 @@ const CloudSyncTab = (props) => {
|
|||||||
</ListItemAvatar>
|
</ListItemAvatar>
|
||||||
<ListItemText
|
<ListItemText
|
||||||
style={{ textTransform: "capitalize", color: theme.palette.text.primary, fontSize: 14, fontWeight: 400, }}
|
style={{ textTransform: "capitalize", color: theme.palette.text.primary, fontSize: 14, fontWeight: 400, }}
|
||||||
primary={primary}
|
primary={shownName}
|
||||||
/>
|
/>
|
||||||
{isCloud && userdata.support === true ?
|
{isCloud && userdata.support === true ?
|
||||||
<Tooltip title="Edit features (support users only)">
|
<Tooltip title="Edit features (support users only)">
|
||||||
@@ -717,7 +723,9 @@ const CloudSyncTab = (props) => {
|
|||||||
{selectedOrganization.sync_features === undefined ||
|
{selectedOrganization.sync_features === undefined ||
|
||||||
selectedOrganization.sync_features === null
|
selectedOrganization.sync_features === null
|
||||||
? <Grid container spacing={2} justifyContent="center">
|
? <Grid container spacing={2} justifyContent="center">
|
||||||
|
|
||||||
{[...Array(18)].map((_, i) => (
|
{[...Array(18)].map((_, i) => (
|
||||||
|
|
||||||
<Grid item xs={12} sm={6} md={4} key={i}>
|
<Grid item xs={12} sm={6} md={4} key={i}>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
@@ -756,6 +764,13 @@ const CloudSyncTab = (props) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const newkey = key.replaceAll("_", " ");
|
const newkey = key.replaceAll("_", " ");
|
||||||
|
|
||||||
|
// Rewrites to frontend names
|
||||||
|
var newname = newkey
|
||||||
|
if (newkey === "app executions") {
|
||||||
|
newname = "app runs"
|
||||||
|
}
|
||||||
|
|
||||||
const griditem = {
|
const griditem = {
|
||||||
primary: newkey,
|
primary: newkey,
|
||||||
secondary:
|
secondary:
|
||||||
@@ -770,6 +785,8 @@ const CloudSyncTab = (props) => {
|
|||||||
data_collection: "None",
|
data_collection: "None",
|
||||||
active: item.active,
|
active: item.active,
|
||||||
icon: <PolylineIcon style={{ color: "#1a1a1a" }} />,
|
icon: <PolylineIcon style={{ color: "#1a1a1a" }} />,
|
||||||
|
|
||||||
|
newname: newname,
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -633,7 +633,7 @@ const ConfigureWorkflow = (props) => {
|
|||||||
if (aa !== undefined) {
|
if (aa !== undefined) {
|
||||||
aa('init', {
|
aa('init', {
|
||||||
appId: "JNSS5CFDZZ",
|
appId: "JNSS5CFDZZ",
|
||||||
apiKey: "db08e40265e2941b9a7d8f644b6e5240",
|
apiKey: "c8f882473ff42d41158430be09ec2b4e",
|
||||||
})
|
})
|
||||||
|
|
||||||
const timestamp = new Date().getTime()
|
const timestamp = new Date().getTime()
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ import {
|
|||||||
AvatarGroup,
|
AvatarGroup,
|
||||||
} from "@mui/material"
|
} from "@mui/material"
|
||||||
|
|
||||||
const searchClient = algoliasearch("JNSS5CFDZZ", "db08e40265e2941b9a7d8f644b6e5240")
|
const searchClient = algoliasearch("JNSS5CFDZZ", "c8f882473ff42d41158430be09ec2b4e")
|
||||||
const CreatorGrid = props => {
|
const CreatorGrid = props => {
|
||||||
const { maxRows, showName, showSuggestion, isMobile, globalUrl, parsedXs, isHeader } = props
|
const { maxRows, showName, showSuggestion, isMobile, globalUrl, parsedXs, isHeader } = props
|
||||||
const rowHandler = maxRows === undefined || maxRows === null ? 50 : maxRows
|
const rowHandler = maxRows === undefined || maxRows === null ? 50 : maxRows
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ import {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
const searchClient = algoliasearch("JNSS5CFDZZ", "db08e40265e2941b9a7d8f644b6e5240")
|
const searchClient = algoliasearch("JNSS5CFDZZ", "c8f882473ff42d41158430be09ec2b4e")
|
||||||
const DocsGrid = props => {
|
const DocsGrid = props => {
|
||||||
const { maxRows, showName, showSuggestion, isMobile, globalUrl, parsedXs, userdata, } = props
|
const { maxRows, showName, showSuggestion, isMobile, globalUrl, parsedXs, userdata, } = props
|
||||||
const rowHandler = maxRows === undefined || maxRows === null ? 50 : maxRows
|
const rowHandler = maxRows === undefined || maxRows === null ? 50 : maxRows
|
||||||
|
|||||||
@@ -226,8 +226,8 @@ const EditWorkflow = (props) => {
|
|||||||
<div style={{ display: "flex" }}>
|
<div style={{ display: "flex" }}>
|
||||||
<div style={{ flex: 1, color: theme.palette.textColor }}>
|
<div style={{ flex: 1, color: theme.palette.textColor }}>
|
||||||
<div style={{ display: "flex" }}>
|
<div style={{ display: "flex" }}>
|
||||||
<Typography variant="h4" style={{ flex: 9, }}>
|
<Typography variant="h4" style={{ flex: 9, marginTop: 25, }}>
|
||||||
{newWorkflow ? "New" : "Editing"} workflow
|
{newWorkflow ? "New" : "Editing"} Workflow
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|
||||||
{newWorkflow === true ? null :
|
{newWorkflow === true ? null :
|
||||||
@@ -393,7 +393,7 @@ const EditWorkflow = (props) => {
|
|||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<DialogContent style={{ paddingTop: 10, display: "flex", minHeight: 300, zIndex: 1001, paddingBottom: 200, paddingLeft: "50px" }}>
|
<DialogContent style={{ paddingTop: 10, display: "flex", minHeight: 300, zIndex: 1001, paddingBottom: 400, paddingLeft: 50, }}>
|
||||||
<div style={{ minWidth: newWorkflow ? 500 : 550, maxWidth: newWorkflow ? 450 : 500, }}>
|
<div style={{ minWidth: newWorkflow ? 500 : 550, maxWidth: newWorkflow ? 450 : 500, }}>
|
||||||
<TextField
|
<TextField
|
||||||
onChange={(event) => {
|
onChange={(event) => {
|
||||||
|
|||||||
@@ -518,7 +518,7 @@ const LeftSideBar = ({ userdata, serverside, globalUrl, notifications, }) => {
|
|||||||
console.error("Logout error:", error);
|
console.error("Logout error:", error);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
console.log("userdata: ", userdata);
|
|
||||||
const avatarMenu = (
|
const avatarMenu = (
|
||||||
<span>
|
<span>
|
||||||
<IconButton
|
<IconButton
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ const chipStyle = {
|
|||||||
backgroundColor: "#3d3f43", height: 30, marginRight: 5, paddingLeft: 5, paddingRight: 5, height: 28, cursor: "pointer", borderColor: "#3d3f43", color: "white",
|
backgroundColor: "#3d3f43", height: 30, marginRight: 5, paddingLeft: 5, paddingRight: 5, height: 28, cursor: "pointer", borderColor: "#3d3f43", color: "white",
|
||||||
}
|
}
|
||||||
|
|
||||||
const searchClient = algoliasearch("JNSS5CFDZZ", "db08e40265e2941b9a7d8f644b6e5240")
|
const searchClient = algoliasearch("JNSS5CFDZZ", "c8f882473ff42d41158430be09ec2b4e")
|
||||||
const SearchData = props => {
|
const SearchData = props => {
|
||||||
const { serverside, globalUrl, userdata } = props
|
const { serverside, globalUrl, userdata } = props
|
||||||
let navigate = useNavigate();
|
let navigate = useNavigate();
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ import {
|
|||||||
import WorkflowPaper from "../components/WorkflowPaper.jsx"
|
import WorkflowPaper from "../components/WorkflowPaper.jsx"
|
||||||
import WorkflowPaperNew from "../components/WorkflowPaperNew.jsx"
|
import WorkflowPaperNew from "../components/WorkflowPaperNew.jsx"
|
||||||
|
|
||||||
const searchClient = algoliasearch("JNSS5CFDZZ", "db08e40265e2941b9a7d8f644b6e5240")
|
const searchClient = algoliasearch("JNSS5CFDZZ", "c8f882473ff42d41158430be09ec2b4e")
|
||||||
const AppGrid = props => {
|
const AppGrid = props => {
|
||||||
const { maxRows, showName, showSuggestion, isMobile, globalUrl, parsedXs, alternativeView, onlyResults, inputsearch } = props
|
const { maxRows, showName, showSuggestion, isMobile, globalUrl, parsedXs, alternativeView, onlyResults, inputsearch } = props
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import algoliasearch from 'algoliasearch';
|
|||||||
import { InstantSearch, connectSearchBox, connectHits } from 'react-instantsearch-dom';
|
import { InstantSearch, connectSearchBox, connectHits } from 'react-instantsearch-dom';
|
||||||
import { Grid, Paper, TextField, ButtonBase, InputAdornment, Typography, Button, Tooltip} from '@mui/material';
|
import { Grid, Paper, TextField, ButtonBase, InputAdornment, Typography, Button, Tooltip} from '@mui/material';
|
||||||
|
|
||||||
const searchClient = algoliasearch("JNSS5CFDZZ", "db08e40265e2941b9a7d8f644b6e5240")
|
const searchClient = algoliasearch("JNSS5CFDZZ", "c8f882473ff42d41158430be09ec2b4e")
|
||||||
const WorkflowSearch = props => {
|
const WorkflowSearch = props => {
|
||||||
const { maxRows, showName, showSuggestion, isMobile, globalUrl, parsedXs, newSelectedApp, setNewSelectedApp, defaultSearch, showSearch, ConfiguredHits, selectAble, } = props
|
const { maxRows, showName, showSuggestion, isMobile, globalUrl, parsedXs, newSelectedApp, setNewSelectedApp, defaultSearch, showSearch, ConfiguredHits, selectAble, } = props
|
||||||
const rowHandler = maxRows === undefined || maxRows === null ? 50 : maxRows
|
const rowHandler = maxRows === undefined || maxRows === null ? 50 : maxRows
|
||||||
|
|||||||
@@ -438,7 +438,7 @@ const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
|||||||
//const referenceUrl = "https://shuffler.io/functions/webhooks/"
|
//const referenceUrl = "https://shuffler.io/functions/webhooks/"
|
||||||
//const referenceUrl = window.location.origin+"/api/v1/hooks/"
|
//const referenceUrl = window.location.origin+"/api/v1/hooks/"
|
||||||
|
|
||||||
const searchClient = algoliasearch("JNSS5CFDZZ", "db08e40265e2941b9a7d8f644b6e5240")
|
const searchClient = algoliasearch("JNSS5CFDZZ", "c8f882473ff42d41158430be09ec2b4e")
|
||||||
const AngularWorkflow = (defaultprops) => {
|
const AngularWorkflow = (defaultprops) => {
|
||||||
const { globalUrl, setCookie, isLoggedIn, isLoaded, userdata, data_id, ReactGA, } = defaultprops;
|
const { globalUrl, setCookie, isLoggedIn, isLoaded, userdata, data_id, ReactGA, } = defaultprops;
|
||||||
const {themeMode, supportEmail, brandColor} = useContext(Context)
|
const {themeMode, supportEmail, brandColor} = useContext(Context)
|
||||||
@@ -3573,6 +3573,12 @@ const AngularWorkflow = (defaultprops) => {
|
|||||||
if (curapp?.actions === undefined || curapp?.actions === null || curapp?.actions?.length === 0 || curapp?.actions?.length === 1) {
|
if (curapp?.actions === undefined || curapp?.actions === null || curapp?.actions?.length === 0 || curapp?.actions?.length === 1) {
|
||||||
loadAppConfig(curapp?.id, false, true)
|
loadAppConfig(curapp?.id, false, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (key > 10) {
|
||||||
|
console.log("Breaking on 10 sideloads of total", responseJson.length)
|
||||||
|
break
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Find app with ID "794e51c3c1a8b24b89ccc573a3defc47" (gmail) to force-break it,
|
// Find app with ID "794e51c3c1a8b24b89ccc573a3defc47" (gmail) to force-break it,
|
||||||
@@ -11856,7 +11862,7 @@ const AngularWorkflow = (defaultprops) => {
|
|||||||
if (queryID !== undefined && queryID !== null) {
|
if (queryID !== undefined && queryID !== null) {
|
||||||
aa('init', {
|
aa('init', {
|
||||||
appId: "JNSS5CFDZZ",
|
appId: "JNSS5CFDZZ",
|
||||||
apiKey: "db08e40265e2941b9a7d8f644b6e5240",
|
apiKey: "c8f882473ff42d41158430be09ec2b4e",
|
||||||
})
|
})
|
||||||
|
|
||||||
const timestamp = new Date().getTime()
|
const timestamp = new Date().getTime()
|
||||||
@@ -18698,7 +18704,9 @@ const AngularWorkflow = (defaultprops) => {
|
|||||||
|
|
||||||
{originalWorkflow?.suborg_distribution === undefined || originalWorkflow?.suborg_distribution === null || originalWorkflow?.suborg_distribution?.length === 0 || originalWorkflow?.suborg_distribution.includes("none") ?
|
{originalWorkflow?.suborg_distribution === undefined || originalWorkflow?.suborg_distribution === null || originalWorkflow?.suborg_distribution?.length === 0 || originalWorkflow?.suborg_distribution.includes("none") ?
|
||||||
|
|
||||||
originalWorkflow?.parentorg_workflow !== undefined && originalWorkflow?.parentorg_workflow !== null && originalWorkflow?.parentorg_workflow.length > 0 || workflow?.parentorg_workflow !== undefined && workflow?.parentorg_workflow !== null && workflow?.parentorg_workflow.length > 0 ?
|
<div>
|
||||||
|
{originalWorkflow?.parentorg_workflow !== undefined && originalWorkflow?.parentorg_workflow !== null && originalWorkflow?.parentorg_workflow.length > 0 || workflow?.parentorg_workflow !== undefined && workflow?.parentorg_workflow !== null && workflow?.parentorg_workflow.length > 0 ?
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
color="secondary"
|
color="secondary"
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
@@ -18708,7 +18716,7 @@ const AngularWorkflow = (defaultprops) => {
|
|||||||
textTransform: "none",
|
textTransform: "none",
|
||||||
marginLeft: 10,
|
marginLeft: 10,
|
||||||
}}
|
}}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
navigate(`/workflows/${workflow.parentorg_workflow}`)
|
navigate(`/workflows/${workflow.parentorg_workflow}`)
|
||||||
// Reload the page
|
// Reload the page
|
||||||
window.location.reload()
|
window.location.reload()
|
||||||
@@ -18716,7 +18724,10 @@ const AngularWorkflow = (defaultprops) => {
|
|||||||
>
|
>
|
||||||
Go to parent org workflow
|
Go to parent org workflow
|
||||||
</Button>
|
</Button>
|
||||||
: userdata !== undefined && userdata !== null && userdata.orgs !== undefined && userdata.orgs !== null && userdata.orgs.length > 1 && workflow?.id !== undefined && workflow?.id && workflow?.id?.length > 0 ?
|
|
||||||
|
: null}
|
||||||
|
|
||||||
|
{userdata !== undefined && userdata !== null && userdata.orgs !== undefined && userdata.orgs !== null && userdata.orgs.length > 1 && workflow?.id !== undefined && workflow?.id && workflow?.id?.length > 0 ?
|
||||||
<Button
|
<Button
|
||||||
color="secondary"
|
color="secondary"
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
@@ -18732,8 +18743,8 @@ const AngularWorkflow = (defaultprops) => {
|
|||||||
>
|
>
|
||||||
Enable Suborg Distribution
|
Enable Suborg Distribution
|
||||||
</Button>
|
</Button>
|
||||||
: null
|
: null}
|
||||||
|
</div>
|
||||||
:
|
:
|
||||||
|
|
||||||
<Tooltip title={lastSaved === false && originalWorkflow.id === workflow.id ?
|
<Tooltip title={lastSaved === false && originalWorkflow.id === workflow.id ?
|
||||||
@@ -20080,7 +20091,7 @@ const AngularWorkflow = (defaultprops) => {
|
|||||||
if (queryID !== undefined && queryID !== null) {
|
if (queryID !== undefined && queryID !== null) {
|
||||||
aa('init', {
|
aa('init', {
|
||||||
appId: "JNSS5CFDZZ",
|
appId: "JNSS5CFDZZ",
|
||||||
apiKey: "db08e40265e2941b9a7d8f644b6e5240",
|
apiKey: "c8f882473ff42d41158430be09ec2b4e",
|
||||||
})
|
})
|
||||||
|
|
||||||
const timestamp = new Date().getTime()
|
const timestamp = new Date().getTime()
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ import { green } from "../views/AngularWorkflow.jsx"
|
|||||||
|
|
||||||
const searchClient = algoliasearch(
|
const searchClient = algoliasearch(
|
||||||
"JNSS5CFDZZ",
|
"JNSS5CFDZZ",
|
||||||
"db08e40265e2941b9a7d8f644b6e5240"
|
"c8f882473ff42d41158430be09ec2b4e"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Lazy loading of ApiExplorer component to reduce initial load time
|
// Lazy loading of ApiExplorer component to reduce initial load time
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ import aa from "search-insights";
|
|||||||
// 2 = OpenAPI (Invalid)
|
// 2 = OpenAPI (Invalid)
|
||||||
const searchClient = algoliasearch(
|
const searchClient = algoliasearch(
|
||||||
"JNSS5CFDZZ",
|
"JNSS5CFDZZ",
|
||||||
"db08e40265e2941b9a7d8f644b6e5240"
|
"c8f882473ff42d41158430be09ec2b4e"
|
||||||
)
|
)
|
||||||
|
|
||||||
const AppExplorer = (props) => {
|
const AppExplorer = (props) => {
|
||||||
@@ -3996,7 +3996,7 @@ const buttonBackground = "linear-gradient(to right, #f86a3e, #f34079)";
|
|||||||
if (queryID !== undefined && queryID !== null) {
|
if (queryID !== undefined && queryID !== null) {
|
||||||
aa("init", {
|
aa("init", {
|
||||||
appId: "JNSS5CFDZZ",
|
appId: "JNSS5CFDZZ",
|
||||||
apiKey: "db08e40265e2941b9a7d8f644b6e5240",
|
apiKey: "c8f882473ff42d41158430be09ec2b4e",
|
||||||
});
|
});
|
||||||
|
|
||||||
const timestamp = new Date().getTime();
|
const timestamp = new Date().getTime();
|
||||||
@@ -4085,7 +4085,7 @@ const buttonBackground = "linear-gradient(to right, #f86a3e, #f34079)";
|
|||||||
if (queryID !== undefined && queryID !== null) {
|
if (queryID !== undefined && queryID !== null) {
|
||||||
aa("init", {
|
aa("init", {
|
||||||
appId: "JNSS5CFDZZ",
|
appId: "JNSS5CFDZZ",
|
||||||
apiKey: "db08e40265e2941b9a7d8f644b6e5240",
|
apiKey: "c8f882473ff42d41158430be09ec2b4e",
|
||||||
});
|
});
|
||||||
|
|
||||||
const timestamp = new Date().getTime();
|
const timestamp = new Date().getTime();
|
||||||
|
|||||||
@@ -280,7 +280,7 @@ export const GetParsedPaths = (inputdata, basekey) => {
|
|||||||
return parsedValues;
|
return parsedValues;
|
||||||
};
|
};
|
||||||
|
|
||||||
const searchClient = algoliasearch("JNSS5CFDZZ", "db08e40265e2941b9a7d8f644b6e5240")
|
const searchClient = algoliasearch("JNSS5CFDZZ", "c8f882473ff42d41158430be09ec2b4e")
|
||||||
const Apps = (props) => {
|
const Apps = (props) => {
|
||||||
const { globalUrl, isLoggedIn, isLoaded, userdata, serverside, } = props;
|
const { globalUrl, isLoggedIn, isLoaded, userdata, serverside, } = props;
|
||||||
|
|
||||||
@@ -1305,7 +1305,7 @@ const Apps = (props) => {
|
|||||||
if (queryID !== undefined && queryID !== null) {
|
if (queryID !== undefined && queryID !== null) {
|
||||||
aa("init", {
|
aa("init", {
|
||||||
appId: "JNSS5CFDZZ",
|
appId: "JNSS5CFDZZ",
|
||||||
apiKey: "db08e40265e2941b9a7d8f644b6e5240",
|
apiKey: "c8f882473ff42d41158430be09ec2b4e",
|
||||||
});
|
});
|
||||||
|
|
||||||
const timestamp = new Date().getTime();
|
const timestamp = new Date().getTime();
|
||||||
@@ -2036,7 +2036,7 @@ const Apps = (props) => {
|
|||||||
if (queryID !== undefined && queryID !== null) {
|
if (queryID !== undefined && queryID !== null) {
|
||||||
aa('init', {
|
aa('init', {
|
||||||
appId: "JNSS5CFDZZ",
|
appId: "JNSS5CFDZZ",
|
||||||
apiKey: "db08e40265e2941b9a7d8f644b6e5240",
|
apiKey: "c8f882473ff42d41158430be09ec2b4e",
|
||||||
})
|
})
|
||||||
|
|
||||||
const timestamp = new Date().getTime()
|
const timestamp = new Date().getTime()
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ import AppCreationModal from "../components/AppCreationModal.jsx";
|
|||||||
|
|
||||||
const searchClient = algoliasearch(
|
const searchClient = algoliasearch(
|
||||||
"JNSS5CFDZZ",
|
"JNSS5CFDZZ",
|
||||||
"db08e40265e2941b9a7d8f644b6e5240"
|
"c8f882473ff42d41158430be09ec2b4e"
|
||||||
);
|
);
|
||||||
|
|
||||||
// AppCard Component
|
// AppCard Component
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ import { removeQuery } from "../components/ScrollToTop.jsx";
|
|||||||
import {green, yellow, red, grey } from "../views/AngularWorkflow.jsx"
|
import {green, yellow, red, grey } from "../views/AngularWorkflow.jsx"
|
||||||
|
|
||||||
|
|
||||||
const searchClient = algoliasearch("JNSS5CFDZZ", "db08e40265e2941b9a7d8f644b6e5240");
|
const searchClient = algoliasearch("JNSS5CFDZZ", "c8f882473ff42d41158430be09ec2b4e");
|
||||||
|
|
||||||
const svgSize = 24;
|
const svgSize = 24;
|
||||||
const imagesize = 22;
|
const imagesize = 22;
|
||||||
@@ -5071,7 +5071,7 @@ const Workflows2 = (props) => {
|
|||||||
|
|
||||||
//isLoaded && isLoggedIn && workflowDone ? (
|
//isLoaded && isLoggedIn && workflowDone ? (
|
||||||
const loadedCheck =
|
const loadedCheck =
|
||||||
workflowDone && isLoaded ? (
|
workflowDone ? (
|
||||||
<div>
|
<div>
|
||||||
{/*
|
{/*
|
||||||
<ShepherdTour steps={newSteps} tourOptions={tourOptions}>
|
<ShepherdTour steps={newSteps} tourOptions={tourOptions}>
|
||||||
|
|||||||
Reference in New Issue
Block a user