civicrm-core.git
5 years agoFix Setting 'is_active' Param For Price Set For Type Text
varshith89 [Wed, 12 Dec 2018 19:43:28 +0000 (19:43 +0000)]
Fix Setting 'is_active' Param For Price Set For Type Text

6 years agoMerge pull request #12695 from eileenmcnaughton/mem2
Seamus Lee [Wed, 10 Oct 2018 21:33:20 +0000 (08:33 +1100)]
Merge pull request #12695 from eileenmcnaughton/mem2

Membership form - tidy up receipt code

6 years agoMerge pull request #12828 from seamuslee001/lab_core_357
Eileen McNaughton [Wed, 10 Oct 2018 13:52:38 +0000 (14:52 +0100)]
Merge pull request #12828 from seamuslee001/lab_core_357

dev/core#357 Fix issue where user email addresses were keyed on email…

6 years agoMove customValue retrieval to calling function.
eileen [Mon, 20 Aug 2018 05:17:26 +0000 (17:17 +1200)]
Move customValue retrieval to calling function.

After digging on CRM_Batch_Form_Entry I couldn't find any evidence that the groupTree property would ever be set

6 years agoWrap membership receipt in an outer function.
eileen [Mon, 20 Aug 2018 05:05:12 +0000 (17:05 +1200)]
Wrap membership receipt in an outer function.

This function is neither static nor shared & we work to replace the
other / put the parts that really are shared somewhere sensible

6 years agoMerge pull request #12918 from davejenx/job_process_memberships_tests
Eileen McNaughton [Wed, 10 Oct 2018 12:57:11 +0000 (13:57 +0100)]
Merge pull request #12918 from davejenx/job_process_memberships_tests

Added more unit tests for process_membership job: testProcessMembershipUpdateStatus

6 years agoMerge pull request #12906 from eileenmcnaughton/setting
Eileen McNaughton [Wed, 10 Oct 2018 11:27:07 +0000 (12:27 +0100)]
Merge pull request #12906 from eileenmcnaughton/setting

[NFC] Convert some fields on admin display preferences to use metdata

6 years agoMerge pull request #12747 from mattwire/tabheader_extract_and_events
Seamus Lee [Wed, 10 Oct 2018 10:29:57 +0000 (21:29 +1100)]
Merge pull request #12747 from mattwire/tabheader_extract_and_events

Extract selectedChild tabheader functionality and enable for Manage Events

6 years agoAdded more unit tests for process_membership job, checking that statuses are updated...
Dave Jenkins [Wed, 10 Oct 2018 10:06:33 +0000 (11:06 +0100)]
Added more unit tests for process_membership job, checking that statuses are updated correctly in various cases where they should be and left alone in cases where they shouldn't. Adds new function testProcessMembershipUpdateStatus.

6 years agoMerge pull request #12916 from yashodha/report-fixes
Eileen McNaughton [Wed, 10 Oct 2018 09:28:05 +0000 (10:28 +0100)]
Merge pull request #12916 from yashodha/report-fixes

CRM-21677 - report clean up

6 years agoConvert Preserve activity tab
eileen [Tue, 9 Oct 2018 06:55:49 +0000 (07:55 +0100)]
Convert Preserve activity tab

6 years agoExtract selectedChild tabheader functionality and enable for Manage Events
Matthew Wire (MJW Consulting) [Thu, 16 Aug 2018 16:41:54 +0000 (17:41 +0100)]
Extract selectedChild tabheader functionality and enable for Manage Events

6 years agoConvert Contact Search to metadata driven
eileen [Mon, 8 Oct 2018 21:00:15 +0000 (22:00 +0100)]
Convert Contact Search to metadata driven

6 years agoAdd metadata for editing contacts
eileen [Mon, 8 Oct 2018 20:37:01 +0000 (21:37 +0100)]
Add metadata for editing contacts

6 years agoConvert 'Viewing Smart Groups' on admin display preferences to use metadata.
eileen [Mon, 8 Oct 2018 20:27:33 +0000 (21:27 +0100)]
Convert 'Viewing Smart Groups' on admin display preferences to use metadata.

This has no functional impact - cleanup only

6 years agoConvert 'Viewing Smart Groups' on admin display preferences to use metadata.
eileen [Mon, 8 Oct 2018 20:27:33 +0000 (21:27 +0100)]
Convert 'Viewing Smart Groups' on admin display preferences to use metadata.

This has no functional impact - cleanup only

6 years agoMerge pull request #12910 from monishdeb/dev-core-394
Eileen McNaughton [Wed, 10 Oct 2018 08:27:00 +0000 (09:27 +0100)]
Merge pull request #12910 from monishdeb/dev-core-394

(dev/core#394) : Wildcards are ignored in some smart group criteria, when the smart group is directly generated for a mailing

6 years agoMerge pull request #12890 from dereklewis123/CW-905-2
Eileen McNaughton [Wed, 10 Oct 2018 08:09:42 +0000 (09:09 +0100)]
Merge pull request #12890 from dereklewis123/CW-905-2

core/384 CiviSMS does not fall back to non-primary mobile number

6 years agoCRM-21677 - report clean up
yashodha [Wed, 10 Oct 2018 06:19:35 +0000 (11:49 +0530)]
CRM-21677 - report clean up

6 years agoMerge pull request #12784 from eileenmcnaughton/cache
Seamus Lee [Wed, 10 Oct 2018 02:33:55 +0000 (13:33 +1100)]
Merge pull request #12784 from eileenmcnaughton/cache

Do not treat an empty array as not set in caches.

6 years agoMerge pull request #12914 from eileenmcnaughton/record
Eileen McNaughton [Tue, 9 Oct 2018 20:42:18 +0000 (21:42 +0100)]
Merge pull request #12914 from eileenmcnaughton/record

Fix payment hangs when registering a user for a paid event without recording payment

6 years agoMerge pull request #12864 from eileenmcnaughton/export
Eileen McNaughton [Tue, 9 Oct 2018 20:38:53 +0000 (21:38 +0100)]
Merge pull request #12864 from eileenmcnaughton/export

Export - small cleanup

6 years ago(dev/core#394) : Wildcards are ignored in some smart group criteria, when the smart...
Monish Deb [Tue, 9 Oct 2018 12:00:37 +0000 (17:30 +0530)]
(dev/core#394) : Wildcards are ignored in some smart group criteria, when the smart group is directly generated for a mailing

6 years agoMerge pull request #12913 from wmortada/shorcuts
Eileen McNaughton [Tue, 9 Oct 2018 19:47:57 +0000 (20:47 +0100)]
Merge pull request #12913 from wmortada/shorcuts

Fix typo in hook that enables links to be added to a block

6 years agoMerge pull request #12819 from mattwire/contributionrecur_contactname
Eileen McNaughton [Tue, 9 Oct 2018 19:47:06 +0000 (20:47 +0100)]
Merge pull request #12819 from mattwire/contributionrecur_contactname

Show contact name on recurring contribution view and improve consistency with Contribution/Membership view

6 years agoFix payment hangs when registering a user for a paid event without recording payment
eileen [Tue, 9 Oct 2018 18:07:26 +0000 (19:07 +0100)]
Fix payment hangs when registering a user for a paid event without recording payment

This is an alternative to https://github.com/civicrm/civicrm-core/pull/12888
I wasn't actually able to reproduce the issue but this solution, proposed by
Monish, seems safe & sensible

6 years agoMerge pull request #12841 from colemanw/richText
Eileen McNaughton [Tue, 9 Oct 2018 18:02:24 +0000 (19:02 +0100)]
Merge pull request #12841 from colemanw/richText

Skip html encoding rich-text fields

6 years agoMerge pull request #12912 from civicrm/totten-patch-1
Eileen McNaughton [Tue, 9 Oct 2018 18:00:56 +0000 (19:00 +0100)]
Merge pull request #12912 from civicrm/totten-patch-1

Fix spelling error ("sript" vs "script")

6 years agoFix typo in hook that enables links to be added to a block
William Mortada [Tue, 9 Oct 2018 18:00:55 +0000 (19:00 +0100)]
Fix typo in hook that enables links to be added to a block

6 years agoMerge pull request #12904 from yashodha/report-fixes
Eileen McNaughton [Tue, 9 Oct 2018 16:50:42 +0000 (17:50 +0100)]
Merge pull request #12904 from yashodha/report-fixes

On reports make current employer available as a field for display

6 years agoMerge pull request #12891 from jmcclelland/issue418
Eileen McNaughton [Tue, 9 Oct 2018 16:11:17 +0000 (17:11 +0100)]
Merge pull request #12891 from jmcclelland/issue418

ensure all valid relationship types are available

6 years agoUpdate Drupal.php
Tim Otten [Tue, 9 Oct 2018 15:55:55 +0000 (16:55 +0100)]
Update Drupal.php

If my username is going to be used for a grammatical edit, then we should get it right!

6 years agoFix spelling error ' script' rather than 'sript'
Tim Otten [Tue, 9 Oct 2018 14:44:12 +0000 (15:44 +0100)]
Fix spelling error ' script' rather than 'sript'

6 years agoMerge pull request #12824 from jmcclelland/issue389
Eileen McNaughton [Tue, 9 Oct 2018 13:27:37 +0000 (14:27 +0100)]
Merge pull request #12824 from jmcclelland/issue389

Ensure relative dates are preserved for custom fields in smart group

6 years agoMerge pull request #12911 from civicrm/5.7
Eileen McNaughton [Tue, 9 Oct 2018 13:23:34 +0000 (14:23 +0100)]
Merge pull request #12911 from civicrm/5.7

5.7 to master

6 years agoMerge pull request #12909 from eileenmcnaughton/57reg
Eileen McNaughton [Tue, 9 Oct 2018 13:22:49 +0000 (14:22 +0100)]
Merge pull request #12909 from eileenmcnaughton/57reg

Ensure hard-coded date ranges are preserved in smart groups

6 years agoMerge pull request #11821 from michaelmcandrew/500-http-response-code
Eileen McNaughton [Tue, 9 Oct 2018 12:23:14 +0000 (13:23 +0100)]
Merge pull request #11821 from michaelmcandrew/500-http-response-code

Send an 500 http response code when an exception is encountered.

6 years agoMerge pull request #12873 from totten/master-short-long
Eileen McNaughton [Tue, 9 Oct 2018 11:39:06 +0000 (12:39 +0100)]
Merge pull request #12873 from totten/master-short-long

Register "short" and "long" cache services

6 years agoensure date ranges are preserved in smart groups
Jamie McClelland [Mon, 17 Sep 2018 17:02:03 +0000 (13:02 -0400)]
ensure date ranges are preserved in smart groups

See https://lab.civicrm.org/dev/core/issues/396

6 years agoMerge pull request #12903 from kainuk/drupal8-codegen-path
Eileen McNaughton [Tue, 9 Oct 2018 08:57:46 +0000 (09:57 +0100)]
Merge pull request #12903 from kainuk/drupal8-codegen-path

Added a path to the drupal8 path candidates to find civicrm.config.php

6 years agoMerge pull request #12908 from xurizaemon/GL425-warning_on_redirectToSSL
Eileen McNaughton [Tue, 9 Oct 2018 07:02:12 +0000 (08:02 +0100)]
Merge pull request #12908 from xurizaemon/GL425-warning_on_redirectToSSL

GL-425: Log a message if CiviCRM thinks SSL is not enabled

6 years agoMerge pull request #12907 from civicrm/5.7
Eileen McNaughton [Tue, 9 Oct 2018 05:30:48 +0000 (06:30 +0100)]
Merge pull request #12907 from civicrm/5.7

5.7

6 years agoGL-425: Log a message if CiviCRM thinks SSL is not enabled
Chris Burgess [Tue, 9 Oct 2018 05:16:24 +0000 (18:16 +1300)]
GL-425: Log a message if CiviCRM thinks SSL is not enabled

The enableSSL setting doesn't reliably detect the presence of SSL (especially
when behind SSL terminating proxies). This log message will allow people
affected by this behaviour to more readily debug it, because CiviCRM
will give them a clue to work with.

See https://lab.civicrm.org/dev/core/issues/425

6 years agoMerge pull request #12896 from seamuslee001/dev_core_421
Seamus Lee [Mon, 8 Oct 2018 23:48:44 +0000 (10:48 +1100)]
Merge pull request #12896 from seamuslee001/dev_core_421

dev/core#421 Fix issue where creating user driven message templates w…

6 years agodev/core#421 Fix issue where creating user driven message templates was requireing...
Seamus Lee [Fri, 5 Oct 2018 02:31:38 +0000 (12:31 +1000)]
dev/core#421 Fix issue where creating user driven message templates was requireing the ssystem workflow message template permission as well

Wrap permission checking in the check_permissions param

Move Permission checking to BAO level from API

Allow for the fact that edit message templates permission should still be able to work on both sets of templates without the granular permissions. Also reduce duplication of code abit

6 years agoMerge pull request #12905 from totten/master-gitignore
Seamus Lee [Mon, 8 Oct 2018 20:59:53 +0000 (07:59 +1100)]
Merge pull request #12905 from totten/master-gitignore

Add `ext/` folder to .gitignore

6 years agoMerge pull request #12731 from eileenmcnaughton/setting_form
Eileen McNaughton [Mon, 8 Oct 2018 16:44:19 +0000 (17:44 +0100)]
Merge pull request #12731 from eileenmcnaughton/setting_form

Setting form - start to sync preferences with Setting, using trait

6 years agoMake checkboxes save
eileen [Sun, 26 Aug 2018 23:34:00 +0000 (11:34 +1200)]
Make checkboxes save

6 years agoAdd `ext/` folder to .gitignore
Tim Otten [Mon, 8 Oct 2018 12:59:50 +0000 (13:59 +0100)]
Add `ext/` folder to .gitignore

This folder is populated in various build processes (civibuild's
`drupal-demo`, `wp-demo`, etc; as well as `distmaker`), and sometimes
I like to use it for personal things. Moreover, there is no committed
content inside here.

6 years agoMerge pull request #12902 from seamuslee001/towards_500
Eileen McNaughton [Mon, 8 Oct 2018 11:46:44 +0000 (12:46 +0100)]
Merge pull request #12902 from seamuslee001/towards_500

Move towards allowing sending 500 http errors back by switching civiE…

6 years agoexpose current employer in fields and display in results as well
yashodha [Mon, 8 Oct 2018 11:41:04 +0000 (17:11 +0530)]
expose current employer in fields and display in results as well

6 years agoAdded a path to the drupal8 path candidates to find civicrm.config.php.drupal. So...
Klaas Eikelboom [Mon, 8 Oct 2018 11:16:44 +0000 (13:16 +0200)]
Added a path to the drupal8 path candidates to find civicrm.config.php.drupal. So civbuild can find it

6 years agoMove towards allowing sending 500 http errors back by switching civiExit(1) to be...
Seamus Lee [Mon, 8 Oct 2018 10:33:08 +0000 (21:33 +1100)]
Move towards allowing sending 500 http errors back by switching civiExit(1) to be just civiExit()

6 years agoMerge pull request #12898 from kenwest/dev_core_423
Seamus Lee [Mon, 8 Oct 2018 07:59:25 +0000 (18:59 +1100)]
Merge pull request #12898 from kenwest/dev_core_423

dev/core#423 MySQL 5.7 complains about 4.7.19 upgrade script

6 years agoMerge pull request #12829 from eileenmcnaughton/validate
Eileen McNaughton [Sun, 7 Oct 2018 22:01:43 +0000 (23:01 +0100)]
Merge pull request #12829 from eileenmcnaughton/validate

Add validate api action for ContributionPage.submit

6 years agoMerge pull request #12900 from eileenmcnaughton/recur_tidy
Eileen McNaughton [Sun, 7 Oct 2018 20:58:48 +0000 (21:58 +0100)]
Merge pull request #12900 from eileenmcnaughton/recur_tidy

[NFC] Minor cleanup, return preferred parameter

6 years agoMerge pull request #12869 from dereklewis123/CW-892
Tim Otten [Sun, 7 Oct 2018 15:07:04 +0000 (16:07 +0100)]
Merge pull request #12869 from dereklewis123/CW-892

Added missing field name in custom-field deletion dialog

6 years agoAdd validate api action for ContributionPage.submit
eileen [Mon, 17 Sep 2018 02:58:42 +0000 (14:58 +1200)]
Add validate api action for ContributionPage.submit

6 years agoMove setting defaults to form
eileen [Sun, 26 Aug 2018 22:39:51 +0000 (10:39 +1200)]
Move setting defaults to form

6 years agoAllow Preferences form to work from settings
eileen [Sun, 26 Aug 2018 22:29:34 +0000 (10:29 +1200)]
Allow Preferences form to work from settings

6 years ago[NFC] Minor cleanup, return preferred parameter
eileen [Sun, 7 Oct 2018 10:54:25 +0000 (11:54 +0100)]
[NFC] Minor cleanup, return preferred parameter

The result parameter is the same as $recurring (save()) returns $this. But
it's more correct to return $recurring than result as
a) it's defined as a Contribute_BAO_ContributionRecur object which is correct.
b) it's the object passed through hooks

6 years agoMerge pull request #12899 from eileenmcnaughton/recur_tpl
Eileen McNaughton [Sun, 7 Oct 2018 10:44:08 +0000 (11:44 +0100)]
Merge pull request #12899 from eileenmcnaughton/recur_tpl

Recur tpl

6 years agoExtract rows section of recur template to separate tpl, for readability
eileen [Sun, 7 Oct 2018 09:23:26 +0000 (10:23 +0100)]
Extract rows section of recur template to separate tpl, for readability

6 years agoMerge pull request #12821 from mattwire/updatesubscription_fix
Eileen McNaughton [Sun, 7 Oct 2018 08:07:19 +0000 (09:07 +0100)]
Merge pull request #12821 from mattwire/updatesubscription_fix

Show recurring contribution links based on payment processor capabilities

6 years agoMerge pull request #12875 from jitendrapurohit/core-411
Monish Deb [Sat, 6 Oct 2018 17:56:59 +0000 (23:26 +0530)]
Merge pull request #12875 from jitendrapurohit/core-411

dev/core#411 - Default currency shown on View participant and contrib…

6 years agoMerge pull request #12893 from samuelsov/NFC-datatables-style
Eileen McNaughton [Sat, 6 Oct 2018 17:49:11 +0000 (18:49 +0100)]
Merge pull request #12893 from samuelsov/NFC-datatables-style

(NFC) Make datatables in Activities Relationship tab adjust to screen size

6 years agoMerge pull request #12868 from mattwire/updatesubscription_datepicker
Eileen McNaughton [Sat, 6 Oct 2018 15:14:13 +0000 (16:14 +0100)]
Merge pull request #12868 from mattwire/updatesubscription_datepicker

Switch UpdateSubscription to use datepicker

6 years agoMerge pull request #12897 from jmcclelland/issue422
Eileen McNaughton [Sat, 6 Oct 2018 10:06:10 +0000 (11:06 +0100)]
Merge pull request #12897 from jmcclelland/issue422

ensure search on survey results works properly

6 years agoMySQL 5.7 may bork when comparing datetime columns to '0000-00-00 00:00:00' so cast...
Ken West [Sat, 6 Oct 2018 08:25:12 +0000 (18:25 +1000)]
MySQL 5.7 may bork when comparing datetime columns to '0000-00-00 00:00:00' so cast the column to a CHAR(20) when comparing

6 years agoensure search on survey results works properly
Jamie McClelland [Fri, 5 Oct 2018 20:55:51 +0000 (16:55 -0400)]
ensure search on survey results works properly

https://lab.civicrm.org/dev/core/issues/422

6 years agoMerge pull request #12884 from colemanw/Remove
Monish Deb [Fri, 5 Oct 2018 20:38:25 +0000 (02:08 +0530)]
Merge pull request #12884 from colemanw/Remove

Remove crm.admin.js

6 years agoMerge pull request #12892 from yashodha/report-fixes
Eileen McNaughton [Fri, 5 Oct 2018 13:41:57 +0000 (14:41 +0100)]
Merge pull request #12892 from yashodha/report-fixes

CRM-21677 - report clean up

6 years agoMerge pull request #12895 from civicrm/5.7
Seamus Lee [Fri, 5 Oct 2018 02:32:15 +0000 (12:32 +1000)]
Merge pull request #12895 from civicrm/5.7

5.7

6 years agoMerge pull request #12894 from seamuslee001/5.7
Tim Otten [Wed, 3 Oct 2018 21:39:59 +0000 (17:39 -0400)]
Merge pull request #12894 from seamuslee001/5.7

5.7

6 years agoUpdate 5.6.0.md
Tim Otten [Wed, 3 Oct 2018 14:55:02 +0000 (10:55 -0400)]
Update 5.6.0.md

6 years agoUpdate 5.6.0.md
Tim Otten [Wed, 3 Oct 2018 14:53:04 +0000 (10:53 -0400)]
Update 5.6.0.md

6 years agoFix missing amount in soft credit mode
eileen [Sun, 23 Sep 2018 01:42:01 +0000 (13:42 +1200)]
Fix missing amount in soft credit mode

6 years ago5.6.0 release notes: reorganize sections and fix up contributors
Andrew Hunt [Thu, 27 Sep 2018 20:53:46 +0000 (16:53 -0400)]
5.6.0 release notes: reorganize sections and fix up contributors

6 years ago5.6.0 release notes: bulk of edits
Alice Frumin [Thu, 27 Sep 2018 20:22:23 +0000 (16:22 -0400)]
5.6.0 release notes: bulk of edits

6 years ago5.6.0 release notes: added boilerplate
Andrew Hunt [Thu, 13 Sep 2018 16:18:48 +0000 (12:18 -0400)]
5.6.0 release notes: added boilerplate

6 years ago5.6.0 release notes: raw from script
Andrew Hunt [Thu, 13 Sep 2018 16:15:54 +0000 (12:15 -0400)]
5.6.0 release notes: raw from script

6 years agoSet version to 5.8.alpha1
CiviCRM [Wed, 3 Oct 2018 18:28:56 +0000 (18:28 +0000)]
Set version to 5.8.alpha1

6 years agoSet version to 5.7.beta1
CiviCRM [Wed, 3 Oct 2018 18:24:33 +0000 (18:24 +0000)]
Set version to 5.7.beta1

6 years ago(NFC) Make datatables in Activities and Relationship tab adjust to the screen size
Samuel Vanhove [Wed, 3 Oct 2018 15:45:26 +0000 (11:45 -0400)]
(NFC) Make datatables in Activities and Relationship tab adjust to the screen size

6 years agoCRM-21677 - report clean up
yashodha [Wed, 3 Oct 2018 14:16:56 +0000 (19:46 +0530)]
CRM-21677 - report clean up

6 years agoMerge pull request #12885 from yashodha/report-fixes
Eileen McNaughton [Wed, 3 Oct 2018 00:25:43 +0000 (13:25 +1300)]
Merge pull request #12885 from yashodha/report-fixes

CRM-21677 - report clean up

6 years agoensure all valid relationship types are available
Jamie McClelland [Tue, 2 Oct 2018 14:57:00 +0000 (10:57 -0400)]
ensure all valid relationship types are available

When adding relationships to search results, ensure all relationship
types, including ones that apply to any contact, are available to
choose.

https://lab.civicrm.org/dev/core/issues/418

6 years agocore/384 fix the the problem with not using a non-primary mobile number
dl617 [Tue, 2 Oct 2018 14:09:33 +0000 (15:09 +0100)]
core/384 fix the the problem with not using a non-primary mobile number

6 years agocore/384 failing test for mobile phone type
dl617 [Tue, 2 Oct 2018 12:09:07 +0000 (13:09 +0100)]
core/384 failing test for mobile phone type

6 years agoMerge pull request #12882 from colemanw/extpage
Seamus Lee [Mon, 1 Oct 2018 21:39:59 +0000 (07:39 +1000)]
Merge pull request #12882 from colemanw/extpage

Fix invalid markup on extension page - remove dots from ids & classes

6 years agoCRM-21677 - report clean up
yashodha [Mon, 1 Oct 2018 11:19:33 +0000 (16:49 +0530)]
CRM-21677 - report clean up

6 years agoRemove crm.admin.js
Coleman Watts [Mon, 1 Oct 2018 01:36:14 +0000 (21:36 -0400)]
Remove crm.admin.js

6 years agoFix invalid markup on extension page - remove dots from ids & classes
Coleman Watts [Sat, 29 Sep 2018 19:29:30 +0000 (15:29 -0400)]
Fix invalid markup on extension page - remove dots from ids & classes

6 years agoMerge pull request #12876 from colemanw/Don't
Tim Otten [Sat, 29 Sep 2018 00:56:18 +0000 (20:56 -0400)]
Merge pull request #12876 from colemanw/Don't

Don't mess up fragment links in nav menu

6 years agoMerge pull request #12879 from totten/master-contact-settings
Seamus Lee [Fri, 28 Sep 2018 11:35:32 +0000 (21:35 +1000)]
Merge pull request #12879 from totten/master-contact-settings

(DX) Civi::contactSettings - Add a facade for working with the logged-in user's settings

6 years agoMerge pull request #12878 from colemanw/menu-icons
Seamus Lee [Fri, 28 Sep 2018 05:01:27 +0000 (15:01 +1000)]
Merge pull request #12878 from colemanw/menu-icons

Add icons to top-level navigation menu

6 years agoMerge pull request #12877 from colemanw/MailingComponentDAO
Seamus Lee [Fri, 28 Sep 2018 04:59:47 +0000 (14:59 +1000)]
Merge pull request #12877 from colemanw/MailingComponentDAO

Regenerate MailingComponent DAO file to reflect recent changes

6 years agoRegenerate sql for Add icons to top-level navigation menu (#7)
Kevin Cristiano [Fri, 28 Sep 2018 02:13:58 +0000 (22:13 -0400)]
Regenerate sql for Add icons to top-level navigation menu (#7)

6 years agoRegister "short" and "long" cache services
Tim Otten [Wed, 26 Sep 2018 23:19:45 +0000 (19:19 -0400)]
Register "short" and "long" cache services

Overview
--------

This is an improvement for developer-experience when working with caches.
It reduces the amount of boilerplate required for core-code or
extension-code in a typical caching use-case.

Before
------

* To use a short-lived/latency-optimized cache (e.g. Redis or PHP array),
  you can work with the default cache instance (`Civi::cache('default')`.
* To use a long-lived/durability-optimized cache (e.g. Redis or SQL), there is no
  simple way or code. You must [register a custom cache service](https://docs.civicrm.org/dev/en/latest/framework/cache/#example-named-service).

After
-----

* All the above remains true. Additionally, you can request the `short` or `long` cache service.
* To use a short-lived/latency-optimized cache, you can use `Civi::cache('short')`. (`short` and `default` are synonmyms.)
* To use a long-lived/durability-optimized cache, you can use use `Civi::cache('long')`.

Comments
--------

* After this is approved, we should update the [dev docs for caching](https://docs.civicrm.org/dev/en/latest/framework/cache/).
* There's a bike-sheddy argument about the naming. I'd be willing to rename if there was a strong reason, but I don't really think
  there is a strong reason. This naming convention provides a simple dichotomy of `short` vs `long`.

6 years agoMerge pull request #12790 from alifrumin/core362
Eileen McNaughton [Fri, 28 Sep 2018 01:16:06 +0000 (13:16 +1200)]
Merge pull request #12790 from alifrumin/core362

dev/core#362 fix search functionality of contact reference fields in On Behalf Profiles