civicrm-core.git
5 years agoFix intermittent test fail on NULL array getting contaminated & causing later tests...
eileen [Fri, 14 Jun 2019 20:58:05 +0000 (16:58 -0400)]
Fix intermittent test fail on NULL array getting contaminated & causing later tests to pass the wrong thing

5 years agoMerge pull request #14540 from eileenmcnaughton/anettest
Seamus Lee [Fri, 14 Jun 2019 21:40:30 +0000 (07:40 +1000)]
Merge pull request #14540 from eileenmcnaughton/anettest

Fix A.net to resolve time when using default

5 years agoMerge pull request #14533 from eileenmcnaughton/deprecate
Seamus Lee [Fri, 14 Jun 2019 21:33:37 +0000 (07:33 +1000)]
Merge pull request #14533 from eileenmcnaughton/deprecate

Deprecate contribution_date as a parameter

5 years agoMerge pull request #14537 from colemanw/jsDecode
Eileen McNaughton [Fri, 14 Jun 2019 21:18:19 +0000 (17:18 -0400)]
Merge pull request #14537 from colemanw/jsDecode

Add CRM_Utils_JS::decode function for decoding js objects

5 years agoMerge pull request #14524 from eileenmcnaughton/csv
Tim Otten [Fri, 14 Jun 2019 20:40:58 +0000 (16:40 -0400)]
Merge pull request #14524 from eileenmcnaughton/csv

Add csv reader package

5 years agoMerge pull request #14538 from civicrm/eileenmcnaughton-patch-2
Tim Otten [Fri, 14 Jun 2019 20:13:02 +0000 (16:13 -0400)]
Merge pull request #14538 from civicrm/eileenmcnaughton-patch-2

[test] truncate pledge block when cleaning up financial entities

5 years agoMerge pull request #14535 from colemanw/addressCustom
Eileen McNaughton [Fri, 14 Jun 2019 20:11:20 +0000 (16:11 -0400)]
Merge pull request #14535 from colemanw/addressCustom

Address BAO - Handle standard 'custom' param as well as individual fields

5 years agoMerge pull request #14541 from civicrm/5.15
Eileen McNaughton [Fri, 14 Jun 2019 20:08:18 +0000 (16:08 -0400)]
Merge pull request #14541 from civicrm/5.15

5.15 to master

5 years agoMerge pull request #14539 from totten/5.15-tap-yaml
Eileen McNaughton [Fri, 14 Jun 2019 20:07:53 +0000 (16:07 -0400)]
Merge pull request #14539 from totten/5.15-tap-yaml

Civi/Test/TAP - Replace Symfony YAML dependency

5 years agoCivi/Test/TAP - Replace Symfony YAML dependency
Tim Otten [Fri, 14 Jun 2019 18:23:37 +0000 (14:23 -0400)]
Civi/Test/TAP - Replace Symfony YAML dependency

This allows two paths:

1. If you have the YAML PECL extension, then that will be used.
   To get the best output, you can install it.
2. If you don't, then it'll output JSON. JSON is considered valid YAML.
   It's not clear that everyone reading the document will handle
   the full range YAML (incl JSON), but... we don't actually have any
   listeners that care to parse the TAP output...

5 years agotools/scripts/phpunit - Flip back to preferring 'php' for subprocess
Tim Otten [Fri, 14 Jun 2019 18:21:47 +0000 (14:21 -0400)]
tools/scripts/phpunit - Flip back to preferring 'php' for subprocess

Rationale:

* On the test servers, `php` is wrapper script.
* Outside the test servers, you should be able to use `phpunit` directly
  (rather than calling `tools/scripts/phpunit`), and then it's
  not our problem.

5 years agoFix A.net to resolve time when using default
eileen [Fri, 14 Jun 2019 19:50:27 +0000 (15:50 -0400)]
Fix A.net to resolve time when using default

This is presumably passed through to the contribution api & hence it is not so grumpy but when
passed to the activity create fn it is failing when the test is run in isolation (& maybe other scenarios?)
due to 'now' not being parsed

5 years ago[test] truncate pledge block when cleaning up financial entities
Eileen McNaughton [Fri, 14 Jun 2019 17:53:21 +0000 (13:53 -0400)]
[test] truncate pledge block when cleaning up financial entities

Keep hunting down the test cleanup issue

5 years agoAdd CRM_Utils_JS::decode function for decoding js objects
Coleman Watts [Fri, 14 Jun 2019 17:51:40 +0000 (13:51 -0400)]
Add CRM_Utils_JS::decode function for decoding js objects

5 years agoMerge pull request #14536 from civicrm/5.15
Eileen McNaughton [Fri, 14 Jun 2019 17:17:13 +0000 (13:17 -0400)]
Merge pull request #14536 from civicrm/5.15

5.15 to master

5 years agoMerge pull request #14511 from eileenmcnaughton/jungle
Eileen McNaughton [Fri, 14 Jun 2019 17:16:50 +0000 (13:16 -0400)]
Merge pull request #14511 from eileenmcnaughton/jungle

Add Unit test for testing smart group flow

5 years agoMerge pull request #14522 from colemanw/ActivityForm
colemanw [Fri, 14 Jun 2019 17:14:56 +0000 (13:14 -0400)]
Merge pull request #14522 from colemanw/ActivityForm

ActivityForm - Redirect to contact page or activity view in standalone mode

5 years agoAdd Unit test for testing smart group flow
eileen [Thu, 13 Jun 2019 17:01:40 +0000 (13:01 -0400)]
Add Unit test for testing smart group flow

5 years agoDeprecate contribution_date as a parameter
eileen [Fri, 14 Jun 2019 15:46:23 +0000 (11:46 -0400)]
Deprecate contribution_date as a parameter

5 years agoMerge pull request #14512 from agh1/refactor-before-14349
Matthew Wire [Fri, 14 Jun 2019 15:25:31 +0000 (16:25 +0100)]
Merge pull request #14512 from agh1/refactor-before-14349

[REF] CRM_Case_BAO_Case::addcaseActivityLinks to CRM_Case_Selector_Search

5 years agoMerge pull request #14486 from seamuslee001/contribution_date_search_561
Eileen McNaughton [Fri, 14 Jun 2019 15:20:05 +0000 (11:20 -0400)]
Merge pull request #14486 from seamuslee001/contribution_date_search_561

[REF] dev/core#561 Convert Contribution Date field to use date picker…

5 years agoMerge pull request #14531 from eileenmcnaughton/72
Eileen McNaughton [Fri, 14 Jun 2019 14:29:25 +0000 (10:29 -0400)]
Merge pull request #14531 from eileenmcnaughton/72

Php 7.2 notices fix on import

5 years agoMerge pull request #14530 from yashodha/mem_reports
Eileen McNaughton [Fri, 14 Jun 2019 13:54:57 +0000 (09:54 -0400)]
Merge pull request #14530 from yashodha/mem_reports

Expose Primary member only/Non primary member only filter in membersh…

5 years agoMerge pull request #14532 from brianPHM/Updating_contributor_yml
Eileen McNaughton [Fri, 14 Jun 2019 13:51:13 +0000 (09:51 -0400)]
Merge pull request #14532 from brianPHM/Updating_contributor_yml

Adding myself to the contributors file

5 years agoAdding myself to the contributors file
Brian Matemachani [Fri, 14 Jun 2019 13:30:32 +0000 (14:30 +0100)]
Adding myself to the contributors file

5 years agoPhp 7.2 fix on import
eileen [Fri, 14 Jun 2019 12:03:33 +0000 (08:03 -0400)]
Php 7.2 fix on import

Fixes a known issue where php 7.2 is 'noisy' if you try to count NULL - solution is to use an empty array

5 years agoAddress BAO - Handle standard 'custom' param as well as individual fields
Coleman Watts [Fri, 14 Jun 2019 11:46:00 +0000 (07:46 -0400)]
Address BAO - Handle standard 'custom' param as well as individual fields

The Address BAO was an oddball in that it took raw unformatted custom field input and processed it.
Other BAOs expect the custom field input to alreay be processed.
This allows it to handle either format.

5 years agoExpose Primary member only/Non primary member only filter in membership reports
yashodha [Fri, 14 Jun 2019 11:09:29 +0000 (16:39 +0530)]
Expose Primary member only/Non primary member only filter in membership reports

5 years agoMerge pull request #14523 from kcristiano/cividist
Eileen McNaughton [Fri, 14 Jun 2019 11:08:12 +0000 (07:08 -0400)]
Merge pull request #14523 from kcristiano/cividist

CiviDist fails on BSD flavor of 'cp' with '-r -p' switch to '-R -p'

5 years agoAdd csv reader package
eileen [Fri, 14 Jun 2019 01:58:28 +0000 (21:58 -0400)]
Add csv reader package

Adds https://csv.thephpleague.com/9.0/ because we can now (since we are php 7.x+ now).

Apart from being a pretty good package it will help with writing tests for csv output

It will also help us cleanup some of our csv code down the way

5 years agoMerge pull request #14528 from civicrm/5.15
Seamus Lee [Fri, 14 Jun 2019 05:22:07 +0000 (15:22 +1000)]
Merge pull request #14528 from civicrm/5.15

5.15

5 years agoMerge pull request #14526 from seamuslee001/nfc_fix_template_indent_misc
Monish Deb [Fri, 14 Jun 2019 04:45:01 +0000 (10:15 +0530)]
Merge pull request #14526 from seamuslee001/nfc_fix_template_indent_misc

[NFC] Fix indenting in Misc Setting Template

5 years agoMerge pull request #14527 from totten/5.15-yaml-dg
Seamus Lee [Fri, 14 Jun 2019 03:55:23 +0000 (13:55 +1000)]
Merge pull request #14527 from totten/5.15-yaml-dg

(REF) Convert YAML fixtures to JSON. Reset symfony/yaml dependency.

5 years agoMerge pull request #14505 from seamuslee001/legacy_psr16_multisite
Seamus Lee [Fri, 14 Jun 2019 03:38:00 +0000 (13:38 +1000)]
Merge pull request #14505 from seamuslee001/legacy_psr16_multisite

Update PSR16 handling for multisite extension legacy caching group

5 years ago(REF) Convert YAML fixtures to JSON fixtures. Reset symfony/yaml dependency.
Tim Otten [Fri, 14 Jun 2019 02:48:01 +0000 (22:48 -0400)]
(REF) Convert YAML fixtures to JSON fixtures. Reset symfony/yaml dependency.

Overview
--------

The test suite includes some tests that read fixture data files (i.e. YAML files). This patch
provides a safer way to address a dependency-management issue with parsing YAML files.

Before
------

* In the last public release (`5.14`), the `symfony/yaml` package was not included with `civicrm-core`.
  However, it was loaded during testing by virtue of running `phpunit6`.
* In the `5.15` RC code, `symfony/yaml` was added -- so that the test suite worked in `phpunit6`.
  However, this also added `symfony/yaml` to the general runtime distribution - which is liable to create conflicts
  with Civi extensions and CMS modules that also bundle `symfony/yaml`. (It's a popular package.)

After
-----

* The test suite no longer uses YAML, and the build no longer requires `symfony/yaml`. Instead, it uses JSON.

5 years ago[NFC] Fix indenting in Misc Setting Template
Seamus Lee [Fri, 14 Jun 2019 02:39:13 +0000 (12:39 +1000)]
[NFC] Fix indenting in Misc Setting Template

5 years agoCiviDist fails on BSD flavor of 'cp' with '-r -p' switch to '-R -p'
Kevin Cristiano [Fri, 14 Jun 2019 01:47:52 +0000 (21:47 -0400)]
CiviDist fails on BSD flavor of 'cp' with '-r -p' switch to '-R -p'

5 years agoAdd in deprecated notice about code path being removed at end of 2019
Seamus Lee [Fri, 14 Jun 2019 01:26:40 +0000 (11:26 +1000)]
Add in deprecated notice about code path being removed at end of 2019

5 years agoActivityForm - Redirect to contact page or activity view in standalone mode
Coleman Watts [Thu, 13 Jun 2019 23:24:23 +0000 (19:24 -0400)]
ActivityForm - Redirect to contact page or activity view in standalone mode

5 years agoMerge pull request #14501 from mattwire/attachment_description
Eileen McNaughton [Thu, 13 Jun 2019 23:10:53 +0000 (19:10 -0400)]
Merge pull request #14501 from mattwire/attachment_description

Display description next to 'paperclip' file icon - usually the filename

5 years agoMerge pull request #14513 from eileenmcnaughton/export_sc_just_change
Seamus Lee [Thu, 13 Jun 2019 21:49:15 +0000 (07:49 +1000)]
Merge pull request #14513 from eileenmcnaughton/export_sc_just_change

dev/core#1015 fix regression on exporting soft credits - more robust …

5 years agoMerge pull request #14518 from colemanw/paymentEditFix
Seamus Lee [Thu, 13 Jun 2019 21:05:02 +0000 (07:05 +1000)]
Merge pull request #14518 from colemanw/paymentEditFix

dev/core#965 Fix destination in payment edit

5 years agoMerge pull request #14517 from eileenmcnaughton/test_fix
Seamus Lee [Thu, 13 Jun 2019 21:04:48 +0000 (07:04 +1000)]
Merge pull request #14517 from eileenmcnaughton/test_fix

Fix test which fails when run in isolation.

5 years agoMerge pull request #14471 from eileenmcnaughton/tests
Seamus Lee [Thu, 13 Jun 2019 20:44:20 +0000 (06:44 +1000)]
Merge pull request #14471 from eileenmcnaughton/tests

[NFC] test cleanup. Uses CRM_Core_Exceptions, properly outputs unfiltered results

5 years agoMerge pull request #14520 from civicrm/5.15
Eileen McNaughton [Thu, 13 Jun 2019 20:40:17 +0000 (16:40 -0400)]
Merge pull request #14520 from civicrm/5.15

5.15

5 years agoMerge pull request #14484 from seamuslee001/l18n_improved_schema
Eileen McNaughton [Thu, 13 Jun 2019 20:38:18 +0000 (16:38 -0400)]
Merge pull request #14484 from seamuslee001/l18n_improved_schema

Improve I18n schema by including comments and default and NOT NULL or…

5 years agoMerge pull request #14154 from greenpeace-cee/fix-quicksearch-font
colemanw [Thu, 13 Jun 2019 20:34:26 +0000 (16:34 -0400)]
Merge pull request #14154 from greenpeace-cee/fix-quicksearch-font

Fix placeholder font in Quicksearch

5 years agoMerge pull request #14516 from eileenmcnaughton/except
Tim Otten [Thu, 13 Jun 2019 20:32:19 +0000 (16:32 -0400)]
Merge pull request #14516 from eileenmcnaughton/except

[test] Add PrematureExitException to support unit testing where the code would otherwise exit

5 years agoMerge pull request #13966 from agileware/CIVICRM-1168
Eileen McNaughton [Thu, 13 Jun 2019 20:23:20 +0000 (16:23 -0400)]
Merge pull request #13966 from agileware/CIVICRM-1168

Fixed visibility logic on Price field options.

5 years agodev/core#965 Fix destination in payment edit
Coleman Watts [Thu, 13 Jun 2019 20:21:12 +0000 (16:21 -0400)]
dev/core#965 Fix destination in payment edit

5 years agoFix test which fails when run in isolation.
eileen [Thu, 13 Jun 2019 20:19:19 +0000 (16:19 -0400)]
Fix test which fails when run in isolation.

There is a mystery contamination in our test suite somewhere where this test passes in a
suite & not by itself - this fixes although the fact this passes when not alone is
probably behind a few hard to find issues

5 years agoMerge pull request #14250 from totten/master-select-null
colemanw [Thu, 13 Jun 2019 20:11:36 +0000 (16:11 -0400)]
Merge pull request #14250 from totten/master-select-null

CRM_Utils_SQL_* - Properly interpolate NULL values

5 years agoAdd PrematureExitException to support unit testing where the code would otherwise...
eileen [Thu, 13 Jun 2019 18:53:17 +0000 (14:53 -0400)]
Add PrematureExitException to support unit testing where the code would otherwise exit

5 years agoBugfix - getting id from hash (#14508)
brianPHMatemachani [Thu, 13 Jun 2019 18:34:27 +0000 (19:34 +0100)]
Bugfix - getting id from hash (#14508)

* Bugfix - getting id from hash

* Styling changes, using single quotes as preferred.

* Correcting public link when hashed url is set

* Bugfix : correcting if statement. Public link setting the hash instead of id when 'hashed' setting is on.

* Coding standards changes. Spacing after close parenthesis and space after keyword

5 years agoMerge pull request #14506 from seamuslee001/lab_core_1039
colemanw [Thu, 13 Jun 2019 18:18:49 +0000 (14:18 -0400)]
Merge pull request #14506 from seamuslee001/lab_core_1039

dev/core#1039 Make the contact details in the contact summary screen …

5 years agoMerge pull request #14510 from totten/master-relax-get-to-it
Eileen McNaughton [Thu, 13 Jun 2019 18:14:25 +0000 (14:14 -0400)]
Merge pull request #14510 from totten/master-relax-get-to-it

Civi\Angular\ChangeSet - Relax debug-mode consistency check

5 years agodev/core#1015 fix regression on exporting soft credits - more robust version
eileen [Wed, 5 Jun 2019 23:30:21 +0000 (11:30 +1200)]
dev/core#1015 fix regression on exporting soft credits - more robust version

This applies a full fix to a regression we fixed with a less robust fix due to test issues
https://github.com/civicrm/civicrm-core/pull/13748/commits/7f59431188688d4697bff55738fe17996abe442f#diff-e54381bfdf51e31cab376c71ca0d66ffR2716
removed a space that was required when exporting soft credits. The fix makes the addition of a space in
a more sensible way (doesn't rely on it being done correctly in dozens of places

5 years ago[NFC] test cleanup. Uses CRM_Core_Exceptions, properly outputs unfiltered results
eileen [Fri, 7 Jun 2019 00:27:32 +0000 (12:27 +1200)]
[NFC] test cleanup. Uses CRM_Core_Exceptions, properly outputs unfiltered results

The comment blocks should show all exceptions thrown by a function so trying to stdise a little.

Also fixed failed output of unfiltered results when retrieval fails

5 years ago[REF] CRM_Case_BAO_Case::addcaseActivityLinks to CRM_Case_Selector_Search
Andrew Hunt [Thu, 13 Jun 2019 17:26:08 +0000 (13:26 -0400)]
[REF] CRM_Case_BAO_Case::addcaseActivityLinks to CRM_Case_Selector_Search

5 years agoCivi\Angular\ChangeSet - Relax debug-mode consistency check
Tim Otten [Thu, 13 Jun 2019 16:30:41 +0000 (12:30 -0400)]
Civi\Angular\ChangeSet - Relax debug-mode consistency check

Overview
--------

The Angular subsystem *sometimes* includes a consistency-check. The consistency check ensures that an HTML document is
read/written in consistency format (i.e. `encode(decode($html)) === $html`). However, the check is not often run, and
it sometimes produces errors on consistency issues which we don't care about.

This approach here is to relaxes the checks in `civicrm-core` and reproduce them in separate developer-oriented tooling.

Before
------

* If an Angular HTML partial is not altered (`hook_civicrm_alterAngular`), then the partial is *not* checked for consistency.
* If a site is in production/non-debug mode, then the partial is *not* checked for consistency.
* If a site is in debug mode, then the partial *is* checked for consistency.

After
-----

* The partial is not checked for consistency.
* A task is recorded on the [Afform roadmap](https://github.com/totten/afform/blob/master/docs/roadmap.md) to include
  better consistency checks in the `afform_auditor` extension.

5 years agoMerge pull request #13959 from mlutfy/setMessageError
Eileen McNaughton [Thu, 13 Jun 2019 15:01:34 +0000 (11:01 -0400)]
Merge pull request #13959 from mlutfy/setMessageError

dev/drupal#63 Drupal8: override setMessage(), because drupal_set_message is deprecated

5 years agoMerge pull request #14507 from yashodha/mem_reports
Eileen McNaughton [Thu, 13 Jun 2019 12:08:34 +0000 (08:08 -0400)]
Merge pull request #14507 from yashodha/mem_reports

Expose Primary member only/Non primary member only filter in membersh…

5 years agoExpose Primary member only/Non primary member only filter in membership reports
yashodha [Thu, 13 Jun 2019 09:19:33 +0000 (14:49 +0530)]
Expose Primary member only/Non primary member only filter in membership reports

5 years agodev/core#1039 Make the contact details in the contact summary screen popup on merge...
Seamus Lee [Thu, 13 Jun 2019 06:55:49 +0000 (16:55 +1000)]
dev/core#1039 Make the contact details in the contact summary screen popup on merge screens non bold a-la contact summary screen

Update to Monish's suggestion

5 years agoUpdate PSR16 handling for multisite extension legacy caching group
Seamus Lee [Thu, 13 Jun 2019 06:07:25 +0000 (16:07 +1000)]
Update PSR16 handling for multisite extension legacy caching group

Fix version to compare against

5 years agoMerge pull request #14500 from mattwire/extract_recaptcha
Monish Deb [Thu, 13 Jun 2019 03:37:20 +0000 (09:07 +0530)]
Merge pull request #14500 from mattwire/extract_recaptcha

REF Deduplicate recaptcha handling code

5 years agoMerge pull request #14504 from seamuslee001/ref_remove_unneded_search_code_contirbuti...
Monish Deb [Thu, 13 Jun 2019 03:01:10 +0000 (08:31 +0530)]
Merge pull request #14504 from seamuslee001/ref_remove_unneded_search_code_contirbution_recur

Remove duplicated code in contribution recur search build function

5 years agoMerge pull request #14492 from colemanw/sub_type
Seamus Lee [Thu, 13 Jun 2019 02:34:49 +0000 (12:34 +1000)]
Merge pull request #14492 from colemanw/sub_type

Fix deletion of contact sub_type in api4

5 years agoUpdate contact_sub_type to ignore null values for consistency
Coleman Watts [Tue, 11 Jun 2019 11:46:11 +0000 (07:46 -0400)]
Update contact_sub_type to ignore null values for consistency

For better or worse, every other field gets ignored by bao::add functions when passed as null,
so this test had an incorrect assumption about how it was supposed to work.

5 years agoRemove duplicated code in contribution recur search build function
Seamus Lee [Wed, 12 Jun 2019 21:51:18 +0000 (07:51 +1000)]
Remove duplicated code in contribution recur search build function

5 years agoMerge pull request #14496 from mattwire/extract_overridedefaultcurrency
Seamus Lee [Wed, 12 Jun 2019 21:33:23 +0000 (07:33 +1000)]
Merge pull request #14496 from mattwire/extract_overridedefaultcurrency

REF Extract override default currency function

5 years agoMerge pull request #14444 from eileenmcnaughton/export_up
Matthew Wire [Wed, 12 Jun 2019 19:02:00 +0000 (20:02 +0100)]
Merge pull request #14444 from eileenmcnaughton/export_up

[REF] Minor code cleanup on string concatenation

5 years agoMerge pull request #14436 from eileenmcnaughton/pay
Matthew Wire [Wed, 12 Jun 2019 18:59:39 +0000 (19:59 +0100)]
Merge pull request #14436 from eileenmcnaughton/pay

Fix proportional test to test Payment.create & for the test to make more sense

5 years agoDeduplicate recaptcha handling
Matthew Wire (MJW Consulting) [Wed, 12 Jun 2019 17:09:19 +0000 (18:09 +0100)]
Deduplicate recaptcha handling

5 years agoExtract override default currency function
Matthew Wire (MJW Consulting) [Tue, 11 Jun 2019 17:39:26 +0000 (18:39 +0100)]
Extract override default currency function

5 years agoMerge pull request #14498 from mattwire/extract_paypalexpress_preprocess
Eileen McNaughton [Wed, 12 Jun 2019 18:47:56 +0000 (14:47 -0400)]
Merge pull request #14498 from mattwire/extract_paypalexpress_preprocess

REF: Extract preProcess paypalexpress

5 years agoMerge pull request #14497 from mattwire/commentsandformat
Eileen McNaughton [Wed, 12 Jun 2019 18:31:35 +0000 (14:31 -0400)]
Merge pull request #14497 from mattwire/commentsandformat

NFC Comments and formatting only

5 years agoMerge pull request #14474 from colemanw/placeholderUrl
Monish Deb [Wed, 12 Jun 2019 18:08:58 +0000 (23:38 +0530)]
Merge pull request #14474 from colemanw/placeholderUrl

dev/drupal#21 Remove asterisks from placeholder url

5 years agoDisplay description next to 'paperclip' file icon - usually the filename
Matthew Wire (MJW Consulting) [Tue, 11 Jun 2019 17:44:44 +0000 (18:44 +0100)]
Display description next to 'paperclip' file icon - usually the filename

5 years agoExtract preProcess paypalexpress
Matthew Wire (MJW Consulting) [Tue, 11 Jun 2019 17:43:48 +0000 (18:43 +0100)]
Extract preProcess paypalexpress

5 years agoComments and formatting only
Matthew Wire (MJW Consulting) [Tue, 11 Jun 2019 17:41:17 +0000 (18:41 +0100)]
Comments and formatting only

5 years agoMerge pull request #14494 from colemanw/customPc
Eileen McNaughton [Wed, 12 Jun 2019 16:32:21 +0000 (12:32 -0400)]
Merge pull request #14494 from colemanw/customPc

Add a couple customField pseudoconstants

5 years agoRemove asterisks from placeholder url
Coleman Watts [Fri, 7 Jun 2019 00:59:34 +0000 (20:59 -0400)]
Remove asterisks from placeholder url

These symbols get escaped by some CMSs which messes up CRM.url

5 years agoMerge pull request #13916 from alifrumin/caserelstocore
colemanw [Wed, 12 Jun 2019 15:19:46 +0000 (11:19 -0400)]
Merge pull request #13916 from alifrumin/caserelstocore

dev/core#530 Make a_b relationships available as case roles

5 years agoAdd a couple customField pseudoconstants
Coleman Watts [Wed, 12 Jun 2019 03:16:45 +0000 (23:16 -0400)]
Add a couple customField pseudoconstants

5 years agoMerge pull request #14452 from eileenmcnaughton/payment_activity
Matthew Wire [Wed, 12 Jun 2019 14:14:46 +0000 (15:14 +0100)]
Merge pull request #14452 from eileenmcnaughton/payment_activity

Create payment activity when creating a payment via the api, test

5 years agoMerge pull request #14478 from eileenmcnaughton/contact_search
Monish Deb [Wed, 12 Jun 2019 13:47:17 +0000 (19:17 +0530)]
Merge pull request #14478 from eileenmcnaughton/contact_search

[REF] Move sort_name definition to searchFieldMetadata

5 years agoMerge pull request #14493 from seamuslee001/more_free
Eileen McNaughton [Wed, 12 Jun 2019 11:43:01 +0000 (07:43 -0400)]
Merge pull request #14493 from seamuslee001/more_free

Remove more free calls

5 years ago[REF] dev/core#561 Convert Contribution Date field and contribution cancel date field...
Seamus Lee [Sun, 9 Jun 2019 03:43:28 +0000 (13:43 +1000)]
[REF] dev/core#561 Convert Contribution Date field and contribution cancel date field to use date picker on search form

Update ContributionAggregate search as well as it uses the field name contribution_date as well as core search

Add in Upgrade Step to handle change in export and profiles and update default return properties and tests and api for the new unique field names

Convert Cancel Date field as well

Inlcude schema changes

Fix test

Fix some more reports

Update generated data

Revert namespace change to contribution

5 years agoRemove more free calls
Seamus Lee [Tue, 11 Jun 2019 21:01:50 +0000 (07:01 +1000)]
Remove more free calls

5 years agoMerge pull request #14485 from seamuslee001/domain_uniqueness_cache_key
Eileen McNaughton [Wed, 12 Jun 2019 09:22:41 +0000 (05:22 -0400)]
Merge pull request #14485 from seamuslee001/domain_uniqueness_cache_key

Add in uniqueness to cache keys to mitigate clashes on multisite inst…

5 years agoMerge pull request #14431 from eileenmcnaughton/pledge_search
Yashodha Chaku [Wed, 12 Jun 2019 03:47:52 +0000 (09:17 +0530)]
Merge pull request #14431 from eileenmcnaughton/pledge_search

dev/core#561 Convert pledge search form to use metadata functions

5 years agoMerge pull request #14290 from MegaphoneJon/json-pp-logging
Seamus Lee [Wed, 12 Jun 2019 03:14:38 +0000 (13:14 +1000)]
Merge pull request #14290 from MegaphoneJon/json-pp-logging

financial#55: support IPN logging on processors that send JSON data as POST

5 years agoMerge pull request #14489 from aydun/core_1026
Eileen McNaughton [Tue, 11 Jun 2019 20:30:52 +0000 (16:30 -0400)]
Merge pull request #14489 from aydun/core_1026

Fix core#1026 where an email address synced from a CMS contact is created with no location field.

5 years agoMerge pull request #14491 from pradpnayak/ActivityPre
Eileen McNaughton [Tue, 11 Jun 2019 20:30:16 +0000 (16:30 -0400)]
Merge pull request #14491 from pradpnayak/ActivityPre

Object id is always NULL in ore hook in update activity mode

5 years agoExtend location_type_id test to api4
Coleman Watts [Tue, 11 Jun 2019 18:25:41 +0000 (14:25 -0400)]
Extend location_type_id test to api4

5 years agoFix deletion of contact sub_type in api4
Coleman Watts [Tue, 11 Jun 2019 03:19:14 +0000 (23:19 -0400)]
Fix deletion of contact sub_type in api4

5 years agoFixed Checkstyle Warnings
Pradeep Nayak [Mon, 10 Jun 2019 22:03:23 +0000 (23:03 +0100)]
Fixed Checkstyle Warnings

5 years agoMerge pull request #14488 from seamuslee001/test_dev_core_889
Eileen McNaughton [Mon, 10 Jun 2019 20:59:37 +0000 (16:59 -0400)]
Merge pull request #14488 from seamuslee001/test_dev_core_889

dev/core#889 Add test for changing fee selection to 0 and then record…

5 years agoWhen syncing to UF record, use API instead of DAO to create email
Aidan Saunders [Mon, 10 Jun 2019 12:42:13 +0000 (13:42 +0100)]
When syncing to UF record, use API instead of DAO to create email
 - with the addition of a default location in this change, this fixes core#1026

Bonus code tidy: if UF email matches the contact primary email, avoid unnecessary update.
If update is needed, use API not direct SQL.