Eileen McNaughton [Fri, 31 Jul 2020 03:02:15 +0000 (15:02 +1200)]
Merge pull request #18008 from civicrm/5.28
5.28
Seamus Lee [Thu, 30 Jul 2020 23:43:33 +0000 (09:43 +1000)]
Merge pull request #17983 from kcristiano/5.28-wp-notices
dev/wordpress/66 Add Upgrade Notice regarding legacy paths
Seamus Lee [Thu, 30 Jul 2020 23:38:08 +0000 (09:38 +1000)]
Merge pull request #17987 from eileenmcnaughton/pseudo_mem
[REF] Reduce calls to CRM_Member_PseudoConstant::membershipType
Seamus Lee [Thu, 30 Jul 2020 23:37:49 +0000 (09:37 +1000)]
Merge pull request #18002 from demeritcowboy/missing-soft-credit
dev/core#1915 - E_NOTICE when making pcp contribution
Seamus Lee [Thu, 30 Jul 2020 21:01:48 +0000 (07:01 +1000)]
Merge pull request #18003 from demeritcowboy/membership-fail
[Test framework] - Update failing test
colemanw [Thu, 30 Jul 2020 15:42:52 +0000 (11:42 -0400)]
Merge pull request #17975 from eileenmcnaughton/matt_yet_another
Fix repeattransaction api to use custom data from the template contribution
demeritcowboy [Thu, 30 Jul 2020 03:28:56 +0000 (23:28 -0400)]
update failing test
Eileen McNaughton [Thu, 30 Jul 2020 03:54:04 +0000 (15:54 +1200)]
Merge pull request #17777 from agh1/dontchangereceivedate
dev/financial#139 contribution receive_date shouldn't change when payments come in
demeritcowboy [Thu, 30 Jul 2020 03:07:24 +0000 (23:07 -0400)]
E_NOTICE when pcp contribution
Eileen McNaughton [Wed, 29 Jul 2020 21:31:27 +0000 (09:31 +1200)]
Merge pull request #17997 from civicrm/5.28
5.28
Seamus Lee [Wed, 29 Jul 2020 21:26:58 +0000 (07:26 +1000)]
Merge pull request #17868 from seamuslee001/remove_civicrm_files_override
[REF] Remove civicrm.files override for WordPress to fix issues with…
Eileen McNaughton [Wed, 29 Jul 2020 21:16:50 +0000 (09:16 +1200)]
Merge pull request #17970 from eileenmcnaughton/case_export
Fix case activity field set to allow long details to be exported
Eileen McNaughton [Wed, 29 Jul 2020 12:50:09 +0000 (00:50 +1200)]
Merge pull request #17986 from seamuslee001/dev_core_1913_alternate
dev/core#1913 Allow for schemas to be added by extensions if they are…
Eileen McNaughton [Wed, 29 Jul 2020 12:49:23 +0000 (00:49 +1200)]
Merge pull request #17707 from seamuslee001/ref_permission_clause_search
[REF] Use Standard function cacheClause to re-use contact acl cache t…
Eileen McNaughton [Wed, 29 Jul 2020 12:47:31 +0000 (00:47 +1200)]
Merge pull request #17978 from kainuk/issue-1914
Fixed filling default values for tagssets in the advanced search form
Kevin Cristiano [Tue, 28 Jul 2020 21:00:47 +0000 (17:00 -0400)]
dev/wordpress/66 Add Upgrade Notice regarding legacy paths
Signed-off-by: Kevin Cristiano <kcristiano@kcristiano.com>
Eileen McNaughton [Wed, 29 Jul 2020 05:24:26 +0000 (17:24 +1200)]
Merge pull request #17985 from demeritcowboy/sms-apiurl
dev/core#1909 - Avoid E_Notice on SMS provider form when no default url
Matthew Wire [Thu, 28 May 2020 16:32:32 +0000 (17:32 +0100)]
Fix fieldSpec when exporting cases using certain (default) fields
Eileen McNaughton [Wed, 29 Jul 2020 04:31:20 +0000 (16:31 +1200)]
Merge pull request #17988 from eileenmcnaughton/cache_dup
Remove duplicate cache flush
eileen [Wed, 29 Jul 2020 00:14:30 +0000 (12:14 +1200)]
Reduce calls to CRM_Member_PseudoConstant::membershipType
This function defaults to not using the cached version so that's a pretty good argument for making a more
active effort to deprecate it. The createMembership function flushes it so we don't need to do that
so much in tests now either. I also included swapping status over in the test
Seamus Lee [Wed, 29 Jul 2020 01:19:04 +0000 (11:19 +1000)]
Merge pull request #17968 from eileenmcnaughton/cont_page
[REF] Extract setUserContext on contribution form & cleanup on backend add membership form
eileen [Wed, 29 Jul 2020 00:40:16 +0000 (12:40 +1200)]
Remove duplicate cache flush
As the comment points out CRM_ACL_BAO_Cache::resetCache is also called in CRM_Utils_System::flushCache
so we are running a query that is inclined to lock tables an extra time for no reason
Seamus Lee [Tue, 28 Jul 2020 23:52:31 +0000 (09:52 +1000)]
dev/core#1913 Allow for schemas to be added by extensions if they are in the format of <entityname>Model
Update test doc blocks
demeritcowboy [Tue, 28 Jul 2020 23:38:35 +0000 (19:38 -0400)]
avoid notice when no default url
Eileen McNaughton [Tue, 28 Jul 2020 23:05:32 +0000 (11:05 +1200)]
Merge pull request #17305 from mlutfy/core1755
dev/core#1755 Fix reCaptcha on Mailing Subscribe
Matthew Wire [Tue, 28 Jul 2020 14:01:21 +0000 (15:01 +0100)]
Merge pull request #17979 from eileenmcnaughton/is_email
[REF] Make explicit what we are doing with 'values' in this code
eileen [Mon, 27 Jul 2020 23:57:33 +0000 (11:57 +1200)]
[REF] Make explicit what we are doing with 'values' in this code
I've kept this really small so it can be verified by someone unfamiliar with this code.
Basically if you look you can see the only place 'values' is used is to determine if is_email_receipt is set.
That means everything else in is unused & ergo we don't need to set it / can throw it away.
Obviously the next step is to extract all the code that determines into a single place and say
goodbye to altogether
Eileen McNaughton [Mon, 27 Jul 2020 21:39:08 +0000 (09:39 +1200)]
Merge pull request #17817 from colemanw/getChecksConfig
Simplify caching of status checks
colemanw [Mon, 27 Jul 2020 21:31:52 +0000 (17:31 -0400)]
Merge pull request #17920 from eileenmcnaughton/dupe
[REF] Reduce interaction between dedupe code and createProfileContact
Andrew Hunt [Mon, 27 Jul 2020 17:59:53 +0000 (13:59 -0400)]
dev/financial#139 contribution completeOrder shouldn't change receive_date
Andrew Hunt [Sun, 26 Jul 2020 19:56:14 +0000 (15:56 -0400)]
dev/financial#139 rework bulk payments form
Andrew Hunt [Sun, 26 Jul 2020 19:44:03 +0000 (15:44 -0400)]
dev/financial#139 prep: move CRM_Contribute_Form_Task_Status::getDetails to CRM_Contribute_Form_Task_Status::PDF because it'll be the only place it's used anymore
Andrew Hunt [Sun, 26 Jul 2020 18:08:01 +0000 (14:08 -0400)]
dev/financial#139: remove contrib status from bulk payments form template
Andrew Hunt [Sun, 26 Jul 2020 18:04:05 +0000 (14:04 -0400)]
dev/financial#139 prep: standardize markup, closing spans on bulk payment form
Andrew Hunt [Thu, 9 Jul 2020 00:27:06 +0000 (20:27 -0400)]
dev/financial#139 tests: contribution receive_date shouldn't change when payments received
Eileen McNaughton [Mon, 27 Jul 2020 19:40:43 +0000 (07:40 +1200)]
Merge pull request #17977 from eileenmcnaughton/custom
ensure custom field checkboxes are populated in profiles
Eileen McNaughton [Mon, 27 Jul 2020 19:36:28 +0000 (07:36 +1200)]
Merge pull request #17927 from monishdeb/core-785
dev/core#785 Differentiate smart group from regular group using icon in select2 field
Klaas Eikelboom [Mon, 27 Jul 2020 14:06:26 +0000 (16:06 +0200)]
Fixed filling default values for tagssets in the advanced search form
Monish Deb [Thu, 23 Jul 2020 09:05:27 +0000 (14:35 +0530)]
Revert "revert PR 13958"
This reverts commit
ba2ad46f76db57c8f9bea064e7ba4c5b5adefc83.
Matthew Wire [Mon, 27 Jul 2020 11:36:25 +0000 (12:36 +0100)]
Merge pull request #17974 from eileenmcnaughton/receipt
[REF] Minor code clean up
Jamie McClelland [Tue, 9 Jun 2020 19:37:19 +0000 (15:37 -0400)]
ensure custom field checkboxes are populated in profiles
Eileen McNaughton [Mon, 27 Jul 2020 09:58:50 +0000 (21:58 +1200)]
Merge pull request #17976 from civicrm/5.28
5.28 to master
Eileen McNaughton [Mon, 27 Jul 2020 09:58:19 +0000 (21:58 +1200)]
Merge pull request #17973 from seamuslee001/ref_profile_date_fields
[REF] Fix regression where adding any date based field onto a profile…
eileen [Mon, 27 Jul 2020 04:47:46 +0000 (16:47 +1200)]
Fix repeattransaction api to use custom data from the template contribution
This ensures (& tests) that custom data is copied from the template transaction - generally the most recent transaction
Seamus Lee [Mon, 27 Jul 2020 03:39:06 +0000 (13:39 +1000)]
[REF] Fix regression where adding any date based field onto a profile triggers an error date preferences not configured when previewing the profile
eileen [Mon, 27 Jul 2020 03:55:44 +0000 (15:55 +1200)]
[REF] Minor code clean up
This just consolidates a little of the code used to determin if an email receipt should be sent.
It's clear that there is more code above that could be pulled into this & combined
with the isEmailReceipt function but I wanted to just offer up a small reviewable change unless
there is reviewer enthusiasm for more
Seamus Lee [Mon, 27 Jul 2020 02:03:50 +0000 (12:03 +1000)]
Merge pull request #17967 from eileenmcnaughton/grant
[REF] Grant cleanup
Seamus Lee [Mon, 27 Jul 2020 01:54:57 +0000 (11:54 +1000)]
Merge pull request #17965 from seamuslee001/widget_test
[NFC] Add in a unit test of calling the contribution page widget endp…
Matthew Wire [Sun, 10 May 2020 10:39:14 +0000 (11:39 +0100)]
[REF] Extract setUserContext on contribution form & cleanup on backend add membership form
eileen [Mon, 27 Jul 2020 00:25:57 +0000 (12:25 +1200)]
[REF] Grant cleanup
This does a couple of things to cleanup the Grant BAO -
1) moves money handling back to the form layer
2) removes unnecessary date handling - the format that comes from the form layer
is now supported by the BAO.
I was looking to work on another but but then figured I needed a v4 api before
writing the tests and then realised we shouldn't do a v4 api before getting
rid of the legacy money handling.
It does occur to me it might make more sense to start moving to an
extension before doing any of the other steps
Seamus Lee [Sun, 26 Jul 2020 22:20:45 +0000 (08:20 +1000)]
[NFC] Add in a unit test of calling the contribution page widget endpoint and remove unneded file
Seamus Lee [Sun, 26 Jul 2020 22:55:49 +0000 (08:55 +1000)]
Merge pull request #17963 from civicrm/5.28
5.28
Seamus Lee [Sun, 26 Jul 2020 22:49:17 +0000 (08:49 +1000)]
Merge pull request #17962 from seamuslee001/dev_core_1909_profile
dev/core#1909 Fix E-notice when adding a field on a profile
Seamus Lee [Sun, 26 Jul 2020 22:28:35 +0000 (08:28 +1000)]
Merge pull request #17964 from seamuslee001/dev_core_1909_paymentprocessor
dev/core#1909 Fix e-notice when adding a payment processor
Seamus Lee [Sun, 26 Jul 2020 21:21:42 +0000 (07:21 +1000)]
dev/core#1909 Fix e-notice when adding a payment processor
Seamus Lee [Sun, 26 Jul 2020 21:18:38 +0000 (07:18 +1000)]
Merge pull request #17960 from demeritcowboy/contribution-default
dev/core#1911 - Default not being set for fixed contribution amounts or any price field that is not type text
Seamus Lee [Sun, 26 Jul 2020 21:06:03 +0000 (07:06 +1000)]
dev/core#1909 Fix E-notice when adding a field on a profile
Seamus Lee [Sun, 26 Jul 2020 21:01:22 +0000 (07:01 +1000)]
Merge pull request #17959 from demeritcowboy/file-case-notice
dev/core#1909 - E_NOTICE opening file-on-case
Seamus Lee [Sun, 26 Jul 2020 20:56:58 +0000 (06:56 +1000)]
Merge pull request #17941 from eileenmcnaughton/fieldspec
[Ref] Simplify field reference
demeritcowboy [Sun, 26 Jul 2020 14:12:15 +0000 (10:12 -0400)]
default not being set for price fields
demeritcowboy [Sat, 25 Jul 2020 15:28:11 +0000 (11:28 -0400)]
E_NOTICE opening file-on-case
Seamus Lee [Sat, 25 Jul 2020 20:27:35 +0000 (06:27 +1000)]
Merge pull request #17957 from demeritcowboy/combine-createcase
[Test framework] - Combine triplicate createCase functions
Seamus Lee [Sat, 25 Jul 2020 20:26:53 +0000 (06:26 +1000)]
Merge pull request #17932 from seamuslee001/ref_radio
[REF] Refactor to use the standard CRM_Core_Form::addRadio function f…
demeritcowboy [Sat, 25 Jul 2020 15:41:35 +0000 (11:41 -0400)]
combine duplicate functions
Seamus Lee [Sat, 25 Jul 2020 08:00:39 +0000 (18:00 +1000)]
Merge pull request #17948 from seamuslee001/mail_mime_upgrade
Upgrade PEAR/mail_mime package to be compliant with PHP7.4 and deploy it using composer
Eileen McNaughton [Sat, 25 Jul 2020 06:34:30 +0000 (18:34 +1200)]
Merge pull request #17938 from seamuslee001/ref_fix_financial_account
[REF] Fix the default to_financial_account_id for generated transactions
Eileen McNaughton [Sat, 25 Jul 2020 06:25:32 +0000 (18:25 +1200)]
Merge pull request #17955 from colemanw/superstar
APIv4 - Add keyword to select all custom fields
Seamus Lee [Fri, 24 Jul 2020 22:41:32 +0000 (08:41 +1000)]
Upgrade PEAR/mail_mime package to be compliant with PHP7.4 and deploy it using composer
Eileen McNaughton [Sat, 25 Jul 2020 06:14:23 +0000 (18:14 +1200)]
Merge pull request #17946 from seamuslee001/ref_dompdf_upgrade
[REF] Upgrade dompdf version to be more compatible with PHP7.4
Coleman Watts [Sat, 25 Jul 2020 01:44:13 +0000 (21:44 -0400)]
APIv4 - Add keyword to select all custom fields
Seamus Lee [Sat, 25 Jul 2020 00:50:42 +0000 (10:50 +1000)]
Merge pull request #17939 from eileenmcnaughton/ex_meta
[REF] [Tests] Cleanup test declaration to take advantage of mapping improvements
Eileen McNaughton [Sat, 25 Jul 2020 00:45:34 +0000 (12:45 +1200)]
Merge pull request #17914 from demeritcowboy/invisible-messages
dev/drupal#127 - CRM_Core_Session::setStatus() gets ignored sometimes
Eileen McNaughton [Sat, 25 Jul 2020 00:40:46 +0000 (12:40 +1200)]
Merge pull request #17953 from civicrm/5.28
5.28 to master
Eileen McNaughton [Sat, 25 Jul 2020 00:40:20 +0000 (12:40 +1200)]
Merge pull request #17947 from agh1/dev-core-1899-5-28
dev/core#1899 specify display mode for action links with icons
Eileen McNaughton [Fri, 24 Jul 2020 23:54:22 +0000 (11:54 +1200)]
Merge pull request #17949 from eileenmcnaughton/export_im
[REF] Remove unnecessary complexity on im export
eileen [Fri, 24 Jul 2020 22:54:20 +0000 (10:54 +1200)]
[REF] Remove unnecessary complexity on im export
This just removes a couple of lines that were already marked as being likely unhelpful. Because the impact of
these lines is tested the test needs tweaking too - but it only affects the name of the fields in the temp
table and in internal php keys
Andrew Hunt [Fri, 24 Jul 2020 00:46:27 +0000 (20:46 -0400)]
dev/core#1899 specify display mode for action links with icons
Seamus Lee [Fri, 24 Jul 2020 21:50:26 +0000 (07:50 +1000)]
[REF] Upgrade dompdf version to be more compatible with PHP7.4
Seamus Lee [Fri, 24 Jul 2020 21:40:08 +0000 (07:40 +1000)]
Merge pull request #17945 from colemanw/commentCleanup
NFC - Docblock cleanup
colemanw [Fri, 24 Jul 2020 19:13:20 +0000 (15:13 -0400)]
Merge pull request #17944 from colemanw/caseCheck
CRM_Utils_Check_Component_Case - Guard against post-upgrade crash
Coleman Watts [Fri, 24 Jul 2020 19:10:29 +0000 (15:10 -0400)]
NFC - Expand CRM-* comments with full @see annotations
Coleman Watts [Fri, 24 Jul 2020 18:23:16 +0000 (14:23 -0400)]
NFC - Fix @return annotation in CRM_Utils_Check_Component_*
Coleman Watts [Fri, 24 Jul 2020 17:45:18 +0000 (13:45 -0400)]
CRM_Utils_Check_Component_Case - Guard against post-upgrade crash
colemanw [Fri, 24 Jul 2020 13:36:35 +0000 (09:36 -0400)]
Merge pull request #17940 from eileenmcnaughton/abort
Remove error checking by-pass in tests
colemanw [Fri, 24 Jul 2020 12:59:04 +0000 (08:59 -0400)]
Merge pull request #17936 from eileenmcnaughton/cache
Remove extraneous opportunistic cache flush.
eileen [Fri, 24 Jul 2020 07:35:01 +0000 (19:35 +1200)]
[Ref] Simplify field reference
eileen [Fri, 24 Jul 2020 07:01:13 +0000 (19:01 +1200)]
Remove error checking by-pass in tests
eileen [Fri, 24 Jul 2020 06:50:23 +0000 (18:50 +1200)]
[REF] [Tests] Cleanup test declaration to take advantage of mapping improvements
Seamus Lee [Fri, 24 Jul 2020 05:42:05 +0000 (15:42 +1000)]
[REF] Fix the default to_financial_account_id for generated transactions
eileen [Thu, 23 Jul 2020 03:57:48 +0000 (15:57 +1200)]
Remove extraneous opportunistic cache flush.
The opportunistic cache flush is already called by contact create and then again by each of the places
where the contact might be added to a group so this is just extraneous
Seamus Lee [Fri, 24 Jul 2020 00:12:37 +0000 (10:12 +1000)]
[REF] Refactor to use the standard CRM_Core_Form::addRadio function for a number of radio elements
Eileen McNaughton [Fri, 24 Jul 2020 00:05:22 +0000 (12:05 +1200)]
Merge pull request #17930 from twomice/1902_contrib_source_profile
dev/core#1902: "Contribution Source" profile field has no effect
Eileen McNaughton [Thu, 23 Jul 2020 23:01:53 +0000 (11:01 +1200)]
Merge pull request #17928 from colemanw/groupContactCleanup
[REF] GroupContact BAO - Minor code cleanup
Eileen McNaughton [Thu, 23 Jul 2020 22:45:30 +0000 (10:45 +1200)]
Merge pull request #17931 from civicrm/5.28
5.28 to master
Eileen McNaughton [Thu, 23 Jul 2020 22:42:12 +0000 (10:42 +1200)]
Merge pull request #17929 from demeritcowboy/required-not-5.28
dev/core#1903 - Avoid E_WARNING and remove code
Allen Shaw [Thu, 23 Jul 2020 22:19:39 +0000 (17:19 -0500)]
dev/core#1902: "Contribution Source" profile field has no effect on new contribution.
demeritcowboy [Thu, 23 Jul 2020 20:26:11 +0000 (16:26 -0400)]
avoid E_WARNING and remove code
Coleman Watts [Thu, 23 Jul 2020 16:23:11 +0000 (12:23 -0400)]
GroupContact BAO - Minor code cleanup
colemanw [Thu, 23 Jul 2020 16:18:26 +0000 (12:18 -0400)]
Merge pull request #17922 from eileenmcnaughton/group_contact
[REF] Minor function signuture cleanup
colemanw [Thu, 23 Jul 2020 13:05:41 +0000 (09:05 -0400)]
Merge pull request #17921 from eileenmcnaughton/format
[REF] Do not pass variable by reference