Seamus Lee [Mon, 27 Jan 2020 00:46:46 +0000 (11:46 +1100)]
Merge pull request #16367 from MegaphoneJon/event-32
event#32: Fix bad variable in message template
Eileen McNaughton [Mon, 27 Jan 2020 00:33:10 +0000 (13:33 +1300)]
Merge pull request #16348 from eileenmcnaughton/ev_online
Remove irrelevant code.
Eileen McNaughton [Sun, 26 Jan 2020 21:31:51 +0000 (10:31 +1300)]
Merge pull request #16375 from seamuslee001/dev_core_1538
Update Export unit test to pass on MySQL 8
Mathieu Lu [Sun, 26 Jan 2020 17:49:10 +0000 (12:49 -0500)]
Merge pull request #16387 from demeritcowboy/blank-google-recaptcha
dev/translation#33 Fix incorrect quoting in a link and an incorrect link
Mathieu Lu [Sun, 26 Jan 2020 17:00:08 +0000 (12:00 -0500)]
Merge pull request #15912 from mydropwizard/d8-language-empty-prefix
dev/drupal#85 Drupal8: Fix bug with empty language prefix mangling https:// to http:/
demeritcowboy [Sun, 26 Jan 2020 05:45:41 +0000 (00:45 -0500)]
fix invalid quoting and incorrect link
Seamus Lee [Sun, 26 Jan 2020 04:58:56 +0000 (15:58 +1100)]
Merge pull request #16386 from civicrm/5.22
5.22
Seamus Lee [Sun, 26 Jan 2020 03:24:15 +0000 (14:24 +1100)]
Merge pull request #16377 from ejegg/serviceFileFinder-5.22
loadServices: tighten up file match regex
Seamus Lee [Sun, 26 Jan 2020 02:54:35 +0000 (13:54 +1100)]
Merge pull request #16385 from civicrm/5.22
5.22
Seamus Lee [Sun, 26 Jan 2020 02:53:40 +0000 (13:53 +1100)]
Merge pull request #16384 from totten/5.22-nfc
(NFC) Civi, CRM, tests - Update for Drupal.Commenting.VariableComment.IncorrectVarType
Seamus Lee [Sun, 26 Jan 2020 00:13:38 +0000 (11:13 +1100)]
[NFC] Fix var declarations in the test folder
Seamus Lee [Sat, 25 Jan 2020 20:39:27 +0000 (07:39 +1100)]
Update Var delcartion to be standard in CRM folder
Tim Otten [Sat, 25 Jan 2020 00:17:30 +0000 (16:17 -0800)]
(NFC) Civi/API - Update for Drupal.Commenting.VariableComment.IncorrectVarType
Tim Otten [Sat, 25 Jan 2020 00:17:21 +0000 (16:17 -0800)]
(NFC) Civi/CCase - Update for Drupal.Commenting.VariableComment.IncorrectVarType
Tim Otten [Sat, 25 Jan 2020 00:17:14 +0000 (16:17 -0800)]
(NFC) Civi/Core - Update for Drupal.Commenting.VariableComment.IncorrectVarType
Tim Otten [Sat, 25 Jan 2020 00:17:04 +0000 (16:17 -0800)]
(NFC) Civi/Payment - Update for Drupal.Commenting.VariableComment.IncorrectVarType
Tim Otten [Sat, 25 Jan 2020 00:16:56 +0000 (16:16 -0800)]
(NFC) Civi/Test - Update for Drupal.Commenting.VariableComment.IncorrectVarType
Tim Otten [Sun, 26 Jan 2020 00:12:08 +0000 (16:12 -0800)]
Merge pull request #16382 from seamuslee001/crm_var_update
(NFC) Update Var declaration to be standard in CRM folder
Seamus Lee [Sat, 25 Jan 2020 20:39:27 +0000 (07:39 +1100)]
Update Var delcartion to be standard in CRM folder
colemanw [Sat, 25 Jan 2020 16:12:39 +0000 (11:12 -0500)]
Merge pull request #16355 from eileenmcnaughton/ev_part
Add helper for getting participantValues
colemanw [Sat, 25 Jan 2020 16:10:35 +0000 (11:10 -0500)]
Merge pull request #16379 from totten/master-coder-ivt
(NFC) Civi/*.php - Update for Drupal.Commenting.VariableComment.IncorrectVarType
Tim Otten [Sat, 25 Jan 2020 00:17:30 +0000 (16:17 -0800)]
(NFC) Civi/API - Update for Drupal.Commenting.VariableComment.IncorrectVarType
Tim Otten [Sat, 25 Jan 2020 00:17:21 +0000 (16:17 -0800)]
(NFC) Civi/CCase - Update for Drupal.Commenting.VariableComment.IncorrectVarType
Tim Otten [Sat, 25 Jan 2020 00:17:14 +0000 (16:17 -0800)]
(NFC) Civi/Core - Update for Drupal.Commenting.VariableComment.IncorrectVarType
Tim Otten [Sat, 25 Jan 2020 00:17:04 +0000 (16:17 -0800)]
(NFC) Civi/Payment - Update for Drupal.Commenting.VariableComment.IncorrectVarType
Tim Otten [Sat, 25 Jan 2020 00:16:56 +0000 (16:16 -0800)]
(NFC) Civi/Test - Update for Drupal.Commenting.VariableComment.IncorrectVarType
Seamus Lee [Fri, 24 Jan 2020 22:46:01 +0000 (09:46 +1100)]
Merge pull request #16373 from colemanw/api4Stuff
Api4 - improve docblocks & display links in explorer
Elliott Eggleston [Fri, 24 Jan 2020 21:28:57 +0000 (16:28 -0500)]
loadServices: tighten up file match regex
Before: Civi code living under a path containing the characters php
(such as ~/src/php/civicrm) will crash trying to load services with
a message like the following:
ReflectionException: Class Civi\Api4\Service\Spec\Provider\src
does not exist in ReflectionClass->__construct()
After: Civi loads services normally no matter what the enclosing path
Seamus Lee [Fri, 24 Jan 2020 21:32:43 +0000 (08:32 +1100)]
Update Export unit test to pass on MySQL 8
Tim Otten [Fri, 24 Jan 2020 21:18:07 +0000 (13:18 -0800)]
Merge remote-tracking branch 'origin/5.22' into 5.22-master-2020-01-24-13-18-00
colemanw [Fri, 24 Jan 2020 21:08:32 +0000 (16:08 -0500)]
Merge pull request #16370 from mattwire/membershipstatuscalc_params
NFC Add parameter definition to membershipstatus.calc
Mathieu Lu [Fri, 24 Jan 2020 18:56:47 +0000 (13:56 -0500)]
Merge pull request #16335 from colemanw/exportui
Move exportui extension into core
Mathieu Lu [Fri, 24 Jan 2020 18:38:38 +0000 (13:38 -0500)]
Merge pull request #16371 from yashodha/typo
Remove unused code
Coleman Watts [Fri, 24 Jan 2020 18:09:41 +0000 (13:09 -0500)]
Add @see annoations to api4 docblocks and show as links in api explorer
Jon Goldberg [Fri, 24 Jan 2020 01:34:17 +0000 (20:34 -0500)]
event#32: Fix bad URL in message template
Coleman Watts [Wed, 22 Jan 2020 16:11:37 +0000 (11:11 -0500)]
Better looking checkboxes in api explorer
colemanw [Fri, 24 Jan 2020 13:40:53 +0000 (08:40 -0500)]
Merge pull request #16363 from eileenmcnaughton/deextract
Duplicate code (for real)
yashodha [Fri, 24 Jan 2020 13:20:33 +0000 (18:50 +0530)]
remove unused code
Matthew Wire [Wed, 15 Jan 2020 14:42:38 +0000 (14:42 +0000)]
Add parameter definition to membershipstatus.calc
Monish Deb [Fri, 24 Jan 2020 09:26:55 +0000 (14:56 +0530)]
Merge pull request #16369 from eileenmcnaughton/export_house
dev/core#1364 Merge all addresses on export should INCLUDE merging households
Seamus Lee [Fri, 24 Jan 2020 07:54:03 +0000 (18:54 +1100)]
Merge pull request #16129 from mattwire/gettotalamount_0
Make getTotalPayments return 0 instead of NULL
Seamus Lee [Fri, 24 Jan 2020 07:51:12 +0000 (18:51 +1100)]
Merge pull request #16364 from eileenmcnaughton/export
[REF] Extract function to export header row
Eileen McNaughton [Fri, 24 Jan 2020 07:14:34 +0000 (20:14 +1300)]
Merge pull request #16368 from yashodha/typo
fix more typo's in the text
eileen [Fri, 24 Jan 2020 05:25:14 +0000 (18:25 +1300)]
dev/core#1364 Merge all addresses on export should INCLUDE merging households
This is an alternate to https://github.com/civicrm/civicrm-core/pull/15725 that still achieves the goal in
https://github.com/civicrm/civicrm-core/pull/15725#issuecomment-
572408173 of making is so that the
mergeSharedAddress option mergesHouseholds first & then merges sharedAddresses.
In #15725 @monishdeb was fixing the code that differentiated between how master_id was treated
versus otherwise merged addresses. However that code 'broke' a long time ago and the arguably
broken behaviour is locked in by unit tests. Fixing it has not been requested - in this
issue or any other in the past year or 2 when it has been broken so I opted to remove the broken
code entirely & to open up the next query such that it does not exclude household addresses.
This didn't break any tests (woot) and also allowed me to enable the test rows @monishdeb wrote
to test this issue
yashodha [Fri, 24 Jan 2020 04:28:41 +0000 (09:58 +0530)]
fix more typo's in the text
Yashodha Chaku [Fri, 24 Jan 2020 04:27:15 +0000 (09:57 +0530)]
Merge pull request #16358 from MegaphoneJon/event-30
event#30 - don't allow multiple waitlist registrations
Jon Goldberg [Wed, 22 Jan 2020 23:13:21 +0000 (18:13 -0500)]
event#30 - don't allow multiple waitlist registrations
eileen [Mon, 25 Nov 2019 04:46:21 +0000 (17:46 +1300)]
Extract function to export header row
Tim Otten [Thu, 23 Jan 2020 23:05:11 +0000 (15:05 -0800)]
Merge pull request #16356 from totten/5.22-gencode-ts
(dev/core#1546) Fix translation of seed data
eileen [Thu, 23 Jan 2020 21:33:54 +0000 (10:33 +1300)]
Duplicate code (for real)
This is going to seem unintuitive but I'm sure the path to cleaning up the participant form starts with
increasing code duplication.
Currently the code is sharing 2 functions with the front end form. The functions don't do a lot of actual processing
but they do do a lot of preparing parameters. The calling functions do a lot of pre-work to call them - so
we are not getting much benefit from the sharing. On the other hand having this code tied up with another form makes
it hard for us to do the 'right' sharing - ie. currently the code to create a contribution paid by credit card & participant record is totally different to another payment method & we should work to share these bits of functionality
Matthew Wire (MJW Consulting) [Fri, 20 Dec 2019 19:20:28 +0000 (19:20 +0000)]
Return 0 if total amount is 0 instead of NULL.
Eileen McNaughton [Thu, 23 Jan 2020 21:15:22 +0000 (10:15 +1300)]
Merge pull request #16353 from pradpnayak/functionFix
Wrong parameter passed to executeQuery function
Eileen McNaughton [Thu, 23 Jan 2020 21:11:39 +0000 (10:11 +1300)]
Merge pull request #16311 from MegaphoneJon/event-template-reminders
event#28: Don't send scheduled reminders for event templates
Jon Goldberg [Fri, 17 Jan 2020 00:50:24 +0000 (19:50 -0500)]
Don't send scheduled reminders for event templates
Eileen McNaughton [Thu, 23 Jan 2020 19:42:28 +0000 (08:42 +1300)]
Merge pull request #16361 from yashodha/typo
fix typo's in the text
Eileen McNaughton [Thu, 23 Jan 2020 19:32:48 +0000 (08:32 +1300)]
Merge pull request #16189 from eileenmcnaughton/acl
Update BAO_Acl internal functions to protected & unused to deprecated
yashodha [Thu, 23 Jan 2020 12:56:30 +0000 (18:26 +0530)]
fix typo's in the text
Tim Otten [Thu, 23 Jan 2020 05:36:14 +0000 (21:36 -0800)]
(NFC) LocalizedDataTest - Add tips on running
Eileen McNaughton [Thu, 23 Jan 2020 04:55:13 +0000 (17:55 +1300)]
Merge pull request #16017 from mattwire/setentitysubtype
Add function to set entitySubType for entity forms
Eileen McNaughton [Thu, 23 Jan 2020 04:19:44 +0000 (17:19 +1300)]
Merge pull request #16354 from mlutfy/translation35
dev/translation#35 Display the CiviCRM Resources dashlet in the user's language
Tim Otten [Thu, 23 Jan 2020 03:31:17 +0000 (19:31 -0800)]
(dev/core#1546) Fix translation of seed data
Overview
--------
This fixes a regression in which seed data is not translated.
Before
------
The `civicrm_data.*.mysql` files are not translated.
After
-----
The `civicrm_data.*.mysql` files are translated.
There's a unit-test to check this.
Comments
--------
This regression stems from #15411, which aimed to allow extensions to define
custom variants of `ts()`. The crux of the issue is "What happens if you
try to translate a string before the system is bootstrapped - before the
extension is loaded? What's your fallback behavior?"
In #15411, it used a fallback behavior of "do no translation". In theory,
you shouldn't really get into this scenario since UIs are pretty much always
generated post-boot.
However, it turns out that there is a situation where you have an un-booted
system and need to translate strings -- i.e. when generating the localized
`civicrm_data.*.mysql` data. Hence the bug.
This patch preserves most of the changes from #15411, but it changes the
fallback behavior from "do no translation" to "use the built-in/default
translator".
eileen [Fri, 17 Jan 2020 22:31:02 +0000 (11:31 +1300)]
Add helper for getting participantValues
Seamus Lee [Thu, 23 Jan 2020 02:59:01 +0000 (13:59 +1100)]
Merge pull request #16334 from eileenmcnaughton/ev_tpl
[REF] Move assignment of BalanceAmount
Pradeep Nayak [Thu, 23 Jan 2020 01:41:36 +0000 (01:41 +0000)]
Wrong parameter passed to executeQuery function
Mathieu Lutfy [Wed, 22 Jan 2020 22:38:32 +0000 (17:38 -0500)]
dev/translation#35 Display the CiviCRM Resources dashlet in the user's language
Eileen McNaughton [Wed, 22 Jan 2020 18:52:10 +0000 (07:52 +1300)]
Merge pull request #16351 from colemanw/debug
Add debug info to api4 output
Eileen McNaughton [Wed, 22 Jan 2020 18:48:31 +0000 (07:48 +1300)]
Merge pull request #16260 from eileenmcnaughton/ids_2
[REF] Fix CRM_Core_BAO_UFGroup::createUFJoin to not receive by reference.
Coleman Watts [Wed, 22 Jan 2020 11:46:30 +0000 (06:46 -0500)]
Add debug info to api4 output
eileen [Mon, 20 Jan 2020 20:05:16 +0000 (09:05 +1300)]
Remove irrelevant code.
In making this fn non-static we established it is only called from this function so
this cannot be true
Yashodha Chaku [Wed, 22 Jan 2020 05:31:59 +0000 (11:01 +0530)]
Merge pull request #16349 from eileenmcnaughton/credit
Remove unreachable code lines.
Eileen McNaughton [Wed, 22 Jan 2020 03:20:09 +0000 (16:20 +1300)]
Merge pull request #16307 from seamuslee001/dev_mail_59
dev/mailing#59 Add in provider option IMAP_XOAUTH2 to assist with goo…
eileen [Wed, 22 Jan 2020 02:50:50 +0000 (15:50 +1300)]
Remove unreachable code lines.
We were very precautionary in Barcelona & deprecated rather than removing these line. However, we've had
several releases including a security release & an ESR since then with no one reporting hitting these so
they can go now
Eileen McNaughton [Wed, 22 Jan 2020 02:45:08 +0000 (15:45 +1300)]
Merge pull request #16326 from wmortada/core#1537
dev/core#1537 Don't append multiple copies of the eligible related contacts text
Eileen McNaughton [Wed, 22 Jan 2020 01:32:52 +0000 (14:32 +1300)]
Merge pull request #16286 from alifrumin/offlineContributor
Add "Contributor Name" to Offline Contribution Receipts
Eileen McNaughton [Wed, 22 Jan 2020 01:31:52 +0000 (14:31 +1300)]
Merge pull request #16343 from colemanw/abstract
Api4 - Make abstract function abstract
Eileen McNaughton [Wed, 22 Jan 2020 01:31:26 +0000 (14:31 +1300)]
Merge pull request #16346 from colemanw/entityGet
Api4 - Improve Entity::get
Eileen McNaughton [Wed, 22 Jan 2020 01:29:14 +0000 (14:29 +1300)]
Merge pull request #16347 from demeritcowboy/name-label-yet-again
dev/core#1116 Wrong linebreaks viewing Inbound Emails when activity type label is changed
Seamus Lee [Wed, 22 Jan 2020 00:23:38 +0000 (11:23 +1100)]
Merge pull request #16337 from eileenmcnaughton/ev_static
Change function buildEventFeeForm to non-static
demeritcowboy [Tue, 21 Jan 2020 22:37:41 +0000 (17:37 -0500)]
wrong linebreaks when activity type label is changed
Eileen McNaughton [Tue, 21 Jan 2020 18:54:48 +0000 (07:54 +1300)]
Merge pull request #16344 from eileenmcnaughton/ev_test
Fix unit test so price set params are valid
Eileen McNaughton [Tue, 21 Jan 2020 05:13:43 +0000 (18:13 +1300)]
Merge pull request #16340 from jitendrapurohit/dev-1540
Add user friendly error message on merge error
eileen [Mon, 20 Jan 2020 21:15:49 +0000 (10:15 +1300)]
Fix unit test so price set params are valid
Jitendra Purohit [Mon, 20 Jan 2020 05:56:47 +0000 (11:26 +0530)]
Add user friendly error message on merge error
Seamus Lee [Tue, 21 Jan 2020 01:42:38 +0000 (12:42 +1100)]
Merge pull request #16345 from eileenmcnaughton/ev_title
Simplify event title retrieval, use cache, add test
Seamus Lee [Tue, 21 Jan 2020 01:40:18 +0000 (12:40 +1100)]
Merge pull request #16342 from JKingsnorth/patch-13
[NFC] Remove unused local variables from CRM_Contribute_Form_AdditionalPayment::processCreditCard
Coleman Watts [Mon, 20 Jan 2020 23:26:58 +0000 (18:26 -0500)]
Api4 - Improve Entity::get
Ensure that every php file found by the scanner is_a class inheriting from AbstractEntity.
Remove the CustomValue class by virtue of its class type instead of manually remove it.
Improve performance when fetching entities by name.
eileen [Mon, 20 Jan 2020 21:33:52 +0000 (10:33 +1300)]
Simplify event title retrieval, use cache, add test
Eileen McNaughton [Mon, 20 Jan 2020 20:00:29 +0000 (09:00 +1300)]
Merge pull request #16341 from mattwire/membership_overridden
When viewing a membership show if the status is overridden
Coleman Watts [Mon, 20 Jan 2020 19:58:07 +0000 (14:58 -0500)]
Api4 - Make abstract function abstract
John Kingsnorth [Mon, 20 Jan 2020 17:10:45 +0000 (17:10 +0000)]
Remove unused variable $now
Matthew Wire [Mon, 20 Jan 2020 15:18:15 +0000 (15:18 +0000)]
When viewing a membership show if the status is overridden
John Kingsnorth [Mon, 20 Jan 2020 16:53:32 +0000 (16:53 +0000)]
Remove unused local variable $fields
colemanw [Mon, 20 Jan 2020 15:13:30 +0000 (10:13 -0500)]
Merge pull request #14591 from JKingsnorth/dev/core#1064
dev/core#1064 Allow personalised 'view in browser' links for mass emails
eileen [Sun, 19 Jan 2020 17:46:28 +0000 (06:46 +1300)]
Changee buildEventFeeForm to non-static
I searched on thee full function name & also 'buildEvent' & 'feeForm' and I don't believe this is called
from outside this function. I want to call it from tests to fix some test set up issues butt
there are a bunch of undefined properties so I concluded I should set this up first.
colemanw [Sun, 19 Jan 2020 02:38:34 +0000 (21:38 -0500)]
Merge pull request #16315 from eileenmcnaughton/var
[REF] Remove setting of unused function.
Coleman Watts [Sun, 19 Jan 2020 01:26:34 +0000 (20:26 -0500)]
Update help to reflect new Export UI
Seamus Lee [Sun, 19 Jan 2020 00:36:07 +0000 (11:36 +1100)]
Merge pull request #16331 from eileenmcnaughton/cont_soft
[NFC] Code formatting
Coleman Watts [Sat, 18 Jan 2020 23:41:02 +0000 (18:41 -0500)]
Clean up buildMappingForm which is no longer used by Export
buildMappingForm is now only used by Search Builder
Eileen McNaughton [Sat, 18 Jan 2020 23:25:20 +0000 (12:25 +1300)]
Merge pull request #16329 from eileenmcnaughton/ev_one
Start to use function rather than multiple queries for event details add test
Eileen McNaughton [Sat, 18 Jan 2020 23:25:03 +0000 (12:25 +1300)]
Merge pull request #16333 from eileenmcnaughton/bounce
[REF] Move the bounce to the start of the form submit