colemanw [Mon, 12 Aug 2019 18:12:33 +0000 (14:12 -0400)]
Merge pull request #15019 from MegaphoneJon/core-1182
core#1182 - revert crm.menubar.js changes
Jon Goldberg [Mon, 12 Aug 2019 16:38:28 +0000 (12:38 -0400)]
core#1182 - revert crm.menubar.js changes
Eileen McNaughton [Mon, 12 Aug 2019 01:58:56 +0000 (13:58 +1200)]
Merge pull request #15013 from eileenmcnaughton/member_import
[Import] Minor cleanup on membership import
eileen [Sun, 11 Aug 2019 21:40:30 +0000 (09:40 +1200)]
[Import] Minor cleanup on membership import
We have a nasty construct (perhaps due to php4 limitations) where the code iterates the _mapperKeys
array & sets a class property specifying the key it occupies. We later use this to check it occupies a key.
This could be much more readable by just checking the array at the right time.
Also I removed an unused private property & a require_once to api.php which is always included
Eileen McNaughton [Sat, 10 Aug 2019 22:10:26 +0000 (10:10 +1200)]
Merge pull request #15010 from eileenmcnaughton/event_inv
Event confirm - (very) minor cleanup + test
eileen [Sat, 10 Aug 2019 03:46:31 +0000 (15:46 +1200)]
Update test to reflect test setup change
eileen [Sat, 10 Aug 2019 02:08:52 +0000 (14:08 +1200)]
Event confirm - minor cleanup + test
I've just started delving into this & have
1) added a test
2) removed an assign that is ALSO done in the sendMail function - ie participantID - this is tested
3) removed a pass-by-reference that I checked was not required
Seamus Lee [Sat, 10 Aug 2019 01:05:40 +0000 (11:05 +1000)]
Merge pull request #15008 from civicrm/5.17
5.17
Seamus Lee [Fri, 9 Aug 2019 23:36:40 +0000 (09:36 +1000)]
Merge pull request #15007 from MegaphoneJon/core-1175-517
core#1175 - fix custom searches
Jon Goldberg [Fri, 9 Aug 2019 18:43:36 +0000 (14:43 -0400)]
core#1175 - fix custom searches
Eileen McNaughton [Fri, 9 Aug 2019 10:18:14 +0000 (22:18 +1200)]
Merge pull request #14995 from mfb/context-fix
Error log improvements: Provide priority level
Eileen McNaughton [Fri, 9 Aug 2019 06:28:38 +0000 (18:28 +1200)]
Merge pull request #14715 from eileenmcnaughton/cache_sub
Rewrite subTypeInfo to use caching mechanism
Eileen McNaughton [Fri, 9 Aug 2019 06:20:46 +0000 (18:20 +1200)]
Merge pull request #14998 from seamuslee001/manual_geo_code_export
Allow Manual Geo Code flag to be exported
Seamus Lee [Thu, 8 Aug 2019 21:59:53 +0000 (07:59 +1000)]
Allow Manual Geo Code flag to be exported
FIx Export tests by altering to include the manual_geo_code field
Update to title case
Eileen McNaughton [Fri, 9 Aug 2019 05:08:57 +0000 (17:08 +1200)]
Merge pull request #14955 from eileenmcnaughton/rel_alok_ref
[REF] Extract chunk of code relating to whether to disabled an inherited relationship
eileen [Wed, 3 Jul 2019 01:20:52 +0000 (13:20 +1200)]
Rewrite subTypeInfo to use caching mechanism
This seems to be getting a lot of cache misses on prod - presumably due to a lack of sub types
so fixing to use 'modern caching';
mark burdett [Fri, 9 Aug 2019 01:20:54 +0000 (18:20 -0700)]
CRM_Core_Error::debug_var() should have a priority arg.
Seamus Lee [Thu, 8 Aug 2019 22:12:07 +0000 (08:12 +1000)]
Merge pull request #14980 from eileenmcnaughton/mem_renew
[clean up][ export] Remove membership_auto_renew from defaultReturn properties
Eileen McNaughton [Thu, 8 Aug 2019 21:36:07 +0000 (09:36 +1200)]
Merge pull request #14997 from civicrm/5.17
5.17 to master
Eileen McNaughton [Thu, 8 Aug 2019 21:35:31 +0000 (09:35 +1200)]
Merge pull request #14996 from mfb/revert-14222
Revert #14222 on RC branch
mark burdett [Thu, 8 Aug 2019 21:28:13 +0000 (14:28 -0700)]
Revert "CRM_Core_Error::debug_var() should have a level arg; CRM_Core_Error methods could use Civi::log() internally; prefix param support for Civi::log()."
Due to regression https://lab.civicrm.org/dev/core/issues/1174
This reverts commit
3ac984a463d71d796096d5c78c4abd2de0d0a27d.
colemanw [Thu, 8 Aug 2019 12:53:51 +0000 (08:53 -0400)]
Merge pull request #14990 from eileenmcnaughton/free
Remove ?last? instances of ->free() dev/core#562
Eileen McNaughton [Thu, 8 Aug 2019 08:04:18 +0000 (20:04 +1200)]
Merge pull request #14927 from seamuslee001/remove_template_field_mosaico
Remove template field if using Mosaico in non shoreditch mode
CiviCRM [Thu, 8 Aug 2019 05:20:07 +0000 (05:20 +0000)]
Set version to 5.18.alpha1
CiviCRM [Thu, 8 Aug 2019 05:13:15 +0000 (05:13 +0000)]
Set version to 5.17.beta1
Tim Otten [Thu, 8 Aug 2019 05:09:34 +0000 (22:09 -0700)]
Merge pull request #14991 from eileenmcnaughton/enotice_regress
Further e-notice regression fix
Seamus Lee [Tue, 30 Jul 2019 21:28:19 +0000 (07:28 +1000)]
Remove template field if using Mosaico in non shoreditch mode
Use double equals instead of single equals
Eileen McNaughton [Thu, 8 Aug 2019 03:22:54 +0000 (15:22 +1200)]
Merge pull request #14222 from mfb/debug-var
Error log improvements: Provide severity level and use Civi::log()
Eileen McNaughton [Thu, 8 Aug 2019 03:15:56 +0000 (15:15 +1200)]
Merge pull request #14985 from herbdool/issue-1170
Issue 1170
Eileen McNaughton [Thu, 8 Aug 2019 03:13:45 +0000 (15:13 +1200)]
Merge pull request #14983 from greenpeace-cee/fix-contact-reference-merge
dev/core#1109 - Fix merge not updating ContactReference fields
eileen [Thu, 8 Aug 2019 03:04:39 +0000 (15:04 +1200)]
And this was the pre-existing enotice
eileen [Thu, 8 Aug 2019 02:56:00 +0000 (14:56 +1200)]
Further e-notice regression fix
eileen [Thu, 8 Aug 2019 01:18:47 +0000 (13:18 +1200)]
Remove ?last? instances of ->free() dev/core#562
These are almost the last places where ->free is to be found. The remaining ones are in the dao
and perhaps out of scope / need more careful investigation
Tim Otten [Thu, 8 Aug 2019 00:59:44 +0000 (17:59 -0700)]
Merge pull request #14978 from eileenmcnaughton/map_field
Fix (unreleased regression) e-notices on import form
Eileen McNaughton [Thu, 8 Aug 2019 00:49:05 +0000 (12:49 +1200)]
Merge pull request #14987 from civicrm/5.16
5.16 to master
Eileen McNaughton [Thu, 8 Aug 2019 00:40:15 +0000 (12:40 +1200)]
Merge pull request #14986 from eileenmcnaughton/luciano
[REF][Import] add formatted parameter to formatInput
Luciano Spiegel [Wed, 7 Aug 2019 16:51:03 +0000 (18:51 +0200)]
[REF][Import] add formatted parameter to formatInput
Eileen McNaughton [Wed, 7 Aug 2019 17:49:54 +0000 (05:49 +1200)]
Merge pull request #14960 from eileenmcnaughton/event_test
dev/drupal#72 Ensure front end profile title is used in event confirmation emails
eileen [Wed, 7 Aug 2019 08:30:16 +0000 (20:30 +1200)]
Remove membership_auto_renew from defaultReturn properties
This field is in the defaultReturnProperties for the BAO_Query object but it's a pseudofield and as demonstrated in this PR
https://github.com/civicrm/civicrm-core/pull/14956
the ability of the [search selector](https://github.com/civicrm/civicrm-core/pull/14956/files#diff-ce8713d2ed34e1061d2b3304ec3ff6bbR69)
to determine this value is unrelated to it's presence in the Query object (which always returns an empty value as we can
see in the [export test](https://github.com/civicrm/civicrm-core/pull/14956/files#diff-4686601201fee8a8402a894c1b7df226R291)
despite contribution_recur_id being calculated (as we see a few lines earlier)
Herb [Wed, 7 Aug 2019 17:40:49 +0000 (13:40 -0400)]
Issue 1170: Fix URL in CRM_Utils_System_Backdrop::getLoginURL
Patrick Figel [Wed, 7 Aug 2019 14:38:59 +0000 (16:38 +0200)]
dev/core#1109 - Fix merge not updating ContactReference fields
This fixes an issue that causes ContactReference custom fields pointing
to a duplicated contact that's being merged to not be updated to the
main (surviving) contact.
eileen [Wed, 7 Aug 2019 07:20:22 +0000 (19:20 +1200)]
Switch to helper function
Eileen McNaughton [Wed, 7 Aug 2019 07:22:58 +0000 (19:22 +1200)]
Merge pull request #14979 from eileenmcnaughton/map_field_zip
[REF] [Import] extract function that sets field metadata
eileen [Sun, 4 Aug 2019 23:04:22 +0000 (11:04 +1200)]
dev/core#224 Ensure front end profile title is used in confirmation emails
eileen [Sun, 4 Aug 2019 23:02:50 +0000 (11:02 +1200)]
Extract loadMessageParams for events
eileen [Sun, 4 Aug 2019 20:04:57 +0000 (08:04 +1200)]
dev/drupal#72 fix display of profiles on events to use front end titles
eileen [Sun, 4 Aug 2019 20:02:21 +0000 (08:02 +1200)]
Preliminary cleanup - use CRM_Core_Exception, fix comments
Seamus Lee [Wed, 7 Aug 2019 06:21:00 +0000 (16:21 +1000)]
Merge pull request #14976 from eileenmcnaughton/import
[REF][Import] very minor cleanup - 3 lines of code to one
Seamus Lee [Wed, 7 Aug 2019 06:11:13 +0000 (16:11 +1000)]
Merge pull request #14956 from eileenmcnaughton/mem_auto
[Test] Add test cover for Member_BAO_Query auto_renew field
eileen [Wed, 7 Aug 2019 05:39:35 +0000 (17:39 +1200)]
[REF] [Import] extract function that sets field metadata
My thinking is that we want to migrate over to a new class (similar to export processor) that does a lot a metadata functions
- perhaps it might be importMetadata. A big part of the reason it's all so crazy appears to be that the functions to
wrangle the metadata are on the first class in the sequence (DataSource) and because they are not shared & do not have a shared
parent they are passed around instead via the form set & get methods. In fact the metadata & array wrangling functions just
need to be available - hmm sounding like a trait - ok next commit....
eileen [Wed, 7 Aug 2019 02:15:44 +0000 (14:15 +1200)]
[REF][Import] very minor cleanup - 3 lines of code to one
eileen [Wed, 7 Aug 2019 03:43:43 +0000 (15:43 +1200)]
Fix (unreleased regression) e-notices on import form
When doing this extraction
https://github.com/civicrm/civicrm-core/commit/
0e3fc0224be2e0db48691ca96cc10dec4ab801db
The function pass-by-reference calls hid the fact that the & needed to be passed in
causing e-notices.
In fact there are still some enotices after this which I'm still investigating but this partially fixes
& is mergeable in itself - the other can be follow up
Eileen McNaughton [Wed, 7 Aug 2019 03:21:30 +0000 (15:21 +1200)]
Merge pull request #14975 from eileenmcnaughton/mapping_field
Add pseudoconstant metadata to mapping_field.location_type_id
eileen [Wed, 7 Aug 2019 03:20:45 +0000 (15:20 +1200)]
Reduce php4 support
Eileen McNaughton [Wed, 7 Aug 2019 03:15:47 +0000 (15:15 +1200)]
Merge pull request #14977 from eileenmcnaughton/map_field
[NFC] code formatting only
eileen [Wed, 7 Aug 2019 02:19:03 +0000 (14:19 +1200)]
[NFC] code formatting only
Eileen McNaughton [Wed, 7 Aug 2019 01:41:41 +0000 (13:41 +1200)]
Merge pull request #14969 from colemanw/abbr
Use metadata for getOptions abbreviation & include currency symbol
Eileen McNaughton [Wed, 7 Aug 2019 01:38:45 +0000 (13:38 +1200)]
Merge pull request #14965 from seamuslee001/ref_use_shared_function
[REF] Update selfService in updateBilling to use shared function
eileen [Wed, 7 Aug 2019 01:26:37 +0000 (13:26 +1200)]
Add pseudoconstant metadata to mapping_field.location_type_id
Eileen McNaughton [Wed, 7 Aug 2019 00:53:15 +0000 (12:53 +1200)]
Merge pull request #14964 from seamuslee001/dev_core_1061
dev/core#1061 Ensure that custom data is not loaded on update subscription form when in self service mode and re-use shared function
Seamus Lee [Mon, 5 Aug 2019 02:39:36 +0000 (12:39 +1000)]
dev/core#1061 Ensure that custom data is not loaded on update subscription form when in self service mode and re-use shared function
Update to call function rather than variable as function does early return if variable aready set as per EIleen's comment
Seamus Lee [Mon, 5 Aug 2019 05:19:34 +0000 (15:19 +1000)]
[REF] Update selfService in updateBilling to use shared function
Minor spelling fix
Update as per Eileen's comment
Eileen McNaughton [Tue, 6 Aug 2019 22:53:34 +0000 (10:53 +1200)]
Merge pull request #14971 from mlutfy/ts-fixes-
20190806
Translation 'ts' usage fixes.
Eileen McNaughton [Tue, 6 Aug 2019 22:53:10 +0000 (10:53 +1200)]
Merge pull request #14974 from civicrm/5.16
5.16.0 to master
Andrew Hunt [Tue, 6 Aug 2019 22:52:06 +0000 (18:52 -0400)]
5.16.0 release notes - late changes (#14973)
* Add release-notes/5.15.1.md
* Add release-notes/5.15.2.md
* Update 5.15.2.md
* 5.15.2 release notes: added missing bug fix
* 5.16.0 release notes: late changes
* 5.16.0 release notes: contributors for late changes
eileen [Fri, 2 Aug 2019 23:53:23 +0000 (11:53 +1200)]
[REF] Extract chunk of code relating to whether to disabled an inherited relationship
Mathieu Lutfy [Tue, 6 Aug 2019 14:40:25 +0000 (10:40 -0400)]
Translation 'ts' usage fixes.
colemanw [Tue, 6 Aug 2019 14:02:58 +0000 (10:02 -0400)]
Merge pull request #14959 from eileenmcnaughton/event_inv
Minor cleanup around invoicing on event code
Coleman Watts [Mon, 5 Aug 2019 14:56:00 +0000 (10:56 -0400)]
Use metadata for getOptions abbreviation & include currency symbol
colemanw [Tue, 6 Aug 2019 13:06:21 +0000 (09:06 -0400)]
Merge pull request #14957 from eileenmcnaughton/event_nfc
[NFC] minor cleanup
Eileen McNaughton [Tue, 6 Aug 2019 09:42:28 +0000 (21:42 +1200)]
Merge pull request #14970 from demeritcowboy/document-activityTypeName-3
[NFC] dev/core#1116 - seek and document where activityTypeName is name and where it's label
DemeritCowboy [Mon, 5 Aug 2019 23:52:05 +0000 (19:52 -0400)]
seek and document activityTypeName
colemanw [Mon, 5 Aug 2019 20:59:22 +0000 (16:59 -0400)]
Merge pull request #14962 from eileenmcnaughton/import_map
[REF] minor code cleanup on import mapping
Eileen McNaughton [Mon, 5 Aug 2019 20:44:13 +0000 (08:44 +1200)]
Merge pull request #14943 from JKingsnorth/patch-12
Fix removeNullContactTokens compatibility with custom tokens
Eileen McNaughton [Mon, 5 Aug 2019 19:42:49 +0000 (07:42 +1200)]
Merge pull request #14844 from chamilwijesooriya/issue-1135
dev/core#1135 Participants having multiple roles affects maximum event registration count
JKingsnorth [Mon, 5 Aug 2019 11:30:08 +0000 (12:30 +0100)]
Add test for custom token compatibility
Seamus Lee [Mon, 5 Aug 2019 06:59:24 +0000 (16:59 +1000)]
Merge pull request #14951 from eileenmcnaughton/rel_dis
dev/core#470: Current employer disapears when disabling expired relationships
Eileen McNaughton [Mon, 5 Aug 2019 03:57:20 +0000 (15:57 +1200)]
Merge pull request #14963 from seamuslee001/ref_move_self_serivice
[REF] Move Self service handlng to shared function to allow for use i…
Eileen McNaughton [Mon, 5 Aug 2019 03:57:02 +0000 (15:57 +1200)]
Merge pull request #14961 from eileenmcnaughton/import
[REF] simple extraction of function to check required fields are present
Seamus Lee [Mon, 5 Aug 2019 01:38:45 +0000 (11:38 +1000)]
[REF] Move Self service handlng to shared function to allow for use in other contribution recur functions
eileen [Mon, 5 Aug 2019 00:25:10 +0000 (12:25 +1200)]
[REF] minor code cleanup on import mapping
eileen [Sun, 4 Aug 2019 23:44:05 +0000 (11:44 +1200)]
[REF] simple extraction of function to check required fields are present
eileen [Mon, 29 Jul 2019 04:25:02 +0000 (16:25 +1200)]
Minor cleanup around invoicing
Another minor cleanup on invoicing vars
eileen [Sat, 3 Aug 2019 01:46:15 +0000 (13:46 +1200)]
Add test cover for Member_BAO_Query auto_renew field
This adds test coverage to demonstrate that the auto_renew field in the Member_BAO_Query::defaultReturnProperties
achieves nothing.
auto_renew is NOT returned for the export - regardless of it's presence. It IS returned for getRows
but tha is calculated there now in the query object.
Once this is merged I will put up the commit to remove auto_renew from defaultReturnProperties
Monish Deb [Sat, 3 Aug 2019 03:21:28 +0000 (08:51 +0530)]
Merge pull request #14921 from eileenmcnaughton/url_search2
Core/dev#692 support for some additional url params
eileen [Mon, 29 Jul 2019 04:20:26 +0000 (16:20 +1200)]
[NFC] minor cleanup
Remove duplication, unused param
Monish Deb [Fri, 2 Aug 2019 02:43:53 +0000 (14:43 +1200)]
dev/core#470: Current employer disapears when disabling expired relationships
Overview
----------------------------------------
Steps to replicate:
1. Create a current relationship (set empty end-date) on individual A as organization A and mark as current employer
2. Create a past relationship on individual A as organization B without marking as current employer
3. Run Disable expired relationships cron job
Before
----------------------------------------
Result: Clear the employer field of Contact A
After
----------------------------------------
Result: Does not clear the employer field of Contact A
Technical Details
----------------------------------------
This PR replaces https://github.com/civicrm/civicrm-core/pull/13334
Eileen McNaughton [Sat, 3 Aug 2019 01:18:45 +0000 (13:18 +1200)]
Merge pull request #14954 from eileenmcnaughton/rel_alok
Add serialization metadata for MembershipType api
eileen [Fri, 2 Aug 2019 23:03:32 +0000 (11:03 +1200)]
Add serialization metadata for MembershipType api
Seamus Lee [Fri, 2 Aug 2019 23:09:22 +0000 (09:09 +1000)]
Merge pull request #14945 from JKingsnorth/is-public-fixes
Add missing is_public flags to public paths
Eileen McNaughton [Fri, 2 Aug 2019 22:11:31 +0000 (10:11 +1200)]
Merge pull request #14953 from eileenmcnaughton/export_test
[TEST] [REF] [Export] Convert a couple more tests
eileen [Tue, 30 Jul 2019 08:02:27 +0000 (20:02 +1200)]
Add support for email & contact_tags in url
eileen [Sun, 28 Jul 2019 15:07:06 +0000 (03:07 +1200)]
Test conversion
eileen [Sun, 28 Jul 2019 14:59:12 +0000 (02:59 +1200)]
Convert test
Eileen McNaughton [Fri, 2 Aug 2019 20:30:05 +0000 (08:30 +1200)]
Merge pull request #14950 from eileenmcnaughton/rel_up
Move the code to add employer from relationship backoffice form to BAO
colemanw [Fri, 2 Aug 2019 16:56:35 +0000 (12:56 -0400)]
Merge pull request #14937 from eileenmcnaughton/export_cust_test
dev/core#439 [Export] [Ref] Convert custom data export test to use newer function.
colemanw [Fri, 2 Aug 2019 16:56:07 +0000 (12:56 -0400)]
Merge pull request #14933 from eileenmcnaughton/export_test
[REF] [Test] [Export] Convert some more tests to use the newer function
colemanw [Fri, 2 Aug 2019 12:56:58 +0000 (08:56 -0400)]
Merge pull request #14840 from MegaphoneJon/core-1130
core#1130 - allow search views to show contact subtype
Eileen McNaughton [Fri, 2 Aug 2019 08:03:39 +0000 (20:03 +1200)]
Merge pull request #14952 from demeritcowboy/document-activityTypeName
[NFC] dev/core#1116 - document where activityTypeName is name and where it's label
Eileen McNaughton [Fri, 2 Aug 2019 07:55:17 +0000 (19:55 +1200)]
Merge pull request #14946 from eileenmcnaughton/ev_test
Add test for failed payment