nihrbackbone merge requestshttps://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests2020-04-02T10:00:44Zhttps://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/15539 validation2020-04-02T10:00:44Zjab10125539 validationHi Erik
Could you please confirm it is OK for me to merge this branch ...
Thanks
JBHi Erik
Could you please confirm it is OK for me to merge this branch ...
Thanks
JBErikHommelErikHommelhttps://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/2JB 5812 add imperial units to form Edit General Observations2020-04-28T12:16:57Zjab1012JB 5812 add imperial units to form Edit General ObservationsIn Edit general observations -
Allow input of height in meters or feet/inches, and weight in kg or stones/pounds
and re-calculate BMIIn Edit general observations -
Allow input of height in meters or feet/inches, and weight in kg or stones/pounds
and re-calculate BMIErikHommelErikHommelhttps://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/36228 report templates2020-06-02T12:16:53Zjab10126228 report templatesNBR versions of summary/detail constituent report templates.NBR versions of summary/detail constituent report templates.ck434ck434https://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/4pack ID validation rule updated2020-06-16T11:08:35Zjab1012pack ID validation rule updatedck434ck434https://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/54925 cpms report2020-06-23T08:02:28Zjab10124925 cpms reportjab1012jab1012https://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/6minor updates for 66532020-06-29T12:37:25Zjab1012minor updates for 6653jab1012jab1012https://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/74925 cpms report2020-07-08T07:31:21Zjab10124925 cpms reportdrop down options for activities changed from boolean to activity statusdrop down options for activities changed from boolean to activity statusjab1012jab1012https://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/84925 cpms report2020-07-08T10:53:41Zjab10124925 cpms reportjab1012jab1012https://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/9minor changes2020-07-20T10:10:59Zjab1012minor changesjab1012jab1012https://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/106645a validation2020-08-04T11:42:49Zjab10126645a validationChecks for duplicate Pack ID and duplicate NHS number added. Tags will be added to contacts when a duplicate contact identity is present.Checks for duplicate Pack ID and duplicate NHS number added. Tags will be added to contacts when a duplicate contact identity is present.jab1012jab1012https://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/11minor update2020-08-05T09:41:36Zjab1012minor updatejab1012jab1012https://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/12Restrict CRM_Nihrbackbone_NihrValidation::validateAlias() to relevant form / ...2020-08-11T13:55:07Zaydunsaidan.saunders@squiffle.ukRestrict CRM_Nihrbackbone_NihrValidation::validateAlias() to relevant form / custom tabFix for #6925Fix for #6925https://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/13Improved performance in logger2020-09-30T10:15:01ZjaapjansmaImproved performance in loggerThe line of thought behind this merge request is that we are importing a large record set and each record writes several lines to the log file. And writing to a log file is writing to disk and is usually slow.
So my first step here is ...The line of thought behind this merge request is that we are importing a large record set and each record writes several lines to the log file. And writing to a log file is writing to disk and is usually slow.
So my first step here is to minimize the calls to `fputs`.
Instead of calling fputs 6 times for a log line, it calls it now one time. I am not sure whether this imroves a lot but it might as we are importing a lot of records and if we log during the import it means we are also writing a lot to disk.
I have not tested this MR nor have I done any measurements whether this improves the actual performance.https://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/145118 dist to centre2020-12-01T14:45:26Zjab10125118 dist to centrecalculate distance by postcode if possible, otherwise by areacalculate distance by postcode if possible, otherwise by areahttps://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/15fix counter for case activities so bulk mail is not counted for every contact2022-07-11T13:36:17ZErikHommelfix counter for case activities so bulk mail is not counted for every contactsee https://www.wrike.com/open.htm?id=692748479
As the activity list in the CaseView is a DataTable and does not support any CiviCRM hooks nor acts too well with the DataTable API I have implemented the following hackish solution:
- th...see https://www.wrike.com/open.htm?id=692748479
As the activity list in the CaseView is a DataTable and does not support any CiviCRM hooks nor acts too well with the DataTable API I have implemented the following hackish solution:
- the DataTable is built up with data selected in the core function CRM_Activity_Page_AJAX::getCaseActivity. I have copied this function and included it in CRM_Nihrbackbone_NbrVolunteerCase as getAjaxParticipationActivities.
- I have also copied the actual function that collects the activities (CRM_Case_BAO_Case::getCaseActivity) into CRM_Nihrbackbone_NbrVolunteerCase as getParticipationCaseActivities (and also the function formatContactLink as it was a private function in CRM_Case_BAO_Case). In this function I have added a few lines to add the contactID to the query to select the case activities so it ignores the bulk mail activities of other contacts. This is not needed in core CiviCRM as that will not hold bulk mail activities or any other activities that are linked to more contacts than the case contact.
- I have added an item to the menu.xml file in the nihrbackbone extension to use my function rather than the core one for the link civicrm_ajax_activity:
<item>
<path>civicrm/ajax/activity</path>
<page_callback>CRM_Nihrbackbone_NbrVolunteerCase::getAjaxParticipationActivities</page_callback>
<title>Participation Activities</title>
<access_arguments>access CiviCRM</access_arguments>
</item>ErikHommelErikHommelhttps://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/16add prevent upload to portal to study form and add option values for portal t...2022-07-12T08:04:45ZErikHommeladd prevent upload to portal to study form and add option values for portal to container* add prevent upload to portal field to study form and option values to container (see https://www.wrike.com/open.htm?id=906177216 and https://www.wrike.com/open.htm?id=923547349)* add prevent upload to portal field to study form and option values to container (see https://www.wrike.com/open.htm?id=906177216 and https://www.wrike.com/open.htm?id=923547349)ErikHommelErikHommelhttps://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/17clean up after careful local testing with portal values2022-07-12T13:34:53ZErikHommelclean up after careful local testing with portal valuesErikHommelErikHommelhttps://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/18remove portal container properties, not needed after all2022-07-12T13:38:38ZErikHommelremove portal container properties, not needed after allErikHommelErikHommelhttps://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/19add property for follow up activity type id to container and config2022-07-14T12:58:56ZErikHommeladd property for follow up activity type id to container and configErikHommelErikHommelhttps://lab.civicrm.org/partners/civicoop/nihr-bioresearch/nihrbackbone/-/merge_requests/20fix for invite by pdf not allowed - change api3 calls to api4 calls, see chan...2022-11-07T15:47:12ZErikHommelfix for invite by pdf not allowed - change api3 calls to api4 calls, see changelogErikHommelErikHommel