Releases: medic/cht-core
Releases · medic/cht-core
2.13.7
2.14.1
2.13.6
2.14.0
Migration notes
- #3449: We included a feature which makes it unnecessary to use a
repeat-relevant
node in Enketo forms to workaround a bug which created an empty child. This node should now be removed. - #3629: We added more configurable text to the target widgets. Also, configuring an array of target titles is now deprecated in favor specifying a single translation key. Reconfigure your targets to specify values for
translation_key
,subtitle_translation_key
, andpercentage_count_translation_key
properties. Full documentation. - #3818: We changed the way groups of scheduled messages are silenced when using
silence_for
. Previously, only the first group found to be in the silence window was silenced. Now, all groups are.
Features
- #3096: Allow users to take a photo while filling in an xform in Enketo and upload the photo with the form.
- #3459: Add format-date-tr() to our custom xpath functions to support translations of days and months in xforms.
- #3450: Show the logout button in the hamburger menu for android users who have the new
can_log_out_on_android
permission set.
Bug fixes
- #3944: Unread reports bubble not working with deleted docs.
- #3563: Sentinel scheduling EDDs on a Sunday for all ANC registrations.
- #3821: Export api doesn't handle errors during export gracefully.
- #4111: Enketo or-output never shows initial value.
- #4166: People created via sentinel transitions are not replicated.
- #4200: Sentinel nulls out parent when multiple docs generated from one form submission.
- #4201: PNC schedule is not generated when a delivery report is submitted.
UI/UX improvements
- #3945: Update the icons used for contacts.
- #3904: Make
user type
required in the edit user screen. - #3758: Title of form is misaligned in list of reports and reports detail pane.
- #3736: Configurable profile field UI changes.
- #3735: Reports content row improvements.
- #3734: Tasks content row improvements.
- #3732: Message content row improvements.
- #3731: Update content row UI for consistency & improved readability.
- #3720: Improve display of icons in configurable profile cards.
- #3719: Person & place profile page UI changes.
- #3704: Improve password strength validation error messages.
- #3629: Update target widget cards and targets page layout.
- #3597: Update fonts to Noto.
- #3561: Display required fields when creating a "restricted to a place" user.
- #2522: Percentage target values are confusing.
Performance improvements
- #3950: Remove stats collection in API as it's no longer used.
- #3913: Sentinel's fetchHydratedDoc function should use only fetch contacts that aren't already present in the lineage list.
- #4174: Remove WebWorker for improved client database performance.
Security
2.13.0
Migration notes
- #2635 changes the context available to the configured contact summary script. The
contact
parameter no longer has information about parents. This information is now in an array calledlineage
. More information is available in the configuration documentation. - #3546 changes the implementation of the
contact_summary
so instead of declaring the output on the last line of the script, now you have to return the output. Usually this is as easy as adding a return on the last line, sooutput;
becomesreturn output;
. More information is available in the configuration documentation.
Features
- multi_report_alerts transition added to sentinel. See the documentation in medic-docs. Issue: #3416
- Specify which forms can be downloaded using Collect. Issue: #3607
- Validate sentinel transition configs at transition load time. Issue: #3585
- Information from the contact-summary is now available as input to forms. Issue: #3413
- Allow users to enter Bikram Sambat dates in Enketo forms on Android phones. Issue: #3513
- Allow users to enter Bikram Sambat dates in Enketo forms in the web app. Issue: #3404
- Registration of a person from a report/action form is now possible. Issue: #2912
Bug fixes
- Couch responds with 200 when a bad app_settings file is uploaded. Issue: #3674
- Select All in bulk delete doesn't work. Issue: #3646
- Only serve collect-specific XML forms to collect. Issue: #3642
- Exporting when filtered by report type exports more reports than are displayed in the web app. Issue: #3615
- Bulk delete fails when deleting more than a few hundred records. Issue: #3605
- Exporting reports filtered by place results in an empty xml. Issue: #3593
- Requesting forms should respond with 4xx on client error. Issue: #3569
- Can't view contacts for restricted user. Issue: #3517
- Bad error message when associated contact is not available in the local DB. Issue: #3499
- Gardener bug on startup when module_name is undefined. Issue: #3481
- Reports list showing when user doesn't have proper permission. Issue: #3452
- select2 in a repeat group does not work as expected in an Xform. Issue: #3430
- {{patient_name}} not found when patient was created by xform. Issue: #3419
- Search doesn't work in Nepali or with accented characters. Issue: #3392
- Remove nested contacts. Issue: #2635
UI/UX improvements
- Sync status cut off in mobile view. Issue: #3703
- Hide Collect XForms from filter list in History tab. Issue: #3625
- Split the form configuration page into JSON and XML tabs. Issue: #3559
- Wrap text in tasks list. Issue: #3525
- Task summary screen looks ugly on desktop. Issue: #3521
- Send Report dropdown menu items are misaligned. Issue: #3469
- Disable tasks tour for admins. Issue: #3144
- Confirmation popup should not show on 'Error loading form'. Issue: #3045
- 'May lose data' warning displayed when form has no fields. Issue: #1601
Performance improvements
- Remove modules.js attachment. Issue: #3684
- Use alternative pagination method for running batched migrations. Issue: #3553
- The read status of documents is now stored in a user specific database to reduce unnecessary doc updates. Issue: #2418
Security
2.8.6
2.12.2
2.12.1
2.12.0
Features
- Add sync status indicator for offline users. Issue: #3357
- Add gateway message delivery statuses. Issue: #3073
- Add a replication_date property to records. Issue: #2180
- Change patient id generation to store the length of id it's generating. Issues: #3505
- Allow form upload through Form Configuration UI. Issue: #3433
Bug fixes
- On small screen, cannot re-open date filter in history tab. Issue: #3467
- Debug section of the About screen has some weird extra text. Issue: #3463
- Medic Gateway runs into document update conflicts while trying to upload sms status. Issue: #3443
- Stop
maintain_info_doc
transition from writing sentinel metadata. Issue: #3424 - Webapp does not supply XML forms (XForms) to Collect. Issue: #3390
- Cannot render form in Firefox. Issue: #3354
- False positive error uploading translations. Issue: #3350
- Exporting server logs fails with api 500. Issue: #3209
- AWS EC2 AMI Regression: Does not currently boot. Issue: #3173
- Form exits on Refresh/Reload in Tasks tab. Issue: #3090
- Facility reference code fails to match when using integers and textforms. Issue: #1058