Skip to content

Releases: medic/cht-core

2.13.6

16 Apr 00:30
Compare
Choose a tag to compare

Performance fixes

  • #4430: Lineage information from the contact summary causes forms to take minutes to load, freeze browser

2.14.0

15 Mar 09:41
Compare
Choose a tag to compare

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, and percentage_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

  • #3873: Escape output to defend against javascript injection.
  • #3239: Accessing webapp without logging in is possible.

2.13.0

01 Oct 20:05
Compare
Choose a tag to compare

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 called lineage. 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, so output; becomes return 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

  • Password validation so when creating or updating users the new passwords have to be at least 8 characters long and reasonably complex. Issue: #1472
  • Don't eval() user input. Issue: #3546
  • Set Secure setting on AuthSession cookie for HTTPS pages. Issue: #3182

2.8.6

14 Sep 09:20
Compare
Choose a tag to compare

Bug fixes

  • Fixed race condition crashing medic-api causing 502 responses. Issue: #3111

Security

  • Fixed kanso packages that inadvertantly cached data. Issue: #3648

2.12.2

01 Aug 20:43
Compare
Choose a tag to compare

Bug fixes

  • Accept patient reports for patients created in app. Issue: #3740
  • Stop accept_patient_reports transition clearing messages for unrelated registrations. Issue: #3742

2.12.1

01 Aug 20:44
Compare
Choose a tag to compare

Bug fixes

  • Improved error messages for SMS endpoint. Issue: #3587
  • Allow for empty SMS message Content. Issue: #3656
  • Implement 500 item max for bulk delete. Issue: #3605

Security

  • Fixed kanso packages that inadvertently cached credentials. Issue: #3648

2.12.0

27 Jun 09:49
Compare
Choose a tag to compare

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

UI/UX improvements

  • Bullet displayed incorrectly. Issue: #3020
  • File chooser for importing translations should filter for .properties files. Issue: #3474
  • Show loading progress when app is starting. Issue: #3384

2.11.3

08 Jun 21:45
Compare
Choose a tag to compare

Bug fixes

  • The namespace-form-fields migration conflicts itself. Issue: #3534
  • In the create-patient-contacts migration provide a more complete list of potential patient_name locations. Issue: #3372

2.11.2

06 Jun 01:40
Compare
Choose a tag to compare

Performance improvements

  • Slow initial replication for users with lots of docs. Issue: #3508

2.11.1

10 May 13:26
Compare
Choose a tag to compare

May 9, 2017

Bug fixes

  • Cannot report via SMS about people who are registered in the web app. Issue: #3401
  • Results page CSS messed up in v2.11. Issue: #3369
  • The user needs an associated contact to create a contact. Issue: #3394
  • Error when adding Place with new person. Issue: #3420
  • Error after canceling and re-opening any contact creation form. Issue: #3448
  • namespace-form-fields migration : report bulk errors. Issue: #3371 (second part)