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 [Sun, 4 Aug 2019 23:44:05 +0000 (11:44 +1200)]
[REF] simple extraction of function to check required fields are present
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
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
DemeritCowboy [Fri, 2 Aug 2019 04:24:36 +0000 (00:24 -0400)]
seek and document activityTypeName
Monish Deb [Fri, 2 Aug 2019 01:59:12 +0000 (13:59 +1200)]
Move the code to add or clear employer from relationship backoffice form to BAO
This is a reduced version of https://github.com/civicrm/civicrm-core/pull/13331 which stalled on the QA over handling of
removed employers - that code is simply excluded. I tested adding & removing & editing relationships with the
current_employer checkbox ticked or unticked & this seems to work fine
Eileen McNaughton [Fri, 2 Aug 2019 03:35:08 +0000 (15:35 +1200)]
Merge pull request #14949 from eileenmcnaughton/rel_test
[NFC] Formatting in BAO_Relationship class
eileen [Thu, 1 Aug 2019 22:29:49 +0000 (10:29 +1200)]
Add test for failed payment
https://github.com/civicrm/civicrm-core/pull/14930
Seamus Lee [Fri, 2 Aug 2019 03:23:31 +0000 (13:23 +1000)]
Merge pull request #14947 from seamuslee001/lab_core_1162
dev/core#1162 [TEST] [Mailing] add in unit test checking that no bulk email flag is re…
eileen [Fri, 2 Aug 2019 01:36:03 +0000 (13:36 +1200)]
[NFC] Formatting in BAO_Relationship class
Eileen McNaughton [Fri, 2 Aug 2019 01:20:53 +0000 (13:20 +1200)]
Merge pull request #14948 from civicrm/5.16
5.16 to master
Eileen McNaughton [Fri, 2 Aug 2019 01:20:30 +0000 (13:20 +1200)]
Merge pull request #14944 from colemanw/color
Better support for hookable menubar colors
Seamus Lee [Fri, 2 Aug 2019 01:17:39 +0000 (11:17 +1000)]
dev/core#1162 add in unit test checking that no bulk email flag is respected when building recipients
Eileen McNaughton [Fri, 2 Aug 2019 01:11:37 +0000 (13:11 +1200)]
Merge pull request #14252 from jitendrapurohit/core-961
dev/core#961 - Contribution page including 2 email fields does not re…
Eileen McNaughton [Thu, 1 Aug 2019 22:29:00 +0000 (10:29 +1200)]
Merge pull request #14930 from seamuslee001/backoffice_participant_payment_processor_error
Catch Payment Processor Exception if thrown when registering via bac…
Eileen McNaughton [Thu, 1 Aug 2019 21:19:55 +0000 (09:19 +1200)]
Merge pull request #14940 from eileenmcnaughton/mem_import
Fix mishandling of renamed membership status labels on membership import
JKingsnorth [Thu, 1 Aug 2019 15:41:33 +0000 (16:41 +0100)]
Add missing is_public flags to public paths
Coleman Watts [Thu, 1 Aug 2019 14:53:32 +0000 (10:53 -0400)]
Improve color utils
Coleman Watts [Thu, 1 Aug 2019 14:52:55 +0000 (10:52 -0400)]
Better support for hookable menubar colors
John Kingsnorth [Thu, 1 Aug 2019 14:11:46 +0000 (15:11 +0100)]
NFC Style fixes
John Kingsnorth [Thu, 1 Aug 2019 13:39:03 +0000 (14:39 +0100)]
Fix removeNullContactTokens compatibility with custom tokens
Eileen McNaughton [Thu, 1 Aug 2019 11:25:34 +0000 (23:25 +1200)]
Merge pull request #14941 from seamuslee001/allow_non_primary_join_reports
[REPORT] Allow extensions to join address, email and phone tables without limi…
Seamus Lee [Thu, 1 Aug 2019 05:49:07 +0000 (15:49 +1000)]
Allow extensions to join address, email and phone tables without limiting to primary fields
Seamus Lee [Thu, 1 Aug 2019 07:37:57 +0000 (17:37 +1000)]
Merge pull request #14942 from seamuslee001/fix_location_type_handling
[Report] Fix handling of location type in Reports
Seamus Lee [Thu, 1 Aug 2019 06:03:03 +0000 (16:03 +1000)]
Fix handling of location type in Reports
Eileen McNaughton [Thu, 1 Aug 2019 04:04:39 +0000 (16:04 +1200)]
Merge pull request #14734 from yashodha/dev-1104
(dev/core#1104) make admin panels hookable
Eileen McNaughton [Thu, 1 Aug 2019 03:48:57 +0000 (15:48 +1200)]
Merge pull request #14320 from sushantpaste/reporthook
dev/core#987 Reporthook
eileen [Wed, 31 Jul 2019 22:04:07 +0000 (10:04 +1200)]
Fix mishandling of renamed membership status labels on membership import
Seamus Lee [Tue, 30 Jul 2019 22:02:39 +0000 (08:02 +1000)]
Catch Payment Processor Exception if thrown when registering via back office participant registration
Make changes as per Matt's and Eileen's comments
Monish Deb [Wed, 31 Jul 2019 13:33:37 +0000 (19:03 +0530)]
Merge pull request #14939 from eileenmcnaughton/cont
Extend contribute search url parsing to advanced search
eileen [Wed, 31 Jul 2019 09:44:57 +0000 (21:44 +1200)]
Extend contribute search url parsing to advanced search
eileen [Sun, 28 Jul 2019 14:52:56 +0000 (02:52 +1200)]
Convert custom data export test to use newer function.
Fix handling for custom country fields to be where it is actually hit now
eileen [Sun, 28 Jul 2019 14:01:39 +0000 (02:01 +1200)]
Convert some more tests to use the newer function
In testing this I checked and all the exports export an integer in the campaign_id field. Contribution
ALSO exports campaign_title field - which is unaffected by the removed lines (& for contribution both are tested)
I see the reference to https://issues.civicrm.org/jira/browse/CRM-14398 is for contribution which is covered by the
unit test
Seamus Lee [Wed, 31 Jul 2019 04:08:59 +0000 (14:08 +1000)]
Merge pull request #14934 from civicrm/5.16
5.16
Seamus Lee [Wed, 31 Jul 2019 02:21:22 +0000 (12:21 +1000)]
Merge pull request #14932 from eileenmcnaughton/export_fn_move
[REF] [Export] Move writeToTable fn to exportProcessor
Seamus Lee [Wed, 31 Jul 2019 02:20:43 +0000 (12:20 +1000)]
Merge pull request #14931 from eileenmcnaughton/mysql516
mysqli_get_client_info() does not have a parameter - fixes https://lab.civicrm.org/dev/core/issues/1136
Seamus Lee [Wed, 31 Jul 2019 00:53:21 +0000 (10:53 +1000)]
Merge pull request #14917 from eileenmcnaughton/zero_ex
[REF][Event] Extract calculation of 'zero-ness' in form rule
Seamus Lee [Tue, 30 Jul 2019 23:09:32 +0000 (09:09 +1000)]
Merge pull request #14881 from eileenmcnaughton/cont_payment_method_import
dev/financial#36 [IMPORT] fix & test mishandling on payment_instrument labels
eileen [Sat, 20 Jul 2019 02:43:07 +0000 (14:43 +1200)]
Move write to table to exportProcessor
mark burdett [Tue, 23 Jul 2019 19:38:55 +0000 (12:38 -0700)]
mysqli_get_client_info() does not have a parameter - fixes https://lab.civicrm.org/dev/core/issues/1136
colemanw [Tue, 30 Jul 2019 22:14:37 +0000 (18:14 -0400)]
Merge pull request #14877 from eileenmcnaughton/hist_rep
dev/core#1141 remove unused deprecated sql_calc_rows
colemanw [Tue, 30 Jul 2019 22:11:36 +0000 (18:11 -0400)]
Merge pull request #14914 from eileenmcnaughton/export_test
[Export] Convert testGender Export to new test format.
colemanw [Tue, 30 Jul 2019 22:03:49 +0000 (18:03 -0400)]
Merge pull request #14913 from eileenmcnaughton/export
[REF] [Export] Stop passing header rows around
Eileen McNaughton [Tue, 30 Jul 2019 20:09:05 +0000 (08:09 +1200)]
Merge pull request #14925 from civicrm/5.16
5.16
Eileen McNaughton [Tue, 30 Jul 2019 20:08:46 +0000 (08:08 +1200)]
Merge pull request #14924 from colemanw/menubar5.16
Backport menubar fixes to 5.16
Eileen McNaughton [Tue, 30 Jul 2019 20:05:20 +0000 (08:05 +1200)]
Merge pull request #14926 from eileenmcnaughton/conf
dev/core#1084 Contribution confirmation page: Translation won't work
Detlev [Fri, 28 Jun 2019 09:35:31 +0000 (09:35 +0000)]
Update Confirm.tpl
Eileen McNaughton [Tue, 30 Jul 2019 19:54:47 +0000 (07:54 +1200)]
Merge pull request #14920 from eileenmcnaughton/url_search
Fix accidental move of sort_name field on advanced search
Eileen McNaughton [Tue, 30 Jul 2019 19:54:02 +0000 (07:54 +1200)]
Merge pull request #14904 from eileenmcnaughton/activ_516
dev/core#1042 fix duplicate activities on custom data block
Coleman Watts [Thu, 18 Jul 2019 17:29:14 +0000 (13:29 -0400)]
Menubar - get rid of hardcoded pixel values in crm.menubar.js
Coleman Watts [Thu, 18 Jul 2019 12:41:48 +0000 (08:41 -0400)]
Menubar - Use class instead of id for flexibility
eileen [Tue, 30 Jul 2019 07:13:08 +0000 (19:13 +1200)]
Fix accidental move of sort_name field on advanced search
The code that made this field url-enterable ALSO re-ordered them by accident - this fixes
Eileen McNaughton [Tue, 30 Jul 2019 08:10:49 +0000 (20:10 +1200)]
Merge pull request #14922 from civicrm/5.16
5.16 to master
Monish Deb [Tue, 30 Jul 2019 08:05:19 +0000 (13:35 +0530)]
Merge pull request #14918 from totten/5.16-prevnext
Revert "[REF] use generic loadStandardSearchOptionsFromUrl". Fix search selections.
Tim Otten [Tue, 30 Jul 2019 06:14:04 +0000 (23:14 -0700)]
Revert "[REF] use generic loadStandardSearchOptionsFromUrl". Fix search selections.
Overview
-------------------
This reverts commit
a5ca2ad8e16b145edf3a5604fab923d1e2386b37
and fixes a bug in management of the prev/next cache. The
bug is visible when following this procedure:
1. In browser, use "Quick search" to search for text "am"
2. In browser, select checkboxes next to two items
3. In MySQL CLI, run `select * from civicrm_prevnext_cache where is_selected =1;`
4. In browser, continue to next page. Observe that there are no more selection.
5. In MySQL CLI, re-run SQL query. Observe that the selections have disappeared.
Before
-------------------
Proceeding to another page of search results causes loss of selections
After
-------------------
Selections are preserved
eileen [Mon, 29 Jul 2019 03:30:15 +0000 (15:30 +1200)]
[REF] Extract calculation of 'zero-ness' in form rule
Eileen McNaughton [Tue, 30 Jul 2019 05:09:27 +0000 (17:09 +1200)]
Merge pull request #14911 from seamuslee001/ref_prev_next_cleanup_service
[REF] Add in cleanup function to prevnext service and utilise in clea…
Seamus Lee [Tue, 30 Jul 2019 05:00:12 +0000 (15:00 +1000)]
Merge pull request #14915 from eileenmcnaughton/ex_test
[REF] [Export] [Test] Update 2 more tests to use new helper
eileen [Sun, 28 Jul 2019 15:09:12 +0000 (03:09 +1200)]
Test conversion
eileen [Sun, 28 Jul 2019 12:53:17 +0000 (00:53 +1200)]
Convert testGender Export to new test format.
This includes a tangental cleanup & fix whereby the test covers a label longer than 16 char & the code for
prefix_id & suffix_id is consolidated by handling the special casing in the metadata declaration
rather than in multiple places.
Seamus Lee [Mon, 29 Jul 2019 21:55:34 +0000 (07:55 +1000)]
[REF] Add in cleanup function to prevnext service and utilise in cleanup cache situation
Set TTL on prevNextSQL Cache to be 2 days so cleanup code works as previously
Switch to using a class constant for the number of cache days
eileen [Sat, 20 Jul 2019 02:24:18 +0000 (14:24 +1200)]
Stop passing header rows around
Seamus Lee [Tue, 30 Jul 2019 00:34:06 +0000 (10:34 +1000)]
Merge pull request #14912 from eileenmcnaughton/export
[REF] [Export] Remove now redundant param
eileen [Sat, 20 Jul 2019 00:45:18 +0000 (12:45 +1200)]
Remove now redundant param
Seamus Lee [Mon, 29 Jul 2019 21:45:13 +0000 (07:45 +1000)]
Merge pull request #14784 from kirk-circle/1050-delete-repeating-activities
dev/core#1050 - Delete repeat activities that are selected for deletion
Seamus Lee [Mon, 29 Jul 2019 21:44:03 +0000 (07:44 +1000)]
Merge pull request #14907 from eileenmcnaughton/force_pay
[REF] remove never-set, mispelt parameter
Eileen McNaughton [Mon, 29 Jul 2019 20:09:56 +0000 (08:09 +1200)]
Merge pull request #14887 from mattwire/membership_deprecateids
Further deprecate use of $ids array in membership functions
Eileen McNaughton [Mon, 29 Jul 2019 20:03:37 +0000 (08:03 +1200)]
Merge pull request #14747 from mattwire/contributionapi_getsoftperformance
Improve performance on getSoftContribution details - only run one query instead of one per contribution
Eileen McNaughton [Mon, 29 Jul 2019 19:40:00 +0000 (07:40 +1200)]
Merge pull request #14909 from eileenmcnaughton/net_amount
Add unit test for net_amount when fee_amount is set
colemanw [Mon, 29 Jul 2019 14:29:18 +0000 (10:29 -0400)]
Merge pull request #14898 from eileenmcnaughton/export_rel
[REF] [Export] Move fetch Relationship details to processor
colemanw [Mon, 29 Jul 2019 13:20:39 +0000 (09:20 -0400)]
Merge pull request #14910 from JKingsnorth/core-1153
Remove unused standalone-mode code
colemanw [Mon, 29 Jul 2019 13:18:42 +0000 (09:18 -0400)]
Merge pull request #14906 from eileenmcnaughton/event
[NFC] comment fixes, function mis-casing fix
Kirk Jackson [Mon, 29 Jul 2019 10:59:32 +0000 (11:59 +0100)]
Test the activity form's deletion of single and repeating activities
Kirk Jackson [Mon, 29 Jul 2019 10:58:03 +0000 (11:58 +0100)]
Delete repeat activities that are selected for deletion
eileen [Mon, 29 Jul 2019 07:00:39 +0000 (19:00 +1200)]
Add unit test for net_amount when fee_amount is set
This just improves testing & ensures fee_amount is used to set net amount.
I got some odd results on financial_trxn & financial_item but just adding checks for
what I found atm
Matthew Wire (MJW Consulting) [Fri, 26 Jul 2019 15:32:12 +0000 (16:32 +0100)]
Remove more use of ids array on CRM_Member_BAO_Membership::create
JKingsnorth [Mon, 29 Jul 2019 08:13:47 +0000 (09:13 +0100)]
dev/core#1153 Remove unused standalone-mode code
Eileen McNaughton [Mon, 29 Jul 2019 05:03:40 +0000 (17:03 +1200)]
Merge pull request #14889 from demeritcowboy/logging-report-clarification
dev/core#1149 - Make it clearer which record the logging report is displaying
Seamus Lee [Mon, 29 Jul 2019 05:01:53 +0000 (15:01 +1000)]
Merge pull request #14902 from eileenmcnaughton/mem
Fix membership end date on confirming a pending contribution
Seamus Lee [Mon, 29 Jul 2019 05:01:06 +0000 (15:01 +1000)]
Merge pull request #14908 from seamuslee001/master
5.16
Seamus Lee [Mon, 29 Jul 2019 04:55:05 +0000 (14:55 +1000)]
Merge in 5.16