From 77e737728f8981c56b1d7000c68947a842bce7e0 Mon Sep 17 00:00:00 2001 From: Prajwal Kulkarni Date: Tue, 16 Jan 2024 00:26:38 +0530 Subject: [PATCH 1/3] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 38 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 ++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..dd84ea7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,38 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Smartphone (please complete the following information):** + - Device: [e.g. iPhone6] + - OS: [e.g. iOS8.1] + - Browser [e.g. stock browser, safari] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..bbcbbe7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: '' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. From 196ae1a6fa7477c599a7321599301dd19bacaa4c Mon Sep 17 00:00:00 2001 From: Prajwal Kulkarni Date: Tue, 16 Jan 2024 21:34:21 +0530 Subject: [PATCH 2/3] Fix: start issue Update package.json --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c8a887f..dd4bb31 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,8 @@ "zealit": "^2.4.1" }, "scripts": { - "start": "react-scripts start", + "start": "export NODE_OPTIONS=--openssl-legacy-provider && react-scripts start", + "start:windows": "set NODE_OPTIONS=--openssl-legacy-provider && react-scripts start", "build": "react-scripts build", "build-localhost": "PUBLIC_URL=/ react-scripts build", "test": "react-scripts test", From 8c8368beaeb484c12e36bf97405cd5621d478706 Mon Sep 17 00:00:00 2001 From: Pradeeban Kathiravelu Date: Wed, 19 Mar 2025 22:03:09 -0800 Subject: [PATCH 3/3] Potential fix for code scanning alert no. 3: XML internal entity expansion Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- server/controller/workflow.py | 2 +- server/requirements.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/server/controller/workflow.py b/server/controller/workflow.py index 5e42470..77237c9 100644 --- a/server/controller/workflow.py +++ b/server/controller/workflow.py @@ -1,6 +1,6 @@ from model.workflows import * from flask import request, make_response, Blueprint -import xml.etree.ElementTree as ET +import defusedxml.ElementTree as ET workFlow = Blueprint('workflow', __name__) workFlowModel = WorkFlowModel() diff --git a/server/requirements.txt b/server/requirements.txt index eaa3bf6..57602f7 100644 --- a/server/requirements.txt +++ b/server/requirements.txt @@ -3,4 +3,5 @@ Flask==2.0.1 python-dotenv==0.19.0 pymongo==3.12.0 gunicorn==20.0.4 -flask-cors==3.0.10 \ No newline at end of file +flask-cors==3.0.10 +defusedxml==0.7.1 \ No newline at end of file