Eileen McNaughton [Mon, 25 May 2020 01:50:07 +0000 (13:50 +1200)]
Merge pull request #17383 from eileenmcnaughton/ids
[NFC] Remove some more of the old cvs blocks
eileen [Sun, 24 May 2020 22:52:53 +0000 (10:52 +1200)]
[NFC] Remove some more of the old cvs blocks
Eileen McNaughton [Sun, 24 May 2020 22:25:35 +0000 (10:25 +1200)]
Merge pull request #17358 from seamuslee001/d8_prevnext_cache_test_fix
[TEST] Fix test failure on Drupal 8 E2E PrevNextTest by only includin…
Eileen McNaughton [Sun, 24 May 2020 22:15:26 +0000 (10:15 +1200)]
Merge pull request #16541 from bhahumanists/subtype-issue-991
#991 subtypes not filled in when editing a smart group
Eileen McNaughton [Sun, 24 May 2020 22:12:07 +0000 (10:12 +1200)]
Merge pull request #17379 from colemanw/del
Don't exclude deleted contacts from ACL cache when user has permission
Seamus Lee [Fri, 22 May 2020 20:54:50 +0000 (06:54 +1000)]
Merge pull request #17318 from agh1/aria-hidden-icon
Make all icons aria-hidden
Seamus Lee [Fri, 22 May 2020 20:52:13 +0000 (06:52 +1000)]
Merge pull request #17378 from agh1/cleanup-feed-urls
CiviEvent Dashboard and Manage Events: clean up disused url template vars
Coleman Watts [Fri, 22 May 2020 18:45:33 +0000 (14:45 -0400)]
ACL - Don't exclude deleted contacts from ACL cache when user has permission to see them
Test failures seem to be due to assumptions of the test.
Removed via Hume's guillotine
When the user has 'access deleted contacts' permission, deleted contacts
should not be excluded from the ACL cache.
Andrew Hunt [Fri, 22 May 2020 15:15:33 +0000 (11:15 -0400)]
CiviEvent Dashboard and Manage Events: clean up disused url template vars
Andrew Hunt [Wed, 13 May 2020 18:10:44 +0000 (14:10 -0400)]
Add aria-hidden to extant icons
Andrew Hunt [Wed, 13 May 2020 16:15:52 +0000 (12:15 -0400)]
Add aria-hidden to icon helpers
Seamus Lee [Fri, 22 May 2020 06:59:10 +0000 (16:59 +1000)]
Merge pull request #17282 from agh1/calendar-icons
Replace ical and office calendar image icons
Seamus Lee [Fri, 22 May 2020 06:40:24 +0000 (16:40 +1000)]
Merge pull request #17345 from eileenmcnaughton/ev_batch
Preliminary cleanup on form
Eileen McNaughton [Thu, 21 May 2020 21:13:25 +0000 (09:13 +1200)]
Merge pull request #17376 from artfulrobot/artfulrobot-public-status-messages
Public status messages should show correct class/icon like error
Matthew Wire [Thu, 21 May 2020 14:20:24 +0000 (15:20 +0100)]
Merge pull request #17373 from eileenmcnaughton/post_simp
[REF] Minor code simplification
Matthew Wire [Thu, 21 May 2020 14:18:29 +0000 (15:18 +0100)]
Merge pull request #17346 from eileenmcnaughton/trans2
[REF] Call completeOrder directly from event status update form
Rich Lott / Artful Robot [Thu, 21 May 2020 13:19:55 +0000 (14:19 +0100)]
Public status messages should show correct class/icon like error
colemanw [Thu, 21 May 2020 12:10:18 +0000 (08:10 -0400)]
Merge pull request #17371 from eileenmcnaughton/too
Undo variable variable.
Seamus Lee [Thu, 21 May 2020 04:38:49 +0000 (14:38 +1000)]
Merge pull request #17370 from eileenmcnaughton/to
Use non-deprecated method
Eileen McNaughton [Thu, 21 May 2020 04:26:23 +0000 (16:26 +1200)]
Merge pull request #17368 from colemanw/api4suffix
APIv4 - Improve pseudoconstant suffix support
eileen [Thu, 21 May 2020 03:52:48 +0000 (15:52 +1200)]
[REF] Minor code simiplification
On digging the only reason for the array is to prevent duplicates.
The function is passed do doesn't care how it's indexed so
just use php array to prevent duplicates. Reduce brain hurt
eileen [Thu, 21 May 2020 02:52:40 +0000 (14:52 +1200)]
Undo variable variable.
This removes the remainder of a weird variable-varible loop.
No actual change
eileen [Thu, 21 May 2020 02:25:02 +0000 (14:25 +1200)]
Use non-deprecated methd
Eileen McNaughton [Thu, 21 May 2020 00:55:23 +0000 (12:55 +1200)]
Merge pull request #17312 from totten/url3
Migrate CiviMail "extern" scripts to conventional routes
colemanw [Thu, 21 May 2020 00:44:19 +0000 (20:44 -0400)]
Merge pull request #17362 from colemanw/dev-core-1757-hide-toggle-menu-button
dev/core#1757 hide menu toggle when D7 toolbar is absent
Eileen McNaughton [Wed, 20 May 2020 19:29:37 +0000 (07:29 +1200)]
Merge pull request #17369 from civicrm/5.26
5.26 to master
colemanw [Wed, 20 May 2020 19:22:25 +0000 (15:22 -0400)]
Merge pull request #17352 from christianwach/lab-wp-49-civi5-26
Remove "page=CiviCRM" query string from WordPress front-end (5.26)
Coleman Watts [Wed, 20 May 2020 18:55:20 +0000 (14:55 -0400)]
APIv4 - Improve pseudoconstant suffix support
Suffixes like :color now work for get actions (but not create because they are not unique idenfitiers).
Test added for rich option lists in getfields
Matthew Wire [Wed, 20 May 2020 17:54:03 +0000 (18:54 +0100)]
Merge pull request #17365 from eileenmcnaughton/pdf
Revert "[REF] Code readability changes on activity tokens."
Mathieu Lu [Wed, 20 May 2020 12:38:13 +0000 (08:38 -0400)]
Merge pull request #17356 from eileenmcnaughton/lang
Fix setLanguage docblock, other nfc changes
Mathieu Lu [Wed, 20 May 2020 12:33:01 +0000 (08:33 -0400)]
Merge pull request #17317 from colemanw/escJs
Improve js escaping in smarty {ts}
eileen [Wed, 20 May 2020 03:14:03 +0000 (15:14 +1200)]
Revert "[REF] Code readability changes on activity tokens."
Per https://docs.civicrm.org/dev/en/latest/framework/token/#token-processor
The contactId is actually documented. While I've been removing those in various places in
favour of contactID or contact_id it seems Tim has been putting them in so
I think it's safer to revert this change at this stage
This reverts commit
2ebb452b239c28e7ed2c50da69d324a8d40a7e88.
Coleman Watts [Tue, 19 May 2020 17:47:35 +0000 (13:47 -0400)]
dev/core#1757 - CRM Menubar - add method to remove toggle button
Seamus Lee [Tue, 19 May 2020 21:25:43 +0000 (07:25 +1000)]
Merge pull request #17355 from twomice/1608_recurring_membership_fails_paypal
Fix for dev/core#1608: correct date format for trxn_date.
Eileen McNaughton [Tue, 19 May 2020 21:21:14 +0000 (09:21 +1200)]
Merge pull request #17332 from colemanw/api4Joins
APIv4 - Remove implicit multi joins & add explicit joins
René Olivo [Tue, 19 May 2020 02:32:34 +0000 (03:32 +0100)]
dev/core#1757 - CRM Menubar - hide toggle menu button for non admin users
Coleman Watts [Wed, 13 May 2020 16:49:01 +0000 (12:49 -0400)]
Improve js escaping in smarty {ts}
Christian Wach [Tue, 19 May 2020 10:39:22 +0000 (11:39 +0100)]
Remove "page=CiviCRM" query string from WordPress front-end
Eileen McNaughton [Tue, 19 May 2020 08:54:05 +0000 (20:54 +1200)]
Merge pull request #17357 from seamuslee001/contrib_page_report_column
[REF] [Reports] Ensure that all contribution pages including disabled ones are return…
Eileen McNaughton [Tue, 19 May 2020 08:51:27 +0000 (20:51 +1200)]
Merge pull request #17354 from seamuslee001/mysql8_master
[TEST] Update test to support for 8.0.19 change
Seamus Lee [Mon, 11 May 2020 03:11:49 +0000 (13:11 +1000)]
Update test to support for 8.0.19 change
Update test following Eileen comments
Seamus Lee [Tue, 19 May 2020 01:56:33 +0000 (11:56 +1000)]
[TEST] Fix test failure on Drupal 8 E2E PrevNextTest by only including contacts where there is a sort name
Seamus Lee [Tue, 19 May 2020 01:56:27 +0000 (11:56 +1000)]
Ensure that all contribution pages including disabled ones are returned when viewing the contribution detailed report
eileen [Tue, 19 May 2020 00:58:50 +0000 (12:58 +1200)]
Fix setLanguage docblock, other nfc changes
The IDE can pick up the chaining if we tell it the object is being returned
Allen Shaw [Mon, 18 May 2020 22:53:32 +0000 (17:53 -0500)]
Toward fix for dev/core#1608: correct date format for trxn_date.
Eileen McNaughton [Mon, 18 May 2020 22:09:05 +0000 (10:09 +1200)]
Merge pull request #17330 from colemanw/dao_field
[REF] Cleanup and extract string functions specific to entity names.
eileen [Mon, 18 May 2020 05:07:41 +0000 (17:07 +1200)]
Preliminary cleanup on form
Eileen McNaughton [Mon, 18 May 2020 19:51:08 +0000 (07:51 +1200)]
Merge pull request #17304 from colemanw/endCode
Switch docblock code to use markdown syntax.
colemanw [Mon, 18 May 2020 14:01:37 +0000 (10:01 -0400)]
Merge pull request #17349 from eileenmcnaughton/validate
[REF] Stop passing by reference.
Seamus Lee [Mon, 18 May 2020 08:31:42 +0000 (18:31 +1000)]
Merge pull request #17347 from eileenmcnaughton/status
Call completeOrder directly from contribute status update form
Seamus Lee [Mon, 18 May 2020 07:37:43 +0000 (17:37 +1000)]
Merge pull request #17343 from eileenmcnaughton/js_curr
Use status bounces, not fatal, in front end contribution form base class
eileen [Mon, 18 May 2020 06:56:39 +0000 (18:56 +1200)]
[REF] Stop passing by reference.
By checking in BAOContribution::loadRelatedObjects we can see it is not modified. The other 2 functions
only pass input to that function, so can also be non-variables
eileen [Mon, 18 May 2020 06:07:42 +0000 (18:07 +1200)]
Call completeOrder directly from event status update form
We should really call completetransaction but that has been left for later unravelling with the focus here being
to clarify the purpose of the transaction. We don't need to pass a transaction around unless it has DB changes not
yet committed - which is not eally the case here. There is no reason to invoke BaseIPN but more unravelling required...
eileen [Mon, 18 May 2020 06:04:31 +0000 (18:04 +1200)]
Call completeOrder directly from contribute status update form
We should really call completetransaction but that has been left for later unravelling with the focus here being
to clarify the purpose of the transaction. We don't need to pass a transaction around unless it has DB changes not
yet committed - which is not eally the case here. There is no reason to invoke BaseIPN but more unravelling required...
Eileen McNaughton [Mon, 18 May 2020 05:01:22 +0000 (17:01 +1200)]
Merge pull request #17341 from seamuslee001/fatal_exception_status_bounce
dev/core#560 Replace deprecated CRM_Core_Error::fatal with either sta…
eileen [Mon, 18 May 2020 04:44:50 +0000 (16:44 +1200)]
Use status bounces, not fatal, in front end contribution form base class
Eileen McNaughton [Mon, 18 May 2020 02:45:40 +0000 (14:45 +1200)]
Merge pull request #17342 from eileenmcnaughton/event
Remove code that still seems unnecessary.
colemanw [Mon, 18 May 2020 00:46:18 +0000 (20:46 -0400)]
Merge pull request #17338 from demeritcowboy/test-from-to
[TEST] dev/core#1766 - Remove flakiness from testGetFromTo tests
eileen [Mon, 18 May 2020 00:24:48 +0000 (12:24 +1200)]
Remove code that still seems unnecessary.
Per the code comment we should not need to unset these fields as they should not be present if not required.
I guess the test for this is whether the fields are unset if we start off with a payment processor & then deselect
it in favour of pay later
Eileen McNaughton [Sun, 17 May 2020 23:58:00 +0000 (11:58 +1200)]
Merge pull request #17340 from demeritcowboy/not-yet-deprecated
[NFC] Add comment that deprecated code is actually still reachable
Seamus Lee [Sun, 17 May 2020 23:48:55 +0000 (09:48 +1000)]
dev/core#560 Replace depreacted CRM_Core_Error::fatal with either statusBounce or Exceptions as appropriate in CRM/Core folder update langauge as per demeritcowboy
Eileen McNaughton [Sun, 17 May 2020 23:01:25 +0000 (11:01 +1200)]
Merge pull request #17336 from seamuslee001/fatal_exception_status_bounce
dev/core#560 Replace some instances of CRM_Core_Error::fatal with an …
Seamus Lee [Sun, 17 May 2020 21:58:36 +0000 (07:58 +1000)]
Merge pull request #17319 from agh1/icon-links
Extend icon helper support, including for formLink
demeritcowboy [Sun, 17 May 2020 20:35:26 +0000 (16:35 -0400)]
code is still reachable
Matthew Wire [Sun, 17 May 2020 10:27:20 +0000 (11:27 +0100)]
Merge pull request #17297 from agh1/treeminus-gone
Removed last TreePlus.gif and TreeMinus.gif spots
demeritcowboy [Sat, 16 May 2020 15:11:38 +0000 (11:11 -0400)]
switch away from dataprovider for time-sensitive test
Seamus Lee [Sat, 16 May 2020 20:15:47 +0000 (06:15 +1000)]
Merge pull request #17337 from civicrm/5.26
5.26
Coleman Watts [Fri, 15 May 2020 16:01:42 +0000 (12:01 -0400)]
APIv4 - Basic support for joins in api4 Explorer
Tim Otten [Sat, 16 May 2020 02:54:25 +0000 (19:54 -0700)]
Merge pull request #17331 from colemanw/briefName
[REF] CRM_Core_DAO_AllCoreTables::getBriefName to accept BAO name
Seamus Lee [Sat, 16 May 2020 01:20:30 +0000 (11:20 +1000)]
Merge pull request #17335 from demeritcowboy/missing-semicolon
[REF] Missing semicolon on smtp settings page, code cleanup in file-on-case, add test
Seamus Lee [Sat, 16 May 2020 01:18:20 +0000 (11:18 +1000)]
Merge pull request #17334 from seamuslee001/fix_d8_install
[REF] Fix install on Drupal 8 using new setup code
Seamus Lee [Sat, 16 May 2020 00:12:53 +0000 (10:12 +1000)]
dev/core#560 Replace some instances of CRM_Core_Error::fatal with an exception or status bounce
Seamus Lee [Fri, 15 May 2020 23:31:02 +0000 (09:31 +1000)]
[REF] Fix install on Drupal 8 using new setup code
demeritcowboy [Fri, 15 May 2020 21:47:42 +0000 (17:47 -0400)]
missing semicolon, other cleanup, add test
Seamus Lee [Fri, 15 May 2020 22:42:13 +0000 (08:42 +1000)]
Merge pull request #17291 from mfb/tracking-default
Allow click-through and open tracking to be enabled/disabled by default
Coleman Watts [Thu, 7 May 2020 20:51:52 +0000 (16:51 -0400)]
APIv4 - Add explicit joins
Coleman Watts [Thu, 7 May 2020 14:23:55 +0000 (10:23 -0400)]
APIv4 - Remove unused vars & uncalled methods. YAGNI.
Coleman Watts [Thu, 7 May 2020 14:14:32 +0000 (10:14 -0400)]
APIv4 - Remove unused event
This event was defined but never invoked.
Coleman Watts [Thu, 7 May 2020 14:01:17 +0000 (10:01 -0400)]
APIv4 - Remove implicit multi-joins
These were actually run as a separate query and "joined" to the main results array in PHP.
Removing them to make way for supporting explicit multi-joins which will use SQL.
Coleman Watts [Wed, 6 May 2020 15:33:09 +0000 (11:33 -0400)]
APIv4 - Remove optionValue joins
OptionValue joins were deprecated in favor of pseudoconstant suffixes. This removes them.
Coleman Watts [Fri, 15 May 2020 15:04:04 +0000 (11:04 -0400)]
Fix CRM_Core_DAO_AllCoreTables::getBriefName to accept BAO name
This function was overly strict about not accepting BAO names, prompting end-users of the function
to do their own ad-hoc conversions before using it.
eileen [Sat, 25 Apr 2020 00:56:00 +0000 (12:56 +1200)]
[REF] Cleanup and extract string functions specific to entity names.
The function CRM_Utils_String::convertStringToCamel was being stretched to also work in entity name oddities
And an api3 utility function was being over-used.
This adds symmetrical utility functions in AllCoreTables to covert entity names between the 2 formats.
Matthew Wire [Fri, 15 May 2020 14:23:50 +0000 (15:23 +0100)]
Merge pull request #17323 from JKingsnorth/patch-14
dev/core#1762 Don't log subscription_history
Matthew Wire [Fri, 15 May 2020 14:22:50 +0000 (15:22 +0100)]
Merge pull request #17296 from agh1/fa-accordions
Accordion open-close with Font Awesome icons
Seamus Lee [Fri, 15 May 2020 06:36:57 +0000 (16:36 +1000)]
Merge pull request #17327 from demeritcowboy/poland-lower-case
[NFC] Add comment regarding lower case for Polish states
Seamus Lee [Fri, 15 May 2020 06:36:26 +0000 (16:36 +1000)]
Merge pull request #17329 from civicrm/5.26
5.26
Seamus Lee [Fri, 15 May 2020 01:28:11 +0000 (11:28 +1000)]
Merge pull request #17261 from seamuslee001/dev_core_1681
dev/core#1681 Add in deprecation notice for Systems using MySQL versions before 5.7 and require 5.5 for install
Seamus Lee [Fri, 15 May 2020 01:16:00 +0000 (11:16 +1000)]
Merge pull request #17277 from mattwire/fatalerrorhandler
Trigger fatalErrorHandler for PEAR errors and for logs with severity ERROR or higher
Seamus Lee [Fri, 15 May 2020 01:10:09 +0000 (11:10 +1000)]
Merge pull request #17307 from agh1/privacy-flag-conditional
Comm prefs: add condition param for {privacyFlag}
Seamus Lee [Fri, 15 May 2020 01:09:01 +0000 (11:09 +1000)]
Merge pull request #17310 from agh1/autorenew-active-icon
Member tab: auto-renew status was hidden from screen readers
colemanw [Fri, 15 May 2020 00:47:31 +0000 (20:47 -0400)]
Merge pull request #17326 from demeritcowboy/ts-params
Remove unneeded parameters in {ts} on membership form
Seamus Lee [Thu, 14 May 2020 23:55:38 +0000 (09:55 +1000)]
Merge pull request #17320 from totten/master-url-type
(NFC) CRM_Utils_Url - Fix declared type
demeritcowboy [Thu, 14 May 2020 23:24:09 +0000 (19:24 -0400)]
prevent someone thinking this is wrong
demeritcowboy [Thu, 14 May 2020 22:23:52 +0000 (18:23 -0400)]
unneeded parameters
Tim Otten [Thu, 14 May 2020 20:46:59 +0000 (13:46 -0700)]
Merge pull request #17322 from eileenmcnaughton/ids
(NFC) Remove some cvs docblock help
colemanw [Thu, 14 May 2020 20:08:26 +0000 (16:08 -0400)]
Merge pull request #16992 from colemanw/customSerialize
Add serialize column to civicrm_custom_field, remove "Multi-Select" html type
Matthew Wire [Thu, 14 May 2020 11:22:40 +0000 (12:22 +0100)]
Merge pull request #17314 from jitendrapurohit/dev-1758
dev/core#1758 - Fix check number and trxn id values on record payment…
Matthew Wire [Thu, 14 May 2020 11:15:12 +0000 (12:15 +0100)]
Merge pull request #17285 from agh1/no-rendered-icons-in-data-source
No rendered icons in data source
Matthew Wire [Thu, 14 May 2020 11:13:41 +0000 (12:13 +0100)]
Merge pull request #17303 from agh1/no-icon-crmbutton
crmButton: support icon=0 for no icon
Tim Otten [Thu, 14 May 2020 09:44:47 +0000 (02:44 -0700)]
Core.setting.php - Tweak prose for defaultExternUrl, again