Coleman Watts [Mon, 17 Aug 2020 21:29:59 +0000 (17:29 -0400)]
CRM_Utils_VersionCheck - respect force param
Eileen McNaughton [Mon, 17 Aug 2020 20:03:22 +0000 (08:03 +1200)]
Merge pull request #18181 from colemanw/upgrademsg
Upgrade screen - show success instead of error if already upgraded
Coleman Watts [Mon, 17 Aug 2020 15:39:53 +0000 (11:39 -0400)]
Upgrade screen - show success instead of error if already upgraded
Matthew Wire [Mon, 17 Aug 2020 09:14:17 +0000 (10:14 +0100)]
Merge pull request #18177 from eileenmcnaughton/gross
Processors - remove gross_amount param from processors
Seamus Lee [Mon, 17 Aug 2020 02:49:06 +0000 (12:49 +1000)]
Merge pull request #18173 from civicrm/5.29
5.29
Seamus Lee [Mon, 17 Aug 2020 02:48:29 +0000 (12:48 +1000)]
Merge pull request #18176 from agileware/CIVICRM-1465
{contribution.receipt_date} token does not use any CiviCRM date formatter, output in YYYY-MM-DD HH:MM:SS format and {contribution.receive_date} also uses a non-standard format
eileen [Mon, 17 Aug 2020 00:34:53 +0000 (12:34 +1200)]
Processors - remove gross_amount param from processors
The gross_amount param is returned by a bunch of processors but is not used so this removes it.
The core processors are often used as a starting point for extensions - we can see for example
this parameter is present in IATS so removing it helps clarify it as unnecessary & unused
Seamus Lee [Sun, 16 Aug 2020 23:26:35 +0000 (09:26 +1000)]
Merge pull request #18175 from demeritcowboy/installation-doclinks
Installation doclinks not getting url-rewritten
Seamus Lee [Sun, 16 Aug 2020 22:31:46 +0000 (08:31 +1000)]
Merge pull request #18170 from eileenmcnaughton/testc
Minor cleanup in test class
demeritcowboy [Sun, 16 Aug 2020 22:29:50 +0000 (18:29 -0400)]
installation doclinks
Eileen McNaughton [Sun, 16 Aug 2020 21:52:05 +0000 (09:52 +1200)]
Merge pull request #18171 from demeritcowboy/unused-UTF8
[REF] Deprecate unused SQL temptable functions
Seamus Lee [Sun, 16 Aug 2020 21:00:19 +0000 (07:00 +1000)]
Merge pull request #18166 from demeritcowboy/cvv-required
cvv required html attribute should depend on backoffice setting
Eileen McNaughton [Sun, 16 Aug 2020 20:02:50 +0000 (08:02 +1200)]
Merge pull request #18154 from highfalutin/patch-5
Mass SMS: Limit group selection to mailing groups
Matthew Wire [Sun, 16 Aug 2020 17:53:58 +0000 (18:53 +0100)]
Merge pull request #18172 from demeritcowboy/utilsarray-isset
[REF] Update recent replacement for CRM_Utils_Array::value
demeritcowboy [Sun, 16 Aug 2020 13:17:14 +0000 (09:17 -0400)]
deprecate unused functions
demeritcowboy [Sun, 16 Aug 2020 13:25:58 +0000 (09:25 -0400)]
update replacement for utils_array::value
Eileen McNaughton [Sun, 16 Aug 2020 06:29:18 +0000 (18:29 +1200)]
Merge pull request #18165 from civicrm/5.29
5.29
eileen [Sun, 16 Aug 2020 04:23:35 +0000 (16:23 +1200)]
Minor cleanup in test class
Eileen McNaughton [Sun, 16 Aug 2020 04:13:35 +0000 (16:13 +1200)]
Merge pull request #18157 from mattwire/utilsarraycontributionmembership
Replace CRM_Utils_Array::value in contribution/confirm and bao/membership
demeritcowboy [Sun, 16 Aug 2020 01:43:21 +0000 (21:43 -0400)]
required
Seamus Lee [Sun, 16 Aug 2020 01:28:13 +0000 (11:28 +1000)]
Merge pull request #18163 from seamuslee001/5.29
[REF] Remove unnecessary comma
Seamus Lee [Sat, 15 Aug 2020 23:31:54 +0000 (09:31 +1000)]
[REF] Remove unnecessary comma
Seamus Lee [Sat, 15 Aug 2020 23:19:35 +0000 (09:19 +1000)]
Merge pull request #18159 from civicrm/5.29
5.29
Matthew Wire [Sat, 15 Aug 2020 13:45:57 +0000 (14:45 +0100)]
Replace CRM_Utils_Array::value in CRM_Member_BAO_Membership
Seamus Lee [Sat, 15 Aug 2020 20:48:05 +0000 (06:48 +1000)]
Merge pull request #18133 from eileenmcnaughton/utf529
Fix 5.29 (unreleased) regression using temp tables
Matthew Wire [Sat, 15 Aug 2020 13:45:34 +0000 (14:45 +0100)]
Replace CRM_Utils_Array::value in CRM_Contribute_Form_Contribution_Confirm
Matthew Wire [Sat, 15 Aug 2020 09:40:43 +0000 (10:40 +0100)]
Merge pull request #18155 from eileenmcnaughton/member_order
Remove legacy handling for 'fixing' line_item.entity_id
Matthew Wire [Sat, 15 Aug 2020 09:39:21 +0000 (10:39 +0100)]
Merge pull request #18156 from eileenmcnaughton/renew
Remove deprecated code ids['userId']
eileen [Sat, 15 Aug 2020 05:32:55 +0000 (17:32 +1200)]
Remove deprecated code ids['userId']
These lines were deprecated 7 months ago and were pretty edge case to start with
eileen [Sat, 15 Aug 2020 04:52:40 +0000 (16:52 +1200)]
Remove legacy handling for 'fixing' line_item.entity_id
I tried to see what was happening with the test in https://github.com/civicrm/civicrm-core/pull/18113
and spotted that it wasn't using Order.api so the line items were likely wrong. However, once I set
it up to use the Order api I found the code we added back in 2018 to attempt to cope with other code
setting entity_id incorrectly was actually itself setting entity_id incorrectly. The issue
happens when there are 2 Memberships linked to one contribution & the removed code 'decides'
one is wrong and alters it. https://github.com/civicrm/civicrm-core/pull/11816
This line of code throws a deprecation notice - which has not been reported / apparently seen in the last
couple of years so I'm assuming it's not actually doing any good and without removing it this test actually
fails
highfalutin [Sat, 15 Aug 2020 04:15:23 +0000 (21:15 -0700)]
Mass SMS: Limit group selection to mailing groups
To populate the selector for mass SMS recipients, the form calls CRM_Core_PseudoConstant::nestedGroup(). However the function call was missing an argument, so all groups were being returned, not just mailing groups as intended. This PR corrects the mistake.
Seamus Lee [Sat, 15 Aug 2020 02:01:43 +0000 (12:01 +1000)]
Merge pull request #18142 from seamuslee001/ref_space_currency
[REF] Remove usages of CRM_Utils_Money::format that pass in a blank s…
Eileen McNaughton [Sat, 15 Aug 2020 01:27:52 +0000 (13:27 +1200)]
Merge pull request #18148 from civicrm/5.29
5.29
Seamus Lee [Sat, 15 Aug 2020 01:00:10 +0000 (11:00 +1000)]
Merge pull request #18151 from eileenmcnaughton/money
Use more appropriate money format function
Seamus Lee [Fri, 14 Aug 2020 02:03:50 +0000 (12:03 +1000)]
[REF] Remove usages of CRM_Utils_Money::format that pass in a blank space as a currency
Use formatLocaleNumericRoundedForDefaultCurrency instead as that achieves the same result
Eileen McNaughton [Sat, 15 Aug 2020 00:56:41 +0000 (12:56 +1200)]
Merge pull request #18149 from seamuslee001/dev_core_1952
dev/core#1952 Remove uncessary component checking when exporting all …
eileen [Wed, 12 Aug 2020 04:20:38 +0000 (16:20 +1200)]
Fix 5.29 regression using temp tables
I just pushed 5.29rc through our WMF CI & it failed on a situation where it created a temp
table and that got joined on a non-temp table with a collation mix error. The issue is that the
DB default is set to utf8_general_ci (at least on our development DBs) whereas the
civicrm tables are utf8_unicode_ci. Until https://github.com/civicrm/civicrm-core/pull/18012/files
there was a list of permitted matches for db collation but now any 'utf' string matches.
From what I can tell utf8_general_ci is a pretty common collation on drupal DBs and from my tests
it causes problems if not excluded here
eileen [Fri, 14 Aug 2020 23:51:04 +0000 (11:51 +1200)]
Use more appropriate money format function
Seamus Lee [Fri, 14 Aug 2020 23:22:08 +0000 (09:22 +1000)]
dev/core#1952 Remove uncessary component checking when exporting all activities
Seamus Lee [Fri, 14 Aug 2020 23:04:42 +0000 (09:04 +1000)]
Merge pull request #18144 from seamuslee001/dev_core_1953
dev/core#1953 Ensure that Contribution pages do not fail validation o…
Seamus Lee [Fri, 14 Aug 2020 21:09:00 +0000 (07:09 +1000)]
dev/core#1953 Ensure that Contribution pages do not fail validation on credit cards when a zero dollar price is offered
Seamus Lee [Fri, 14 Aug 2020 02:09:04 +0000 (12:09 +1000)]
Merge pull request #18135 from colemanw/daoVersions
API - Add upgrade-safe checks to ensure table exists before reading
Seamus Lee [Fri, 14 Aug 2020 01:23:05 +0000 (11:23 +1000)]
Merge pull request #18138 from eileenmcnaughton/dao
Deprecate 'trapException' in DAO::executeQuery
Matthew Wire [Thu, 13 Aug 2020 17:16:07 +0000 (18:16 +0100)]
Merge pull request #18139 from totten/master-region-bits
(REF) CRM_Core_Region - Remove unused bits
eileen [Thu, 13 Aug 2020 08:54:26 +0000 (20:54 +1200)]
Deprecate 'trapException' inn DAO::executeQuery
We are pretty heavily moving towards using exceptions so we should deprecate this. It seems the
fillWithSql is just converting the error to an exception so we shouldn't avoid it
Coleman Watts [Thu, 13 Aug 2020 02:01:24 +0000 (22:01 -0400)]
Suppress errors when reading DAO version constants
Coleman Watts [Wed, 12 Aug 2020 20:58:55 +0000 (16:58 -0400)]
DAO - only check version on fields from core tables
Coleman Watts [Wed, 12 Aug 2020 20:50:32 +0000 (16:50 -0400)]
Log warning when attempting to access nonexistant table from api
Coleman Watts [Wed, 12 Aug 2020 18:50:37 +0000 (14:50 -0400)]
Cleanup CRM_Utils_Check version safeguard with APIv4
Coleman Watts [Wed, 12 Aug 2020 15:44:39 +0000 (11:44 -0400)]
Early return during APIv4::get if table doesn't exist
If there are pending upgrades, checks if table exists before attempting to read from it.
Coleman Watts [Fri, 7 Aug 2020 20:13:08 +0000 (16:13 -0400)]
Regenerate DAO files
Coleman Watts [Fri, 7 Aug 2020 19:27:51 +0000 (15:27 -0400)]
CodeGen - Add EXT and TABLE_ADDED to each DAO file
Seamus Lee [Wed, 12 Aug 2020 23:51:57 +0000 (09:51 +1000)]
Merge pull request #17956 from eileenmcnaughton/export_phone
dev/core#1661 Allow phones with types longer than 16 chars to export
Seamus Lee [Wed, 12 Aug 2020 23:08:02 +0000 (09:08 +1000)]
Merge pull request #18131 from demeritcowboy/move-isssldsn
[REF] Move isSSLDSN() function to avoid potential problems
colemanw [Wed, 12 Aug 2020 17:45:13 +0000 (13:45 -0400)]
Merge pull request #18134 from colemanw/deprecateCheckVersion
Deprecate/remove unused checkVersion() functions
colemanw [Wed, 12 Aug 2020 17:42:41 +0000 (13:42 -0400)]
Merge pull request #18132 from yashodha/dev-1944
(dev/core#1944) Add new columns to mailing summary report
Coleman Watts [Wed, 12 Aug 2020 14:21:49 +0000 (10:21 -0400)]
Deprecate unused CRM_Core_DAO::checkVersion() and remove unused CRM_Upgrade_Form::checkVersion()
demeritcowboy [Wed, 12 Aug 2020 03:12:41 +0000 (23:12 -0400)]
move function to avoid problems
Seamus Lee [Wed, 12 Aug 2020 04:24:27 +0000 (14:24 +1000)]
Merge pull request #18094 from colemanw/ets
CodeGen - Add use statement to extensions DAO files
yashodha [Wed, 12 Aug 2020 03:24:47 +0000 (08:54 +0530)]
(dev/core#1944) Add new columns to mailing summary report
Coleman Watts [Wed, 12 Aug 2020 02:53:53 +0000 (22:53 -0400)]
DAO.tpl - use tsFunctionName for extension support
Seamus Lee [Wed, 12 Aug 2020 01:32:19 +0000 (11:32 +1000)]
Merge pull request #18128 from civicrm/5.29
5.29
Seamus Lee [Tue, 11 Aug 2020 23:23:36 +0000 (09:23 +1000)]
Merge pull request #18126 from eileenmcnaughton/dupe529
dev/core#1934 fix regression on merging contacts with settings using contact_id
Seamus Lee [Tue, 11 Aug 2020 22:49:39 +0000 (08:49 +1000)]
Merge pull request #18123 from seamuslee001/dev_core_1936_alternate
dev/core#1936 Make the price field value label field not required
eileen [Tue, 11 Aug 2020 21:38:05 +0000 (09:38 +1200)]
dev/core#1934 fix regression on merging contacts with settings using contact_id
This is an interim fix to a reported regression. I'll look at more carefully in master when time permits
Seamus Lee [Tue, 11 Aug 2020 00:09:36 +0000 (10:09 +1000)]
dev/core#1936 Make the price field value label field not required
Fix test and ensure default value is NULL
Eileen McNaughton [Tue, 11 Aug 2020 08:03:17 +0000 (20:03 +1200)]
Merge pull request #18095 from demeritcowboy/no-db
dev/core#1926 - Towards supporting SSL for mysql connections - remove DB::connect that doesn't add anything
Seamus Lee [Tue, 11 Aug 2020 00:18:06 +0000 (10:18 +1000)]
Merge pull request #18122 from seamuslee001/master
5.29
Seamus Lee [Tue, 11 Aug 2020 00:16:31 +0000 (10:16 +1000)]
Merge in 5.29
Eileen McNaughton [Tue, 11 Aug 2020 00:09:35 +0000 (12:09 +1200)]
Merge pull request #18116 from mattwire/phpnoticecontributionpage
Fix PHP notice on contribution page
Seamus Lee [Mon, 10 Aug 2020 22:08:17 +0000 (08:08 +1000)]
Merge pull request #18119 from demeritcowboy/document-hidden-buttons
[NFC] Add code comments about hidden but still used buttons
Seamus Lee [Mon, 10 Aug 2020 20:55:39 +0000 (06:55 +1000)]
Merge pull request #18115 from sunilpawar/dev_1943
dev/core#1943 add functionality to add civicrm log into Drupal access log
demeritcowboy [Sun, 9 Aug 2020 05:07:57 +0000 (01:07 -0400)]
comments about hidden but still used buttons
Eileen McNaughton [Mon, 10 Aug 2020 19:53:31 +0000 (07:53 +1200)]
Merge pull request #18117 from mattwire/529_master
5.29 to master
Andrew Hunt [Thu, 6 Aug 2020 22:17:31 +0000 (18:17 -0400)]
More radical cleanup of button CSS
Andrew Hunt [Thu, 6 Aug 2020 22:00:58 +0000 (18:00 -0400)]
Fix CSS for new buttons
Andrew Hunt [Thu, 6 Aug 2020 20:06:56 +0000 (16:06 -0400)]
Fix JS for input buttons that are now button buttons
Andrew Hunt [Thu, 6 Aug 2020 19:36:47 +0000 (15:36 -0400)]
Remove deprecated submitOnce js function
Andrew Hunt [Thu, 6 Aug 2020 18:57:11 +0000 (14:57 -0400)]
No need for crm-button wrappers for real buttons
Andrew Hunt [Thu, 6 Aug 2020 17:55:52 +0000 (13:55 -0400)]
Give buttons a value when the submitted value is used to identify them
Andrew Hunt [Thu, 6 Aug 2020 17:12:36 +0000 (13:12 -0400)]
Put icons inside of button elements
Andrew Hunt [Thu, 6 Aug 2020 15:19:56 +0000 (11:19 -0400)]
Swap out button/submit inputs for button elements
Sunil Pawar [Mon, 10 Aug 2020 13:30:45 +0000 (19:00 +0530)]
Correction to change priority level
Matthew Wire [Mon, 10 Aug 2020 12:42:37 +0000 (13:42 +0100)]
Merge pull request #18091 from agh1/xbutton-529
Swap out button/submit inputs for button elements
Matthew Wire [Mon, 10 Aug 2020 12:31:07 +0000 (13:31 +0100)]
Fix PHP notice on contribution page
Sunil Pawar [Mon, 10 Aug 2020 12:12:20 +0000 (17:42 +0530)]
small correction
Sunil Pawar [Mon, 10 Aug 2020 12:09:22 +0000 (17:39 +0530)]
dev/core#1943 add functionality to add civicrm log into Drupal access log
Eileen McNaughton [Mon, 10 Aug 2020 10:06:32 +0000 (22:06 +1200)]
Merge pull request #18112 from eileenmcnaughton/paytest
[NFC] [Test] Initial testing on event payment forms.
eileen [Mon, 10 Aug 2020 05:38:30 +0000 (17:38 +1200)]
[Ref] [Test] Update Authorize.net test to use the trait
eileen [Mon, 10 Aug 2020 04:12:02 +0000 (16:12 +1200)]
[NFC] [Test] Intial testing on event payment forms.
I'm trying to work on improving our testing of payment forms. I started with 3 event forms but there were
enough challenges that for this commit I'm just adding tests on one form. As noted in the code comments
it makes sense for this test to be in the extension but I want to work through the challenges on the
other forms before finalising any helper functions to the point where they are available to extensions.
This is actually a bit of a break through as it's the first time we have testing on a form flow - ie
submitting the first form and then the second. It was quite painful
Seamus Lee [Mon, 10 Aug 2020 00:55:34 +0000 (10:55 +1000)]
Merge pull request #18110 from eileenmcnaughton/xml
Add Serialize key to payment_processor field for Event & Contribution Page
Seamus Lee [Sun, 9 Aug 2020 23:33:30 +0000 (09:33 +1000)]
Merge pull request #18109 from eileenmcnaughton/format
[NFC] Array formatting
Seamus Lee [Sun, 9 Aug 2020 23:33:13 +0000 (09:33 +1000)]
Merge pull request #18108 from eileenmcnaughton/paytest
Remove unused variable
eileen [Sun, 9 Aug 2020 23:03:05 +0000 (11:03 +1200)]
Add Serialize key to payment_processor field for Event & ContributionPage
The DAO can handle arrays if it knows the format now...
eileen [Sun, 9 Aug 2020 21:44:02 +0000 (09:44 +1200)]
Remove unused variable
I spotted this variable as defined but unused - let's remove
eileen [Sun, 9 Aug 2020 21:55:11 +0000 (09:55 +1200)]
[NFC] Array formatting
This is a straight up IDE reformat to get rid of old array syntax.
IDE had some whitespace thoughts with I'm neutral on - if Jenkins is too then all good IMHO
Seamus Lee [Sat, 8 Aug 2020 07:04:10 +0000 (17:04 +1000)]
Merge pull request #18104 from civicrm/5.29
5.29
Seamus Lee [Sat, 8 Aug 2020 04:27:00 +0000 (14:27 +1000)]
Merge pull request #18101 from demeritcowboy/eventcart-settingcheck
dev/event#40 - EventCart - Check legacy setting until extension is public
Seamus Lee [Sat, 8 Aug 2020 01:35:44 +0000 (11:35 +1000)]
Merge pull request #18100 from civicrm/5.29
5.29
demeritcowboy [Sat, 8 Aug 2020 00:59:20 +0000 (20:59 -0400)]
check legacy setting until extension is public