Coleman Watts [Sat, 14 Sep 2019 22:45:22 +0000 (18:45 -0400)]
Handle new flattened custom field return format
Coleman Watts [Sat, 14 Sep 2019 22:39:32 +0000 (18:39 -0400)]
Obsolete api4 extension
Tim Otten [Sat, 14 Sep 2019 16:18:19 +0000 (12:18 -0400)]
Merge pull request #15295 from colemanw/jsEncode2
CRM_Utils_JS - Improve encode handling of strings
Tim Otten [Sat, 14 Sep 2019 15:59:23 +0000 (11:59 -0400)]
Merge pull request #15308 from colemanw/prioriy
[NFC] Reword event docs to clarify priority vs weight
Coleman Watts [Sat, 14 Sep 2019 14:22:03 +0000 (10:22 -0400)]
Reword event docs to clarify priority vs weight
Eileen McNaughton [Fri, 13 Sep 2019 13:30:45 +0000 (01:30 +1200)]
Merge pull request #15303 from agileware/CIVICRM-1310
Update CiviCRM contributors.txt
Seamus Lee [Fri, 13 Sep 2019 05:49:09 +0000 (15:49 +1000)]
Merge pull request #15301 from seamuslee001/dev_core_1245_2
[NFC] Add in code comments about the column default issue with is_ema…
Justin Freeman [Fri, 13 Sep 2019 05:07:41 +0000 (15:07 +1000)]
CIVICRM-1310 Update CiviCRM contributors.txt - remove Alok and add Pengyi
Eileen McNaughton [Fri, 13 Sep 2019 04:29:01 +0000 (16:29 +1200)]
Merge pull request #15300 from civicrm/5.18
5.18
Seamus Lee [Fri, 13 Sep 2019 03:55:48 +0000 (13:55 +1000)]
[NFC] Add in code comments about the column default issue with is_email_receipt in case anyone else comes across this
Tim Otten [Fri, 13 Sep 2019 03:17:07 +0000 (23:17 -0400)]
Merge pull request #15299 from seamuslee001/5.18
Add release-notes/5.17.4
Tim Otten [Fri, 13 Sep 2019 03:11:32 +0000 (23:11 -0400)]
Add release-notes/5.17.4
Tim Otten [Fri, 13 Sep 2019 03:04:03 +0000 (23:04 -0400)]
Merge pull request #15296 from eileenmcnaughton/518
dev/core#1241 : Custom field value for a new Event based on an Event …
Monish Deb [Thu, 12 Sep 2019 09:10:43 +0000 (14:40 +0530)]
dev/core#1241 : Custom field value for a new Event based on an Event Template are not checked causing false validation message and Event not to save
Coleman Watts [Fri, 13 Sep 2019 01:58:23 +0000 (21:58 -0400)]
CRM_Utils_JS - Fix backslash handling
Coleman Watts [Thu, 12 Sep 2019 16:45:20 +0000 (12:45 -0400)]
CRM_Utils_JS - Improve encode handling of strings
Eileen McNaughton [Thu, 12 Sep 2019 02:00:16 +0000 (14:00 +1200)]
Merge pull request #15290 from civicrm/5.18
5.18
Eileen McNaughton [Thu, 12 Sep 2019 01:59:27 +0000 (13:59 +1200)]
Merge pull request #15289 from colemanw/export-rc
dev/core#1246 fix fatal error on search builder if a core contact type is disabled
Eileen McNaughton [Thu, 12 Sep 2019 01:59:09 +0000 (13:59 +1200)]
Merge pull request #15287 from MegaphoneJon/core-1247-518
Fix for core#1247 - export hook doesn't work
Tim Otten [Thu, 12 Sep 2019 00:48:10 +0000 (17:48 -0700)]
Merge pull request #15285 from colemanw/jsencode
Add CRM_Utils_JS::encode function
Seamus Lee [Thu, 12 Sep 2019 00:29:36 +0000 (10:29 +1000)]
Merge pull request #15282 from christianwach/lab-1200-2
Ensure Dashboard domain ID is set even when passed as a param
eileen [Wed, 11 Sep 2019 07:13:34 +0000 (19:13 +1200)]
dev/core#1246 fix fatal error on search builder if a core contact type is disabled.
https://lab.civicrm.org/dev/core/issues/1246
Seamus Lee [Wed, 11 Sep 2019 23:33:46 +0000 (09:33 +1000)]
Merge pull request #15228 from jitendrapurohit/15094-test
Unit test for #15094 fix
Eileen McNaughton [Wed, 11 Sep 2019 23:33:12 +0000 (11:33 +1200)]
Merge pull request #15288 from seamuslee001/5.18
Add release notes for 5.17.3
Tim Otten [Wed, 11 Sep 2019 04:47:13 +0000 (21:47 -0700)]
Add release notes for 5.17.3
Jon Goldberg [Tue, 10 Sep 2019 16:15:31 +0000 (12:15 -0400)]
Fix for core#1247 - export hook doesn't work
Coleman Watts [Wed, 11 Sep 2019 21:51:47 +0000 (17:51 -0400)]
Add CRM_Utils_JS::encode function
Eileen McNaughton [Wed, 11 Sep 2019 18:22:18 +0000 (06:22 +1200)]
Merge pull request #15280 from mattwire/formatpaymentparams
REF Make the formatParamsForPaymentProcessor function more generic so it can be used more
Matthew Wire (MJW Consulting) [Tue, 10 Sep 2019 22:40:24 +0000 (23:40 +0100)]
Make the formatParamsForPaymentProcessor function more generic so it can be used more
Christian Wach [Wed, 11 Sep 2019 12:20:44 +0000 (13:20 +0100)]
Ensure Dashboard domain ID is set even when passed as a param
Eileen McNaughton [Wed, 11 Sep 2019 09:23:45 +0000 (21:23 +1200)]
Merge pull request #15094 from mattwire/devcore792_membershipcontributionfail
dev/core#792 Fix Contributions not recording if selected membership is none when using a membership priceset
Eileen McNaughton [Wed, 11 Sep 2019 07:28:50 +0000 (19:28 +1200)]
Merge pull request #15263 from JMAConsulting/financial-67
financial#67 : Check number doesn't show up if payment method name - Check changed to Cheque
Seamus Lee [Wed, 11 Sep 2019 07:13:44 +0000 (17:13 +1000)]
Merge pull request #15272 from seamuslee001/dev_financial_68
dev/financial#68 Ensure that check number is correctly passed through…
Seamus Lee [Wed, 11 Sep 2019 03:08:17 +0000 (13:08 +1000)]
Extend contribution api test to ensure that if check_number is specified in unique field it is still correctly stored
Add in a unit test to test setting check_number with original field
Eileen McNaughton [Wed, 11 Sep 2019 03:07:53 +0000 (15:07 +1200)]
Merge pull request #15270 from civicrm/5.18
5.18
Eileen McNaughton [Wed, 11 Sep 2019 03:07:33 +0000 (15:07 +1200)]
Merge pull request #15275 from eileenmcnaughton/email
Trim form values when adding LIKE operator
Eileen McNaughton [Wed, 11 Sep 2019 03:07:17 +0000 (15:07 +1200)]
Merge pull request #15276 from eileenmcnaughton/email2
Ensure filtering on email via the api looks for an exact match
Eileen McNaughton [Wed, 11 Sep 2019 01:53:41 +0000 (13:53 +1200)]
Merge pull request #15273 from eileenmcnaughton/518
Fix unreleased regression on batch merge through the UI
Eileen McNaughton [Wed, 11 Sep 2019 01:53:25 +0000 (13:53 +1200)]
Merge pull request #15274 from totten/master-deadcode
(REF) Remove unused functions, setTemplateMenuValues() and getNavigation()
eileen [Wed, 11 Sep 2019 01:49:06 +0000 (13:49 +1200)]
Ensure filtering on email via the api looks for an exact match
eileen [Wed, 11 Sep 2019 01:33:36 +0000 (13:33 +1200)]
Trim form values when adding LIKE operator
This is more consistent with previous behaviour - ie 'info@civicrm.org' AND 'info@civicrm.org ' should work.
Tim Otten [Tue, 10 Sep 2019 23:39:26 +0000 (16:39 -0700)]
(REF) Remove unused function CRM_Core_Menu::getNavigation()
I stumbled across this function while grepping to cleanup up
`userFrameworkURLVar` (dev/drupal#52). Notice the first line of the
function throws a fatal error. That line has been there since at least
CiviCRM v4.3.
https://github.com/civicrm/civicrm-core/blob/4.3/CRM/Core/Menu.php#L310
Unsurprisingly, if you grep for `getNavigation`, there are no calls to this
function.
Tim Otten [Tue, 10 Sep 2019 23:33:32 +0000 (16:33 -0700)]
(REF) Remove unused function CRM_Core_Block::setTemplateMenuValues
Note that this is a `private` function, so any hypothetical callers must be
in the same class. There don't appear to be any.
Could there be some dynamic method calls? Well, you'd expect there to be
some tell-tale such as references to `call_*()` or to a string which builds
up that method name from smaller strings ("set" or "MenuValues" or similar).
Nothing comes up.
eileen [Tue, 10 Sep 2019 23:17:33 +0000 (11:17 +1200)]
Fix unreleased regression on batch merge through the UI
We made searchLimit part of the cacheKey for found batches but in this place missed passing it in,
leading to it not picking up the relevant cached entries & skipping them. Affects 5.18 rc & master
Seamus Lee [Tue, 10 Sep 2019 23:22:02 +0000 (09:22 +1000)]
Add a unit test to ensure that check_number when submitted to the form as contribution_check_number is correctly saved into the financial Transaction
Seamus Lee [Tue, 10 Sep 2019 23:06:40 +0000 (09:06 +1000)]
dev/financial#68 Ensure that check number is correctly passed through when processing a contribution or membership batch
Seamus Lee [Tue, 10 Sep 2019 22:38:03 +0000 (08:38 +1000)]
Merge pull request #15268 from mlutfy/partialFixDrupal8q-518
dev/drupal#52 Partial fix for Deprecated q variable
Seamus Lee [Tue, 10 Sep 2019 22:23:45 +0000 (08:23 +1000)]
Merge pull request #15261 from JKingsnorth/report-paths-not-public
Remove is_public flag from report paths
Mathieu Lutfy [Tue, 10 Sep 2019 13:24:48 +0000 (09:24 -0400)]
dev/drupal#52 Partial fix for Deprecated q variable
Monish Deb [Tue, 10 Sep 2019 11:32:01 +0000 (17:02 +0530)]
financial#67 : Check number doesn't show up if payment method name - Check changed to Cheque
John Kingsnorth [Tue, 10 Sep 2019 09:44:01 +0000 (10:44 +0100)]
Remove is_public flag from report paths
Even though these paths are publicly accessible, they are not intended as 'public' paths
Tim Otten [Tue, 10 Sep 2019 06:35:52 +0000 (23:35 -0700)]
Merge pull request #15260 from seamuslee001/5_17_2_release_notes
(NFC) 5 17 2 release notes
Tim Otten [Tue, 10 Sep 2019 05:46:06 +0000 (22:46 -0700)]
Update 5.17.2.md
Tim Otten [Tue, 10 Sep 2019 05:44:49 +0000 (22:44 -0700)]
Update 5.17.2.md
Seamus Lee [Tue, 10 Sep 2019 03:38:52 +0000 (13:38 +1000)]
Add in release notes and bump version to be 5.17.2
Eileen McNaughton [Tue, 10 Sep 2019 03:39:47 +0000 (15:39 +1200)]
Merge pull request #15256 from civicrm/5.18
5.18
Seamus Lee [Tue, 10 Sep 2019 03:33:26 +0000 (13:33 +1000)]
Merge pull request #15255 from eileenmcnaughton/518
dev/core#1244 Fix regression on searching by email in advanced search
eileen [Mon, 9 Sep 2019 22:14:49 +0000 (10:14 +1200)]
Fix regression on searching by contact in advanced search
Tim Otten [Mon, 9 Sep 2019 23:30:15 +0000 (16:30 -0700)]
Merge pull request #15253 from seamuslee001/5.18
Add in 5.17.1 Release notes and migrate .tpl file for 5.17.1 to 5.18 to support upgrade
Seamus Lee [Mon, 9 Sep 2019 22:27:25 +0000 (08:27 +1000)]
Merge pull request #15132 from andrewpthompson/joomla4-frontend-compatibility
(dev/joomla#22) Fix deprecated JRequest for Joomla 4.0
Seamus Lee [Mon, 9 Sep 2019 21:58:24 +0000 (07:58 +1000)]
Add in 5.17.1.mysql.tpl file to support fix for upgrade
Tim Otten [Mon, 9 Sep 2019 21:50:12 +0000 (14:50 -0700)]
Update 5.17.1.md
Seamus Lee [Sat, 7 Sep 2019 23:02:06 +0000 (09:02 +1000)]
Add in release notes for 5.17.1 release
Eileen McNaughton [Mon, 9 Sep 2019 20:42:13 +0000 (08:42 +1200)]
Merge pull request #15251 from yashodha/report_cleanup
CRM-21677 - report clean up for participant reports
Eileen McNaughton [Mon, 9 Sep 2019 20:41:49 +0000 (08:41 +1200)]
Merge pull request #15250 from eileenmcnaughton/nfc
[NFC] array formatting:
yashodha [Mon, 9 Sep 2019 08:25:09 +0000 (13:55 +0530)]
CRM-21677 - report clean up for participant reports
eileen [Sun, 8 Sep 2019 22:15:30 +0000 (10:15 +1200)]
[NFC] array formatting:
Eileen McNaughton [Sun, 8 Sep 2019 20:48:21 +0000 (08:48 +1200)]
Merge pull request #15249 from civicrm/5.18
5.18 to master
Eileen McNaughton [Sun, 8 Sep 2019 20:47:50 +0000 (08:47 +1200)]
Merge pull request #15247 from seamuslee001/5.18
[NFC] Update Default report instances that filter on join date to be …
Eileen McNaughton [Sun, 8 Sep 2019 20:47:17 +0000 (08:47 +1200)]
Merge pull request #15245 from seamuslee001/lab_core_1240
dev/core#1240 Ensure that Options are not duplicated when saving a co…
Seamus Lee [Sun, 8 Sep 2019 03:58:43 +0000 (13:58 +1000)]
[NFC] Update Default report instances that filter on join date to be the correct field following datepicker change
Seamus Lee [Sat, 7 Sep 2019 22:44:52 +0000 (08:44 +1000)]
Merge pull request #15243 from eileenmcnaughton/export_wip
Declare metadata for component payment fields on export
Seamus Lee [Sat, 7 Sep 2019 22:35:30 +0000 (08:35 +1000)]
dev/core#1240 Ensure that Options are not duplicated when saving a contribution or event page when specifying the options
eileen [Sun, 28 Jul 2019 21:35:33 +0000 (09:35 +1200)]
Declare metadata for component payment fields on export
Towards metadata for all fields
Eileen McNaughton [Sat, 7 Sep 2019 21:10:43 +0000 (09:10 +1200)]
Merge pull request #15241 from civicrm/5.18
5.18 to master
Eileen McNaughton [Sat, 7 Sep 2019 21:10:20 +0000 (09:10 +1200)]
Merge pull request #15239 from demeritcowboy/fix-pptx-upgrade-task
dev/core#1190 - typo in original version of upgrade function
Eileen McNaughton [Sat, 7 Sep 2019 21:08:01 +0000 (09:08 +1200)]
Merge pull request #15178 from eileenmcnaughton/wp
Fix php 7.2+ deprecation error
eileen [Sat, 31 Aug 2019 22:01:11 +0000 (10:01 +1200)]
Fix php 7.2+ deprecation error
Eileen McNaughton [Sat, 7 Sep 2019 21:06:05 +0000 (09:06 +1200)]
Merge pull request #15240 from demeritcowboy/avoid-variable-name-conflict
dev/core#1123 - avoid possible variable name clash
DemeritCowboy [Sat, 7 Sep 2019 12:28:43 +0000 (08:28 -0400)]
avoid variable name clash
DemeritCowboy [Sat, 7 Sep 2019 12:14:50 +0000 (08:14 -0400)]
typo in original version of function
colemanw [Sat, 7 Sep 2019 01:07:07 +0000 (21:07 -0400)]
Merge pull request #15231 from pradpnayak/entityrefHook
Updated entityRefFilters hook to support alter form create links
Eileen McNaughton [Sat, 7 Sep 2019 00:57:55 +0000 (12:57 +1200)]
Merge pull request #15237 from civicrm/5.18
5.18
Eileen McNaughton [Sat, 7 Sep 2019 00:57:03 +0000 (12:57 +1200)]
Merge pull request #15238 from eileenmcnaughton/5.18
(dev/core#1065) fix condition so that the contact field appears for s…
yashodha [Thu, 5 Sep 2019 13:11:22 +0000 (18:41 +0530)]
(dev/core#1065) fix condition so that the contact field appears for standalone/tab context for create mode
fix for create grant from tab
Seamus Lee [Sat, 7 Sep 2019 00:20:49 +0000 (10:20 +1000)]
Merge pull request #15236 from eileenmcnaughton/map
dev/core#1236 fix miscasting on setContactSubType
Eileen McNaughton [Sat, 7 Sep 2019 00:19:46 +0000 (12:19 +1200)]
Merge pull request #15234 from totten/5.18-testsqlop
SyntaxConformanceTest::testSqlOperators - Skip "Dedupe" entity on MySQL 5.5
Seamus Lee [Sat, 7 Sep 2019 00:03:14 +0000 (10:03 +1000)]
Merge pull request #15233 from seamuslee001/lab_core_1233
dev/core#1233 Fix deleting of campaigns and saving of custom data for campaign and …
eileen [Fri, 6 Sep 2019 23:09:49 +0000 (11:09 +1200)]
dev/core#1236 fix miscasting on setContactSubType
I think it makes sense to cast here rather than require a string
Pradeep Nayak [Fri, 6 Sep 2019 22:09:28 +0000 (23:09 +0100)]
Added Unit test
Seamus Lee [Fri, 6 Sep 2019 22:24:42 +0000 (08:24 +1000)]
Merge pull request #15142 from eileenmcnaughton/pradeep2
Prevent error on price set membership update
Seamus Lee [Fri, 6 Sep 2019 22:15:25 +0000 (08:15 +1000)]
Merge pull request #15210 from eileenmcnaughton/mailing_prep
Add unique name to mailing_job.start_date
Tim Otten [Fri, 6 Sep 2019 22:12:00 +0000 (15:12 -0700)]
SyntaxConformanceTest::testSqlOperators - Skip "Dedupe" entity on MySQL 5.5
Overview
--------
This disables a particularly flaky test-scenario.
Technical Details
-----------------
The `SyntaxConformanceTest::testSqlOperators()` has been rather flaky for a
while. (I think this goes back either to the creation of the test or the
expansion of Dedupe API -- in other words, the test of this scenario has
always been flaky.)
When the test fails, it looks like this:
```
api_v3_SyntaxConformanceTest::testSqlOperators with data set #28 ('Dedupe')
incorrect count returned from Dedupe getcount
Failed asserting that 0 matches expected 2.
/home/jenkins/bknix-min/build/build-1/web/sites/all/modules/civicrm/Civi/Test/Api3TestTrait.php:191
/home/jenkins/bknix-min/build/build-1/web/sites/all/modules/civicrm/tests/phpunit/api/v3/SyntaxConformanceTest.php:1131
/home/jenkins/bknix-min/build/build-1/web/sites/all/modules/civicrm/tests/phpunit/CiviTest/CiviUnitTestCase.php:215
/home/jenkins/bknix-min/civicrm-buildkit/extern/phpunit6/phpunit6.phar:570
```
I've spent a chunk of time investigating the flakiness and found:
1. The test usually (possibly always?) passes on MySQL 5.7.
2. The test often (but not always) fails on MySQL 5.5.
3. The version of PHP (php70 vs php72) does not make much difference.
4. The test never seems to fail when run by itself. The smallest
scenario which seemd to reliably produce the failure was:
```
env
SYNTAX_CONFORMANCE_ENTITIES='ContactType Country Dedupe Domain StateProvince' \
CIVICRM_UF=UnitTests \
phpunit5 \
--stop-on-failure --tap \
tests/phpunit/api/v3/SyntaxConformanceTest.php \
--filter '(testCustomDataGet|testLimit|testSqlOperators)'
```
5. The reproducibility differed on two laptops. The laptops were largely
identical wrt PHP/MySQL binaries+configuration (macOS,
bknix@master-loco, `min` cfg). They differed in OS version
and hardware specs. The slower machine (low-wattage 2-core CPU; 8gb; Mojave)
produced test-failures much more reliably than the faster machine
(high-wattage 4-core CPU; 16gb; Sierra).
Rationalizations for why it's OK to sip:
* The test will continue to be monitored on MySQL 5.7+.
* The test *does* pass reliably when run by itself on MySQL 5.5.
* [Civi doesn't officially support MySQL 5.5](https://docs.civicrm.org/sysadmin/en/latest/requirements/#mysql-version),
so we're not required to faff-about over a failure that only occurs on MySQL 5.5.
See also: https://chat.civicrm.org/civicrm/pl/s7nbkro8yjfgzk5z4epo8g9jph
Seamus Lee [Fri, 6 Sep 2019 22:11:32 +0000 (08:11 +1000)]
Fix deleting of campaigns and saving of custom data for campaign and also ensure that goal_general is not html encoded as it is a wysiwyg field
Pradeep Nayak [Fri, 6 Sep 2019 21:46:24 +0000 (22:46 +0100)]
Updated entityRefFilters hook to support alter form create links
Eileen McNaughton [Fri, 6 Sep 2019 21:34:49 +0000 (09:34 +1200)]
Merge pull request #15230 from yashodha/report_cleanup
CRM-21677 - report clean up
yashodha [Fri, 6 Sep 2019 12:16:08 +0000 (17:46 +0530)]
CRM-21677 - report clean up
Jitendra Purohit [Fri, 6 Sep 2019 12:08:23 +0000 (17:38 +0530)]
Unit test for #15094 fix
CiviCRM [Fri, 6 Sep 2019 06:38:10 +0000 (06:38 +0000)]
Set version to 5.19.alpha1
CiviCRM [Fri, 6 Sep 2019 06:29:35 +0000 (06:29 +0000)]
Set version to 5.18.beta1