diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml deleted file mode 100644 index b3d1927e..00000000 --- a/.github/workflows/release-please.yml +++ /dev/null @@ -1,13 +0,0 @@ -on: - push: - branches: - - launch -name: release-please -jobs: - release-please: - runs-on: ubuntu-latest - steps: - - uses: google-github-actions/release-please-action@v3 - with: - release-type: node - package-name: release-please-action diff --git a/README.md b/README.md index 1ffc0c29..90d6e6ca 100755 --- a/README.md +++ b/README.md @@ -4,10 +4,6 @@ Shuffle Automation -[![CodeQL](https://github.com/Shuffle/Shuffle/actions/workflows/codeql-analysis.yml/badge.svg?branch=launch)](https://github.com/Shuffle/Shuffle/actions/workflows/codeql-analysis.yml) -[![Autobuild](https://github.com/Shuffle/Shuffle/actions/workflows/dockerbuild.yaml/badge.svg?branch=launch)](https://github.com/Shuffle/Shuffle/actions/workflows/dockerbuild.yaml) -[![Deploy to Google Cloud](https://deploy.cloud.run/button.svg)](https://deploy.cloud.run/?git_repo=https://github.com/0x0elliot/Shuffle&ref=2.0.0) -

[Shuffle](https://shuffler.io) is an automation platform for and by the community, focusing on accessibility for anyone to automate. Security operations is complex, but it doesn't have to be. diff --git a/app.json b/app.json deleted file mode 100644 index e8cd75ca..00000000 --- a/app.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "Shuffle", - "description": "Security Automation Platform", - "repository": "https://github.com/0x0elliot/Shuffle", - "ref": "2.0.0", - "scripts": { - "postclone": "chmod +x startup.sh && ./startup.sh" - } - } \ No newline at end of file diff --git a/frontend/package.json b/frontend/package.json index 41c0790d..f71c766d 100755 --- a/frontend/package.json +++ b/frontend/package.json @@ -21,6 +21,7 @@ "@uiw/codemirror-themes": "^4.21.9", "@uiw/react-codemirror": "^4.21.21", "algoliasearch": "^4.8.3", + "chart.js": "^3.0.0", "class-transformer": "^0.2.0", "codemirror": "^6.0.1", "cpx": "^1.5.0", @@ -60,7 +61,7 @@ "react-alice-carousel": "^2.6.4", "react-avatar-editor": "^11.1.0", "react-beforeunload": "^2.2.1", - "react-chartjs-2": "^5.2.0", + "react-chartjs-2": "^5.0.0", "react-cookie": "^4.0.1", "react-cytoscapejs": "^2.0.0", "react-device-detect": "^2.2.3", diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index a2aec50c..7349952b 100755 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -48,7 +48,7 @@ import 'react-toastify/dist/ReactToastify.css'; import Drift from "react-driftjs"; -import { AppContext } from './context/contextApi.jsx'; +import { AppContext } from './context/ContextApi.jsx'; // Production - backend proxy forwarding in nginx var globalUrl = window.location.origin; diff --git a/frontend/src/components/HealthBarChart.jsx b/frontend/src/components/HealthBarChart.jsx index a4f05273..8f95c0c6 100644 --- a/frontend/src/components/HealthBarChart.jsx +++ b/frontend/src/components/HealthBarChart.jsx @@ -1,5 +1,8 @@ import React from 'react'; import { Bar } from 'react-chartjs-2'; +import { Chart, registerables } from 'chart.js'; + +Chart.register(...registerables); const HealthBarChart = (props) => { const { globalUrl, filteredData, options, onBarClick } = props; diff --git a/frontend/src/context/contextApi.jsx b/frontend/src/context/ContextApi.jsx similarity index 100% rename from frontend/src/context/contextApi.jsx rename to frontend/src/context/ContextApi.jsx diff --git a/frontend/src/views/Docs.jsx b/frontend/src/views/Docs.jsx index b5046a7f..8062408f 100755 --- a/frontend/src/views/Docs.jsx +++ b/frontend/src/views/Docs.jsx @@ -1294,7 +1294,7 @@ const DocsWrapper = memo(({userdata, children })=>{ return (