civicrm-core.git
4 years ago[NFC] Minor code cleanup
eileen [Mon, 17 Feb 2020 04:50:04 +0000 (17:50 +1300)]
[NFC] Minor code cleanup

Declare exceptions, use single quotes & strict comparison, do not declare unused params

4 years agoMerge pull request #16552 from eileenmcnaughton/part_form
colemanw [Sun, 16 Feb 2020 19:36:56 +0000 (14:36 -0500)]
Merge pull request #16552 from eileenmcnaughton/part_form

[REF] Fix static call to non-static function.

4 years agoMerge pull request #16551 from totten/master-ext-tags
Eileen McNaughton [Sat, 15 Feb 2020 22:37:43 +0000 (11:37 +1300)]
Merge pull request #16551 from totten/master-ext-tags

info.xml - Allow extensions to define a list of tags

4 years agoMerge pull request #16554 from demeritcowboy/add-tag-ewarning
colemanw [Sat, 15 Feb 2020 22:28:14 +0000 (17:28 -0500)]
Merge pull request #16554 from demeritcowboy/add-tag-ewarning

dev/core#1593 and dev/core#1536 - Remove unused code causing E_WARNING

4 years agoMerge pull request #16525 from eileenmcnaughton/validate
Matthew Wire [Sat, 15 Feb 2020 18:52:06 +0000 (18:52 +0000)]
Merge pull request #16525 from eileenmcnaughton/validate

Allow any casting done in Type::validate to bubble up to Request::retrieveValue

4 years agoremove unused code causing E_WARNING
demeritcowboy [Sat, 15 Feb 2020 02:28:46 +0000 (21:28 -0500)]
remove unused code causing E_WARNING

4 years agoMerge pull request #16468 from mattwire/tokens_activitytokenprocessortrait
Eileen McNaughton [Sat, 15 Feb 2020 03:29:36 +0000 (16:29 +1300)]
Merge pull request #16468 from mattwire/tokens_activitytokenprocessortrait

REF Refactor ActivityTokens to use a trait that can be shared with other entities

4 years ago[REF] Fix static call to non-static function.
eileen [Sat, 15 Feb 2020 02:45:13 +0000 (15:45 +1300)]
[REF] Fix static call to non-static function.

This non-static function was being called statically. On grepping I found it is only called from this
one place so  I moved it to the form

4 years agoMerge pull request #16515 from mattwire/phpnotice_noteprivacy
Eileen McNaughton [Sat, 15 Feb 2020 02:39:22 +0000 (15:39 +1300)]
Merge pull request #16515 from mattwire/phpnotice_noteprivacy

Fix a PHP notice for users with limited permissions when loading cont…

4 years agoMerge pull request #16533 from eileenmcnaughton/ex_angular
Eileen McNaughton [Sat, 15 Feb 2020 02:36:55 +0000 (15:36 +1300)]
Merge pull request #16533 from eileenmcnaughton/ex_angular

Do not fatally fail on angular pages if an extension is missing

4 years agoinfo.xml - Allow extensions to define a list of tags
Tim Otten [Sat, 15 Feb 2020 01:24:40 +0000 (17:24 -0800)]
info.xml - Allow extensions to define a list of tags

Overview
--------

This adopts a convention by which extensions may use `info.xml` to register tags, e.g.

```xml
<extension key="org.civicrm.foo" type="module">
  <tags>
    <tag>civicontribute</tag>
    <tag>payment-processor</tag>
    <tag>install-mandatory</tag>
  </tags>
</extension>
```

Before
------

To add *any* metadata to `info.xml` files, you must update the parser and providing
filtering/indexing.

After
-----

If you need to add very simple metadata (tags), you can do that without
extra parsing code.  The tag information can be accessed in the following
ways:

* Using the extension mapper
    ```php
    $mapper = CRM_Extension_System::singleton()->getMapper();
    $allTags = $mapper->getAllTags();
    $mandatoryExts = $mapper->getKeysByTag('install-mandatory');
    ```
* The `Extension.get` API will return the list of tags for each ext

4 years agoMerge pull request #16548 from civicrm/5.23
Seamus Lee [Sat, 15 Feb 2020 00:09:48 +0000 (11:09 +1100)]
Merge pull request #16548 from civicrm/5.23

5.23

4 years agoMerge pull request #16547 from seamuslee001/5.23
Seamus Lee [Sat, 15 Feb 2020 00:07:37 +0000 (11:07 +1100)]
Merge pull request #16547 from seamuslee001/5.23

[NFC] Ensure that annon permissions are correctly assigned when enabl…

4 years agoMerge pull request #16549 from seamuslee001/style_fix_property_bag
Seamus Lee [Sat, 15 Feb 2020 00:07:28 +0000 (11:07 +1100)]
Merge pull request #16549 from seamuslee001/style_fix_property_bag

[NFC] Fix style error

4 years ago[NFC] Fix style error
Seamus Lee [Fri, 14 Feb 2020 23:58:14 +0000 (10:58 +1100)]
[NFC] Fix style error

4 years agoMerge pull request #16532 from eileenmcnaughton/5.23
Seamus Lee [Fri, 14 Feb 2020 23:55:02 +0000 (10:55 +1100)]
Merge pull request #16532 from eileenmcnaughton/5.23

dev/core#1588 Fix regression where empty string is passed to PropertyBag

4 years ago[NFC] Ensure that annon permissions are correctly assigned when enabling civicrm...
Seamus Lee [Fri, 14 Feb 2020 23:05:34 +0000 (10:05 +1100)]
[NFC] Ensure that annon permissions are correctly assigned when enabling civicrm webtest module in backdrop

4 years agoMerge pull request #16544 from seamuslee001/dev_core_1594
Seamus Lee [Fri, 14 Feb 2020 21:16:31 +0000 (08:16 +1100)]
Merge pull request #16544 from seamuslee001/dev_core_1594

dev/core#1594 [TEST] Fix running of unit tests within an extension

4 years agoMerge pull request #16543 from jmcclelland/issue1589
Eileen McNaughton [Fri, 14 Feb 2020 20:20:35 +0000 (09:20 +1300)]
Merge pull request #16543 from jmcclelland/issue1589

dev/core#1589 avoid error when merging record with null create date

4 years agoMerge pull request #15998 from demeritcowboy/case-audit-skip-broken
Eileen McNaughton [Fri, 14 Feb 2020 20:19:16 +0000 (09:19 +1300)]
Merge pull request #15998 from demeritcowboy/case-audit-skip-broken

dev/core#1366 Bypass nonfunctioning case audit interactive screen and go straight to report

4 years agodev/core#1594 [TEST] Fix running of unit tests within an extension
Seamus Lee [Fri, 14 Feb 2020 19:51:51 +0000 (06:51 +1100)]
dev/core#1594 [TEST] Fix running of unit tests within an extension

4 years agoMerge pull request #16539 from eileenmcnaughton/text
Seamus Lee [Fri, 14 Feb 2020 19:36:03 +0000 (06:36 +1100)]
Merge pull request #16539 from eileenmcnaughton/text

Remove reference to mysql 5.0 & 5.1

4 years agoMerge pull request #16542 from JGaunt/patch-3
Matthew Wire [Fri, 14 Feb 2020 19:18:02 +0000 (19:18 +0000)]
Merge pull request #16542 from JGaunt/patch-3

Update CONTRIBUTORS.txt

4 years agoMerge pull request #16540 from eileenmcnaughton/part_pend
Matthew Wire [Fri, 14 Feb 2020 19:17:16 +0000 (19:17 +0000)]
Merge pull request #16540 from eileenmcnaughton/part_pend

[REF] Remove never used property

4 years agoavoid error when merging record with null create date
Jamie McClelland [Fri, 14 Feb 2020 15:57:25 +0000 (10:57 -0500)]
avoid error when merging record with null create date

https://lab.civicrm.org/dev/core/issues/1589

4 years agoUpdate CONTRIBUTORS.txt
Jade Gaunt [Fri, 14 Feb 2020 15:19:32 +0000 (15:19 +0000)]
Update CONTRIBUTORS.txt

Added in mine and my colleagues name.

4 years agoMerge pull request #16527 from alexymik/added_by
Mathieu Lu [Fri, 14 Feb 2020 14:07:45 +0000 (09:07 -0500)]
Merge pull request #16527 from alexymik/added_by

Change "Added By" to "Added by"

4 years agoRemove never used property
eileen [Fri, 14 Feb 2020 12:29:59 +0000 (01:29 +1300)]
Remove never used property

I grepped for _roleId & found it in only these 2 places - removing

4 years agoMerge pull request #15390 from kewljuice/patch-4
Eileen McNaughton [Fri, 14 Feb 2020 11:37:11 +0000 (00:37 +1300)]
Merge pull request #15390 from kewljuice/patch-4

Check email when creating a user in drupal 8

4 years agoRemove reference to mysql 5.0 & 5.1
eileen [Fri, 14 Feb 2020 11:22:54 +0000 (00:22 +1300)]
Remove reference to mysql 5.0 & 5.1

Subset of https://github.com/civicrm/civicrm-core/pull/16084

4 years agoMerge pull request #16516 from colemanw/request
Eileen McNaughton [Fri, 14 Feb 2020 11:12:28 +0000 (00:12 +1300)]
Merge pull request #16516 from colemanw/request

APIv4 - merge ActionUtil with Request::create

4 years agoMerge pull request #16523 from yashodha/header
Eileen McNaughton [Fri, 14 Feb 2020 11:10:09 +0000 (00:10 +1300)]
Merge pull request #16523 from yashodha/header

add column for report

4 years agoMerge pull request #16537 from civicrm/5.23
Eileen McNaughton [Fri, 14 Feb 2020 08:20:14 +0000 (21:20 +1300)]
Merge pull request #16537 from civicrm/5.23

5.23

4 years agoMerge pull request #15824 from mfb/email-search-speed-boost
Eileen McNaughton [Fri, 14 Feb 2020 06:23:09 +0000 (19:23 +1300)]
Merge pull request #15824 from mfb/email-search-speed-boost

Speed boost for civicrm/ajax/checkemail

4 years agoMerge pull request #16467 from ixiam/dev-1110
Eileen McNaughton [Fri, 14 Feb 2020 05:58:36 +0000 (18:58 +1300)]
Merge pull request #16467 from ixiam/dev-1110

fix contribution summary report's statistics when grouping and having

4 years agoMerge pull request #16451 from mattwire/settingreadonly
Eileen McNaughton [Fri, 14 Feb 2020 05:51:46 +0000 (18:51 +1300)]
Merge pull request #16451 from mattwire/settingreadonly

Settings Fix setting readonly attribute

4 years agoMerge pull request #16535 from eileenmcnaughton/523rel
Seamus Lee [Fri, 14 Feb 2020 05:51:17 +0000 (16:51 +1100)]
Merge pull request #16535 from eileenmcnaughton/523rel

dev/core#1592 fix regression on relation active period

4 years agoMerge pull request #15330 from mattwire/paymentprocessor_testmodelivemode
Eileen McNaughton [Fri, 14 Feb 2020 05:46:25 +0000 (18:46 +1300)]
Merge pull request #15330 from mattwire/paymentprocessor_testmodelivemode

Fix issues with retrieving supportsTestMode/supportsLiveMode for payment processors

4 years agoMerge pull request #16534 from eileenmcnaughton/523m
Seamus Lee [Fri, 14 Feb 2020 05:26:48 +0000 (16:26 +1100)]
Merge pull request #16534 from eileenmcnaughton/523m

dev/core#1551 regression fix

4 years agoMerge pull request #16526 from eileenmcnaughton/valid_calls
Seamus Lee [Fri, 14 Feb 2020 05:19:46 +0000 (16:19 +1100)]
Merge pull request #16526 from eileenmcnaughton/valid_calls

Fix calls to Request::retrieve

4 years agodev/core#1592 fix regression on relation active period
eileen [Fri, 14 Feb 2020 04:42:17 +0000 (17:42 +1300)]
dev/core#1592 fix regression on relation active period

Per https://lab.civicrm.org/dev/core/issues/1592 the custom query  for this field is being
ignored now it's using datepicker with relevant format changes. This  causes the
custom function for the field to  be called

4 years agodev/core#1551 regression fix
eileen [Fri, 14 Feb 2020 03:55:08 +0000 (16:55 +1300)]
dev/core#1551 regression fix

Now that mailing_id is defined as field metadata the form main metadata fn is trying to handle it, However
the form is casting it to the wrong array format -https://github.com/civicrm/civicrm-core/blob/86f20cc17dde028977130f84feaf3b1d760ca57d/CRM/Contact/Form/Search.php#L649

We could fix  this & rip it out of Mailing_BAO_Query::where but there is still a gap  in  that
there is no pseudoconstant recorded for the field so the qill doesn't work & there is a gap in
pre-parsing for the form 'IN'

Hence this seems like a good approach to remove the regression in the immediate term

4 years agoDo not fatally fail on angular pages if an extension is missing
eileen [Fri, 14 Feb 2020 02:07:08 +0000 (15:07 +1300)]
Do not fatally fail on angular pages if an extension is missing

If an extension is missing trying to create a new mailing will totally fail - on QF pages we just get a
not-very-clear message

4 years agodev/core#1588 Fix regression where empty string is passed to SettingsBag
eileen [Fri, 14 Feb 2020 01:50:18 +0000 (14:50 +1300)]
dev/core#1588 Fix regression where empty string is passed to SettingsBag

We have a scenario where the checkbox is presented but is optional. This is then in 'params' which is passed through to
PropertyBag. The value is equal to '' so it fails to validate when we use it to set the value on the PropertyBag.

I don't think we lose anything meaningful by not setting an empty string and it avoids this error so we should
merge & release as a regression fix IMHO. If we want to revist then we should do that in master

https://lab.civicrm.org/dev/core/issues/1588

4 years agoMerge pull request #16530 from civicrm/5.23
Seamus Lee [Thu, 13 Feb 2020 22:59:31 +0000 (09:59 +1100)]
Merge pull request #16530 from civicrm/5.23

5.23

4 years agoMerge pull request #16521 from seamuslee001/dev_core_1489_2
Eileen McNaughton [Thu, 13 Feb 2020 21:49:32 +0000 (10:49 +1300)]
Merge pull request #16521 from seamuslee001/dev_core_1489_2

dev/core#1489 Include hook_civicrm_managed into the list of upgrade f…

4 years agoMerge pull request #16477 from demeritcowboy/unit-test-env
Eileen McNaughton [Thu, 13 Feb 2020 21:05:16 +0000 (10:05 +1300)]
Merge pull request #16477 from demeritcowboy/unit-test-env

[TEST] dev/core#1572 Unit test environment not working on windows after recent CodeGen updates

4 years agoFix calls to Request::retrieve
eileen [Thu, 13 Feb 2020 20:32:54 +0000 (09:32 +1300)]
Fix calls to Request::retrieve

Do not pass in values that are set by default. Use retrieveValue  rather than passing inn the NULL object

4 years agoChange "Added By" to "Added by"
Alexy Mikhailichenko [Thu, 13 Feb 2020 20:29:43 +0000 (12:29 -0800)]
Change "Added By" to "Added by"

4 years agoAllow any casting done in Type::validate to bubble up to Request::retrieveValue
eileen [Thu, 13 Feb 2020 20:18:34 +0000 (09:18 +1300)]
Allow any casting done in Type::validate to bubble up to Request::retrieveValue

The validate function returns
- NULL if the passed in value is not valid
- THe passed in value if valid or
 - The passed in value cast to an integer if the value is valid and the type is Int or Integer

By always using the returned value we allow it to be cast, where appropriate

4 years agoAPIv3 - Handle input errors
Coleman Watts [Thu, 13 Feb 2020 00:20:53 +0000 (19:20 -0500)]
APIv3 - Handle input errors

4 years agoadd column for report
yashodha [Thu, 13 Feb 2020 08:36:17 +0000 (14:06 +0530)]
add column for report

4 years agoMerge pull request #16522 from totten/master-simplecache-patchurl
Eileen McNaughton [Thu, 13 Feb 2020 04:08:40 +0000 (17:08 +1300)]
Merge pull request #16522 from totten/master-simplecache-patchurl

dev/core#1562 - composer.json - Fix E2E tests run on D8 build (via "patches") #16427

4 years agoMerge pull request #16512 from yashodha/header
Eileen McNaughton [Thu, 13 Feb 2020 02:11:38 +0000 (15:11 +1300)]
Merge pull request #16512 from yashodha/header

Relationship report - add sort order for end date

4 years ago(dev/core#1562) composer.json - Fix E2E tests run on D8 build (w/"patches" and URLs)
Tim Otten [Thu, 13 Feb 2020 02:03:21 +0000 (18:03 -0800)]
(dev/core#1562) composer.json - Fix E2E tests run on D8 build (w/"patches" and URLs)

4 years agodev/core#1489 Include hook_civicrm_managed into the list of upgrade freindly hooks
Seamus Lee [Thu, 13 Feb 2020 01:42:47 +0000 (12:42 +1100)]
dev/core#1489 Include hook_civicrm_managed into the list of upgrade freindly hooks

4 years agoRemove patch files that are now loaded from URL
Tim Otten [Thu, 13 Feb 2020 01:14:17 +0000 (17:14 -0800)]
Remove patch files that are now loaded from URL

The `composer.json` was updated to get these patch files via URL instead of
via local/relative path.

Future maintainers who wish to revise these patches will need to post new
revisions somewhere with a durable URL *before* they can update
`civicrm-core`.

Keeping the files in here wrongly implies that you can revise the files
in-situ - their presence is misleading.

4 years agoMerge pull request #16519 from civicrm/5.23
Seamus Lee [Wed, 12 Feb 2020 21:40:30 +0000 (08:40 +1100)]
Merge pull request #16519 from civicrm/5.23

5.23

4 years agoMerge pull request #16520 from agh1/5.23.0-release-notes
Seamus Lee [Wed, 12 Feb 2020 21:40:14 +0000 (08:40 +1100)]
Merge pull request #16520 from agh1/5.23.0-release-notes

5.23.0 release notes

4 years agoMerge pull request #16517 from agh1/5.23.0-release-notes
Seamus Lee [Wed, 12 Feb 2020 21:34:55 +0000 (08:34 +1100)]
Merge pull request #16517 from agh1/5.23.0-release-notes

5.23.0 release notes: initial run

4 years agoMerge pull request #16518 from greenpeace-cee/fix-xoauth-imap
Seamus Lee [Wed, 12 Feb 2020 21:34:05 +0000 (08:34 +1100)]
Merge pull request #16518 from greenpeace-cee/fix-xoauth-imap

dev/mail#59 - Fix use of useXOAUTH2 constant instead of var

4 years agodev/mail#59 - Fix use of useXOAUTH2 constant instead of var
Patrick Figel [Wed, 12 Feb 2020 20:27:02 +0000 (21:27 +0100)]
dev/mail#59 - Fix use of useXOAUTH2 constant instead of var

This fixes an issue where a missing $ before the useXOAUTH2 variable
prevents IMAP authentication with XOAUTH2 from working.

4 years ago5.23.0 release notes: added boilerplate
Andrew Hunt [Wed, 12 Feb 2020 19:18:49 +0000 (14:18 -0500)]
5.23.0 release notes: added boilerplate

4 years agoMerge pull request #16513 from eileenmcnaughton/credit_note_setting
colemanw [Wed, 12 Feb 2020 17:43:18 +0000 (12:43 -0500)]
Merge pull request #16513 from eileenmcnaughton/credit_note_setting

Move  settings definition on contribution settings form to metadata.

4 years agoAPIv4 - merge ActionUtil with Request::create
Coleman Watts [Wed, 12 Feb 2020 16:24:13 +0000 (11:24 -0500)]
APIv4 - merge ActionUtil with Request::create

The Request::create function was broken for v4, and ActionUtil had been serving the same purpose but in a non-broken way.

4 years ago5.23.0 release notes: raw from script
Andrew Hunt [Wed, 12 Feb 2020 15:58:17 +0000 (10:58 -0500)]
5.23.0 release notes: raw from script

4 years agoFix a PHP notice for users with limited permissions when loading contact summary
Matthew Wire [Wed, 12 Feb 2020 15:41:48 +0000 (15:41 +0000)]
Fix a PHP notice for users with limited permissions when loading contact summary

4 years agoMove credit_note_definition on contribution settings form to metadata.
eileen [Thu, 30 Jan 2020 23:32:21 +0000 (12:32 +1300)]
Move credit_note_definition on contribution settings form to metadata.

This moves the code that allows settings to be added to forms by metadata from the Generic setting form to the setting trait.

This means many more forms will support injecting settings by metadata. Specifically we switch across the Contribution preferences form,
making credit_note_prefix a metadata-added field. This is preliminary to moving that to an extension & allows us to inject it
in by simply defining the metadata in a hook

4 years agoadd sort order for end date
yashodha [Wed, 12 Feb 2020 12:21:24 +0000 (17:51 +0530)]
add sort order for end date

4 years agoMerge pull request #16511 from colemanw/kernel
Seamus Lee [Wed, 12 Feb 2020 06:46:57 +0000 (17:46 +1100)]
Merge pull request #16511 from colemanw/kernel

API Kernel - cleanup deprecated fn & unused param

4 years agoMerge pull request #15859 from jitendrapurohit/dev-mem-17
Yashodha Chaku [Wed, 12 Feb 2020 02:34:01 +0000 (08:04 +0530)]
Merge pull request #15859 from jitendrapurohit/dev-mem-17

dev/mem#17 - Deleting memberships does not delete its related line item

4 years agoAPI Kernel - cleanup deprecated fn & unused param
Coleman Watts [Tue, 11 Feb 2020 22:29:06 +0000 (17:29 -0500)]
API Kernel - cleanup deprecated fn & unused param

4 years agoMerge pull request #16510 from colemanw/ws
Seamus Lee [Wed, 12 Feb 2020 00:39:07 +0000 (11:39 +1100)]
Merge pull request #16510 from colemanw/ws

crmSelect2 - fix whitespace in tooltip

4 years agocrmSelect2 - fix whitespace in tooltip
Coleman Watts [Tue, 11 Feb 2020 22:06:21 +0000 (17:06 -0500)]
crmSelect2 - fix whitespace in tooltip

4 years agoMerge pull request #16508 from colemanw/escape
colemanw [Tue, 11 Feb 2020 21:50:02 +0000 (16:50 -0500)]
Merge pull request #16508 from colemanw/escape

Common.js - remove duplicate function

4 years agoMerge pull request #16507 from colemanw/title
Seamus Lee [Tue, 11 Feb 2020 20:44:47 +0000 (07:44 +1100)]
Merge pull request #16507 from colemanw/title

dev/core#1587 Select2 - Use description as title for each option

4 years agoCommon.js - remove duplicate function
Coleman Watts [Tue, 11 Feb 2020 20:43:54 +0000 (15:43 -0500)]
Common.js - remove duplicate function

This function did the same thing as the one in lo-dash

4 years agoSelect2 - Use description as title for each option
Coleman Watts [Tue, 11 Feb 2020 20:07:25 +0000 (15:07 -0500)]
Select2 - Use description as title for each option

4 years agoMerge pull request #16504 from acrollet/master
Eileen McNaughton [Tue, 11 Feb 2020 20:02:11 +0000 (09:02 +1300)]
Merge pull request #16504 from acrollet/master

dev/financial#117 - Add link metadata for payment edit link

4 years agoMerge pull request #16499 from pradpnayak/caseAuditReport
Yashodha Chaku [Tue, 11 Feb 2020 10:06:21 +0000 (15:36 +0530)]
Merge pull request #16499 from pradpnayak/caseAuditReport

Added conditional check so that it can be altered by hook

4 years agoMerge pull request #16505 from eileenmcnaughton/part_pay_dep
Monish Deb [Tue, 11 Feb 2020 09:37:00 +0000 (15:07 +0530)]
Merge pull request #16505 from eileenmcnaughton/part_pay_dep

Add deprecation notices on PartialAmount params

4 years agoMerge pull request #16497 from totten/master-pear-mail-delg
Seamus Lee [Tue, 11 Feb 2020 06:41:22 +0000 (17:41 +1100)]
Merge pull request #16497 from totten/master-pear-mail-delg

(REF) Move CIVICRM_MAIL_LOG logic from patch-files to wrapper-class

4 years agocomposer.json - Patch URLs should be more concrete, less symbolic
Tim Otten [Tue, 11 Feb 2020 06:02:53 +0000 (22:02 -0800)]
composer.json - Patch URLs should be more concrete, less symbolic

The previous commit made used patch URLs in the format:

`https://raw.githubusercontent.com/civicrm/civicrm-core/master/{FILEPATH}`

This is symbolic in that the `master` does not refer to a specific piece of content; it refers
subjectively to the current developmental code. This creates a few problems:

* When `civicrm-core` is tagged or branched, the `composer.json` still points
  to `master`.
* If you need to update the patch-file, you send in a PR with a different
  patch URL, right? But any builds based on this PR would still use the
  canonical `master` rather than the proposed revision.

Resolution: Don't point to patch-files symbolicly.  Instead, address them
specifically.  This revision uses past Github commits (because that's easy),
but it doesn't have to be in Github per se.  It should be somewhere that's
reliable and unlikely to change (preferrably with addressing by content
checksum).  In the Drupal community, you see a lot of examples pointing to
file-attachments in the issue-tracker.

4 years agoLAB-1576 - Use URLs for patches, to avoid local path issues with composer-patches
Chris Burgess [Wed, 5 Feb 2020 10:11:27 +0000 (23:11 +1300)]
LAB-1576 - Use URLs for patches, to avoid local path issues with composer-patches

Trying Github raw URLs this time ...

4 years agoCRM_Utils_Mail::send - Adjust hack to work with filtered mailer
Tim Otten [Tue, 11 Feb 2020 01:52:41 +0000 (17:52 -0800)]
CRM_Utils_Mail::send - Adjust hack to work with filtered mailer

4 years ago(REF) CRM_Utils_Mail - Split LoggingMailer into FilteredPearMailer and Logger
Tim Otten [Tue, 11 Feb 2020 01:48:50 +0000 (17:48 -0800)]
(REF) CRM_Utils_Mail - Split LoggingMailer into FilteredPearMailer and Logger

1. Captures more context (i.e. the original driver and params)
2. Changes various property names to avoid potential for conflict with delegated properties
3. Adds `addFilter($id, $func)` so that one can move more filters in here
4. Consolidates the various references ot CIVICRM_MAIL_LOG* into one file.

4 years agoMerge pull request #16360 from artfulrobot/case-activities-setting
Eileen McNaughton [Tue, 11 Feb 2020 02:21:40 +0000 (15:21 +1300)]
Merge pull request #16360 from artfulrobot/case-activities-setting

Add CiviCase option for showing case activities in normal views

4 years agoMerge pull request #15410 from herbdool/cloud-21
Mathieu Lu [Tue, 11 Feb 2020 01:41:29 +0000 (20:41 -0500)]
Merge pull request #15410 from herbdool/cloud-21

dev/cloud-native#21 Don't cache the full path of extensions so they don't break with dynamic paths

4 years agoAdd deprecation notices on PartialAmount params
eileen [Mon, 10 Feb 2020 23:19:00 +0000 (12:19 +1300)]
Add deprecation notices on PartialAmount params

We've removed all the places that pass these in so these 2 places handling them are the only remaining references.

All calling code now uses Payment.create to add the payments - yay. Removing these fully will clean up the code
notably

4 years agoCRM_Admin_Form_Setting_Smtp - Use the same mailer as CRM_Utils_Mail
Tim Otten [Mon, 10 Feb 2020 22:09:06 +0000 (14:09 -0800)]
CRM_Admin_Form_Setting_Smtp - Use the same mailer as CRM_Utils_Mail

When civicrm-core used patches to change the behavior of `Mail_mail` (etal),
this was fine.  The preceding commit removes the patches and uses a wrapper
instead - so it's more important to get the same mailer as the
regular CRM_Utils_Mail logic.

4 years agoAdd CiviCase option for showing case activities in normal views
Rich Lott / Artful Robot [Thu, 23 Jan 2020 11:08:30 +0000 (11:08 +0000)]
Add CiviCase option for showing case activities in normal views

Different aproach to tackling #16353

Fix array-to-string notice; Improve activity action links

remove upgrader - as per Pradeep's suggestion

update version added

tweak way description is gotten

update activity tests to check civicaseShowCaseActivities setting

Fix another array-to-string conversion error

Remove File On Case from activity View; add Manage Case

fix case activity links when using caseShowCaseActivities

remove ctx parameter for case activity links

various

US-Englishized Case settings texts.

fix permission name

4 years agoAdd link metadata for payment edit link
Adrian Rollett [Mon, 10 Feb 2020 18:44:23 +0000 (11:44 -0700)]
Add link metadata for payment edit link

4 years agoMerge pull request #16502 from yashodha/header
colemanw [Mon, 10 Feb 2020 14:02:47 +0000 (09:02 -0500)]
Merge pull request #16502 from yashodha/header

remove unnecessary file

4 years agoPut back the original line
Wouter H [Mon, 10 Feb 2020 12:29:07 +0000 (13:29 +0100)]
Put back the original line

Putted back the original line as suggested by @demeritcowboy

4 years agoMerge pull request #16487 from mlutfy/core1019
Yashodha Chaku [Mon, 10 Feb 2020 11:47:11 +0000 (17:17 +0530)]
Merge pull request #16487 from mlutfy/core1019

dev/core#1019 Calculate.tpl: fix the Total Amount currency formatting.

4 years agoMerge pull request #16442 from eileenmcnaughton/pree
Monish Deb [Mon, 10 Feb 2020 09:27:14 +0000 (14:57 +0530)]
Merge pull request #16442 from eileenmcnaughton/pree

Fix backoffice participant partial payments to be stdised & not miscalculate net_amount

4 years agoremove unnecessary file
yashodha [Mon, 10 Feb 2020 07:46:49 +0000 (13:16 +0530)]
remove unnecessary file

4 years agoMerge pull request #16500 from eileenmcnaughton/fatal
Seamus Lee [Mon, 10 Feb 2020 07:19:02 +0000 (18:19 +1100)]
Merge pull request #16500 from eileenmcnaughton/fatal

Remove fatal  from  form

4 years agoRemove fatal from form
eileen [Mon, 10 Feb 2020 06:04:09 +0000 (19:04 +1300)]
Remove fatal  from  form

4 years agoMerge pull request #16475 from JMAConsulting/core_1577
Eileen McNaughton [Mon, 10 Feb 2020 04:11:35 +0000 (17:11 +1300)]
Merge pull request #16475 from JMAConsulting/core_1577

dev/core#1577 : Custom Group Types not filterable