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

Ocrvs 4046 #7744

Open
wants to merge 154 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
154 commits
Select commit Hold shift + click to select a range
cd6670f
Code freeze 1.5.0 release
rikukissa May 13, 2024
1e12cea
[OCRVS-6228] Remove record corrected action from history (#6976)
tahmidrahman-dsi May 14, 2024
7192fcb
Update CHANGELOG.md
tahmidrahman-dsi May 14, 2024
5ac4a52
Fix: Ocrvs 6247 Registrar of any location should be able to review a …
tahmidrahman-dsi May 14, 2024
5dd2bd0
[OCRVS-6163] Fix login config load issue (#7010)
tahmidrahman-dsi May 20, 2024
65a5bb2
fix: handle informant change (#7039)
Nil20 May 27, 2024
370775c
fix: open print record page in the current tab (#7042)
Nil20 May 27, 2024
d2995e6
fix: set correction requested declaration to be retreived (#7040)
Nil20 May 27, 2024
d4ea536
chore: handle configuration option restructure (#7041)
Nil20 May 27, 2024
e69c23f
fix: dashboard cron job not working (#7027)
tahmidrahman-dsi May 27, 2024
9d1733a
fix(ocrvs-7068): show requester, reason, comment, id verfied sections…
tahmidrahman-dsi Jun 4, 2024
50d138a
Merge pull request #7104 from opencrvs/v1.5.0-cherry-pick-7016-7068
Zangetsu101 Jun 7, 2024
d74838e
fix: show correction rejection reason in history
Nil20 Jun 4, 2024
2124446
fix: update correction request task (#7106)
Nil20 Jun 7, 2024
c039454
Merge pull request #7105 from opencrvs/ocrvs-7075-release1.5
Zangetsu101 Jun 7, 2024
43e8b1a
feat: add new handlebars (#6914)
Zangetsu101 May 15, 2024
e3fdfbb
fix: client modal glitches on Integrations-page (#7056)
anamulhaquemollah May 29, 2024
4e26db5
fix: french translation missing for relationship to informant when tr…
anamulhaquemollah May 30, 2024
848f064
fix: remove upload button when no supporting docs are configured (#7006)
anamulhaquemollah Jun 3, 2024
9a5d9c6
fix: place of certification showing wrong location in certificates (#…
anamulhaquemollah Jun 6, 2024
5df8a05
Merge pull request #7108 from opencrvs/cherry-pick-to-v1.5.0
Zangetsu101 Jun 7, 2024
2a21367
Fix "Print and issue to groom|bride" is added to a different variable…
tareq89 Jun 5, 2024
18d5e2f
fix: remove leading slash to make it relative (#7036)
tareq89 Jun 7, 2024
0a025e1
fix: remove duplicateTrackingId check in createDuplicateTask method (…
tareq89 Jun 4, 2024
2b74492
fix: check for valid date to handle incomplete marriage declarations …
tareq89 May 30, 2024
44cfcf3
fix: reset pagination to page 1 when location changes (#7043)
tareq89 May 29, 2024
4edbd56
changelog edited
tareq89 Jun 7, 2024
082edb1
changelog edited
tareq89 Jun 7, 2024
ebe7541
Merge pull request #7112 from opencrvs/cherrypick-tareq-for-v1.5.0
Zangetsu101 Jun 10, 2024
4ef8fa6
feat: configurable image compression options (#7019)
tahmidrahman-dsi Jun 10, 2024
bf7de7e
Merge pull request #7067 from opencrvs/remove-nonce-from-mosip-esignet
euanmillar Jun 13, 2024
ac79a11
chore: ignore metabase vulnerability (#7034)
naftis May 23, 2024
7dc8e1e
chore: ignore braces vulnerability issue (#7127)
naftis Jun 11, 2024
25729cf
Merge pull request #7021 from opencrvs/ocrvs-7005
rikukissa Jun 14, 2024
c944f93
Merge pull request #7022 from opencrvs/consolidate-logging
rikukissa Jun 13, 2024
604db1f
chore(v1.5.0): handle `ws` security error (#7192)
naftis Jun 19, 2024
c31c4f7
chore(v1.5.0): deprecate admin UI menu items (#7191)
github-actions[bot] Jun 19, 2024
d913c88
fix(v1.5.0): certificate overflowing on the preview screen (#7193)
github-actions[bot] Jun 19, 2024
9a59d74
added missing 'requesterOther' params in client queries
Jun 13, 2024
4cc0814
Placeholder commit for PR #7200
invalid-email-address Jun 20, 2024
f4addb2
feat: added progressbar when loading #6641 (#6894)
Zangetsu101 Jun 21, 2024
a5b6af1
amend: make src of logo global (#7102)
jamil314 Jun 7, 2024
1908a35
added missing 'requesterOther' params in client queries
Jun 13, 2024
12e86aa
removed 'declarationJurisdictionId' while calculating AdvancedSearchF…
tareq89 Jun 10, 2024
fe7cb1a
refactor: simplify and correct country data transformation logic
tareq89 Jun 21, 2024
4341424
Fix CHANGELOG.md typo
tareq89 Jun 19, 2024
9150633
disabling 'Mark as duplicate' button when duplicate reason is empty too
tareq89 May 31, 2024
625f132
changelog updated
tareq89 May 31, 2024
8d696f0
Fix "Print and issue to groom|bride" is added to a different variable
tareq89 Jun 21, 2024
8e6b5c8
groom and bride default name fix
tareq89 May 30, 2024
0cf8e80
removed 'declarationJurisdictionId' from IAdvancedSearchFormState
tareq89 Jun 19, 2024
9db14b4
correct import in test file
Jun 20, 2024
f660cbc
DuplicateForm test code updated
tareq89 Jun 21, 2024
9b814a6
Merge pull request #7199 from opencrvs/auto-pr-release-v1.5.0-6894-3840
Zangetsu101 Jun 21, 2024
5b522be
Merge branch 'release-v1.5.0' into auto-pr-release-v1.5.0-7146-31767
Zangetsu101 Jun 21, 2024
a084e45
Merge pull request #7195 from opencrvs/auto-pr-release-v1.5.0-7146-31767
Zangetsu101 Jun 21, 2024
b9cc9c7
fix(v1.5.0): missing heading in mobile view for duplicate (#7217)
github-actions[bot] Jun 21, 2024
1fa41b8
fix(v1.5.0): amend date of certification for verifying certificate (#…
github-actions[bot] Jun 21, 2024
6c008cf
Merge branch 'release-v1.5.0' into auto-pr-release-v1.5.0-7200-28922
jamil314 Jun 21, 2024
ac7ca00
fix: made `completenessRate` a number before sorting (#7221)
jamil314 Jun 21, 2024
874f2c5
feat: added `Correction requested` option to advance search dropdown
jamil314 Jun 19, 2024
b40daa7
amend: add `correction requested` in `death`
jamil314 Jun 20, 2024
3b32499
ITextAreaProps updated in TextArea element
tareq89 Jun 21, 2024
a90be7c
Merge branch 'release-v1.5.0' of github.com:opencrvs/opencrvs-core in…
tareq89 Jun 21, 2024
6bec2c2
Update CHANGELOG.md
tareq89 Jun 24, 2024
c3fae9b
feat(v1.5.0): log and mask the notification details (#7237)
github-actions[bot] Jun 25, 2024
ad26e6a
Merge branch 'release-v1.5.0' into cherrypick-bugfix-by-tareq-for-1.5
tareq89 Jun 25, 2024
f5bb47a
fix: typo in test name
Zangetsu101 Jun 25, 2024
6c404ad
Merge pull request #7216 from opencrvs/cherrypick-bugfix-by-tareq-for…
Zangetsu101 Jun 25, 2024
b693ed8
Enforce token for seedign roles and users
euanmillar Jun 25, 2024
1b8399e
Merge branch 'release-v1.5.0' into auto-pr-release-v1.5.0-7200-28922
Zangetsu101 Jun 26, 2024
19ce0fe
Merge pull request #7203 from opencrvs/auto-pr-release-v1.5.0-7200-28922
Zangetsu101 Jun 26, 2024
be7b23a
🍒 Merge changes from PR #7058 to release-v1.5.0 (#7242)
github-actions[bot] Jun 26, 2024
26f5201
fix(v1.5.0): rename geojson endpoint to not tie implementations to ex…
github-actions[bot] Jun 27, 2024
ab461aa
fix: sort not working in performance on `totalRegistered`, `registere…
github-actions[bot] Jun 27, 2024
b9ade07
fix: delete certificate properties of payload for correction
Nil20 Jun 3, 2024
3527516
docs: add comment
Nil20 Jun 4, 2024
b404635
docs: update changelog(#7065)
Nil20 Jun 5, 2024
1dd702e
fix: delete certificate properties from store
Nil20 Jun 13, 2024
7942d13
fix: amend certificate in declaration
Nil20 Jun 14, 2024
ca70ad0
fix: amend download button on click functionality
Nil20 Jun 11, 2024
e1c88de
Merge branch 'release-v1.5.0' into auto-pr-release-v1.5.0-7093-11097
Zangetsu101 Jun 28, 2024
569d1b9
Merge pull request #7222 from opencrvs/auto-pr-release-v1.5.0-7093-11097
Zangetsu101 Jun 28, 2024
2e49888
fix: added `showTitleOnMobile` in missing pages
jamil314 Jun 26, 2024
49b589f
fix: allow correction requested reg status for search request
Nil20 Jun 10, 2024
bf704e1
docs: update changelog(7110)
Nil20 Jun 14, 2024
413328f
Merge branch 'release-v1.5.0' into ocrvs-6234-1.5
Nil20 Jun 28, 2024
5f74813
Merge pull request #7265 from opencrvs/ocrvs-6234-1.5
Zangetsu101 Jun 28, 2024
771d8e8
Merge branch 'release-v1.5.0' into ocrvs-7110-release
Zangetsu101 Jun 28, 2024
a479e91
Merge pull request #7271 from opencrvs/ocrvs-7110-release
Zangetsu101 Jun 28, 2024
06f51ba
fix(v1.5.0): increase rate limit on team searches #7277 (#7278)
github-actions[bot] Jun 28, 2024
a7319d5
fix(v1.5.0): storybook #7282 (#7283)
github-actions[bot] Jun 28, 2024
30f8a9d
Merge pull request #7268 from opencrvs/auto-pr-release-v1.5.0-7250-26836
Zangetsu101 Jul 1, 2024
f6d449c
fix: system crash in the 'Registration by Status' section under Perfo…
anamulhaquemollah Jul 1, 2024
7e14b13
fix(v1.5.0): date of certification not being visible on death #7290 (…
github-actions[bot] Jul 1, 2024
ea0c18c
Merge branch 'release-v1.5.0' into auto-pr-release-v1.5.0-7129-683
Zangetsu101 Jul 1, 2024
773cb92
Merge pull request #7293 from opencrvs/auto-pr-release-v1.5.0-7129-683
Zangetsu101 Jul 1, 2024
57b4c5c
fix: workflow status' informant information (#7142)
Nil20 Jul 1, 2024
617e073
feat: make assign/unassign more robust (#7280)
Nil20 Jul 1, 2024
3675cc0
Merge pull request #7294 from opencrvs/auto-pr-release-v1.5.0-7142-21548
Zangetsu101 Jul 1, 2024
053062d
fix: preserve selection for `fees required`
jamil314 Jun 24, 2024
1bd9d1c
:fix: show `Correct record ?` modal
jamil314 Jun 24, 2024
1bf40dd
fix: label for total payable fees
jamil314 Jun 24, 2024
333e0a7
amend: add `labelParam` in `IFormFieldBase` to dynamically show currency
jamil314 Jun 25, 2024
ccfb45c
amend: moved currencySymbol in render()
jamil314 Jun 26, 2024
db8b8de
added type to `currencySymbol`
jamil314 Jun 27, 2024
caa4584
Merge pull request #7299 from opencrvs/auto-pr-release-v1.5.0-7227-4593
Zangetsu101 Jul 2, 2024
08ca0a9
fix: handle unauthorized error in gateway for no users found (#7025)
Nil20 Jun 11, 2024
f337157
fix: render condition for review button in search result page (#7226)…
github-actions[bot] Jul 2, 2024
5a9ef6d
Merge branch 'release-v1.5.0' into cherry-pick-7003
tahmidrahman-dsi Jul 2, 2024
c7e77ef
Merge pull request #7304 from opencrvs/cherry-pick-7003
Zangetsu101 Jul 2, 2024
f663cbd
fix(v1.5.0): advanced search refetch queries not matching the searche…
github-actions[bot] Jul 3, 2024
4a6a37e
fix(v1.5.0): allow fonts from country config #7307 (#7309)
github-actions[bot] Jul 3, 2024
d363f7a
fix: Comment section not showing up (#7263)
jamil314 Jul 3, 2024
b1e12a8
amend: get `userRole` from systemAdmin/../utils
jamil314 Jul 3, 2024
06972ec
Merge pull request #7312 from opencrvs/auto-pr-release-v1.5.0-7263-1935
Zangetsu101 Jul 3, 2024
43ba83d
fix: remove extra param from adv search form state (#7298)
Zangetsu101 Jul 3, 2024
a6ed319
Merge pull request #7316 from opencrvs/auto-pr-release-v1.5.0-7298-20089
Zangetsu101 Jul 3, 2024
255ce45
fix: delete reinstated declaration from store
Nil20 Jul 3, 2024
47da939
fix: disable search button for incomplete date field (#7206)
Nil20 Jul 3, 2024
bbb308a
Merge pull request #7317 from opencrvs/auto-pr-release-v1.5.0-7206-5599
Zangetsu101 Jul 3, 2024
40435a4
Merge branch 'release-v1.5.0' into auto-pr-release-v1.5.0-7318-7837
Zangetsu101 Jul 3, 2024
59be906
fix: pass auth token with certs req
Zangetsu101 Jul 3, 2024
5c306a3
Merge pull request #7319 from opencrvs/auto-pr-release-v1.5.0-7318-7837
Zangetsu101 Jul 3, 2024
bbf8f8e
Merge branch 'release-v1.5.0' into auto-pr-release-v1.5.0-7320-11100
Zangetsu101 Jul 3, 2024
4669ed9
fix: update assignment check for retrieve action
Nil20 Jul 3, 2024
829104e
Merge pull request #7321 from opencrvs/auto-pr-release-v1.5.0-7320-11100
Zangetsu101 Jul 3, 2024
e3306f5
fix: redis hostname
Zangetsu101 Jul 3, 2024
a3cd3c6
Merge branch 'release-v1.5.0' into auto-pr-release-v1.5.0-7323-11582
Zangetsu101 Jul 3, 2024
9210b09
Merge pull request #7325 from opencrvs/auto-pr-release-v1.5.0-7323-11582
Zangetsu101 Jul 3, 2024
4282a6a
Merge branch 'release-v1.5.0' into auto-pr-release-v1.5.0-7322-21554
Zangetsu101 Jul 3, 2024
6faa8c5
Merge pull request #7327 from opencrvs/auto-pr-release-v1.5.0-7322-21554
Zangetsu101 Jul 3, 2024
7ff23a8
chore(v1.5.0): changelog (#7330)
github-actions[bot] Jul 4, 2024
885f823
Refactor client/transformer to improve document change tracking
tareq89 Jul 3, 2024
fe3f688
Merge pull request #7331 from opencrvs/auto-pr-release-v1.5.0-7328-27850
Zangetsu101 Jul 4, 2024
523d448
Placeholder commit for PR #7023
invalid-email-address Jul 4, 2024
96b0c31
fix: email of practitioner (#7315)
jamil314 Jul 4, 2024
7f69ae1
fix: track custom field changes for correction (#7023)
Nil20 Jul 4, 2024
2e335b7
Merge pull request #7333 from opencrvs/auto-pr-release-v1.5.0-7315-13764
Zangetsu101 Jul 5, 2024
24df57c
fix: fetch Documents after resolving Encounters
Zangetsu101 Jul 3, 2024
08909a9
Merge pull request #7332 from opencrvs/auto-pr-release-v1.5.0-7023-8095
Zangetsu101 Jul 5, 2024
90575d3
Merge pull request #7339 from opencrvs/auto-pr-release-v1.5.0-7314-9999
Zangetsu101 Jul 5, 2024
812513f
fix: show comment section when there is no comment in record audit modal
jamil314 Jul 4, 2024
39cb955
Merge pull request #7341 from opencrvs/auto-pr-release-v1.5.0-7335-30595
Zangetsu101 Jul 5, 2024
8d7f71e
fix: sync review button logic in adv search result
Zangetsu101 Jul 5, 2024
03781d6
Merge pull request #7342 from opencrvs/auto-pr-release-v1.5.0-7340-9200
Zangetsu101 Jul 5, 2024
0cf360d
feat: send notification for rejection event (#7345)
Zangetsu101 Jul 5, 2024
cfd7469
Merge pull request #7346 from opencrvs/auto-pr-release-v1.5.0-7345-267
Zangetsu101 Jul 5, 2024
7249900
Merge pull request #6973 from opencrvs/release-v1.5.0
euanmillar Jul 10, 2024
ea94ae9
fix: bring back certificate & notification config
Zangetsu101 Jul 12, 2024
bea5a75
test: remove preview/print related tests
Zangetsu101 Jul 12, 2024
3618147
Merge pull request #7380 from opencrvs/revert-certificates
euanmillar Jul 14, 2024
4497dc7
added confirm dialog before delete
cleverclope Oct 8, 2024
b09edd1
added confirm dialog before delete
cleverclope Oct 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .trivyignore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,16 @@ vulnerabilities:
- id: CVE-2022-1471
statement: Dashboards vulns (java libs)
- id: CVE-2024-25710
statement: Metabase v0.46 vulnerability (remove when v0.49 is released)
statement: Metabase v0.46 vulnerability, fixed in Metabase v0.49
- id: CVE-2024-26308
statement: Metabase v0.46 vulnerability (remove when v0.49 is released)
statement: Metabase v0.46 vulnerability, fixed in Metabase v0.49
- id: CVE-2024-22201
statement: Metabase v0.46 vulnerability (remove when v0.49 is released)
statement: Metabase v0.46 vulnerability, fixed in Metabase v0.49
- id: CVE-2023-36478
statement: Metabase v0.46 vulnerability (remove when v0.49 is released)
statement: Metabase v0.46 vulnerability, fixed in Metabase v0.49
- id: CVE-2024-21634
statement: Metabase v0.46 vulnerability, fixed in Metabase v0.49
- id: CVE-2024-4068
statement: Transitive dependency of lint-staged, jest and msw. Not running in production. Likely fixed by upgrading.
- id: CVE-2024-37890
statement: ws vulnerability, transitive dependency of jest, storybook, graphql-codegen, not running in production.
52 changes: 49 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 1.5.0 (TBD)
## 1.5.0

## Breaking changes

Expand All @@ -20,18 +20,36 @@

We are dropping support for 'agentDefault' to be used as initial value for SELECT_WITH_DYNAMIC_OPTIONS type of fields. The country config package now must return the form with prepopulated initial values to show default addresses. [#6871](https://github.com/opencrvs/opencrvs-core/issues/6871)

- #### Remove system admin UI items: Application, User roles

We have now moved to configuring these items directly from country configuration repository.

## New features

- Add loading spinners before JavaScript bundle has loaded for both login and client
- Add loading bar before javaScript bundle has loaded for client and when fetching records [#6641](https://github.com/opencrvs/opencrvs-core/issues/6641)
- Support for landscape certificate templates
- Allow defining maxLength attribute for number type fields [#6356](https://github.com/opencrvs/opencrvs-core/issues/6356)
- Certificate handlebar for registration fees `registrationFees` [#6817](https://github.com/opencrvs/opencrvs-core/issues/6817)
- Logged in user details handlebar `loggedInUser` [#6529](https://github.com/opencrvs/opencrvs-core/issues/6529)
- Introduce two new properties to the form field `DOCUMENT_UPLOADER_WITH_OPTION`
- `compressImagesToSizeMB` : An optional prop of number type to define a compressed size. Compression is ignored when the input file is already smaller or equal of the given value or a falsy given value.
- `maxSizeMB`: An optional validation prop to prevent input of a file bigger than a defined value.
- Metabase default credentials now must be configured via countryconfig repository environment variables and secrets otherwise the dashboard service won't start [#6578](https://github.com/opencrvs/opencrvs-core/issues/6578)
- Introduce rate limiting to routes that could potentially be bruteforced or extracted PII from [#6145](https://github.com/opencrvs/opencrvs-core/pull/6145)

## Improvements

- Development time logs are now much tidier and errors easier to point out. Production logging will still remain as is. [#7022](https://github.com/opencrvs/opencrvs-core/pull/7022)
- Mask emails and phone numbers from notification logs [#7204](https://github.com/opencrvs/opencrvs-core/pull/7204)

## Bug fixes

- Handle back button click after issuing a declaration [#6424](https://github.com/opencrvs/opencrvs-core/issues/6424)
- Fix certificate verification QR code for a death declaration [#6230](https://github.com/opencrvs/opencrvs-core/issues/6230#issuecomment-1996766125)
- Fix certificate verification QR code crashing when gender is unknown [#6422](https://github.com/opencrvs/opencrvs-core/issues/6422)
- Fix certificate verification page missing registration center and the name of registrar [#6614](https://github.com/opencrvs/opencrvs-core/issues/6614)
- Amend certificate verification showing the certifying date instead of records creation date [#7098](https://github.com/opencrvs/opencrvs-core/pull/7098)
- Fix records not getting issued [#6216] (https://github.com/opencrvs/opencrvs-core/issues/6216)
- Fix record correction e2e failing due to stale data getting saved on redux
- Convert eventDates to LocalDate before formatting [#6719](https://github.com/opencrvs/opencrvs-core/issues/6719)
Expand All @@ -41,8 +59,36 @@
- Fix certificate templates not getting populated for health facility event locations & ADMIN_LEVEL > 2
- Fix download failure for incomplete (without date of death) death declarations [#6807](https://github.com/opencrvs/opencrvs-core/issues/6807)
- Fix search result declaration record audit unassign issue [#5781](https://github.com/opencrvs/opencrvs-core/issues/5781)
- In review page, Eliminating the 'No supporting documents' and 'upload' prompts when documents are already uploaded [#6231] (https://github.com/opencrvs/opencrvs-core/issues/6231)

- In review page, Eliminating the 'No supporting documents' and 'upload' prompts when documents are already uploaded [#6231](https://github.com/opencrvs/opencrvs-core/issues/6231)
- In record audit page, after 'Correction request approved' the “record corrected” action is removed from history [#6228](https://github.com/opencrvs/opencrvs-core/issues/6228)
- Fix Registrar of any location should be able to review a correction request [#6247](https://github.com/opencrvs/opencrvs-core/issues/6247)
- remove upload button when no supporting docs are configured [#5944](https://github.com/opencrvs/opencrvs-core/issues/5944)
- Fix issues of invisible inputs when navigating from can't login link in login page [#6163](https://github.com/opencrvs/opencrvs-core/issues/6163)
- Fix the "Continue" button being disabled when changes in correction form is made [#6780](https://github.com/opencrvs/opencrvs-core/issues/6780)
- Remove leading slash from `resendAuthenticationCode` in login to fix resend email button [#6987](https://github.com/opencrvs/opencrvs-core/issues/6987) [#7037](https://github.com/opencrvs/opencrvs-core/issues/7037)
- Fix 'Place of Certification' is showing wrong in certificate [#7060] (https://github.com/opencrvs/opencrvs-core/issues/7060)
- Fix dashboard cron jobs not working [#7016](https://github.com/opencrvs/opencrvs-core/issues/7016)
- Fix Check for valid date to handle incomplete marriage declarations [#7017](https://github.com/opencrvs/opencrvs-core/issues/7017)
- Fix session expiration when user tries to change phone number [#7003](https://github.com/opencrvs/opencrvs-core/pull/7025)
- Fix French translation missing for relationship to informant when trying to correct record, print and issue record [#6341] (https://github.com/opencrvs/opencrvs-core/issues/6341)
- Fix client modal glitches on integrations page [#7002](https://github.com/opencrvs/opencrvs-core/issues/7002)
- Fix print record page for an unsaved declaration [#6893](https://github.com/opencrvs/opencrvs-core/issues/6893)
- Fix Reset pagination to default page (1) when location changes in UserList [#6481](https://github.com/opencrvs/opencrvs-core/issues/6481)
- Fix Disabling 'Mark as duplicate' button when duplicate reason is empty too [#7083](https://github.com/opencrvs/opencrvs-core/pull/7083)
- Fix certificate overflowing in preview certificate view [#7157](https://github.com/opencrvs/opencrvs-core/pull/7157)
- Fix records going completely missing when an unexpected error happens in the backend [#7021](https://github.com/opencrvs/opencrvs-core/pull/7021)
- Fix correction done from a certificate preview page [#7065](https://github.com/opencrvs/opencrvs-core/pull/7093)
- Fix "Print and issue to groom|bride" is added to a different variable [#7046](https://github.com/opencrvs/opencrvs-core/issues/7046)
- Fix search query is not being saved in the advanced search results [#7110](https://github.com/opencrvs/opencrvs-core/pull/7117)
- Fix removed duplicateTrackingId check in createDuplicateTask method [#7024](https://github.com/opencrvs/opencrvs-core/issues/7024)
- Fix address property handling and corrected country data transformation logic [#6989](https://github.com/opencrvs/opencrvs-core/issues/6989)
- Fix search indexing BRN's in place of identifiers. Adds spouseIdentifier to search with [#7189](https://github.com/opencrvs/opencrvs-core/pull/7189)
- Rename `farajaland-map.geojson` in dashboards to `map.geojson` to not tie opencrvs-core into a specific country implementation name [#7251](https://github.com/opencrvs/opencrvs-core/pull/7251)
- Fix unassign action not appearing in audit history [#7035](https://github.com/opencrvs/opencrvs-core/pull/7072)
- Update advanced search list properly when assignments change [#7307](https://github.com/opencrvs/opencrvs-core/pull/7307)
- Update Content-Security-Policy to allow loading fonts from country configuration [#7296](https://github.com/opencrvs/opencrvs-core/pull/7296)
- Fix frontend crashing on 'Registration by Status' under performance due to missing translations [#7129](https://github.com/opencrvs/opencrvs-core/pull/7129)
- Fix email of practitioner to be saved in hearth. A migration is added to correct the email of practitoiner in existing db. [7315](https://github.com/opencrvs/opencrvs-core/pull/7315)

## Refactor

Expand Down
1 change: 0 additions & 1 deletion development-environment/dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ set -e
DIR=$(cd "$(dirname "$0")"; pwd)

export LANGUAGES="en,fr"
export LOG_LEVEL="error"

if [ -n "$(uname -a | grep Ubuntu)" ]; then
OS="UBUNTU"
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ services:
dockerfile: ./packages/webhooks/Dockerfile
restart: unless-stopped
environment:
- REDIS_HOST=redis://redis:6379
- REDIS_HOST=redis
- MONGO_URL=mongodb://mongo1/webhooks
- AUTH_URL=http://auth:4040
- USER_MANAGEMENT_URL=http://user-mgnt:3030/
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/nginx-default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ add_header X-Permitted-Cross-Domain-Policies master-only;
# I need to change our application code so we can increase security by disabling 'unsafe-inline' 'unsafe-eval'
# directives for css and js(if you have inline css or js, you will need to keep it too).
# more: http://www.html5rocks.com/en/tutorials/security/content-security-policy/#inline-code-considered-harmful
add_header Content-Security-Policy "default-src 'self' {{CONTENT_SECURITY_POLICY_WILDCARD}} *.sentry.io/ sentry.io/; font-src fonts.gstatic.com; object-src 'none'; script-src 'self' 'unsafe-eval' blob: https: http: storage.googleapis.com/workbox-cdn/ sentry.io/api/embed/error-page/; style-src 'self' fonts.googleapis.com 'unsafe-inline'; img-src 'self' data: http: https: ";
add_header Content-Security-Policy "default-src 'self' {{CONTENT_SECURITY_POLICY_WILDCARD}} *.sentry.io/ sentry.io/; font-src fonts.gstatic.com {{CONTENT_SECURITY_POLICY_WILDCARD}}; object-src 'none'; script-src 'self' 'unsafe-eval' blob: https: http: storage.googleapis.com/workbox-cdn/ sentry.io/api/embed/error-page/; style-src 'self' fonts.googleapis.com 'unsafe-inline'; img-src 'self' data: http: https: ";

server {
listen 80;
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MPL-2.0",
"private": true,
"scripts": {
"start": "cross-env NODE_ENV=development NODE_OPTIONS=--dns-result-order=ipv4first nodemon --exec ts-node -r tsconfig-paths/register src/index.ts",
"start": "cross-env NODE_ENV=development NODE_OPTIONS=--dns-result-order=ipv4first nodemon --quiet --exec ts-node -r tsconfig-paths/register src/index.ts",
"start:prod": "TS_NODE_BASEURL=./build/dist/src node -r tsconfig-paths/register build/dist/src/index.js",
"test": "jest --coverage --silent --noStackTrace && yarn test:compilation",
"test:watch": "jest --watch",
Expand Down
20 changes: 10 additions & 10 deletions packages/auth/src/config/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,27 @@
*
* Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS.
*/
import { SENTRY_DSN } from '@auth/constants'
import { ServerRegisterPluginObject } from '@hapi/hapi'
import { logger } from '@opencrvs/commons'
import * as Pino from 'hapi-pino'
import * as Sentry from 'hapi-sentry'
import { SENTRY_DSN } from '@auth/constants'
import { logger } from '@auth/logger'

interface IHapiPlugin {
plugin: typeof Sentry | typeof Pino
options: Record<string, unknown>
}
type IHapiPlugin<T = any> = ServerRegisterPluginObject<T>

export default function getPlugins() {
const plugins: IHapiPlugin[] = [
{
const plugins: IHapiPlugin[] = []

if (process.env.NODE_ENV === 'production') {
plugins.push({
plugin: Pino,
options: {
prettyPrint: false,
logPayload: false,
instance: logger
}
}
]
})
}

if (SENTRY_DSN) {
plugins.push({
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/src/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import * as redis from 'redis'
import { REDIS_HOST } from '@auth/constants'
import { promisify } from 'util'
import { logger } from '@auth/logger'
import { logger } from '@opencrvs/commons'

let redisClient: redis.RedisClient

Expand Down
2 changes: 1 addition & 1 deletion packages/auth/src/features/authenticate/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
sendVerificationCode,
storeVerificationCode
} from '@auth/features/verifyCode/service'
import { logger } from '@auth/logger'
import { logger } from '@opencrvs/commons'
import { unauthorized } from '@hapi/boom'
import { chainW, tryCatch } from 'fp-ts/Either'
import { pipe } from 'fp-ts/function'
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/src/features/invalidateToken/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import * as Joi from 'joi'
import { internal } from '@hapi/boom'
import { invalidateToken } from '@auth/features/invalidateToken/service'
import { postUserActionToMetrics } from '@auth/features/authenticate/service'
import { logger } from '@auth/logger'
import { logger } from '@opencrvs/commons'

interface IInvalidateTokenPayload {
token: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
storeRetrievalStepInformation,
RetrievalSteps
} from '@auth/features/retrievalSteps/verifyUser/service'
import { logger } from '@auth/logger'
import { logger } from '@opencrvs/commons'

const fetch = fetchAny as fetchAny.FetchMock

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
RetrievalSteps,
deleteRetrievalStepInformation
} from '@auth/features/retrievalSteps/verifyUser/service'
import { logger } from '@auth/logger'
import { logger } from '@opencrvs/commons'
import { PRODUCTION } from '@auth/constants'
import { postUserActionToMetrics } from '@auth/features/authenticate/service'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
} from '@auth/features/retrievalSteps/verifyUser/service'
import { checkVerificationCode } from '@auth/features/verifyCode/service'
import { unauthorized } from '@hapi/boom'
import { logger } from '@auth/logger'
import { logger } from '@opencrvs/commons'

interface IVerifyNumberPayload {
nonce: string
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/src/features/verifyCode/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
createToken,
postUserActionToMetrics
} from '@auth/features/authenticate/service'
import { logger } from '@auth/logger'
import { logger } from '@opencrvs/commons'
import { WEB_USER_JWT_AUDIENCES, JWT_ISSUER } from '@auth/constants'
interface IVerifyPayload {
nonce: string
Expand Down
17 changes: 0 additions & 17 deletions packages/auth/src/logger.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/auth/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ import sendUserNameHandler, {
requestSchema as reqSendUserNameSchema
} from '@auth/features/retrievalSteps/sendUserName/handler'
import { tokenHandler } from '@auth/features/system/handler'
import { logger } from '@auth/logger'
import { logger } from '@opencrvs/commons'
import { getPublicKey } from '@auth/features/authenticate/service'
import anonymousTokenHandler, {
responseSchema
Expand Down
101 changes: 56 additions & 45 deletions packages/client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,70 +39,81 @@
<style>
body,
html {
background-color: #f5f5f5;
background-color: #f8f8f8;
margin: 0;
}
#spinner {
.pgrs-wrapper1240 {
height: 100vh;
width: 100vw;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
opacity: 0;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-25px, -25px);
animation: a 2s forwards;
animation: fadeIn 2s forwards;
font-family: sans-serif;
}
#spinner g {
transform-origin: center;
animation: b 2s linear infinite;
.progress-bar {
width: 276px;
height: 8px;
margin-top: 27px;
border-radius: 100px;
background: #d9d9d9;
}
#spinner g circle {
stroke-linecap: round;
animation: c 1.5s ease-in-out infinite;
#root-app-progress {
width: 0;
height: 8px;
border-radius: 100px;
background: #4972bb;
animation: progressAnimation 200s ease-out forwards;
}
@keyframes a {
85% {
opacity: 0;
@keyframes progressAnimation {
0%,
1% {
min-width: 0%;
}
100% {
opacity: 1;
3% {
min-width: 80%;
}
6% {
min-width: 91%;
}
10% {
min-width: 94%;
}
30% {
min-width: 96%;
}
}
@keyframes b {
100% {
transform: rotate(360deg);
min-width: 99%;
}
}
@keyframes c {
0% {
stroke-dasharray: 0 150;
stroke-dashoffset: 0;
}
47.5% {
stroke-dasharray: 42 150;
stroke-dashoffset: -16;
@keyframes fadeIn {
0%,
85% {
opacity: 0;
}
95%,
100% {
stroke-dasharray: 42 150;
stroke-dashoffset: -59;
opacity: 1;
}
}
</style>
</head>

<body>
<noscript> You need to enable JavaScript to run this app. </noscript>
<div id="root">
<svg
id="spinner"
width="50"
height="50"
stroke="#4C68C1"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<g>
<circle cx="12" cy="12" r="9.5" fill="none" stroke-width="2"></circle>
</g>
</svg>
<div class="pgrs-wrapper1240">
<img
src="./images/logo-90x90.svg"
width="90"
height="90"
alt="OpenCRVS logo"
/>
<div class="progress-bar">
<div id="root-app-progress"></div>
</div>
<p>Installing application...</p>
</div>
</div>
<script type="module" src="/src/index.tsx"></script>
</body>
Expand Down
Loading