civicrm-core.git
4 years agoMerge pull request #15382 from totten/5.18-note-event
Tim Otten [Thu, 3 Oct 2019 14:09:40 +0000 (15:09 +0100)]
Merge pull request #15382 from totten/5.18-note-event

(NFC) release-notes/5.18.0.md - Add dev/event#15

4 years agoMerge pull request #15380 from eileenmcnaughton/cust_uf
Tim Otten [Thu, 3 Oct 2019 14:09:04 +0000 (15:09 +0100)]
Merge pull request #15380 from eileenmcnaughton/cust_uf

(dev/event#15) Fix regression in handling of post profiles in email

4 years agoEvent::sendMail() - Don't assume $postProfileID has content
Tim Otten [Thu, 3 Oct 2019 10:28:43 +0000 (11:28 +0100)]
Event::sendMail() - Don't assume $postProfileID has content

The unit-test suite includes cases in which the value is actually NULL.

4 years agoEvent::sendEmail() - Fix displaying of heading. Use same key.
Tim Otten [Thu, 3 Oct 2019 08:30:52 +0000 (09:30 +0100)]
Event::sendEmail() - Fix displaying of heading. Use same key.

The message templates use this loop:

```
{foreach from=$customPost item=customPos key=j}
   <tr> <th {$headerStyle}>{$customPost_grouptitle.$j}</th></tr>
```

Note that the keys in `$customPost` and `$customPost_grouptitle` need to
match.

4 years agorelease-notes/5.18.0.md - Add dev/event#15
Tim Otten [Thu, 3 Oct 2019 07:44:31 +0000 (08:44 +0100)]
release-notes/5.18.0.md - Add dev/event#15

4 years agoEvent::sendEmail() - Fix profile ID for realz this time
Tim Otten [Thu, 3 Oct 2019 07:19:21 +0000 (08:19 +0100)]
Event::sendEmail() - Fix profile ID for realz this time

4 years agoFix regression in handling of post profiles in email
eileen [Thu, 3 Oct 2019 06:55:33 +0000 (08:55 +0200)]
Fix regression in handling of post profiles in email

4 years agoMerge pull request #15371 from agh1/5.18.0-releasenotes-final
Seamus Lee [Tue, 1 Oct 2019 18:16:41 +0000 (04:16 +1000)]
Merge pull request #15371 from agh1/5.18.0-releasenotes-final

5.18.0 release notes final edits

4 years ago5.18.0 release notes: some final edits
Andrew Hunt [Tue, 1 Oct 2019 17:27:26 +0000 (13:27 -0400)]
5.18.0 release notes: some final edits

4 years ago5.18.0 release notes: added late changes
Andrew Hunt [Tue, 1 Oct 2019 14:56:32 +0000 (10:56 -0400)]
5.18.0 release notes: added late changes

4 years agoMerge pull request #15356 from seamuslee001/5.18
Tim Otten [Fri, 27 Sep 2019 04:37:05 +0000 (21:37 -0700)]
Merge pull request #15356 from seamuslee001/5.18

release-notes - Add 5.17.5

4 years agorelease-notes - Add 5.17.5
Tim Otten [Fri, 27 Sep 2019 04:11:08 +0000 (21:11 -0700)]
release-notes - Add 5.17.5

4 years agoMerge pull request #15350 from seamuslee001/lab_core_1276
colemanw [Thu, 26 Sep 2019 20:21:04 +0000 (16:21 -0400)]
Merge pull request #15350 from seamuslee001/lab_core_1276

Ensure that price_field_value rows aren't duplicated when editing pri…

4 years agoEnsure that price_field_value rows aren't duplicated when editing price field of...
Seamus Lee [Thu, 26 Sep 2019 09:04:57 +0000 (19:04 +1000)]
Ensure that price_field_value rows aren't duplicated when editing price field of type text

4 years agoMerge pull request #15334 from mattwire/membership16_fixdupelineitems
Seamus Lee [Mon, 23 Sep 2019 20:36:21 +0000 (06:36 +1000)]
Merge pull request #15334 from mattwire/membership16_fixdupelineitems

dev/membership/#16 Fix duplicate lineitems when creating a recurring membership via backend

4 years agoMerge pull request #15337 from alifrumin/rn5.18
Seamus Lee [Mon, 23 Sep 2019 20:35:16 +0000 (06:35 +1000)]
Merge pull request #15337 from alifrumin/rn5.18

Sorting and Annotating Release notes for 5.18

4 years agoAnnotating Release Notes for 5.18
Alice Frumin [Fri, 20 Sep 2019 14:59:40 +0000 (10:59 -0400)]
Annotating Release Notes for 5.18

4 years agoFix membership/issues#16 Duplicate lineitems when creating a recurring membership...
Matthew Wire (MJW Consulting) [Thu, 19 Sep 2019 23:36:06 +0000 (00:36 +0100)]
Fix membership/issues#16 Duplicate lineitems when creating a recurring membership via backend

4 years agoMerge pull request #15332 from agh1/5.18.0-releasenotes
Seamus Lee [Thu, 19 Sep 2019 23:20:38 +0000 (09:20 +1000)]
Merge pull request #15332 from agh1/5.18.0-releasenotes

5.18.0 release notes initial run

4 years ago5.18.0 release notes: added boilerplate
Andrew Hunt [Thu, 19 Sep 2019 21:05:00 +0000 (17:05 -0400)]
5.18.0 release notes: added boilerplate

4 years ago5.18.0 release notes: raw from script
Andrew Hunt [Thu, 19 Sep 2019 21:01:52 +0000 (17:01 -0400)]
5.18.0 release notes: raw from script

4 years agoMerge pull request #15299 from seamuslee001/5.18
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

4 years agoAdd release-notes/5.17.4
Tim Otten [Fri, 13 Sep 2019 03:11:32 +0000 (23:11 -0400)]
Add release-notes/5.17.4

4 years agoMerge pull request #15296 from eileenmcnaughton/518
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 …

4 years agodev/core#1241 : Custom field value for a new Event based on an Event Template are...
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

4 years agoMerge pull request #15289 from colemanw/export-rc
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

4 years agoMerge pull request #15287 from MegaphoneJon/core-1247-518
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

4 years agodev/core#1246 fix fatal error on search builder if a core contact type is disabled.
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

4 years agoMerge pull request #15288 from seamuslee001/5.18
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

4 years agoAdd 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

4 years agoFix for core#1247 - export hook doesn't work
Jon Goldberg [Tue, 10 Sep 2019 16:15:31 +0000 (12:15 -0400)]
Fix for core#1247 - export hook doesn't work

4 years agoMerge pull request #15275 from eileenmcnaughton/email
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

4 years agoMerge pull request #15276 from eileenmcnaughton/email2
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

4 years agoMerge pull request #15273 from eileenmcnaughton/518
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

4 years agoEnsure filtering on email via the api looks for an exact match
eileen [Wed, 11 Sep 2019 01:49:06 +0000 (13:49 +1200)]
Ensure filtering on email  via the api  looks for an exact match

4 years agoTrim form values when adding LIKE operator
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.

4 years agoFix unreleased regression on batch merge through the UI
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

4 years agoMerge pull request #15268 from mlutfy/partialFixDrupal8q-518
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

4 years agoMerge pull request #15261 from JKingsnorth/report-paths-not-public
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

4 years agodev/drupal#52 Partial fix for Deprecated q variable
Mathieu Lutfy [Tue, 10 Sep 2019 13:24:48 +0000 (09:24 -0400)]
dev/drupal#52 Partial fix for Deprecated q variable

4 years agoRemove is_public flag from report paths
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

4 years agoMerge pull request #15260 from seamuslee001/5_17_2_release_notes
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

4 years agoUpdate 5.17.2.md
Tim Otten [Tue, 10 Sep 2019 05:46:06 +0000 (22:46 -0700)]
Update 5.17.2.md

4 years agoUpdate 5.17.2.md
Tim Otten [Tue, 10 Sep 2019 05:44:49 +0000 (22:44 -0700)]
Update 5.17.2.md

4 years agoAdd in release notes and bump version to be 5.17.2
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

4 years agoMerge pull request #15255 from eileenmcnaughton/518
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

4 years agoFix regression on searching by contact in advanced search
eileen [Mon, 9 Sep 2019 22:14:49 +0000 (10:14 +1200)]
Fix regression on searching by contact in advanced search

4 years agoMerge pull request #15253 from seamuslee001/5.18
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

4 years agoAdd in 5.17.1.mysql.tpl file to support fix for upgrade
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

4 years agoUpdate 5.17.1.md
Tim Otten [Mon, 9 Sep 2019 21:50:12 +0000 (14:50 -0700)]
Update 5.17.1.md

4 years agoAdd in release notes for 5.17.1 release
Seamus Lee [Sat, 7 Sep 2019 23:02:06 +0000 (09:02 +1000)]
Add in release notes for 5.17.1 release

4 years agoMerge pull request #15247 from seamuslee001/5.18
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 …

4 years agoMerge pull request #15245 from seamuslee001/lab_core_1240
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…

4 years ago[NFC] Update Default report instances that filter on join date to be the correct...
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

4 years agodev/core#1240 Ensure that Options are not duplicated when saving a contribution or...
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

4 years agoMerge pull request #15239 from demeritcowboy/fix-pptx-upgrade-task
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

4 years agoMerge pull request #15240 from demeritcowboy/avoid-variable-name-conflict
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

4 years agoavoid variable name clash
DemeritCowboy [Sat, 7 Sep 2019 12:28:43 +0000 (08:28 -0400)]
avoid variable name clash

4 years agotypo in original version of function
DemeritCowboy [Sat, 7 Sep 2019 12:14:50 +0000 (08:14 -0400)]
typo in original version of function

4 years agoMerge pull request #15238 from eileenmcnaughton/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…

4 years ago(dev/core#1065) fix condition so that the contact field appears for standalone/tab...
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

4 years agoMerge pull request #15236 from eileenmcnaughton/map
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

4 years agoMerge pull request #15234 from totten/5.18-testsqlop
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

4 years agoMerge pull request #15233 from seamuslee001/lab_core_1233
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 …

4 years agodev/core#1236 fix miscasting on setContactSubType
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

4 years agoSyntaxConformanceTest::testSqlOperators - Skip "Dedupe" entity on MySQL 5.5
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

4 years agoFix deleting of campaigns and saving of custom data for campaign and also ensure...
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

4 years agoSet version to 5.18.beta1
CiviCRM [Fri, 6 Sep 2019 06:29:35 +0000 (06:29 +0000)]
Set version to 5.18.beta1

4 years agoMerge pull request #15227 from eileenmcnaughton/dedupe
Eileen McNaughton [Fri, 6 Sep 2019 04:38:45 +0000 (16:38 +1200)]
Merge pull request #15227 from eileenmcnaughton/dedupe

dev/core#1230 Permission nuancing, fix another place where merge duplicate contacts should be enough

4 years agoMerge pull request #15226 from eileenmcnaughton/headers3
Eileen McNaughton [Fri, 6 Sep 2019 03:41:09 +0000 (15:41 +1200)]
Merge pull request #15226 from eileenmcnaughton/headers3

[Ref] [Import] Final round in the cleanup Load Mapping form epic

4 years agoMerge pull request #15143 from eileenmcnaughton/p4
Monish Deb [Fri, 6 Sep 2019 03:40:23 +0000 (09:10 +0530)]
Merge pull request #15143 from eileenmcnaughton/p4

Stop adding a refund payment from creating extraneous financial items

4 years agoMerge pull request #15171 from colemanw/daoCache
Eileen McNaughton [Fri, 6 Sep 2019 03:10:28 +0000 (15:10 +1200)]
Merge pull request #15171 from colemanw/daoCache

dev/core#1222 Clear static DAO cache when writing to DAO

4 years agodev/core#1230 Permission nuancing, fix another place where merge duplicate contacts...
eileen [Fri, 6 Sep 2019 02:09:42 +0000 (14:09 +1200)]
dev/core#1230 Permission nuancing, fix another place where merge duplicate contacts should be enough

It seems fine for Rule.create & delete to require administer CiviCRM but merge duplicate contacts should be enough for get

4 years agoUse shared function to add mapping form now dependencies are gone
eileen [Fri, 6 Sep 2019 00:18:56 +0000 (12:18 +1200)]
Use shared function to add mapping form now dependencies are gone

4 years agoDecommission loadSavedMapping now it is all cleaned up
eileen [Fri, 6 Sep 2019 00:13:57 +0000 (12:13 +1200)]
Decommission loadSavedMapping now it is all cleaned up

The final result is that the 134 lines here https://github.com/civicrm/civicrm-core/blob/5.16/CRM/Contact/Import/Form/MapField.php#L407-L543

are now just 2 lines & we don't need a separte function

Although this does now free us to replace the 30 lines above with a call to the shared function

4 years agoMove calculation for do_not_import js to processor
eileen [Fri, 6 Sep 2019 00:02:24 +0000 (12:02 +1200)]
Move calculation for do_not_import js to processor

4 years agoMove calc for do-not-import default to processor
eileen [Thu, 5 Sep 2019 23:42:21 +0000 (11:42 +1200)]
Move calc for do-not-import default to processor

4 years agoMerge pull request #15224 from eileenmcnaughton/headers
colemanw [Fri, 6 Sep 2019 01:38:09 +0000 (21:38 -0400)]
Merge pull request #15224 from eileenmcnaughton/headers

Use metadata for dataPatterns

4 years agoClear static DAO cache when writing to DAO
Coleman Watts [Fri, 30 Aug 2019 23:45:28 +0000 (19:45 -0400)]
Clear static DAO cache when writing to DAO

4 years agoMerge pull request #15154 from eileenmcnaughton/dedupe3
Eileen McNaughton [Fri, 6 Sep 2019 00:59:09 +0000 (12:59 +1200)]
Merge pull request #15154 from eileenmcnaughton/dedupe3

dev/core#1230 [Dedupe] Do not geocode while merging, rely on existing values

4 years agoUse metadata for dataPatterns
eileen [Thu, 5 Sep 2019 23:36:53 +0000 (11:36 +1200)]
Use metadata for dataPatterns

This is a bit harder to add a test for than columnHeaders but the principle of the change is very much the
same so I'm thinking it can get  a free ride on that test

4 years agoMerge pull request #15137 from andrewpthompson/joomla4-header-css
Eileen McNaughton [Thu, 5 Sep 2019 22:52:47 +0000 (10:52 +1200)]
Merge pull request #15137 from andrewpthompson/joomla4-header-css

(dev/joomla#24) Stop CiviCRM's joomla.css from modifying Joomla 4 header background colour

4 years agoMerge pull request #15220 from eileenmcnaughton/headers
Eileen McNaughton [Thu, 5 Sep 2019 22:40:34 +0000 (10:40 +1200)]
Merge pull request #15220 from eileenmcnaughton/headers

[Import] [REF] code cleanup & test on the code to  'guess the intended  field  from the column name'

4 years agoMerge pull request #15147 from demeritcowboy/activityTName2
Eileen McNaughton [Thu, 5 Sep 2019 22:37:02 +0000 (10:37 +1200)]
Merge pull request #15147 from demeritcowboy/activityTName2

dev/core#1123 - Changing the label for Inbound Email bypasses edit permission

4 years agoCleanup get handling to 'guess the column.
eileen [Thu, 5 Sep 2019 03:34:59 +0000 (15:34 +1200)]
Cleanup get handling to 'guess the column.

This gets us away from using the form session to pass around metadata & makes it testable.

4 years agoAdd test for getting columns from header
eileen [Thu, 5 Sep 2019 03:21:42 +0000 (15:21 +1200)]
Add test for getting columns from header

4 years agoMerge pull request #15117 from eileenmcnaughton/member_renew
Seamus Lee [Thu, 5 Sep 2019 21:55:20 +0000 (07:55 +1000)]
Merge pull request #15117 from eileenmcnaughton/member_renew

[REF] extract send receipt in MembershipRenewal fn

4 years agoMerge pull request #15219 from eileenmcnaughton/import_next
Seamus Lee [Thu, 5 Sep 2019 21:53:40 +0000 (07:53 +1000)]
Merge pull request #15219 from eileenmcnaughton/import_next

[Ref] [Import] more code cleanup

4 years agoMerge pull request #15187 from eileenmcnaughton/dedupe11
Seamus Lee [Thu, 5 Sep 2019 21:52:10 +0000 (07:52 +1000)]
Merge pull request #15187 from eileenmcnaughton/dedupe11

dev/core#1230 Loosen permissions to Dedupe.getstatistics api

4 years agoMerge pull request #15188 from eileenmcnaughton/dedupe12
Seamus Lee [Thu, 5 Sep 2019 21:47:01 +0000 (07:47 +1000)]
Merge pull request #15188 from eileenmcnaughton/dedupe12

dev/core#1230 Dedupe permissions - allow safe mode merging based on 'merge duplicate contacts'

4 years agoMerge pull request #15222 from 19ATF77/Constituent_Summary_Fix
Eileen McNaughton [Thu, 5 Sep 2019 21:33:01 +0000 (09:33 +1200)]
Merge pull request #15222 from 19ATF77/Constituent_Summary_Fix

Fixes inconsitency between constituency summary and constituency detail

4 years agoMerge pull request #15115 from eileenmcnaughton/import_metadata
Eileen McNaughton [Thu, 5 Sep 2019 20:25:54 +0000 (08:25 +1200)]
Merge pull request #15115 from eileenmcnaughton/import_metadata

Fix fatal when saving import mapping with a relationship but 'Primary' location type

4 years agoFixes inconsitency between constituency summary and constituency detail
19ATF77 [Thu, 5 Sep 2019 16:39:02 +0000 (17:39 +0100)]
Fixes inconsitency between constituency summary and constituency detail

4 years agoMerge pull request #15190 from eileenmcnaughton/import_bug
Matthew Wire [Thu, 5 Sep 2019 15:17:44 +0000 (16:17 +0100)]
Merge pull request #15190 from eileenmcnaughton/import_bug

dev/core#1187 Fix bug where import will not do 2 phone types of the same location

4 years agoMerge pull request #15159 from andrewpthompson/master
Eileen McNaughton [Thu, 5 Sep 2019 10:25:07 +0000 (22:25 +1200)]
Merge pull request #15159 from andrewpthompson/master

(dev/joomla#10) Remove Joomla-specific error display and use native CiviCRM

4 years agoMerge pull request #15102 from mlutfy/fixPriceSetLabelHtml
Eileen McNaughton [Thu, 5 Sep 2019 07:59:28 +0000 (19:59 +1200)]
Merge pull request #15102 from mlutfy/fixPriceSetLabelHtml

Fix an HTML error in Calculate.tpl

4 years agoMerge pull request #15217 from seamuslee001/group_nesting_group_org_test
Eileen McNaughton [Thu, 5 Sep 2019 07:10:47 +0000 (19:10 +1200)]
Merge pull request #15217 from seamuslee001/group_nesting_group_org_test

[TEST] Enable apiv4 testing for GroupNesting and GroupOrganization entities

4 years agoremove if that no longer makes sense
eileen [Thu, 5 Sep 2019 02:36:00 +0000 (14:36 +1200)]
remove if that no longer makes sense

4 years agoRemove jsSet & just construct the if better.
eileen [Thu, 5 Sep 2019 02:35:22 +0000 (14:35 +1200)]
Remove jsSet & just construct the if better.

jsSet is always TRUE when if ([] != ts('- do not import -')) {

so we don't need it

4 years agoMerge pull request #15118 from eileenmcnaughton/export
Seamus Lee [Thu, 5 Sep 2019 03:18:51 +0000 (13:18 +1000)]
Merge pull request #15118 from eileenmcnaughton/export

Fix export header for 'Contact ID'