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

Production Release Dec Week 2 #1765

Merged
merged 30 commits into from
Dec 11, 2023
Merged

Production Release Dec Week 2 #1765

merged 30 commits into from
Dec 11, 2023

Conversation

gigincg
Copy link
Member

@gigincg gigincg commented Dec 11, 2023

Proposed Changes

  • Brief of changes made.

Associated Issue

  • Link to issue here, explain how the proposed solution will solve the reported issue/ feature request.

Architecture changes

  • Remove this section if not used

Merge Checklist

  • Tests added/fixed
  • Update docs in /docs
  • Linting Complete
  • Any other necessary step

Only PR's with test cases included and passing lint and test pipelines will be reviewed

@coronasafe/care-backend-maintainers @coronasafe/care-backend-admins

Ashesh3 and others added 28 commits December 5, 2023 13:42
…1665)

* Make ordering of lsg and ward deterministic

* fix dump data

* Fix lsg and ward
* offload migrations to beat service

* log connection error
* add management command to load skills

* fix typos
…odel (#1716)

* Add DosageValidator to Prescription model

* make the validator more generic

* fix migrations

* update migrations
* Add WARD as a new room type choice in
AssetLocation model

* update tests
* check if user is from same district

* fix logic order

* refactor

* refactor

Co-authored-by: Aakash Singh <mail@singhaakash.dev>

---------

Co-authored-by: Aakash Singh <mail@singhaakash.dev>
…rts (#1732)

Export oxygen capacity only for  FacilityCapacity
* Add facilities and patients to dummy data

* exclude models

* format file
* Add `resolved_middleware` JSON field to Asset Serializer.
fixes #1740;

* update schema to be nullable field

* move resolving as a utility method in model

* Adds `ResolvedMiddlewareField`
* made patient notes consultation specific

* link existing patient notes to consultations

* update migrations

---------

Co-authored-by: Bhavik Agarwal <bhavikiitian@gmail.com>
---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* prevent unlink for other district

* use id for comparision

* Update care/users/api/viewsets/users.py

Co-authored-by: Aakash Singh <mail@singhaakash.dev>

* add tests

* fix lint

* fix tests and restrict in clear_home_Facility function

* add unlink facility tests

* assert error message in tests

* Update care/users/api/viewsets/users.py

Co-authored-by: Aakash Singh <mail@singhaakash.dev>

* check if user is district admin and above

---------

Co-authored-by: Aakash Singh <mail@singhaakash.dev>
* added validations

* refactor

* make migrations

* Update migrations

Signed-off-by: Aakash Singh <mail@singhaakash.dev>

* switched to positiveintegerfield

* recreate migrations

---------

Signed-off-by: Aakash Singh <mail@singhaakash.dev>
Co-authored-by: Rithvik Nishad <rithvik.nishad@egovernments.org>
Co-authored-by: Aakash Singh <mail@singhaakash.dev>
Co-authored-by: Vignesh Hari <vichuhari100@gmail.com>
Co-authored-by: Vignesh Hari <vichuhari100@gmail.com>
* merge migrations

* fix bad migration from #1505

* fix tests
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.3.7 to 2.3.8.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](pallets/werkzeug@2.3.7...2.3.8)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fix: Import External Result is failing for valid data
Copy link

codecov bot commented Dec 11, 2023

Codecov Report

Attention: 39 lines in your changes are missing coverage. Please review.

Comparison is base (8bdbb42) 60.76% compared to head (e09e4c1) 61.36%.
Report is 182 commits behind head on production.

Files Patch % Lines
care/facility/tasks/asset_monitor.py 0.00% 12 Missing ⚠️
care/users/management/commands/load_skill_data.py 0.00% 9 Missing ⚠️
care/facility/models/asset.py 44.44% 3 Missing and 2 partials ⚠️
care/utils/models/validators.py 87.87% 3 Missing and 1 partial ⚠️
...re/facility/management/commands/load_dummy_data.py 0.00% 3 Missing ⚠️
care/users/api/viewsets/users.py 50.00% 1 Missing and 1 partial ⚠️
care/users/management/commands/load_lsg_data.py 0.00% 2 Missing ⚠️
care/users/management/commands/load_ward_data.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##           production    #1765      +/-   ##
==============================================
+ Coverage       60.76%   61.36%   +0.59%     
==============================================
  Files             210      211       +1     
  Lines           11531    11587      +56     
  Branches         1642     1659      +17     
==============================================
+ Hits             7007     7110     +103     
+ Misses           4283     4205      -78     
- Partials          241      272      +31     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gigincg gigincg merged commit ced0618 into production Dec 11, 2023
16 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants