Eileen McNaughton [Mon, 30 Nov 2020 18:21:07 +0000 (07:21 +1300)]
Merge pull request #19063 from christianwach/lab-core-2213
Protect against 404s when wpBasePage is mixed case
Eileen McNaughton [Mon, 30 Nov 2020 00:20:36 +0000 (13:20 +1300)]
Merge pull request #19070 from mattwire/extensionupgrademsg
Extract function that generates upgrade link for extensions
Matthew Wire [Sun, 29 Nov 2020 20:04:03 +0000 (20:04 +0000)]
Extract function that generates upgrade link for extensions
Matthew Wire [Sun, 29 Nov 2020 15:30:37 +0000 (15:30 +0000)]
Merge pull request #18612 from mattwire/tokenprocessorsimplify
REF Simplify tokenProcessor code
Eileen McNaughton [Sat, 28 Nov 2020 22:46:48 +0000 (11:46 +1300)]
Merge pull request #19025 from sunilpawar/favourite_country
Feature to provide mostly used countries in top section of Country select list
Matthew Wire [Sat, 26 Sep 2020 17:55:38 +0000 (18:55 +0100)]
Simplify tokenProcessor code for activities
Matthew Wire [Sat, 28 Nov 2020 18:31:14 +0000 (18:31 +0000)]
Merge pull request #19065 from colemanw/campaignTabs
Minor tabs cleanup toward fixing dev/core#2215
Coleman Watts [Sat, 28 Nov 2020 00:30:32 +0000 (19:30 -0500)]
Minor tabs cleanup
1. Avoid overwriting CRM.tabSettings.active by cloning the variable rather than copying by reference
2. Initialize tabs only once on the Campaign dashboard
colemanw [Fri, 27 Nov 2020 16:30:10 +0000 (11:30 -0500)]
Merge pull request #19059 from eileenmcnaughton/2199_ufgroup_pre_post_hook
Remove use of nullArray in delete hooks
Christian Wach [Fri, 27 Nov 2020 16:13:53 +0000 (16:13 +0000)]
Protect against 404s when wpBasePage is mixed case
colemanw [Fri, 27 Nov 2020 15:45:38 +0000 (10:45 -0500)]
Merge pull request #19060 from eileenmcnaughton/ufadd
Deprecate UFGroup::add parameter ids
Sunil Pawar [Fri, 27 Nov 2020 08:08:39 +0000 (13:38 +0530)]
added test case, ts for help text in setting file, changed static variable logic
eileen [Fri, 27 Nov 2020 07:16:32 +0000 (20:16 +1300)]
Deprecate UFGroup::add parameter ids
This is only passed in from one place. This PR removes it & adds noisy deprecation
eileen [Fri, 27 Nov 2020 07:05:06 +0000 (20:05 +1300)]
Remove use of nullArray in delete hooks
Looking at #18995 I was struck by the delete hook being non-standard. In general we don't load from the DB just to pass
to the hook as the hook can do that itself. However, when I looked at other hooks
I found that they were passing out nullArray - this is a legacy method that precedes
being on a php version that supported default params when passing by reference.
It's further known to introduce intermittent hard to debug issues. This adds the new hook
and also adds standardisation to the other hooks for pre+delete.
I've left the create one for now but GroupContact is a good example of something
close to what we want to standardise on there
Seamus Lee [Fri, 27 Nov 2020 01:37:05 +0000 (12:37 +1100)]
Merge pull request #19050 from eileenmcnaughton/pp
[REF] Remove excess handling around contact_id
Seamus Lee [Fri, 27 Nov 2020 01:32:53 +0000 (12:32 +1100)]
Merge pull request #19051 from eileenmcnaughton/pps
Remove extra handling around contact id
Eileen McNaughton [Fri, 27 Nov 2020 00:50:40 +0000 (13:50 +1300)]
Merge pull request #18916 from colemanw/crudLink
Remove unused hook_civicrm_crudLink and switch to using metadata for crudLinks
Eileen McNaughton [Thu, 26 Nov 2020 21:53:44 +0000 (10:53 +1300)]
Merge pull request #19052 from colemanw/angModuleCleanup
[REF] Cleanup Ang modules in core to follow conventions
Seamus Lee [Thu, 26 Nov 2020 21:29:23 +0000 (08:29 +1100)]
Merge pull request #19058 from mattwire/pcpshortcodeaction
wordpress#63 Add action parameter to PCP shortcode
colemanw [Thu, 26 Nov 2020 16:42:25 +0000 (11:42 -0500)]
Merge pull request #19046 from dwoods-encircle/Resource-URL-helptext-update
Update Resource URL Helptext
Sunil Pawar [Thu, 26 Nov 2020 13:22:57 +0000 (18:52 +0530)]
small change
Sunil Pawar [Thu, 26 Nov 2020 13:20:43 +0000 (18:50 +0530)]
changed lable and field name from favourite to Pinned
Matthew Wire [Thu, 26 Nov 2020 11:18:21 +0000 (11:18 +0000)]
wordpress#63 Add action parameter to PCP shortcode
Seamus Lee [Thu, 26 Nov 2020 08:36:51 +0000 (19:36 +1100)]
Merge pull request #19056 from civicrm/5.32
5.32
Seamus Lee [Thu, 26 Nov 2020 05:14:25 +0000 (16:14 +1100)]
Merge pull request #19055 from colemanw/fixSearchActionButton
Search ext: Fix search action button
Coleman Watts [Thu, 26 Nov 2020 02:47:30 +0000 (21:47 -0500)]
Search ext: Fix search action button
eileen [Wed, 25 Nov 2020 19:04:34 +0000 (08:04 +1300)]
Remove extra handling around contact id
It's retrieved a few rows earlier from the contribution - this is from formerly
shared code that does not apply here
eileen [Wed, 25 Nov 2020 19:00:01 +0000 (08:00 +1300)]
[REF] Remove excess handling around contact_id
The removed code was formerly in a shared function. On looking the
getIDS actually just gets the contact id from the contributionRecur
object & every thing else is extraneous
Eileen McNaughton [Thu, 26 Nov 2020 02:08:08 +0000 (15:08 +1300)]
Merge pull request #19049 from colemanw/crmExampleGone
Delete outdated/unused crmExample Angular module
Seamus Lee [Thu, 26 Nov 2020 00:30:32 +0000 (11:30 +1100)]
Merge pull request #19047 from colemanw/crmD3
[REF] Decouple crmD3 angular module from CiviMail
Seamus Lee [Thu, 26 Nov 2020 00:25:35 +0000 (11:25 +1100)]
Merge pull request #19045 from seamuslee001/remove_xss_function
[REF] Remove xssString as it is providing a false sense of security
Coleman Watts [Wed, 25 Nov 2020 19:07:24 +0000 (14:07 -0500)]
Fix crmStatusPage file name to match module name per convention
Coleman Watts [Wed, 25 Nov 2020 18:53:43 +0000 (13:53 -0500)]
Use settingsFactory intead of settings for angular modules.
We are moving toward the use of settingsFactory and away from settings for angular modules.
This would allow the list of modules to be cached as it would only contain static metadata.
colemanw [Wed, 25 Nov 2020 23:19:36 +0000 (18:19 -0500)]
Merge pull request #19048 from colemanw/angComment
[NFC] Remove boilerplate comment from .ang.php files
Seamus Lee [Wed, 25 Nov 2020 22:56:18 +0000 (09:56 +1100)]
Merge pull request #19054 from eileenmcnaughton/pp1
[REF] Simplify sendNotification determination
Coleman Watts [Wed, 25 Nov 2020 15:33:27 +0000 (10:33 -0500)]
Remove boilerplate comment from .ang.php files
Link to wiki was outdated and comment was not very helpful
eileen [Wed, 25 Nov 2020 19:20:24 +0000 (08:20 +1300)]
[REF] Simplify sendNotification determination
Coleman Watts [Wed, 25 Nov 2020 15:46:13 +0000 (10:46 -0500)]
Delete outdated/unused crmExample Angular module
Coleman Watts [Wed, 25 Nov 2020 15:13:32 +0000 (10:13 -0500)]
Decouple crmD3 angular module from CiviMail
The crmD3 module was being conditionally loaded based on whether CiviMail was enabled.
This changes it to always exist but only loaded as required.
Darren Woods [Wed, 25 Nov 2020 11:46:11 +0000 (11:46 +0000)]
Update Resource URL Helptext
Seamus Lee [Wed, 25 Nov 2020 10:02:27 +0000 (21:02 +1100)]
[REF] Remove xssString as it is providing a false sense of security
Seamus Lee [Wed, 25 Nov 2020 09:48:57 +0000 (20:48 +1100)]
Merge pull request #19043 from eileenmcnaughton/pp
dev/financial#148 fully deprecate validateData function
Seamus Lee [Wed, 25 Nov 2020 09:48:41 +0000 (20:48 +1100)]
Merge pull request #19042 from eileenmcnaughton/pps
Remove legacy check
Tim Otten [Wed, 25 Nov 2020 04:57:59 +0000 (20:57 -0800)]
Merge pull request #19005 from totten/master-afform-dashlet
Afform - Generate dashlets based on `Afform.is_dashlet` property.
eileen [Wed, 25 Nov 2020 03:08:58 +0000 (16:08 +1300)]
dev/financial#148 fully deprecate validateData function
eileen [Tue, 24 Nov 2020 22:42:51 +0000 (11:42 +1300)]
Remove legacy check
This check dates right back to when we started extracting IPN code from code blocks in the processor. I don't believe it's meaningful
colemanw [Wed, 25 Nov 2020 01:16:57 +0000 (20:16 -0500)]
Merge pull request #19040 from eileenmcnaughton/pp2
[REF] remove obscure use of objects from A.net
Tim Otten [Fri, 20 Nov 2020 04:44:03 +0000 (20:44 -0800)]
afform - Interpret the 'is_dashlet' property and auto-(de)register a `Dashboard` element
colemanw [Wed, 25 Nov 2020 00:03:44 +0000 (19:03 -0500)]
Merge pull request #19006 from colemanw/bsCheckbox
Improve bootstrap3 checkbox theming
Eileen McNaughton [Tue, 24 Nov 2020 23:48:05 +0000 (12:48 +1300)]
Merge pull request #19041 from eileenmcnaughton/ppp
[REF] Stop passing objects to recur in paypal pro - pass specific objects
eileen [Tue, 24 Nov 2020 22:38:51 +0000 (11:38 +1300)]
[REF] Remove obscure objects from A.net
Eileen McNaughton [Tue, 24 Nov 2020 22:33:13 +0000 (11:33 +1300)]
Merge pull request #19039 from eileenmcnaughton/pp
[REF] remove obscure use of objects from Anet.ipn
eileen [Tue, 24 Nov 2020 21:26:41 +0000 (10:26 +1300)]
Stop passing objects to recur - pass specific objects
eileen [Tue, 24 Nov 2020 19:29:34 +0000 (08:29 +1300)]
[REF] remove obscure use of objects from Anet.ipn
colemanw [Tue, 24 Nov 2020 14:26:07 +0000 (09:26 -0500)]
Merge pull request #19038 from eileenmcnaughton/coleman_cheer
[REF] Remove code Coleman hates
Tim Otten [Fri, 20 Nov 2020 04:43:32 +0000 (20:43 -0800)]
afGuiEditor - Expose the `is_dashlet' property
Tim Otten [Fri, 20 Nov 2020 04:40:45 +0000 (20:40 -0800)]
(REF) afGuiEditor - Add form-* elements to 'config-form.html'
This should bring the markup closer to Bootstrap3 convention.
Tim Otten [Fri, 20 Nov 2020 00:28:53 +0000 (16:28 -0800)]
afform/core - Add property 'is_dashlet'
Tim Otten [Fri, 20 Nov 2020 00:02:20 +0000 (16:02 -0800)]
afform/mock - Update phpunix.xml.dist for phpunit7
Eileen McNaughton [Tue, 24 Nov 2020 07:25:50 +0000 (20:25 +1300)]
Merge pull request #19037 from eileenmcnaughton/dep
Remove some deprecated code
Seamus Lee [Tue, 24 Nov 2020 06:32:29 +0000 (17:32 +1100)]
Merge pull request #19032 from eileenmcnaughton/obj
[REF] Simplify single function to receive contribution not objects
Seamus Lee [Tue, 24 Nov 2020 06:31:06 +0000 (17:31 +1100)]
Merge pull request #19033 from eileenmcnaughton/obj2
dev/financial#148 fold call to loadObjects
Seamus Lee [Tue, 24 Nov 2020 06:30:29 +0000 (17:30 +1100)]
Merge pull request #19035 from eileenmcnaughton/obj4
dev/financial#148 fold call to loadObjects - a.net
Seamus Lee [Tue, 24 Nov 2020 06:30:14 +0000 (17:30 +1100)]
Merge pull request #19034 from eileenmcnaughton/obj3
dev/financial#148 duplicate out call to validateObjects
eileen [Tue, 24 Nov 2020 03:30:44 +0000 (16:30 +1300)]
[REF] Remove code Coleman hates
eileen [Tue, 24 Nov 2020 03:18:09 +0000 (16:18 +1300)]
Remove some deprecated code
This was deprecated over a year ago just in case anyone was passing in the legacy param - fully removing now
Eileen McNaughton [Tue, 24 Nov 2020 02:21:28 +0000 (15:21 +1300)]
Merge pull request #19036 from civicrm/5.32
5.32 to master
Eileen McNaughton [Tue, 24 Nov 2020 02:20:48 +0000 (15:20 +1300)]
Merge pull request #19031 from colemanw/bullets
Improve options in list search display
Coleman Watts [Fri, 20 Nov 2020 20:32:36 +0000 (15:32 -0500)]
Improve bootstrap3 checkbox theming
Standardizes our styling of checkboxes in boostrap markup to:
`<label class="form-control"><input type="checkbox"> <span>Title</span></label>`
Eileen McNaughton [Tue, 24 Nov 2020 01:14:20 +0000 (14:14 +1300)]
Merge pull request #19030 from civicrm/5.32
5.32
Eileen McNaughton [Tue, 24 Nov 2020 01:13:22 +0000 (14:13 +1300)]
Merge pull request #19027 from mlutfy/fixEvent30
Event Full: fix translation regression
eileen [Tue, 24 Nov 2020 01:04:34 +0000 (14:04 +1300)]
dev/financial#148 fold call to loadObjects
eileen [Tue, 24 Nov 2020 00:58:52 +0000 (13:58 +1300)]
dev/financial#148 duplicate out call to validateObjects
eileen [Tue, 24 Nov 2020 00:49:51 +0000 (13:49 +1300)]
dev/financial#148 fold call to loadObjects
eileen [Tue, 24 Nov 2020 00:40:36 +0000 (13:40 +1300)]
Simplify single function to receive contribution not objects
Contribution is now the only object used in this function - so it should be the only one passed in
Seamus Lee [Tue, 24 Nov 2020 00:12:03 +0000 (11:12 +1100)]
Merge pull request #19015 from eileenmcnaughton/fail
dev/core#927 Update ContributionCancelActions to also handle 'failed'
Coleman Watts [Mon, 23 Nov 2020 23:49:34 +0000 (18:49 -0500)]
Improve options in list search display
Seamus Lee [Mon, 23 Nov 2020 23:39:36 +0000 (10:39 +1100)]
Merge pull request #19029 from seamuslee001/5_31_1_rn
Add release-notes/5.31.1.md
Tim Otten [Mon, 23 Nov 2020 22:28:13 +0000 (14:28 -0800)]
Add release-notes/5.31.1.md
Eileen McNaughton [Mon, 23 Nov 2020 22:50:06 +0000 (11:50 +1300)]
Merge pull request #19020 from eileenmcnaughton/grant
Add Grant v4 api
Mathieu Lutfy [Mon, 23 Nov 2020 22:03:40 +0000 (17:03 -0500)]
Event Full: fix translation regression
eileen [Mon, 23 Nov 2020 01:18:28 +0000 (14:18 +1300)]
Add Grant v4 api
I created a spec provider for a default currency as I didn't think it made sense to require it
Update APIv4 Grant docblock
eileen [Mon, 23 Nov 2020 00:11:07 +0000 (13:11 +1300)]
Remove test as not valid
It is no longer possible to enter a contribution with a cancelled or failed status via the membership form so
this test is not valid. Only pending or completed are permitted
eileen [Sun, 22 Nov 2020 21:05:50 +0000 (10:05 +1300)]
Update ContributionCancelActions to also handle 'failed'
The failed action has no discernable difference from the no-longer-used cancel action. The cancel action had some minor refactoring
done to work through the conclusion that the call to addRecurLineItems was never reached in a meaningful way
but I think we can skip all that & see that fail is not functionally different to cancel & just deprecate the function.
At this point we are very close to simply removing the last core handling for failed & cance & making the extension visible.
The only thing I can see that still needs checking in the 2 functions still to be removed is the handling of
is_override & override_date is tested - which I will do as a follow up
Sunil Pawar [Mon, 23 Nov 2020 09:01:30 +0000 (14:31 +0530)]
Feature to provide mostly used countries in top section of Country select list
Seamus Lee [Mon, 23 Nov 2020 06:26:19 +0000 (17:26 +1100)]
Merge pull request #19022 from civicrm/5.32
5.32
Eileen McNaughton [Mon, 23 Nov 2020 04:02:56 +0000 (17:02 +1300)]
Merge pull request #18978 from AsylumSeekersCentre/fixReportFilterMultiSelect
Fix issue #2162: allow reports to filter multi-select fields and find entities with multiple selections
Seamus Lee [Mon, 23 Nov 2020 02:26:36 +0000 (13:26 +1100)]
Merge pull request #19007 from alexymik/patch-1
Check for membership type fee before applying tax
Seamus Lee [Mon, 23 Nov 2020 01:38:14 +0000 (12:38 +1100)]
Merge pull request #19012 from eileenmcnaughton/trans3
dev/core#927 [REF] Further removal on unreachable code in transitionComponents
Seamus Lee [Mon, 23 Nov 2020 01:25:31 +0000 (12:25 +1100)]
Merge pull request #19018 from demeritcowboy/case-tasks-deprecated
dev/core#2205 - Deprecated function warning when choosing task from Find Cases results
Eileen McNaughton [Mon, 23 Nov 2020 00:01:04 +0000 (13:01 +1300)]
Merge pull request #19016 from eileenmcnaughton/obj
dev/financial#152 [REF] Pass specific BAO into the recur function rather than the vague 'objects'
Eileen McNaughton [Sun, 22 Nov 2020 23:36:16 +0000 (12:36 +1300)]
Merge pull request #19010 from colemanw/bridges
Use trait instead of class for Entity Bridges; add OptionList trait
Alexy Mikhailichenko [Fri, 20 Nov 2020 20:49:17 +0000 (12:49 -0800)]
Check for membership type fee before applying tax
demeritcowboy [Sun, 22 Nov 2020 23:12:06 +0000 (18:12 -0500)]
deprecated base function
eileen [Sun, 22 Nov 2020 21:58:54 +0000 (10:58 +1300)]
dev/financial#152 Pass specific BAO into the recur function rather than the vague 'objects'
eileen [Sat, 21 Nov 2020 17:19:01 +0000 (06:19 +1300)]
[REF] Further removal on unreachable code in transitionComponents
Once #18997 & #18998 is merged it becomes clear that processContribution can never be true & hence this code is unreachable
Seamus Lee [Sun, 22 Nov 2020 19:39:17 +0000 (06:39 +1100)]
Merge pull request #18998 from eileenmcnaughton/trans2
Remove unused params, return params from processFail
Seamus Lee [Sun, 22 Nov 2020 19:38:32 +0000 (06:38 +1100)]
Merge pull request #18997 from eileenmcnaughton/trans
Remove unused parameters from cancel
Seamus Lee [Sun, 22 Nov 2020 19:33:43 +0000 (06:33 +1100)]
Merge pull request #18880 from vingle/master
changes social media iframes/scripts to links, simplifies markup, adds email & bootstrap classes
Eileen McNaughton [Sun, 22 Nov 2020 00:53:47 +0000 (13:53 +1300)]
Merge pull request #18959 from seamuslee001/dev_core_2153_2
dev/core#2153 #REF Remove outdated updateCustomValues function