Seamus Lee [Wed, 9 Oct 2019 10:30:18 +0000 (12:30 +0200)]
Merge pull request #15448 from artfulrobot/replace-openflash-charts
Replace openflash charts with charts that work
Seamus Lee [Wed, 9 Oct 2019 10:13:58 +0000 (12:13 +0200)]
Merge pull request #15460 from eileenmcnaughton/event_transact
[REF] Remove transaction as part of minor code cleanup
Eileen McNaughton [Wed, 9 Oct 2019 09:18:20 +0000 (11:18 +0200)]
Merge pull request #15459 from eileenmcnaughton/event_clean
[ref] Simplify function signature as parameter is not used
Rich Lott / Artful Robot [Wed, 9 Oct 2019 08:31:36 +0000 (10:31 +0200)]
Tidy up charts code, including avoiding js error on tabular data view
eileen [Wed, 9 Oct 2019 08:28:48 +0000 (10:28 +0200)]
[REF] Remove transaction.
@mattwire proposed moving this in
https://github.com/civicrm/civicrm-core/pull/15446/commits/
8f76cfacf156cfbd11e280b9a86926e0a5082c27
However, I believe removing it is the correct action. The usefullness of transactions is to maintain integrity
by rolling back the creation of a bunch of related entities together if one fails.
However in this case it's not rolling back the contribution or participant record or non discount line items so
if it worked (which I doubt) it would reduce rather than increase db integrity
Matthew Wire (MJW Consulting) [Tue, 8 Oct 2019 08:24:52 +0000 (10:24 +0200)]
Simplify function signature as parameter is not used
Eileen McNaughton [Tue, 8 Oct 2019 17:21:15 +0000 (19:21 +0200)]
Merge pull request #15444 from civicrm/5.19
5.19
Rich Lott / Artful Robot [Mon, 7 Oct 2019 20:25:00 +0000 (21:25 +0100)]
WIP checkin
WIP: bar chart sort of working now
Pie and Bar charts working, with download in SVG and PNG links
oops remove accidental inclusion
remove accidentally included crap
remove 3d barchart as unnecessary (and unimplemented)
Seamus Lee [Tue, 8 Oct 2019 15:55:26 +0000 (17:55 +0200)]
Merge pull request #15321 from yashodha/dev_1065
(dev/core#1065) Pledge in Edit mode needs to be shown consistently
Seamus Lee [Tue, 8 Oct 2019 15:50:11 +0000 (17:50 +0200)]
Merge pull request #15443 from eileenmcnaughton/ex_merge
dev/core#1302 fix regression on exported when merging addresses with specified fields
Eileen McNaughton [Tue, 8 Oct 2019 15:34:10 +0000 (17:34 +0200)]
Merge pull request #15433 from aydun/add_contribution_is_template
dev/financial#72 Add is_template field to contribution entity
eileen [Tue, 8 Oct 2019 14:18:23 +0000 (16:18 +0200)]
dev/core#1302 fix regression on merge export
Seamus Lee [Tue, 8 Oct 2019 13:03:59 +0000 (00:03 +1100)]
Fix example
Seamus Lee [Tue, 8 Oct 2019 12:31:56 +0000 (14:31 +0200)]
Merge pull request #15447 from seamuslee001/dev_core_1269
dev/core#1269 Add in fix for undefined index bao in parsePseudoConst…
Matthew Wire [Tue, 8 Oct 2019 10:22:48 +0000 (12:22 +0200)]
Merge pull request #14891 from eileenmcnaughton/saved_search
[Code-quality] remove references to where_tables, where_clause
Seamus Lee [Tue, 8 Oct 2019 10:20:59 +0000 (12:20 +0200)]
Merge pull request #15439 from eileenmcnaughton/ex_bug
dev/core#1293 Fix regression on export filtering for postal address only
Seamus Lee [Tue, 8 Oct 2019 10:04:10 +0000 (21:04 +1100)]
dev/core#1269 Add in fix for underfined index bao in parsePseudoConstantField for Import Parser
Aidan Saunders [Mon, 7 Oct 2019 13:27:53 +0000 (14:27 +0100)]
Add is_template field to contribution entity
Update tests and examples
Seamus Lee [Tue, 8 Oct 2019 09:10:47 +0000 (11:10 +0200)]
Merge pull request #15440 from eileenmcnaughton/ex_zero
dev/core#1293 Still output csv file on export, even if no rows are in it
Seamus Lee [Tue, 8 Oct 2019 08:25:32 +0000 (10:25 +0200)]
Merge pull request #15438 from demeritcowboy/emailprocessor-still-hungry-alt
dev/core#1270 - fix email processor dropping attachments - ALTERNATE
Seamus Lee [Tue, 8 Oct 2019 08:01:54 +0000 (10:01 +0200)]
Merge pull request #15281 from mattwire/formatpaymentparams_useprepare
REF Use the new prepareParamsForPaymentProcessor function in more places
eileen [Tue, 8 Oct 2019 06:21:21 +0000 (08:21 +0200)]
dev/core#1293 Fix regression on export filtering for postal address only
eileen [Tue, 8 Oct 2019 07:33:26 +0000 (09:33 +0200)]
Still output csv file, even if no rows are in it
Seamus Lee [Tue, 8 Oct 2019 06:51:49 +0000 (08:51 +0200)]
Merge pull request #15425 from eileenmcnaughton/loc_clean
[NFC] minor simplification
Seamus Lee [Tue, 8 Oct 2019 06:50:00 +0000 (08:50 +0200)]
Merge pull request #15418 from seamuslee001/frontend_contribution_page_title
Add in frontend_title field for Contribution Pages to allow site mana…
DemeritCowboy [Tue, 8 Oct 2019 02:33:55 +0000 (22:33 -0400)]
fix email processor dropping attachments
eileen [Mon, 7 Oct 2019 15:50:12 +0000 (17:50 +0200)]
[NFC] minor simplification
This just changes how return vars are handled to make it clearer that ONLY contact::Create
cares about location_block::create return values
Eileen McNaughton [Mon, 7 Oct 2019 23:02:25 +0000 (01:02 +0200)]
Merge pull request #15434 from civicrm/5.19
5.19 to master
Eileen McNaughton [Mon, 7 Oct 2019 22:55:50 +0000 (00:55 +0200)]
Merge pull request #15428 from greenpeace-cee/fix-status-check
Fix status check not rendering before 5.19 migrations
Seamus Lee [Mon, 7 Oct 2019 21:09:27 +0000 (23:09 +0200)]
Merge pull request #15411 from systopia/dev_l10nx
Allow custom ts functions in extensions; defer custom ts calls until booted
Seamus Lee [Mon, 7 Oct 2019 19:47:22 +0000 (21:47 +0200)]
Merge pull request #15430 from civicrm/5.19
5.19
Seamus Lee [Mon, 7 Oct 2019 17:46:30 +0000 (19:46 +0200)]
Merge pull request #15412 from demeritcowboy/fly-backwards
Minor a_b/b_a mixup on case type edit screen
Seamus Lee [Mon, 7 Oct 2019 17:42:13 +0000 (19:42 +0200)]
Merge pull request #15420 from eileenmcnaughton/live_notice
dev/core#1281 fix e-notice on isLiveMode
Seamus Lee [Mon, 7 Oct 2019 17:19:16 +0000 (19:19 +0200)]
Merge pull request #15359 from fkohrt/master
Improve item order inside Online Contributions section of configuration checklist; see lab issue dev/core#1278
Patrick Figel [Mon, 7 Oct 2019 17:05:59 +0000 (19:05 +0200)]
Fix status check not rendering before 5.19 migrations
This fixes an issue where the status check page does not render when
migrations to 5.19 are pending because the is_active column hasn't been
added yet.
The rationale for this change is to avoid scenarios where users forget
to run upgrades because there's no status check warning.
Seamus Lee [Mon, 7 Oct 2019 16:49:39 +0000 (18:49 +0200)]
Merge pull request #15424 from eileenmcnaughton/email_form
[NFC] code formatting
Eileen McNaughton [Mon, 7 Oct 2019 16:27:36 +0000 (18:27 +0200)]
Merge pull request #15423 from greenpeace-cee/fix-is-required-address-field
Fix E_NOTICE for is_required in address form
Seamus Lee [Mon, 7 Oct 2019 12:05:48 +0000 (23:05 +1100)]
Add in frontend_title field for Contribution Pages to allow site managers to specify a title for a page different to that for use from the backend
eileen [Mon, 7 Oct 2019 15:12:23 +0000 (17:12 +0200)]
[NFC] code formatting
Eileen McNaughton [Mon, 7 Oct 2019 15:09:06 +0000 (17:09 +0200)]
Merge pull request #15419 from eileenmcnaughton/event_filter
dev/financial#72 Make is_template=0 the default for api get requests.
CiviCRM [Mon, 7 Oct 2019 15:07:03 +0000 (15:07 +0000)]
Set version to 5.20.alpha1
CiviCRM [Mon, 7 Oct 2019 15:01:46 +0000 (15:01 +0000)]
Set version to 5.19.beta1
Patrick Figel [Mon, 7 Oct 2019 14:48:51 +0000 (16:48 +0200)]
Fix E_NOTICE for is_required in address form
This fixes an E_NOTICE that's triggered for optional address custom
fields in CRM_Contact_Form_Edit_Address.
eileen [Mon, 7 Oct 2019 13:49:28 +0000 (15:49 +0200)]
dev/core#1281 fix e-notice on isLiveMode
Looks like a regression from https://github.com/civicrm/civicrm-core/commit/
752cee47213094c29b8e6ae5d0b20f0800520d80
which hit in 5.15 - seems good to merge to rc / about to cut to rc
eileen [Mon, 7 Oct 2019 13:09:50 +0000 (15:09 +0200)]
dev/financial#72 Make is_template=0 the default for api get requests.
We are planning on adding is_template to the civicrm_contribution table - following the precedent from event.
By default it is NOT desirable to get template entities returned in a get request - this fixes that at the generic
apiv4 level and means that it will be a default filter when present
Matthew Wire [Mon, 7 Oct 2019 12:43:02 +0000 (14:43 +0200)]
Merge pull request #15417 from eileenmcnaughton/matt
Add trxn_id as a parameter on Payment.get
Seamus Lee [Mon, 7 Oct 2019 11:44:02 +0000 (13:44 +0200)]
Merge pull request #15414 from eileenmcnaughton/fix_log_text
dev/core#1283 fix inability to export more than 255 chars
Seamus Lee [Mon, 7 Oct 2019 11:43:32 +0000 (13:43 +0200)]
Merge pull request #15416 from civicrm/eileenmcnaughton-patch-1
Update fix - should not be localisable
eileen [Mon, 7 Oct 2019 11:22:42 +0000 (13:22 +0200)]
Accept trxn_id to Payment.get
Alternative to #15166 (incorporates #15229 )
Jitendra Purohit [Fri, 6 Sep 2019 12:09:28 +0000 (17:39 +0530)]
Unit test for #15166 fix
Matthew Wire [Mon, 7 Oct 2019 11:00:55 +0000 (13:00 +0200)]
Merge pull request #15381 from eileenmcnaughton/w_test
Add test for uF group one bug
Eileen McNaughton [Mon, 7 Oct 2019 10:54:05 +0000 (12:54 +0200)]
Update fix - should not be localisable
eileen [Mon, 7 Oct 2019 08:34:21 +0000 (10:34 +0200)]
dev/core#1283 fix inability to export more than 255 chars
B. Endres [Mon, 7 Oct 2019 10:48:22 +0000 (12:48 +0200)]
don't prevent I18n init, @totten says it's not too costly...
B. Endres [Mon, 7 Oct 2019 10:07:18 +0000 (12:07 +0200)]
fixed style error
Seamus Lee [Mon, 7 Oct 2019 10:01:59 +0000 (12:01 +0200)]
Merge pull request #15409 from eileenmcnaughton/status
dev/core#1295 Add is_active field to civicrm_status_preference
B. Endres [Mon, 7 Oct 2019 09:28:58 +0000 (11:28 +0200)]
run strings through ts(), but skip actual translation
Seamus Lee [Mon, 7 Oct 2019 08:44:05 +0000 (10:44 +0200)]
Merge pull request #15413 from eileenmcnaughton/default_sub_type
[REF] don't handle non-array, pass by reference
eileen [Sun, 6 Oct 2019 18:13:54 +0000 (20:13 +0200)]
Heed is_active value if set to zero
Note this is done BEFORE doing checks in case it is for performance reasons
eileen [Thu, 3 Oct 2019 07:26:16 +0000 (09:26 +0200)]
Add test for uF group one bug
eileen [Mon, 7 Oct 2019 04:57:29 +0000 (06:57 +0200)]
[REF] don't handle non-array, pass by reference
This is only called from one place & it is definitely coming in as an array & using the return values.
DemeritCowboy [Mon, 7 Oct 2019 03:35:01 +0000 (23:35 -0400)]
minor a_b/b_a mixup
Tim Otten [Sun, 6 Oct 2019 23:48:13 +0000 (00:48 +0100)]
Merge pull request #15352 from colemanw/extCompat
Improve obsolete extension management
B. Endres [Sun, 6 Oct 2019 21:46:35 +0000 (23:46 +0200)]
implemented @totten's approach to fix custom ts functions in extensions
Seamus Lee [Sun, 6 Oct 2019 18:59:34 +0000 (20:59 +0200)]
Merge pull request #15404 from seamuslee001/dev_core_861
dev/core#861 Ensure that when processing mailings that no emails are …
Seamus Lee [Sun, 6 Oct 2019 18:59:08 +0000 (20:59 +0200)]
Merge pull request #15384 from mattwire/membership_updaterecur
Remove call to updateRecurMembership which is handled by Membership::create BAO
Seamus Lee [Sun, 6 Oct 2019 18:58:17 +0000 (20:58 +0200)]
Merge pull request #15406 from mattwire/morecontributionstatuslabel
Fix checking of isSubscriptionCancelled when label is changed
Matthew Wire [Sun, 6 Oct 2019 18:20:22 +0000 (20:20 +0200)]
Merge pull request #15405 from MikeyMJCO/nomoreyahoo
Remove legacy Yahoo references from the Mapping/Geocoding settings/code.
Matthew Wire (MJW Consulting) [Sun, 6 Oct 2019 17:22:20 +0000 (19:22 +0200)]
Fix check for isSubscriptionCancelled in contribute
Matthew Wire (MJW Consulting) [Sun, 6 Oct 2019 17:21:41 +0000 (19:21 +0200)]
Explicitly retrieve label for contributionStatus (no change in behaviour)
eileen [Sun, 6 Oct 2019 16:21:52 +0000 (18:21 +0200)]
Add is_active to status pref
Matthew Wire [Sun, 6 Oct 2019 17:01:23 +0000 (19:01 +0200)]
Merge pull request #15403 from smaen123/patch-1
Fix height of select2 box (appears squished)
Matthew Wire (MJW Consulting) [Thu, 3 Oct 2019 10:23:52 +0000 (11:23 +0100)]
Remove call to updateRecurMembership which is handled by Membership::create BAO
Tim Otten [Sun, 6 Oct 2019 16:49:16 +0000 (17:49 +0100)]
extension-compatibility - Update DB state of force-uninstalled extensions
Note:
1. This is more advisory than functional - the functionality is really in the runtime bits
in the previous commits.
2. Technically, this is more of a disable, but we should keep the record around in
`civicrm_extension` so that we know the old schema revision.
Seamus Lee [Sun, 6 Oct 2019 16:26:46 +0000 (03:26 +1100)]
dev/core#861 Ensure that when processing mailings that no emails are sent to deceased contacts or those with emails now on hold
Mikey O'Toole [Sun, 6 Oct 2019 15:49:01 +0000 (16:49 +0100)]
Update ConfigTaskList to remove Yahoo reference and add OSM
Mikey O'Toole [Sun, 6 Oct 2019 15:47:21 +0000 (16:47 +0100)]
Remove Yahoo reference from the Mapping settings.
Mikey O'Toole [Sun, 6 Oct 2019 15:34:59 +0000 (16:34 +0100)]
Merge remote-tracking branch 'MikeyMJCO/patch-2' into patch-1
Mikey O'Toole [Sun, 6 Oct 2019 15:32:01 +0000 (16:32 +0100)]
Remove conditional for Yahoo mapping provider
The Yahoo mapping provider is no longer in core and therefore this conditional logic is no longer necessary.
Seamus Lee [Sun, 6 Oct 2019 15:29:15 +0000 (17:29 +0200)]
Merge pull request #14184 from mattwire/relationshipcolumns
Allow columns in relationship table to be modified by searchColumns hook
Mikey O'Toole [Sun, 6 Oct 2019 15:27:21 +0000 (16:27 +0100)]
Remove Yahoo references
Remove references to Yahoo Geocoder which is no longer included core.
Seamus Lee [Sun, 6 Oct 2019 15:17:36 +0000 (17:17 +0200)]
Merge pull request #15397 from mattwire/contributionstatuslabel
REF Explicitly specify params so we can find problems with comparing translated labels
Eileen McNaughton [Sun, 6 Oct 2019 10:05:01 +0000 (12:05 +0200)]
Merge pull request #14577 from mattwire/type_consolidation
REF Remove some duplication in CRM_Utils_Type::escape/validate
Seamus Lee [Sun, 6 Oct 2019 07:49:50 +0000 (09:49 +0200)]
Merge pull request #15402 from eileenmcnaughton/nfc
[NFC] code formatting & exceptions in doc blocks
Seamus Lee [Sun, 6 Oct 2019 07:49:43 +0000 (09:49 +0200)]
Merge pull request #15401 from seamuslee001/master
Master / 5.19 version of #15392
smaen123 [Sat, 5 Oct 2019 15:57:28 +0000 (17:57 +0200)]
Fix height of select2 box (appears squished)
eileen [Sat, 5 Oct 2019 13:50:57 +0000 (15:50 +0200)]
Add exceptions to phpdoc
eileen [Sat, 5 Oct 2019 13:44:51 +0000 (15:44 +0200)]
[NFC] code formatting
DemeritCowboy [Fri, 4 Oct 2019 22:00:08 +0000 (18:00 -0400)]
fix typo resulting in fatal error
Seamus Lee [Sat, 5 Oct 2019 13:18:20 +0000 (23:18 +1000)]
Merge pull request #15395 from seamuslee001/5_18_1_release_notes
5 18 1 release notes
Eileen McNaughton [Sat, 5 Oct 2019 12:52:05 +0000 (14:52 +0200)]
Merge pull request #15398 from eileenmcnaughton/adv
dev/core#1294 Remove getFormValues function
Eileen McNaughton [Sat, 5 Oct 2019 11:20:22 +0000 (13:20 +0200)]
Merge pull request #14897 from mattwire/membership_payment2
Don't use random parameters to detect if we should create MembershipPayment
Eileen McNaughton [Sat, 5 Oct 2019 11:16:21 +0000 (13:16 +0200)]
Merge pull request #15385 from demeritcowboy/test-case-type-edit-1
[TEST] dev/core#1046 - tests for case type edit screen
eileen [Sat, 5 Oct 2019 10:52:43 +0000 (12:52 +0200)]
dev/core#1294 Remove getFormValues function
This is overiding the parent function which gives an empty result
Matthew Wire (MJW Consulting) [Sat, 5 Oct 2019 10:36:34 +0000 (12:36 +0200)]
Explicitly specify params so we can find problems with comparing translated labels
Tim Otten [Sat, 5 Oct 2019 09:57:38 +0000 (10:57 +0100)]
Update 5.18.1.md
Seamus Lee [Sat, 5 Oct 2019 08:49:28 +0000 (18:49 +1000)]
Update release notes for the export fix
Matthew Wire [Sat, 5 Oct 2019 10:32:20 +0000 (12:32 +0200)]
Merge pull request #15389 from eileenmcnaughton/cleanup_query
Extract the code to get the field name.
Tim Otten [Sat, 5 Oct 2019 07:51:39 +0000 (08:51 +0100)]
Update 5.18.1.md
Seamus Lee [Fri, 4 Oct 2019 14:45:41 +0000 (00:45 +1000)]
Add in 5.18.1 release notes