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 v24.40.0 #2504

Merged
merged 48 commits into from
Oct 3, 2024
Merged

Production Release v24.40.0 #2504

merged 48 commits into from
Oct 3, 2024

Conversation

nihal467
Copy link
Member

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

@ohcnetwork/care-backend-maintainers @ohcnetwork/care-backend-admins

vigneshhari and others added 30 commits September 19, 2024 19:56
* Added Facility Flag Implementation

* added caching and user flags

* Fix class name

* update migrations

* fixes

* format

* add tests

* fix tests

* Fix variable naming

* abstract feature flag model

* cleanup

* fix migrations

* fix failing tests

* Add merge migration

* Clean migrations

* Fix linting

* fix lint

---------

Co-authored-by: Aakash Singh <[email protected]>
* added timeout to middleware requests

* updated the reference for timeout value in function

---------

Co-authored-by: Vignesh Hari <[email protected]>
update unique_bed_name_per_location to ignore deleted beds (#2432)

---------

Co-authored-by: vigneshhari <[email protected]>
fix string representation of prescription and mar (#2412)
Convert enum choices to integer choices in Daily Rounds (#2462)
Major dependencies update (#2449)

---------

Co-authored-by: Vignesh Hari <[email protected]>
Co-authored-by: vigneshhari <[email protected]>
use random uuid suffix in cover image key with size validation (#2472)

Co-authored-by: Vignesh Hari <[email protected]>
Fixes default admin url (#2474)

---------

Co-authored-by: Aakash Singh <[email protected]>
added a request time logging middleware (#2361)

---------

Co-authored-by: Vignesh Hari <[email protected]>
* add ruff

* fix ruff command

* use ruff action

* update lint action

* update rules
Added Facility Hubs (#2135)

---------

Co-authored-by: Aakash Singh <[email protected]>
)

* Bump the all-dependencies group across 1 directory with 4 updates

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aakash Singh <[email protected]>
Co-authored-by: Vignesh Hari <[email protected]>
Bumps [pydantic](https:/pydantic/pydantic) from 1.10.15 to 1.10.18.
- [Release notes](https:/pydantic/pydantic/releases)
- [Changelog](https:/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](pydantic/pydantic@v1.10.15...v1.10.18)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…encounters (#2133)

Prescriptions and MAR: Disallow users to perform edits on discharged encounters (#2133)

---------

Co-authored-by: Vignesh Hari <[email protected]>
Reply feature for Doctor notes  (#2160)

---------

Co-authored-by: Rithvik Nishad <[email protected]>
Co-authored-by: Khavin Shankar <[email protected]>
Co-authored-by: rithviknishad <[email protected]>
Co-authored-by: Aakash Singh <[email protected]>
Co-authored-by: Vignesh Hari <[email protected]>
Co-authored-by: vigneshhari <[email protected]>
Bumps [cryptography](https:/pyca/cryptography) from 43.0.0 to 43.0.1.
- [Changelog](https:/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@43.0.0...43.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vignesh Hari <[email protected]>
* disable default jwks for production deployments

* add default jwks for prebuilts

* Revert "add default jwks for prebuilts"

This reverts commit 68c6820.
Removed redundant room types in FacilityCapacity (#2417)

---------

Co-authored-by: Aakash Singh <[email protected]>
Co-authored-by: Vignesh Hari <[email protected]>
Soft delete assets from deleted facilities/hospitals (#1996)

---------

Co-authored-by: Aakash Singh <[email protected]>
Co-authored-by: Vignesh Hari <[email protected]>
UdaySagar-Git and others added 18 commits September 23, 2024 10:28
Add user profile pictures (#2253)

---------

Co-authored-by: Aakash Singh <[email protected]>
Co-authored-by: Vignesh Hari <[email protected]>
 archived spo2 field to archived_spo2 (#2397)

---------

Co-authored-by: Aakash Singh <[email protected]>
…discharge patient filters (#2204)

Adds functionality for `last_consultation_admitted_bed_type_list` in discharge patient filters (#2204)

---------

Co-authored-by: Shivank Kacker <[email protected]>
Co-authored-by: Aakash Singh <[email protected]>
Co-authored-by: Vignesh Hari <[email protected]>
* seperated hcx into a plug

* added HCX_CERT_URL env for hcx plug

* updated hcx plug package name

* updated hcx plug repo url

* enabled loading static data from plugs

* removed env declaration in plug config

* fixed linting errors

* added hcx staging config for local and testing

* fixed tests

---------

Co-authored-by: Aakash Singh <[email protected]>
fix facility capacity uploads
* disable aspect ratio validation for images

* fix

---------

Co-authored-by: Vignesh Hari <[email protected]>
…es (#2268)

Set default permission class to IsAuthenticated & made required changes (#2268)

---------

Co-authored-by: Aakash Singh <[email protected]>
Allow installing plugs from env (#2473)
Bumps the boto group with 2 updates: [boto3](https:/boto/boto3) and [boto3-stubs](https:/youtype/mypy_boto3_builder).


Updates `boto3` from 1.35.24 to 1.35.25
- [Release notes](https:/boto/boto3/releases)
- [Commits](boto/boto3@1.35.24...1.35.25)

Updates `boto3-stubs` from 1.35.24 to 1.35.25
- [Release notes](https:/youtype/mypy_boto3_builder/releases)
- [Commits](https:/youtype/mypy_boto3_builder/commits)

---
updated-dependencies:
- dependency-name: boto3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: boto
- dependency-name: boto3-stubs
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: boto
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fix all linting issues in care (#2483)

---------

Co-authored-by: Aakash Singh <[email protected]>
Merge Develop to Staging v24.40.0
add leeway to taken at in future

Co-authored-by: Vignesh Hari <[email protected]>
Merge Develop to Staging v24.40.0 | Patch
Copy link

codecov bot commented Sep 27, 2024

Codecov Report

Attention: Patch coverage is 59.10308% with 611 lines in your changes missing coverage. Please review.

Project coverage is 65.59%. Comparing base (1d69bc9) to head (d6e4aa0).
Report is 24 commits behind head on production.

Files with missing lines Patch % Lines
...e/facility/api/serializers/patient_consultation.py 19.60% 34 Missing and 7 partials ⚠️
care/facility/api/serializers/file_upload.py 8.10% 31 Missing and 3 partials ⚠️
care/utils/ulid/ulid.py 40.90% 26 Missing ⚠️
care/utils/notification_handler.py 35.89% 24 Missing and 1 partial ⚠️
care/abdm/utils/api_call.py 5.00% 19 Missing ⚠️
care/facility/api/viewsets/patient.py 59.57% 12 Missing and 7 partials ⚠️
care/users/api/serializers/user.py 54.76% 15 Missing and 4 partials ⚠️
care/abdm/utils/fhir.py 5.55% 17 Missing ⚠️
care/facility/api/serializers/patient.py 56.75% 12 Missing and 4 partials ⚠️
...e/facility/management/commands/load_redis_index.py 0.00% 15 Missing ⚠️
... and 99 more
Additional details and impacted files
@@              Coverage Diff               @@
##           production    #2504      +/-   ##
==============================================
+ Coverage       64.57%   65.59%   +1.02%     
==============================================
  Files             240      223      -17     
  Lines           13646    13383     -263     
  Branches         1950     1855      -95     
==============================================
- Hits             8812     8779      -33     
+ Misses           4460     4218     -242     
- Partials          374      386      +12     

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

@nihal467 nihal467 marked this pull request as ready for review September 30, 2024 08:52
@nihal467 nihal467 requested a review from a team as a code owner September 30, 2024 08:52
@gigincg gigincg merged commit 597f3ce into production Oct 3, 2024
11 of 13 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.