civicrm-core.git
4 years ago[REF] Simplify membership status date handling
eileen [Sat, 1 Aug 2020 06:52:46 +0000 (18:52 +1200)]
[REF] Simplify membership status date handling

We have a test error coming out of this code. I find it unreadable - I think this would help....

There are some obvious next steps if this is all good

4 years agoMerge pull request #18020 from eileenmcnaughton/pptrans
Seamus Lee [Sat, 1 Aug 2020 04:10:47 +0000 (14:10 +1000)]
Merge pull request #18020 from eileenmcnaughton/pptrans

[REF] Stop instantiating transaction in PaypalIPN

4 years agoMerge pull request #18021 from eileenmcnaughton/ids_billing
Seamus Lee [Sat, 1 Aug 2020 04:08:35 +0000 (14:08 +1000)]
Merge pull request #18021 from eileenmcnaughton/ids_billing

Remove unused parameter ids['billing']

4 years agoMerge pull request #18023 from civicrm/5.28
Eileen McNaughton [Sat, 1 Aug 2020 03:47:36 +0000 (15:47 +1200)]
Merge pull request #18023 from civicrm/5.28

5.28 to master

4 years agoMerge pull request #18017 from seamuslee001/dev_mail_72
Eileen McNaughton [Sat, 1 Aug 2020 03:47:11 +0000 (15:47 +1200)]
Merge pull request #18017 from seamuslee001/dev_mail_72

dev/mail#72 Remove call to custom fatal error handler from CRM_Core_E…

4 years agoMerge pull request #17999 from eileenmcnaughton/sql_cache
Seamus Lee [Sat, 1 Aug 2020 03:03:18 +0000 (13:03 +1000)]
Merge pull request #17999 from eileenmcnaughton/sql_cache

Cache loader - remove legacy handling, handle null result from setting

4 years agoRemove unused parameter ids['billing']
eileen [Sat, 1 Aug 2020 02:06:39 +0000 (14:06 +1200)]
Remove unused parameter ids['billing']

This is no longer used in later functions and a quick grep of the code finds only one deprecated
function still refers to ids-billing after this

4 years ago[REF] Stop instantiating transaction in PaypalIPN
eileen [Sat, 1 Aug 2020 01:56:22 +0000 (13:56 +1200)]
[REF] Stop instantiating transaction in PaypalIPN

4 years agoMerge pull request #18001 from mattwire/inform-icon
Eileen McNaughton [Sat, 1 Aug 2020 01:25:38 +0000 (13:25 +1200)]
Merge pull request #18001 from mattwire/inform-icon

Change inform-icon to fa-info-circle

4 years agoMerge pull request #17984 from eileenmcnaughton/sendref
Seamus Lee [Sat, 1 Aug 2020 00:59:53 +0000 (10:59 +1000)]
Merge pull request #17984 from eileenmcnaughton/sendref

[REF] Remove pass-by-reference & always empty param

4 years agoMerge pull request #17990 from totten/master-bao-cache-adapter
Seamus Lee [Sat, 1 Aug 2020 00:59:36 +0000 (10:59 +1000)]
Merge pull request #17990 from totten/master-bao-cache-adapter

CIVICRM_BAO_CACHE_ADAPTER - Remove obsolete option

4 years agoMerge pull request #18012 from demeritcowboy/utf8mb4-temptable
Eileen McNaughton [Sat, 1 Aug 2020 00:30:46 +0000 (12:30 +1200)]
Merge pull request #18012 from demeritcowboy/utf8mb4-temptable

SQL temp table not using utf8mb4 if server default already set to utf8mb4

4 years agoMerge pull request #17996 from demeritcowboy/wrong-link-pcp-domain
Eileen McNaughton [Fri, 31 Jul 2020 23:56:07 +0000 (11:56 +1200)]
Merge pull request #17996 from demeritcowboy/wrong-link-pcp-domain

Wrong link to admin page in error message about FROM address on PCP page

4 years agoMerge pull request #17923 from eileenmcnaughton/dedupe_return
Seamus Lee [Fri, 31 Jul 2020 23:38:27 +0000 (09:38 +1000)]
Merge pull request #17923 from eileenmcnaughton/dedupe_return

[REF] Tighten up function signature for dedupePair

4 years agodev/mail#72 Remove call to custom fatal error handler from CRM_Core_Error::debug_log_...
Seamus Lee [Fri, 31 Jul 2020 23:33:52 +0000 (09:33 +1000)]
dev/mail#72 Remove call to custom fatal error handler from CRM_Core_Error::debug_log_message

4 years agoMerge pull request #17982 from eileenmcnaughton/isreceipt
Seamus Lee [Fri, 31 Jul 2020 23:25:13 +0000 (09:25 +1000)]
Merge pull request #17982 from eileenmcnaughton/isreceipt

[Ref] Move noisily deprecate  BaseIPN->sendMail, call api from it rather than BAO function

4 years agoMerge pull request #17396 from seamuslee001/use_util_mail_events
Eileen McNaughton [Fri, 31 Jul 2020 23:25:01 +0000 (11:25 +1200)]
Merge pull request #17396 from seamuslee001/use_util_mail_events

[REF] Use CRM_Utils_Mail::send for sending emails for confirming unsu…

4 years agoCIVICRM_BAO_CACHE_ADAPTER - Remove obsolete option
Tim Otten [Wed, 29 Jul 2020 04:10:11 +0000 (21:10 -0700)]
CIVICRM_BAO_CACHE_ADAPTER - Remove obsolete option

Overview
--------

The constant `CIVICRM_BAO_CACHE_ADAPTER` was a low-visibility transitional
option added during early 5.x.  It facilitated the deprecation of
`CRM_Core_BAO_Cache` (in favor of `Civi::cache()`).  The option allowed
certain builds/configurations to be tested in a "purer" configuration where
`Civi::cache()` handled all storage.

However, following #17989, the deprecated functions no longer exist.  Hence,
there's no need for transitional mechanism to support them.  The
replacements are now mainline.

Before
-------

There's some obsolete stuff hanging around.

After
-----

The obsolete stuff is taking a long walk to the moon.

4 years agoMerge pull request #17989 from eileenmcnaughton/cache_deprecate
Tim Otten [Fri, 31 Jul 2020 23:23:02 +0000 (16:23 -0700)]
Merge pull request #17989 from eileenmcnaughton/cache_deprecate

CRM_Core_BAO_Cache - Remove functions deprecated a year ago

4 years agoMerge pull request #18011 from totten/5.28-tbl
Tim Otten [Fri, 31 Jul 2020 21:55:23 +0000 (14:55 -0700)]
Merge pull request #18011 from totten/5.28-tbl

FiveTwentyEight - Provide concrete details about civicrm.files

4 years agoMerge pull request #18013 from demeritcowboy/fix-fix-test-test
Seamus Lee [Fri, 31 Jul 2020 21:48:16 +0000 (07:48 +1000)]
Merge pull request #18013 from demeritcowboy/fix-fix-test-test

[Test framework] re-re-fix test and add test for test

4 years agore-re-fix test
demeritcowboy [Fri, 31 Jul 2020 15:39:56 +0000 (11:39 -0400)]
re-re-fix test

4 years agotemptable not using utf8mb4 if server default already set
demeritcowboy [Fri, 31 Jul 2020 14:34:54 +0000 (10:34 -0400)]
temptable not using utf8mb4 if server default already set

4 years agoChange inform-icon to fa-info-circle
Matthew Wire [Thu, 30 Jul 2020 10:58:57 +0000 (11:58 +0100)]
Change inform-icon to fa-info-circle

4 years agoFiveTwentyEight - Provide concrete details about civicrm.files
Tim Otten [Fri, 31 Jul 2020 04:47:26 +0000 (21:47 -0700)]
FiveTwentyEight - Provide concrete details about civicrm.files

This hopefully makes it easier to decide what to do without needing a
scavenger hunt.

4 years agoMerge pull request #18009 from eileenmcnaughton/test
Seamus Lee [Fri, 31 Jul 2020 08:17:05 +0000 (18:17 +1000)]
Merge pull request #18009 from eileenmcnaughton/test

Re-fix test

4 years agoRe-fix test
eileen [Fri, 31 Jul 2020 04:27:55 +0000 (16:27 +1200)]
Re-fix test

The strtotime calculation adds 4 months before setting the day of month. However

July 31 + 4 months is 1 Dec - ie the month is 12 not 11 due to there being only 30 days. So to
get 27 Nov we need to get the July month (7) and add 4 and voila 11, not 12

4 years agoMerge pull request #18004 from colemanw/saveDoc
Eileen McNaughton [Fri, 31 Jul 2020 04:02:19 +0000 (16:02 +1200)]
Merge pull request #18004 from colemanw/saveDoc

[NFC] Improve docs for APIv4 Save action

4 years agoMerge pull request #18006 from demeritcowboy/missing-transactioninfo
Eileen McNaughton [Fri, 31 Jul 2020 04:00:55 +0000 (16:00 +1200)]
Merge pull request #18006 from demeritcowboy/missing-transactioninfo

dev/core#1909 - E_NOTICE on contribution edit

4 years agoMerge pull request #18007 from demeritcowboy/strpos-revisited
Eileen McNaughton [Fri, 31 Jul 2020 03:23:02 +0000 (15:23 +1200)]
Merge pull request #18007 from demeritcowboy/strpos-revisited

dev/core#1918 - Remove dubious qfkey checking code that never runs

4 years agoMerge pull request #18008 from civicrm/5.28
Eileen McNaughton [Fri, 31 Jul 2020 03:02:15 +0000 (15:02 +1200)]
Merge pull request #18008 from civicrm/5.28

5.28

4 years agoMerge pull request #17983 from kcristiano/5.28-wp-notices
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

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

4 years agoMerge pull request #18002 from demeritcowboy/missing-soft-credit
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

4 years agoMerge pull request #18003 from demeritcowboy/membership-fail
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

4 years agoremove dubious code that never runs
demeritcowboy [Thu, 30 Jul 2020 20:57:04 +0000 (16:57 -0400)]
remove dubious code that never runs

4 years agonotice on contribution edit
demeritcowboy [Thu, 30 Jul 2020 20:27:30 +0000 (16:27 -0400)]
notice on contribution edit

4 years agoImprove docs for APIv4 Save action
Coleman Watts [Thu, 30 Jul 2020 16:38:15 +0000 (12:38 -0400)]
Improve docs for APIv4 Save action

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

4 years agoupdate failing test
demeritcowboy [Thu, 30 Jul 2020 03:28:56 +0000 (23:28 -0400)]
update failing test

4 years agoMerge pull request #17777 from agh1/dontchangereceivedate
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

4 years agoCache loader - remove legacy handling, handle null result from setting
eileen [Thu, 30 Jul 2020 03:27:24 +0000 (15:27 +1200)]
Cache loader - remove legacy handling, handle null result from setting

We are seeing this symptom in our tests in some cases
https://civicrm.stackexchange.com/questions/28897/error-when-merging-accounts

I'm not quite sure why the setting would be empty - but treating empty the same as 'default'
seems better than a hard fail and we know that settings have a track history of not all being
loaded at the right times.

This also removes some legacy handling

4 years agoE_NOTICE when pcp contribution
demeritcowboy [Thu, 30 Jul 2020 03:07:24 +0000 (23:07 -0400)]
E_NOTICE when pcp contribution

4 years agoMerge pull request #17997 from civicrm/5.28
Eileen McNaughton [Wed, 29 Jul 2020 21:31:27 +0000 (09:31 +1200)]
Merge pull request #17997 from civicrm/5.28

5.28

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

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

4 years agowrong link to admin page
demeritcowboy [Wed, 29 Jul 2020 19:39:30 +0000 (15:39 -0400)]
wrong link to admin page

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

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

4 years agoMerge pull request #17978 from kainuk/issue-1914
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

4 years agodev/wordpress/66 Add Upgrade Notice regarding legacy paths
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>
4 years agoMerge pull request #17985 from demeritcowboy/sms-apiurl
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

4 years agoFix fieldSpec when exporting cases using certain (default) fields
Matthew Wire [Thu, 28 May 2020 16:32:32 +0000 (17:32 +0100)]
Fix fieldSpec when exporting cases using certain (default) fields

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

4 years agoRemove functions deprecated a year ago
eileen [Wed, 29 Jul 2020 00:46:41 +0000 (12:46 +1200)]
Remove functions deprecated a year ago

4 years agoReduce calls to CRM_Member_PseudoConstant::membershipType
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

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

4 years agoRemove duplicate cache flush
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

4 years agodev/core#1913 Allow for schemas to be added by extensions if they are in the format...
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

4 years agoCall api from BaseIPN->sendMail
eileen [Tue, 28 Jul 2020 20:23:40 +0000 (08:23 +1200)]
Call api from BaseIPN->sendMail

This function has been deprecated since 2015 and it's tempting just to remove it but at this stage
it is being noisily deprecated & by-passed

4 years agoavoid notice when no default url
demeritcowboy [Tue, 28 Jul 2020 23:38:35 +0000 (19:38 -0400)]
avoid notice when no default url

4 years agoMerge pull request #17305 from mlutfy/core1755
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

4 years ago[REF] Remove pass-by-reference & always empty param
eileen [Tue, 28 Jul 2020 21:58:18 +0000 (09:58 +1200)]
[REF] Remove pass-by-reference & always empty param

Once https://github.com/civicrm/civicrm-core/pull/17982 is merged there are only 2 places that call this function. In both
places
1) they instantiate an empty values array just to pass in
2) we can see they don't use input or ids afterwards, so they don't need to be passed by reference

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

4 years ago[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

4 years agoMerge pull request #17817 from colemanw/getChecksConfig
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

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

4 years agodev/financial#139 contribution completeOrder shouldn't change receive_date
Andrew Hunt [Mon, 27 Jul 2020 17:59:53 +0000 (13:59 -0400)]
dev/financial#139 contribution completeOrder shouldn't change receive_date

4 years agodev/financial#139 rework bulk payments form
Andrew Hunt [Sun, 26 Jul 2020 19:56:14 +0000 (15:56 -0400)]
dev/financial#139 rework bulk payments form

4 years agodev/financial#139 prep: move CRM_Contribute_Form_Task_Status::getDetails to CRM_Contr...
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

4 years agodev/financial#139: remove contrib status from bulk payments form template
Andrew Hunt [Sun, 26 Jul 2020 18:08:01 +0000 (14:08 -0400)]
dev/financial#139: remove contrib status from bulk payments form template

4 years agodev/financial#139 prep: standardize markup, closing spans on bulk payment form
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

4 years agodev/financial#139 tests: contribution receive_date shouldn't change when payments...
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

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

4 years agoMerge pull request #17927 from monishdeb/core-785
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

4 years agoFixed filling default values for tagssets in the advanced search form
Klaas Eikelboom [Mon, 27 Jul 2020 14:06:26 +0000 (16:06 +0200)]
Fixed filling default values for tagssets in the advanced search form

4 years agoRevert "revert PR 13958"
Monish Deb [Thu, 23 Jul 2020 09:05:27 +0000 (14:35 +0530)]
Revert "revert PR 13958"

This reverts commit ba2ad46f76db57c8f9bea064e7ba4c5b5adefc83.

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

4 years agoensure custom field checkboxes are populated in profiles
Jamie McClelland [Tue, 9 Jun 2020 19:37:19 +0000 (15:37 -0400)]
ensure custom field checkboxes are populated in profiles

4 years agoMerge pull request #17976 from civicrm/5.28
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

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

4 years agoFix repeattransaction api to use custom data from the template contribution
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

4 years ago[REF] Fix regression where adding any date based field onto a profile triggers an...
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

4 years ago[REF] Minor code clean up
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

4 years agoMerge pull request #17967 from eileenmcnaughton/grant
Seamus Lee [Mon, 27 Jul 2020 02:03:50 +0000 (12:03 +1000)]
Merge pull request #17967 from eileenmcnaughton/grant

[REF] Grant cleanup

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

4 years ago[REF] Extract setUserContext on contribution form & cleanup on backend add membership...
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

4 years ago[REF] Grant cleanup
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

4 years ago[NFC] Add in a unit test of calling the contribution page widget endpoint and remove...
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

4 years agoMerge pull request #17963 from civicrm/5.28
Seamus Lee [Sun, 26 Jul 2020 22:55:49 +0000 (08:55 +1000)]
Merge pull request #17963 from civicrm/5.28

5.28

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

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

4 years agodev/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

4 years agoMerge pull request #17960 from demeritcowboy/contribution-default
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

4 years agodev/core#1909 Fix E-notice when adding a field on a profile
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

4 years agoMerge pull request #17959 from demeritcowboy/file-case-notice
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

4 years agoMerge pull request #17941 from eileenmcnaughton/fieldspec
Seamus Lee [Sun, 26 Jul 2020 20:56:58 +0000 (06:56 +1000)]
Merge pull request #17941 from eileenmcnaughton/fieldspec

[Ref] Simplify field reference

4 years agodefault not being set for price fields
demeritcowboy [Sun, 26 Jul 2020 14:12:15 +0000 (10:12 -0400)]
default not being set for price fields

4 years agoE_NOTICE opening file-on-case
demeritcowboy [Sat, 25 Jul 2020 15:28:11 +0000 (11:28 -0400)]
E_NOTICE opening file-on-case

4 years agoMerge pull request #17957 from demeritcowboy/combine-createcase
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