Tim Otten [Fri, 23 Mar 2018 23:27:40 +0000 (16:27 -0700)]
CiviUnitTestCase - Extract Civi\Test\Api3DocTrait
This makes `CiviUnitTestCase` more readable, and it allows other tests to
benefit from these helpers (even if they don't use everything from
`CiviUnitTestCase`).
Tim Otten [Fri, 23 Mar 2018 23:16:24 +0000 (16:16 -0700)]
CiviUnitTestCase - Extract Civi\Test\Api3TestTrait
This makes `CiviUnitTestCase` more readable, and it allows other tests to
benefit from these helpers (even if they don't use everything from
`CiviUnitTestCase`).
colemanw [Fri, 23 Mar 2018 16:10:59 +0000 (12:10 -0400)]
Merge pull request #11864 from colemanw/upgradeVersion
Increment minimum upgradable version
colemanw [Fri, 23 Mar 2018 14:02:51 +0000 (10:02 -0400)]
Merge pull request #11869 from mukeshcompucorp/fix-template-structure-issues
Fix template structures
Mukesh Ram [Fri, 23 Mar 2018 08:32:56 +0000 (14:02 +0530)]
Fix template structures
Eileen McNaughton [Fri, 23 Mar 2018 07:16:01 +0000 (20:16 +1300)]
Merge pull request #11609 from andrewpthompson/CRM-21203-andrewpthompson
CRM-21203 revisited - Joomla 3.8 extra fixes for cli.php
Eileen McNaughton [Fri, 23 Mar 2018 06:30:07 +0000 (19:30 +1300)]
Merge pull request #11086 from agileware/CRM-21277
CRM-21277: Suppress warnings while finding install directory.
Eileen McNaughton [Fri, 23 Mar 2018 06:28:53 +0000 (19:28 +1300)]
Merge pull request #11087 from yashodha/CRM-19850
CRM-19850 - Add a offline membership without 'record payment' option,…
Seamus Lee [Fri, 23 Mar 2018 05:15:39 +0000 (16:15 +1100)]
Merge pull request #11825 from mattwire/CRM-21682_commenting
Add commenting to explain +1/-1 days for membership dates calc
Eileen McNaughton [Fri, 23 Mar 2018 02:47:29 +0000 (15:47 +1300)]
Merge pull request #11816 from eileenmcnaughton/fix
core/issues/15 Line item fix with attempt to determine how it is hit
Eileen McNaughton [Fri, 23 Mar 2018 02:46:39 +0000 (15:46 +1300)]
Merge pull request #11824 from mattwire/CRM-21682_membership_renewal_tests
CRM-21682 Membership Renewal Tests
Eileen McNaughton [Fri, 23 Mar 2018 01:07:38 +0000 (14:07 +1300)]
Merge pull request #11836 from seamuslee001/dev_core_25
Dev/Core 25 Wrap the mailing split_job function in a transaction to e…
colemanw [Fri, 23 Mar 2018 00:52:54 +0000 (20:52 -0400)]
Merge pull request #11862 from mukeshcompucorp/fix-template-structure-issues
Fix template structure
colemanw [Fri, 23 Mar 2018 00:48:08 +0000 (20:48 -0400)]
Merge pull request #10496 from jitendrapurohit/CRM-20719
CRM-20719 : Show warning on system status page if reply_id for mailing is not set to any default
colemanw [Thu, 22 Mar 2018 22:05:42 +0000 (18:05 -0400)]
Merge pull request #11857 from eileenmcnaughton/cust_data_any
Consolidate CustomData code into shared tpl
Seamus Lee [Thu, 22 Mar 2018 21:12:14 +0000 (08:12 +1100)]
Merge pull request #11856 from eileenmcnaughton/cust_multi
Fix ajax error on rendering multi custom data tab when field limit reached
Seamus Lee [Thu, 22 Mar 2018 21:09:11 +0000 (08:09 +1100)]
Merge pull request #11859 from eileenmcnaughton/import_test
[nfc] Add test for thousand separators on import
Seamus Lee [Tue, 20 Mar 2018 03:02:08 +0000 (14:02 +1100)]
Dev/Core 25 Wrap the mailing split_job function in a transaction to ensure that there is no possibility of duplicate maiing jobs created
Include the split_jobs in the transaction used to update the parent job
Coleman Watts [Thu, 22 Mar 2018 17:19:00 +0000 (13:19 -0400)]
Increment minimum upgradable version
Mukesh Ram [Thu, 22 Mar 2018 14:29:17 +0000 (19:59 +0530)]
Fix colspan
Eileen McNaughton [Thu, 22 Mar 2018 13:10:12 +0000 (02:10 +1300)]
Merge pull request #11298 from otetard/feature/merge_memberships
CRM-19151: Add the ability to merge memberships without data loss
Mukesh Ram [Thu, 22 Mar 2018 12:00:53 +0000 (17:30 +0530)]
Fix template structure
Eileen McNaughton [Thu, 22 Mar 2018 11:51:52 +0000 (00:51 +1300)]
Merge pull request #11860 from eileenmcnaughton/test_fixes
[nfc] Minor test tidy ups
eileen [Thu, 22 Mar 2018 06:21:59 +0000 (19:21 +1300)]
Consolidate CustomData code into shared tpl
The only change that I found in function was that the delete icon was originally in a
table on contact edit but afterwards it was not. However the UI looked the same
eileen [Thu, 15 Mar 2018 06:03:49 +0000 (19:03 +1300)]
core/issues/15 Line item fix with attempt to determine how it is hit
Eileen McNaughton [Thu, 22 Mar 2018 09:58:43 +0000 (22:58 +1300)]
Merge pull request #11855 from eileenmcnaughton/report_min
CRM-21677 - reduce unnecessary address joins on activity & contact detail reports
eileen [Thu, 22 Mar 2018 08:59:05 +0000 (21:59 +1300)]
[nfc] Minor test tidy ups
eileen [Thu, 22 Mar 2018 08:50:38 +0000 (21:50 +1300)]
Add test for thousand separators on import
Eileen McNaughton [Thu, 22 Mar 2018 08:15:48 +0000 (21:15 +1300)]
Merge pull request #11858 from eileenmcnaughton/recur_format
[NFC] fix line endings, using windows line endings, change to 'unix
eileen [Thu, 22 Mar 2018 08:13:34 +0000 (21:13 +1300)]
[NFC] fix line endings, using windows line endings, change to 'unix
Eileen McNaughton [Thu, 22 Mar 2018 07:37:31 +0000 (20:37 +1300)]
Merge pull request #11852 from civicrm/5.0
merge 5.0 to master
Eileen McNaughton [Thu, 22 Mar 2018 07:22:54 +0000 (20:22 +1300)]
Merge pull request #11837 from agileware/CRM-21764-5.0
CRM-21764: Recurring Events without Price Set fail to save
eileen [Thu, 22 Mar 2018 00:31:06 +0000 (13:31 +1300)]
CRM-21677 - reduce unnecessary address joins on activity & contact detail reports
Jitendra Purohit [Mon, 12 Jun 2017 06:45:17 +0000 (12:15 +0530)]
CRM-20719 : ensure reply id is set to any default value
eileen [Thu, 22 Mar 2018 01:38:58 +0000 (14:38 +1300)]
Fix ajax error on rendering multi custom data tab when field limit reached.
CRM_Contact_Page_View_CustomData::run() calls CRM_Profile_Page_MultipleRecordFieldsListing::run(). The latter function currently only assigns customGroupId to the tpl if the limit of rows to display has not been reached.
However, if the var is a required parameter for the ajax call that follow
s and without it the page does not render. There is no clue as to why it
is wrapped in the if and changing it does
not cause problems in the follow on ajax call
CRM_Custom_Page_AJAX::getMultiRecordFieldList
The only other place this is called from is
CRM_Profile_Form::preProcess when
mode is not EDIT and gid is set
colemanw [Thu, 22 Mar 2018 01:10:45 +0000 (21:10 -0400)]
Merge pull request #11854 from eileenmcnaughton/custom_data_escape
Escape custom group title.
Alok Patel [Tue, 20 Mar 2018 03:41:11 +0000 (13:41 +1000)]
CRM-21764: Recurring Events without Price Set fail to save.
eileen [Thu, 22 Mar 2018 00:19:08 +0000 (13:19 +1300)]
Escape custom group title.
If the custom group title has an appostrophe then the js will break without this
Eileen McNaughton [Wed, 21 Mar 2018 20:05:59 +0000 (09:05 +1300)]
Merge pull request #11844 from eileenmcnaughton/cust_tpl
Meld Address custom field display template with main custom field template
Matthew Wire [Thu, 1 Feb 2018 14:26:10 +0000 (21:26 +0700)]
Fix PaypalIPNTest frequency unit and rename mispelled file for test class
Matthew Wire [Fri, 2 Feb 2018 15:21:43 +0000 (15:21 +0000)]
Move membershipRenewalDate to own function
Matthew Wire [Thu, 1 Feb 2018 14:27:54 +0000 (21:27 +0700)]
Make sure frequency unit matches for recur/membership in IPN tests and allow for specifying that frequency
colemanw [Wed, 21 Mar 2018 11:46:19 +0000 (07:46 -0400)]
Merge pull request #11851 from mukeshcompucorp/fix-template-structure-issues
Fix template structure
Matthew Wire [Tue, 30 Jan 2018 10:09:44 +0000 (17:09 +0700)]
Update existing tests so that membership and recurring contribution durations match
Eileen McNaughton [Wed, 21 Mar 2018 10:26:25 +0000 (23:26 +1300)]
Merge pull request #11848 from jitendrapurohit/CRM-21848-test
CRM-21848 - Add unit test for on_hold mailing recipients
colemanw [Wed, 21 Mar 2018 10:22:20 +0000 (06:22 -0400)]
Merge pull request #11842 from eileenmcnaughton/format
NFC reformat whitespace in Email.tpl files
Mukesh Ram [Wed, 21 Mar 2018 08:54:31 +0000 (14:24 +0530)]
Fix template structure
eileen [Wed, 21 Mar 2018 04:17:59 +0000 (17:17 +1300)]
Sync address custom field file with main file.
There is no reason for there being 2 files almost the same for custom data
I plan to use this file more broadly (ie. permit custom data on other entities such as email, phone)
and towards that have aligned the 2 files first.
There are minor differences in display
- read only fields show up as frozen for non-address & now for address too (instead of suppressed)
- post help text shows as full text for address currently but after this it shows as a help-icon
which can be clicked on
- display improvements for file custom fields.
Note that I think making address like the main file makes sense as that will be where deliberate
changes have happened.
eileen [Wed, 21 Mar 2018 03:22:08 +0000 (16:22 +1300)]
Show custom address view only fields in edit mode.
This brings them into line with the behaviour of other custom fields in edit mode (shown, but
greyed out) and is a step towards sharing the tpl
Eileen McNaughton [Wed, 21 Mar 2018 06:59:40 +0000 (19:59 +1300)]
Merge pull request #11586 from alifrumin/CRM-21711
CRM-21711 When updating multiple memberships thru a contribution page custom fields are only updated on one
Jitendra Purohit [Wed, 21 Mar 2018 06:59:03 +0000 (12:29 +0530)]
CRM-21848 - Add unit test for on_hold mailing recipients
Eileen McNaughton [Wed, 21 Mar 2018 06:56:54 +0000 (19:56 +1300)]
Merge pull request #11843 from agileware/CRM-20790-T
CRM-20790: Unit test to ensure relationships are created on import.
Eileen McNaughton [Wed, 21 Mar 2018 06:55:21 +0000 (19:55 +1300)]
Merge pull request #11847 from civicrm/5.0
Merge rc to master
Eileen McNaughton [Wed, 21 Mar 2018 06:54:41 +0000 (19:54 +1300)]
Merge pull request #11846 from eileenmcnaughton/mail_hold
Fix issue where on_hold email addresses are not being filtered out of
Darrick Servis [Mon, 19 Mar 2018 23:14:18 +0000 (16:14 -0700)]
Fix issue where on_hold email addresses are not being filtered out of
recipient list for mailings.
Alok Patel [Wed, 21 Mar 2018 03:16:14 +0000 (13:16 +1000)]
CRM-20790: Unit test to ensure relationships are created on import.
eileen [Wed, 21 Mar 2018 02:23:05 +0000 (15:23 +1300)]
NFC reformat whitespace in Email.tpl files
Tim Otten [Wed, 21 Mar 2018 00:32:14 +0000 (17:32 -0700)]
tools/scripts/phpunit-ls - Fix syntax error
Eileen McNaughton [Tue, 20 Mar 2018 23:01:45 +0000 (12:01 +1300)]
Merge pull request #11199 from twomice/CRM-21348_joomla_edit_link
CRM-21348: Don't hide the "edit" link from logged-in users in profile listings in joomla front-end
colemanw [Tue, 20 Mar 2018 20:44:54 +0000 (16:44 -0400)]
Merge pull request #11819 from compucorp/CRM-21840-show-tool-icon-for-radio-groups
CRM-21840: Show Options Edit Link for Radio and Checkbox Groups
Michael Devery [Thu, 15 Mar 2018 13:02:00 +0000 (13:02 +0000)]
CRM-21840: Show options edit link for radio and checkbox groups
colemanw [Tue, 20 Mar 2018 15:41:52 +0000 (11:41 -0400)]
Merge pull request #10783 from totten/master-angldr
CRM-20981 - Allow custom base-pages with less `crmApp` boilerplate
colemanw [Tue, 20 Mar 2018 15:38:55 +0000 (11:38 -0400)]
Merge pull request #11841 from jitendrapurohit/core-26
core/issues/26 - On behalf form fails to create new organisation
colemanw [Tue, 20 Mar 2018 12:58:38 +0000 (08:58 -0400)]
Merge pull request #11839 from mukeshcompucorp/fix-template-structure-issues
Fix template structure issues
Olivier Tétard [Sat, 18 Nov 2017 17:24:34 +0000 (18:24 +0100)]
CRM-19151: Add the ability to merge memberships without data loss
Add a new custom processing function `mergeMemberships()` in
`CRM_Member_BAO_Membership` that allows to merge memberships.
General idea is to merge memberships in regards to their type. We move
the other contact’s contributions to the main contact’s membership
which has the same type (if any) and then we update membership to
avoid loosing `join_date`, `end_date`, etc.
Related issue: https://issues.civicrm.org/jira/browse/CRM-19151
Jitendra Purohit [Tue, 20 Mar 2018 09:34:37 +0000 (15:04 +0530)]
core/issues/26 - On behalf form fails to create new organisation
Olivier Tétard [Mon, 20 Nov 2017 14:03:03 +0000 (15:03 +0100)]
Merger: Add some more parameters to custom processing functions.
When calling for some custom processing function in the merge process,
add tables that needs to be merged and related options.
Mukesh Ram [Tue, 20 Mar 2018 05:14:38 +0000 (10:44 +0530)]
Fix table for Contribute
Eileen McNaughton [Tue, 20 Mar 2018 02:21:46 +0000 (15:21 +1300)]
Merge pull request #11835 from civicrm/5.0
Merge from rc to master
Tim Otten [Mon, 19 Mar 2018 22:20:54 +0000 (15:20 -0700)]
CRM-20981 - Tweak docblock
Eileen McNaughton [Mon, 19 Mar 2018 21:35:04 +0000 (10:35 +1300)]
Merge pull request #10602 from agileware/CIVICRM-167
CRM-20811 CIVICRM-167 Schedule Reminders uses mixed terminology for Active state
Eileen McNaughton [Mon, 19 Mar 2018 21:31:23 +0000 (10:31 +1300)]
Merge pull request #10403 from yashodha/CRM-20624
CRM-20624
Eileen McNaughton [Mon, 19 Mar 2018 21:19:23 +0000 (10:19 +1300)]
Merge pull request #11786 from seamuslee001/CRM-21835
CRM-21835 Gracefully switch Log Table Engines if Archive is not avali…
Eileen McNaughton [Mon, 19 Mar 2018 19:57:21 +0000 (08:57 +1300)]
Merge pull request #11831 from agh1/alphatestfix
Version check test: in alphas don't test for site stats not provided for alphas
Tim Otten [Mon, 19 Mar 2018 18:12:55 +0000 (11:12 -0700)]
VersionCheckTest - Use assertions if *not* alpha
Andrew Hunt [Mon, 19 Mar 2018 14:45:16 +0000 (10:45 -0400)]
Version check test: in alphas don't test for site stats not provided for alphas
Eileen McNaughton [Mon, 19 Mar 2018 07:55:14 +0000 (20:55 +1300)]
Merge pull request #11727 from jitendrapurohit/CRM-21807
CRM-21807 - Deleted contacts included by default in Membership and co…
Mukesh Ram [Mon, 19 Mar 2018 07:24:20 +0000 (12:54 +0530)]
Move help section outside of block
Mukesh Ram [Mon, 19 Mar 2018 07:16:52 +0000 (12:46 +0530)]
Fix template structures
Eileen McNaughton [Mon, 19 Mar 2018 06:53:00 +0000 (19:53 +1300)]
Merge pull request #11820 from seanmadsen/CRM-21264
CRM-21264 - Fix tabular formatting of contributions in merged letters grouped by contact
colemanw [Mon, 19 Mar 2018 06:16:49 +0000 (02:16 -0400)]
Merge pull request #11827 from eileenmcnaughton/fix_wp
Fix page layout for wordpress (dev/core/issues/21)
eileen [Mon, 19 Mar 2018 01:27:31 +0000 (14:27 +1300)]
Fix page layout for wordpress
Eileen McNaughton [Mon, 19 Mar 2018 00:00:11 +0000 (13:00 +1300)]
Merge pull request #10776 from eileenmcnaughton/mon2
CRM-20610 expose payment edit form on the contribution page
Eileen McNaughton [Sun, 18 Mar 2018 22:54:01 +0000 (11:54 +1300)]
Merge pull request #11809 from mattwire/devcore17_interview_task_pseudoconstant
dev/core/17 Convert interview task to use Pseudoconstants
Alice Frumin [Wed, 21 Feb 2018 22:17:53 +0000 (17:17 -0500)]
Test for CRM-21711
Alice Frumin [Thu, 25 Jan 2018 21:50:50 +0000 (16:50 -0500)]
CRM-21711 Membership: moving updating custom fields into the foreach
Matthew Wire [Thu, 1 Feb 2018 14:24:58 +0000 (21:24 +0700)]
Add commenting to explain +1/-1 days for membership dates calc
Matthew Wire [Wed, 14 Mar 2018 11:56:37 +0000 (11:56 +0000)]
dev/core/17 Convert interview task to use Pseudoconstants
colemanw [Fri, 16 Mar 2018 16:35:49 +0000 (12:35 -0400)]
Merge pull request #11797 from hoegrammer/master
CRM-21838 strip html tags from alerts when crm-notification-container div is not present
colemanw [Fri, 16 Mar 2018 16:32:17 +0000 (12:32 -0400)]
Merge pull request #11818 from mukeshcompucorp/fix-template-structure-issues
Fix template in pledge and batch
CiviCRM [Thu, 15 Mar 2018 23:14:45 +0000 (23:14 +0000)]
Set version to 5.1.alpha1
CiviCRM [Thu, 15 Mar 2018 23:06:29 +0000 (23:06 +0000)]
set-version.php - Fix for running on uninitialized codebase
The script assumes that `civicrm-version.php` is around. It will eventually be
committed, and it's available if you ran GenCode, but it's not *necessarily*
around yet.
CiviCRM [Thu, 15 Mar 2018 23:05:08 +0000 (23:05 +0000)]
Downgrade number from 5.0.0 to 5.0.beta1
We're about to branch for RC period. Since we've got the third digit again
(for use in each monthly cycle), let's take advantage of it!
Sean Madsen [Thu, 15 Mar 2018 14:58:33 +0000 (10:58 -0400)]
CRM-21264 - Fix broken regular expression
* Escape dot in token since it will be used in a regex (for good
measure)
* Add `(?![\w-])` to ensure that `td` is not followed by other
characters that would make it a different element.
* Instead of the first `.+?`, use `((?!</td>).)*` which matches zero or
more characters but refuses to consume if it encounters `</td>`
* Escape curly braces (for good measure)
* Instead of the second `.+?`, use `.*?` so that it will match if there
are zero characters. (Note: this change is really the crux of the
issue, as described in CRM-21264).
* Complete then closing `</td>` (for good measure)
Sean Madsen [Thu, 15 Mar 2018 14:45:53 +0000 (10:45 -0400)]
CRM-21264 - Minor refactoring
* Improve docblock
* Get rid of "dontCare" since that argument is optional as of PHP 5.4
http://php.net/manual/en/function.preg-match-all.php#refsect1-function.preg-match-all-changelog
* Move regex to its own line to improve readability
Sean Madsen [Thu, 15 Mar 2018 14:40:16 +0000 (10:40 -0400)]
CRM-21264 - Add test for isHtmlTokenInTableCell
Test currently fails on "simplest TRUE" case added, which demonstrates
the bug described in CRM-21264. Also added other test cases which
current fail as well.
Mukesh Ram [Thu, 15 Mar 2018 14:05:03 +0000 (19:35 +0530)]
Fix template in pledge and batch
Eileen McNaughton [Thu, 15 Mar 2018 11:20:17 +0000 (00:20 +1300)]
Merge pull request #11815 from eileenmcnaughton/notice
Activity Form - Fix recently introduced warning
Eileen McNaughton [Thu, 15 Mar 2018 07:48:20 +0000 (20:48 +1300)]
Merge pull request #11519 from eileenmcnaughton/hook
CRM-21659 - Add hook to CRM_Utils_System::redirect
Tim Otten [Thu, 15 Mar 2018 05:19:49 +0000 (22:19 -0700)]
CRM_Utils_Hook::alterRedirect - Pass URL by reference
PSR-7 specifies that the `UriInterface` is immutable. There are methods
like `withQuery(...)` which generate a *new instance*.
For the hook to support altering the URL, you must be able to replace the
`$url` with a newer instance.