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

Lazy strings fixed #1

Closed
wants to merge 41 commits into from
Closed

Lazy strings fixed #1

wants to merge 41 commits into from

Conversation

Harsh-D-2004
Copy link
Owner

Proposed Changes

Added Lazy translations to various strings in help_text , berbose name and validation errors

Associated Issue

ohcnetwork#2482

wrapped strings in _(........)

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

rithviknishad and others added 30 commits December 2, 2024 11:47
…ntimes (ohcnetwork#2630)

Revert helathcheck instruction to work with older docker runtimes
* Added get user route

- Added get user route
	- For fetching details of other users
- Added additional permissions check for change password
	- Allowing district admins and above to change password
- Enable username search for FacilityUsers

* added tests

* Added additional tests

- Added last_login as a field in UserSerializer
	- To access login time for user detail queries
- Tweaked error messages to follow similar format

* added last_login to read_only as well

* switched to using UserListView's get route

* changed password perms

* filter facility users by search fields

* add test for coverage

* simplified perms for get

* reverting unneeded changes

* fix

* Remove redundant check

---------

Co-authored-by: Vignesh Hari <[email protected]>
…ker-image

fix dev docker file and enable sql logging
…009/care into fixing-list-viewset-of-camera-preset
…t-of-camera-preset

Fixing list asset bed preset and list bed preset
…cilityUsers

Facility Users filter out deleted users
@Harsh-D-2004 Harsh-D-2004 changed the title Issue fix Lazy strings fixed Dec 21, 2024
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.

9 participants