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. 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", 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