Skip to content

Commit fa3b6b9

Browse files
committed
Merge branch 'release-v1.2.0'
2 parents 9426027 + 2509a45 commit fa3b6b9

File tree

1,533 files changed

+72196
-41624
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,533 files changed

+72196
-41624
lines changed

.codecov.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ coverage:
5858
paths:
5959
- packages/config
6060
threshold: 0.5
61+
documents:
62+
paths:
63+
- packages/documents
64+
threshold: 0.5
6165

6266
ignore:
6367
- 'packages/client/src/extract-translations.ts'

.eslintrc.js

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
/*
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
5+
*
6+
* OpenCRVS is also distributed under the terms of the Civil Registration
7+
* & Healthcare Disclaimer located at http://opencrvs.org/license.
8+
*
9+
* Copyright (C) The OpenCRVS Authors. OpenCRVS and the OpenCRVS
10+
* graphic logo are (registered/a) trademark(s) of Plan International.
11+
*/
12+
module.exports = {
13+
extends: [
14+
'plugin:@typescript-eslint/recommended',
15+
'plugin:prettier/recommended',
16+
'plugin:import/errors',
17+
'plugin:import/warnings',
18+
'plugin:import/typescript',
19+
'prettier'
20+
],
21+
plugins: ['@typescript-eslint', 'import'],
22+
env: {
23+
es6: true,
24+
node: true,
25+
jest: true
26+
},
27+
rules: {
28+
'import/namespace': 'off',
29+
'prettier/prettier': [
30+
'error',
31+
{
32+
printWidth: 80,
33+
singleQuote: true,
34+
useTabs: false,
35+
tabWidth: 2,
36+
trailingComma: 'none',
37+
semi: false
38+
}
39+
],
40+
'no-console': 'warn',
41+
'arrow-parens': 'off',
42+
'no-return-assign': 'off',
43+
'no-restricted-imports': 'error',
44+
'no-unreachable': 2,
45+
'import/no-unassigned-import': 'error',
46+
'import/no-extraneous-dependencies': 'off',
47+
'import/no-unresolved': 'off',
48+
'import/prefer-default-export': 'off',
49+
'import/no-named-as-default': 'off',
50+
'import/no-relative-parent-imports': 2,
51+
'import/named': 0,
52+
'@typescript-eslint/explicit-function-return-type': 'off',
53+
'@typescript-eslint/no-non-null-assertion': 'off',
54+
'@typescript-eslint/no-unused-vars': 'off',
55+
'@typescript-eslint/no-empty-interface': 'off',
56+
'@typescript-eslint/no-explicit-any': 'off',
57+
'@typescript-eslint/explicit-member-accessibility': 'off',
58+
'@typescript-eslint/interface-name-prefix': 'off',
59+
'@typescript-eslint/no-var-requires': 'error',
60+
'@typescript-eslint/prefer-interface': 'off',
61+
'@typescript-eslint/array-type': 'off',
62+
'@typescript-eslint/no-object-literal-type-assertion': 'off',
63+
'@typescript-eslint/ban-types': [
64+
'error',
65+
{
66+
types: {
67+
'{}': false
68+
},
69+
extendDefaults: true
70+
}
71+
],
72+
'@typescript-eslint/ban-ts-comment': 'off',
73+
'@typescript-eslint/explicit-module-boundary-types': 'off',
74+
'@typescript-eslint/no-empty-function': 'off'
75+
},
76+
globals: {},
77+
parser: '@typescript-eslint/parser'
78+
}

.github/ISSUE_TEMPLATE/---bug.md

Lines changed: 134 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,160 @@ about: Used to submit bugs and things that appear broken.
44
title: ''
55
labels: "\U0001F479Bug"
66
assignees: ''
7-
87
---
98

9+
<!--
10+
Please note that your issue will be fixed much faster if you spend about
11+
half an hour preparing it, including the exact reproduction steps and a demo.
12+
13+
You can attach short animated GIF screen recordings to demonstrate the problem too.
14+
15+
If you're in a hurry or don't feel confident, it's fine to report bugs with
16+
less details, but this makes it less likely they'll get fixed soon.
17+
18+
In either case, please use this template and fill in as many fields below as you can.
19+
-->
20+
1021
**Describe the bug**
1122
A clear and concise description of what the bug is.
1223

24+
**Which feature of OpenCRVS your bug concern?**
25+
26+
<!--
27+
OpenCRVS is a complex stack, can you categorise the error?
28+
29+
E.G. Is this bug to do with:
30+
31+
Installation of a local environment
32+
Deployment to a server environment
33+
Configuration of a country
34+
Docker
35+
Infrastructure / Ansible Playbook
36+
Security
37+
DevOps / Github Actions
38+
Testing
39+
Emergency backup and restore
40+
41+
Application feature:
42+
43+
Login
44+
Registration
45+
Certification / Printing
46+
Connectivity
47+
Search
48+
Record audit
49+
Correcting a record
50+
User audit
51+
Application configuration
52+
Declaration form configuration
53+
Performance
54+
Team or user management
55+
Search
56+
Settings
57+
Export
58+
Reports
59+
60+
-->
61+
1362
**To Reproduce**
1463
Steps to reproduce the behaviour:
15-
1. Go to '...'
16-
2. Click on '....'
17-
3. Scroll down to '....'
18-
4. See error
64+
65+
1. Login as a system admin user '...'
66+
2. Go to '...'
67+
3. Click on '....'
68+
4. Scroll down to '....'
69+
5. See error
1970

2071
**Expected behaviour**
2172
A clear and concise description of what you expected to happen.
2273

74+
<!--
75+
How did you expect the app to behave?
76+
It’s fine if you’re not sure your understanding is correct.
77+
Just write down what you thought would happen.
78+
-->
79+
80+
**Actual behaviour**
81+
Write what happened. Please add screenshots!
82+
83+
<!--
84+
Did something go wrong?
85+
Is something broken, or not behaving as you expected?
86+
Please attach screenshots if possible! They are extremely helpful for diagnosing issues.
87+
-->
88+
2389
**Screenshots**
2490
If applicable, add screenshots to help explain your problem.
2591

92+
**OpenCRVS Core Version:**
93+
94+
<!--
95+
In order for us to replicate the issue, you should tell us which OpenCRVS Core release you are using.
96+
Ensure that your bug occurs in the master / release branch appropriate.
97+
Remember that our develop branch is an in progress work
98+
-->
99+
100+
- v1.1.0 (Git branch: master / release-v1.1.0)
101+
102+
**Country Configuration Version:**
103+
104+
<!--
105+
In order for us to replicate the issue, you should tell us which OpenCRVS Country Configuration release you are using.
106+
Your country config version must match the core version
107+
Ensure that your bug occurs in the master / release branch appropriate.
108+
Remember that our develop branch is an in progress work
109+
-->
110+
111+
- v1.1.0 (Git branch: master / release-v1.1.0)
112+
26113
**Desktop (please complete the following information):**
27-
- OS: [e.g. iOS]
28-
- Browser [e.g. chrome, safari]
29-
- Version [e.g. 22]
114+
115+
- OS: [e.g. iOS]
116+
- Browser [e.g. chrome, safari]
117+
- Version [e.g. 22]
30118

31119
**Smartphone (please complete the following information):**
32-
- Device: [e.g. iPhone6]
33-
- OS: [e.g. iOS8.1]
34-
- Browser [e.g. stock browser, safari]
35-
- Version [e.g. 22]
120+
121+
- Device: [e.g. iPhone6]
122+
- OS: [e.g. iOS8.1]
123+
- Browser [e.g. stock browser, safari]
124+
- Version [e.g. 22]
36125

37126
**Additional context**
38127
Add any other context about the problem here.
39128

40129
**Possible fixes**
41-
42130
(If you can, link to the line of code that might be responsible for the problem)
131+
132+
**Reproducible demo**
133+
134+
<!--
135+
If you can, please share a project that reproduces the issue.
136+
This is the single most effective way to get an issue fixed soon.
137+
138+
There are two ways to do it:
139+
140+
* Create a new app and try to reproduce the issue in it.
141+
This is useful if you roughly know where the problem is, or can’t share the real code.
142+
143+
* Or, copy your app and remove things until you’re left with the minimal reproducible demo.
144+
This is useful for finding the root cause. You may then optionally create a new project.
145+
146+
This is a good guide to creating bug demos: https://stackoverflow.com/help/mcve
147+
Once you’re done, push the project to GitHub and paste the link to it below:
148+
-->
149+
150+
(Paste the link to an example project and exact instructions to reproduce the issue.)
151+
152+
<!--
153+
What happens if you skip this step?
154+
155+
We will try to help you, but in many cases it is impossible because crucial
156+
information is missing. In that case we'll tag an issue as having a low priority,
157+
and eventually close it if there is no clear direction.
158+
159+
We still appreciate the report though, as eventually somebody else might
160+
create a reproducible example for it.
161+
162+
Thanks for helping us help you!
163+
-->

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/workflows/cd-manual-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
timeout-minutes: 120
3838
strategy:
3939
matrix:
40-
node-version: [14.17.0]
40+
node-version: [14.18.0]
4141
steps:
4242
- name: Checking out git repo
4343
uses: actions/[email protected]

0 commit comments

Comments
 (0)