Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev to Main merge 19 March 2024 #649

Merged
merged 159 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
a37552a
initial changes sosc bundle
nikhila-aot Dec 29, 2023
c7b1617
fix for issue 198
nikhila-aot Jan 3, 2024
ea09ef1
issue fix for 201
nikhila-aot Jan 3, 2024
23f2f32
fix: dropdown tag
eric-bcps Jan 3, 2024
f899dee
Merge pull request #594 from bcgov/fix/pipeline-error
acoard-aot Jan 3, 2024
a58464f
Merge pull request #592 from bcgov/feat/srs-198
jaise-aot Jan 3, 2024
75219ec
Merge branch 'dev' into feat/srs-201
nikhila-aot Jan 3, 2024
a06af00
Merge pull request #593 from bcgov/feat/srs-201
jaise-aot Jan 3, 2024
58ebbd6
issue fix for 200
nikhila-aot Jan 3, 2024
213ea33
Merge branch 'dev' into feat/srs-127
nikhila-aot Jan 4, 2024
ce2f7d8
Merge pull request #595 from bcgov/feat/srs-200
jaise-aot Jan 4, 2024
7079a1b
added 403 route for staff reviewers to form
midhun-aot Jan 5, 2024
e6e9d46
updated text message and added support email
midhun-aot Jan 5, 2024
c449a36
Merge pull request #596 from bcgov/SRS-197
nikhila-aot Jan 5, 2024
38d8c94
intial changes to include SoSC
nikhila-aot Jan 8, 2024
e141342
initial form changes to handle sosc bundle
nikhila-aot Jan 8, 2024
598d173
unit test bug fix
nikhila-aot Jan 8, 2024
3335474
Merge branch 'dev' into feat/srs-127
nikhila-aot Jan 9, 2024
2e22162
changes to forms to handle workflow change
nikhila-aot Jan 9, 2024
b6ff2b1
handling srcr exempt for sosc
nikhila-aot Jan 10, 2024
f88b348
changes to form to handle srcr exempt sosc
nikhila-aot Jan 10, 2024
503c78b
unit test issue fix
nikhila-aot Jan 10, 2024
4ee3f6f
sdm next reviewer button will not be displayed when status is empty
midhun-aot Jan 10, 2024
0dee4c0
Merge pull request #597 from bcgov/srs-160
nikhila-aot Jan 11, 2024
654777e
fix: remove duplicate entries and wrong options
eric-bcps Jan 11, 2024
17224de
changes for cssa,sosc,srcr bundle
nikhila-aot Jan 12, 2024
c901560
resolved conflicts
nikhila-aot Jan 12, 2024
d9c6192
reduced the font size and added space for access denied message
midhun-aot Jan 12, 2024
4e44cf3
Merge pull request #599 from bcgov/srs-197-fix
nikhila-aot Jan 12, 2024
4cfe1a2
jaas security for basic auth
jaise-aot Jan 15, 2024
a007e4f
feat: update schedule 2 items to match new document
eric-bcps Jan 15, 2024
0bd84d4
Merge pull request #598 from bcgov/feat/srs-127
midhun-aot Jan 15, 2024
b77c2fd
update resource quotas
jaise-aot Jan 16, 2024
bd1ebfb
update docs and defaults
jaise-aot Jan 16, 2024
98795ab
fix: spacing
eric-bcps Jan 16, 2024
73f1853
Merge pull request #600 from bcgov/feat/task-170-merge-resolved
nikhila-aot Jan 17, 2024
4978625
Merge pull request #601 from bcgov/feat/change-form-content
nikhila-aot Jan 17, 2024
5983c3f
issue fix for correcting sosc conditions
nikhila-aot Jan 17, 2024
c806801
initial changes for dera sosc
nikhila-aot Jan 17, 2024
99d2485
issue fix for 209
nikhila-aot Jan 17, 2024
735e935
Merge pull request #602 from bcgov/feat/srs-127a
midhun-aot Jan 17, 2024
13f82f3
modification for dera sosc bundle
nikhila-aot Jan 17, 2024
de33006
fix for issue 215
nikhila-aot Jan 18, 2024
589be17
Merge branch 'dev' into feat/srs-212
nikhila-aot Jan 18, 2024
2a03c94
Merge pull request #603 from bcgov/feat/srs-215
midhun-aot Jan 18, 2024
ae9de20
fix: update exemptions in `CSSA`
eric-bcps Jan 20, 2024
8e655f2
fix: update exemptions in `DERA`
eric-bcps Jan 20, 2024
32f6b42
fix: update exemptions in `NOM`
eric-bcps Jan 20, 2024
d66fbde
Merge pull request #604 from bcgov/fix/form-content
nikhila-aot Jan 22, 2024
5803557
workflow simplification
nikhila-aot Jan 22, 2024
889d65b
SoSC form date format is showing time component - fixed
midhun-aot Jan 23, 2024
fd1d8bd
Merge pull request #605 from bcgov/SRS-218
nikhila-aot Jan 23, 2024
8676de7
Adding required flag to declaration section
midhun-aot Jan 23, 2024
e841c78
Merge pull request #606 from bcgov/SRS-214
nikhila-aot Jan 24, 2024
ae3f565
added missing email calls
nikhila-aot Jan 25, 2024
e2bded1
Merge branch 'dev' into feat/srs-212
nikhila-aot Jan 25, 2024
e9c4fd9
Merge pull request #607 from bcgov/feat/srs-220
midhun-aot Jan 25, 2024
5c6c8e8
fix for connection retry issue
jaise-aot Jan 25, 2024
94e1f02
Merge pull request #608 from bcgov/feat/task-170-merge-resolved
nikhila-aot Jan 25, 2024
fb1cdb3
updated required sections on both forms
midhun-aot Jan 25, 2024
efa6168
Merge pull request #609 from bcgov/srs-214
nikhila-aot Jan 25, 2024
494df66
removed time component from calender and fields on both standalone an…
midhun-aot Jan 25, 2024
97fb67c
Merge pull request #610 from bcgov/SRS-218-fix
nikhila-aot Jan 26, 2024
261edd0
removed required valdiations for reviewer assignment
midhun-aot Jan 29, 2024
e6531f3
fixed the text and updatd the style
midhun-aot Jan 30, 2024
e3492c6
Merge branch 'dev' into feat/srs-127b
nikhila-aot Jan 30, 2024
674a87b
fixed next reviewer button actions
midhun-aot Jan 30, 2024
2b6c3f1
Merge pull request #613 from bcgov/SRS-224-new
nikhila-aot Jan 31, 2024
5262b0f
Merge branch 'dev' into SRS-197-new
midhun-aot Jan 31, 2024
49a62c9
Merge pull request #612 from bcgov/SRS-197-new
nikhila-aot Jan 31, 2024
1a2e9bc
simplified workflow
nikhila-aot Jan 31, 2024
d34d980
Merge branch 'dev' into feat/srs-127b
nikhila-aot Jan 31, 2024
bf851c3
latest workflow
nikhila-aot Jan 31, 2024
c28d025
Merge pull request #614 from bcgov/feat/srs-127b
midhun-aot Jan 31, 2024
3dbc16b
issue fix for 238
nikhila-aot Jan 31, 2024
04f9f14
Merge pull request #615 from bcgov/feat/srs-127b
midhun-aot Jan 31, 2024
ee69392
Merge branch 'dev' into feat/srs-212
nikhila-aot Feb 1, 2024
c90e94b
unit test issue fixes
nikhila-aot Feb 1, 2024
0ffed11
issue fix for 244
nikhila-aot Feb 2, 2024
fe12191
unit test issue fix
nikhila-aot Feb 2, 2024
0805501
unit test issue fix
nikhila-aot Feb 2, 2024
741b20d
Merge pull request #616 from bcgov/feat/srs-244
midhun-aot Feb 2, 2024
b9471b5
unit test issue fixes
nikhila-aot Feb 5, 2024
b566db6
Merge branch 'dev' into feat/srs-212
nikhila-aot Feb 5, 2024
e0fc6a3
final changes for dera/sosc
nikhila-aot Feb 6, 2024
4d788dd
removed console log
nikhila-aot Feb 6, 2024
04155bf
issue fix for 242
nikhila-aot Feb 6, 2024
c159948
unit test issue fix
nikhila-aot Feb 6, 2024
3b8f008
Merge pull request #617 from bcgov/feat/srs-212
midhun-aot Feb 6, 2024
60ad65c
Merge pull request #618 from bcgov/feat/srs-242
midhun-aot Feb 6, 2024
3ab7ae5
changes for showing message incase for custom submission api failure
midhun-aot Feb 8, 2024
7bac222
Merge branch 'dev' into SRS-249
midhun-aot Feb 8, 2024
1b9c442
added required for notes fields and fix sosc form form utils key name
midhun-aot Feb 8, 2024
c297aa0
Merge pull request #620 from bcgov/srs-250
nikhila-aot Feb 9, 2024
528cdef
issue fix for 251
nikhila-aot Feb 9, 2024
ca305ef
Merge pull request #619 from bcgov/SRS-249
nikhila-aot Feb 9, 2024
0ec99ba
Merge pull request #621 from bcgov/feat/srs-251
midhun-aot Feb 9, 2024
5158273
issue fix for 259
nikhila-aot Feb 12, 2024
73e7d20
Merge branch 'dev' into feat/srs-259
nikhila-aot Feb 12, 2024
37a245a
added async after to save workflow state
midhun-aot Feb 14, 2024
6c201f3
issue fix for 259
nikhila-aot Feb 14, 2024
66fdd90
Merge pull request #623 from bcgov/feat/srs-259
midhun-aot Feb 14, 2024
054d707
Merge branch 'dev' into SRS-263
midhun-aot Feb 14, 2024
3ef56c3
updated DERA and CSSA with async after for parallel flows
midhun-aot Feb 14, 2024
7ef3797
fixed form skip issue in bundle
midhun-aot Feb 15, 2024
87a8524
issue fix for 265
nikhila-aot Feb 16, 2024
3e135ed
Merge pull request #625 from bcgov/feat/srs-265
midhun-aot Feb 16, 2024
f18c238
Merge pull request #624 from bcgov/SRS-261
nikhila-aot Feb 16, 2024
3d036e9
Merge pull request #622 from bcgov/SRS-263
nikhila-aot Feb 16, 2024
326dfb7
BCBOX changes on latest workflows & forms
midhun-aot Feb 23, 2024
9fafd7c
fixed review comments
midhun-aot Feb 23, 2024
9c00c8a
Merge pull request #626 from bcgov/SRS-188-NEW
nikhila-aot Feb 23, 2024
f887dd7
updated folder name
midhun-aot Feb 23, 2024
c49de62
Merge pull request #627 from bcgov/SRS-188-NEW
acoard-aot Feb 23, 2024
dd6b794
minor form chagnes
midhun-aot Feb 26, 2024
5f6dcad
Merge pull request #628 from bcgov/SRS-273
nikhila-aot Feb 26, 2024
1c5a8c7
fixed duplicate api keys
midhun-aot Feb 27, 2024
1a01a65
Fixed Section Heading
midhun-aot Feb 28, 2024
9b74fde
Fixed Rows in the note creation table are misaligned with the table h…
midhun-aot Feb 28, 2024
95939fc
Fixed required fields being displayed as not required
midhun-aot Feb 29, 2024
0228a67
Merge pull request #633 from bcgov/SRS-271
nikhila-aot Feb 29, 2024
abb321b
Merge pull request #630 from bcgov/SRS-257
nikhila-aot Feb 29, 2024
f889166
Merge branch 'dev' into SRS-255
nikhila-aot Feb 29, 2024
1f04675
Merge pull request #629 from bcgov/SRS-255
nikhila-aot Feb 29, 2024
704da99
Merge pull request #631 from bcgov/SRS-270
nikhila-aot Feb 29, 2024
9efbc23
fixed folder name issue
midhun-aot Feb 29, 2024
7a02c7f
updated file name as well
midhun-aot Mar 1, 2024
c276e7e
Merge pull request #634 from bcgov/Folder-name-fix
nikhila-aot Mar 1, 2024
3715494
added additional applications id field added
midhun-aot Mar 1, 2024
73f6386
Fixed notes section display issue with lower resolution
midhun-aot Mar 4, 2024
18f6b54
Merge pull request #636 from bcgov/SRS-246
nikhila-aot Mar 5, 2024
650098b
Merge branch 'dev' of https://github.com/bcgov/nr-epd-digital-service…
midhun-aot Mar 5, 2024
c17ccae
Merge pull request #635 from bcgov/SRS-272
nikhila-aot Mar 5, 2024
ace78ee
issue fix for 265
nikhila-aot Mar 5, 2024
2000012
Merge pull request #637 from bcgov/feat/srs-265a
midhun-aot Mar 5, 2024
f533928
changed wording
nikhila-aot Mar 5, 2024
420137c
Merge pull request #638 from bcgov/feat/srs-265a
midhun-aot Mar 5, 2024
ad289ce
issue fix for 307
nikhila-aot Mar 6, 2024
3b329c4
Merge pull request #639 from bcgov/feat/srs-307
midhun-aot Mar 6, 2024
a6e56ac
fixed lower resolution issue for SIR form
midhun-aot Mar 7, 2024
05cc9f7
Merge pull request #640 from bcgov/SRS-246-NEW
nikhila-aot Mar 7, 2024
a01cd5b
Disabling edit grid controls
midhun-aot Mar 7, 2024
3073217
made cssa declaration mandatory
midhun-aot Mar 8, 2024
c6ebdc3
issue fix for 308
nikhila-aot Mar 8, 2024
ff52e34
Merge pull request #642 from bcgov/SRS-214-fix
nikhila-aot Mar 8, 2024
1264171
Merge pull request #643 from bcgov/feat/srs-308
midhun-aot Mar 8, 2024
377a1f1
Merge pull request #641 from bcgov/SRS-272-Fix
nikhila-aot Mar 8, 2024
5371d4b
issue fix for 262
nikhila-aot Mar 8, 2024
015a117
Fixed required validation issue
midhun-aot Mar 11, 2024
f1f7d47
Merge pull request #644 from bcgov/feat/srs-262a
midhun-aot Mar 12, 2024
f166de0
Merge pull request #645 from bcgov/SRS-271-Fix
nikhila-aot Mar 12, 2024
3093591
health check api
nikhila-aot Mar 12, 2024
0360831
adding bcbox changes
midhun-aot Mar 12, 2024
4ca4b13
issue fix for 265
nikhila-aot Mar 12, 2024
89bcbc7
Merge pull request #646 from bcgov/feat/srs-265b
nikhila-aot Mar 12, 2024
b6adbf4
Merge pull request #647 from bcgov/BCBOX-COMS
nikhila-aot Mar 13, 2024
997bd8e
added healthcheck api
nikhila-aot Mar 14, 2024
25c8f29
corrected comment
nikhila-aot Mar 14, 2024
cb87404
Merge pull request #648 from bcgov/feat/srs-310
midhun-aot Mar 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 27 additions & 2 deletions backend/applications/src/app/controllers/form.controller.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Body, Controller, Get, Param, Patch, Post, Put } from '@nestjs/common';
import { Resource, Unprotected } from 'nest-keycloak-connect';
import { Unprotected } from 'nest-keycloak-connect';
import { SubmissionResponse } from '../dto/submissionResponse.dto';
import { Form } from '../entities/form.entity';
import { FormService } from '../services/form.service';
Expand All @@ -8,7 +8,24 @@ import { FormService } from '../services/form.service';
//@Resource('application-service')
@Unprotected()
export class FormController {
constructor(private formService: FormService) {}
constructor(private formService: FormService) { }

/**
* Checks if table exists
* @returns boolean
*/
@Get('health')
async healthCheck(): Promise<number> {
const formCount = await this.formService.healthCheck();

if (!formCount) {
return Promise.reject({
statusCode: 404,
message: 'Table not found',
});
}
return formCount;
}

/**
* Get a submitted form using
Expand All @@ -24,6 +41,14 @@ export class FormController {
submissionId,
formId,
);

if (!savedSubmission) {
return Promise.reject({
statusCode: 404,
message: 'Form data not found',
});
}

const submissionResponse: SubmissionResponse =
this.transformResult(savedSubmission);
return submissionResponse;
Expand Down
25 changes: 19 additions & 6 deletions backend/applications/src/app/services/form.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,24 @@ import { Form } from '../entities/form.entity';
export class FormService {
constructor(
@InjectRepository(Form) private readonly formRepository: Repository<Form>,
) {}
) { }

/**
* Checks if table exists
* @returns boolean
*/
async healthCheck(): Promise<any> {
const tableExists = (
await this.formRepository.manager.query(
`SELECT exists (
SELECT FROM information_schema.tables
WHERE table_schema = 'epd_applications'
AND table_name = 'form'
)`,
)
)[0].exists;
return tableExists;
}

/**
* Creates new form submission
Expand Down Expand Up @@ -36,7 +53,7 @@ export class FormService {

buildUpdateString = (pathText, newValue) => {
const returnString =
'jsonb_set("form_data"::jsonb,' + pathText + ',' + newValue + ')';
'jsonb_set("form_data"::jsonb,' + pathText + ',' + newValue + ')';
return returnString;
};

Expand All @@ -46,7 +63,6 @@ export class FormService {
formId,
submissionId,
) => {

for (const property in partialUpdateObject) {
if (typeof partialUpdateObject[property] === 'object') {
this.processContent(
Expand All @@ -64,14 +80,11 @@ export class FormService {
} else {
objectName = property;
}


const pathText = "'{" + objectName + "}'";

const newValue = '\'"' + partialUpdateObject[property] + '"\'';



await this.formRepository
.createQueryBuilder()
.update(Form)
Expand Down
57 changes: 57 additions & 0 deletions bcbox/.codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
version: "2"
exclude_patterns:
- config/
- db/
- dist/
- features/
- "**/node_modules/"
- script/
- "**/spec/"
- "**/test/"
- "**/tests/"
- Tests/
- "**/vendor/"
- "**/*_test.go"
- "**/*.d.ts"
plugins:
csslint:
enabled: true
editorconfig:
enabled: true
checks:
END_OF_LINE:
enabled: false
INDENTATION_SPACES:
enabled: false
INDENTATION_SPACES_AMOUNT:
enabled: false
TRAILINGSPACES:
enabled: false
eslint:
enabled: true
channel: "eslint-7"
config:
config: app/.eslintrc.js
fixme:
enabled: true
git-legal:
enabled: true
markdownlint:
enabled: true
checks:
MD002:
enabled: false
MD013:
enabled: false
MD029:
enabled: false
MD046:
enabled: false
nodesecurity:
enabled: true
sass-lint:
enabled: true
rules:
nesting-depth:
- 2
- max-depth: 5
42 changes: 42 additions & 0 deletions bcbox/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Editor directories and files
.DS_Store
.gradle
.nyc_output
.scannerwork
build
coverage
dist
files
**/e2e/videos
node_modules
# Ignore only top-level package-lock.json
/package-lock.json

# Ignore Helm subcharts
charts/**/charts
Chart.lock

# local env files
local.*
local-*.*
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.iml
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
*.mp4

# temp office files
~$*
23 changes: 23 additions & 0 deletions bcbox/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.html]
indent_style = space
indent_size = 2

[*.{css,js,json,jsx,scss,ts,tsx,vue}]
indent_style = space
indent_size = 2

[.{babelrc,eslintrc}]
indent_style = space
indent_size = 2

[Jenkinsfile*]
indent_style = space
indent_size = 2
8 changes: 8 additions & 0 deletions bcbox/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Autodetect text files and forces unix eols, so Windows does not break them
* text=auto eol=lf

# Force images/fonts to be handled as binaries
*.jpg binary
*.jpeg binary
*.gif binary
*.png binary
42 changes: 42 additions & 0 deletions bcbox/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Editor directories and files
.DS_Store
.gradle
.nyc_output
.scannerwork
build
coverage
dist
files
**/e2e/videos
node_modules
# Ignore only top-level package-lock.json
/package-lock.json

# Ignore Helm subcharts
charts/**/charts
Chart.lock

# local env files
*local.*
*local-*.*
.env.local
.env.*.local


# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
*.iml
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
*.mp4

# temp office files
~$*
14 changes: 14 additions & 0 deletions bcbox/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"recommendations": [
"bierner.markdown-preview-github-styles",
"davidanson.vscode-markdownlint",
"dbaeumer.vscode-eslint",
"eamodio.gitlens",
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"redhat.vscode-yaml",
"ryanluker.vscode-coverage-gutters",
"vue.volar",
"vue.vscode-typescript-vue-plugin"
]
}
16 changes: 16 additions & 0 deletions bcbox/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"sourceMaps": true,
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
26 changes: 26 additions & 0 deletions bcbox/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"coverage-gutters.showGutterCoverage": false,
"coverage-gutters.showLineCoverage": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.formatOnSave": true,
"eslint.format.enable": true,
"files.insertFinalNewline": true
}
46 changes: 46 additions & 0 deletions bcbox/CODE-OF-CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
Loading
Loading