civicrm-core.git
5 years agoMerge pull request #12727 from pradpnayak/Pseudoconstant
colemanw [Fri, 24 Aug 2018 23:58:01 +0000 (19:58 -0400)]
Merge pull request #12727 from pradpnayak/Pseudoconstant

Added Pseudoconstant for phone and website type

5 years agoMerge pull request #12725 from civicrm/5.5
Seamus Lee [Fri, 24 Aug 2018 20:42:13 +0000 (06:42 +1000)]
Merge pull request #12725 from civicrm/5.5

5.5

5 years agoAdded Pseudoconstant for phone and website type
Pradeep Nayak [Fri, 24 Aug 2018 12:03:01 +0000 (13:03 +0100)]
Added Pseudoconstant for phone and website type

5 years agoMerge pull request #12720 from selwyntcy/patch-1
Monish Deb [Fri, 24 Aug 2018 06:31:21 +0000 (12:01 +0530)]
Merge pull request #12720 from selwyntcy/patch-1

(NFC) Fix incorrect reference of doTransferCheckout() in comments

5 years agoMerge pull request #12718 from mattwire/custom_field_optiongroup_fix
Monish Deb [Fri, 24 Aug 2018 06:30:47 +0000 (12:00 +0530)]
Merge pull request #12718 from mattwire/custom_field_optiongroup_fix

Fix for issue editing custom fields with option groups after #12423

5 years agoMerge pull request #12719 from seamuslee001/update_sql_generated
Eileen McNaughton [Thu, 23 Aug 2018 21:11:34 +0000 (09:11 +1200)]
Merge pull request #12719 from seamuslee001/update_sql_generated

Update civicrm_generated mysql file following changes to custom mysql…

5 years agoMerge pull request #12722 from eileenmcnaughton/report_instance
Monish Deb [Thu, 23 Aug 2018 18:02:47 +0000 (23:32 +0530)]
Merge pull request #12722 from eileenmcnaughton/report_instance

Fix ReportInstance BAO to call post hook after save (instead of calling pre twice).

5 years agoMerge pull request #12708 from colemanw/summary
colemanw [Thu, 23 Aug 2018 14:47:26 +0000 (10:47 -0400)]
Merge pull request #12708 from colemanw/summary

Contact summary - adjust block width when editing

5 years agoFix ReportInstance BAO to call post hook after save (instead of calling pre twice).
eileen [Thu, 23 Aug 2018 10:41:15 +0000 (22:41 +1200)]
Fix ReportInstance BAO to call post hook after save (instead of calling pre twice).

Also, remove one unused var

5 years agoFix inconsistent reference to function name
Selwyn Tang [Thu, 23 Aug 2018 08:06:42 +0000 (16:06 +0800)]
Fix inconsistent reference to function name

5 years agoFix inconsistent reference to function name
Selwyn Tang [Thu, 23 Aug 2018 08:05:24 +0000 (16:05 +0800)]
Fix inconsistent reference to function name

5 years agoFix inconsistent reference to function name
Selwyn Tang [Thu, 23 Aug 2018 08:03:11 +0000 (16:03 +0800)]
Fix inconsistent reference to function name

5 years agoUpdate civicrm_generated mysql file following changes to custom mysql file
Seamus Lee [Wed, 22 Aug 2018 22:09:59 +0000 (08:09 +1000)]
Update civicrm_generated mysql file following changes to custom mysql file

5 years agoFix for issue editing custom fields with option groups after #12423
Matthew Wire (MJW Consulting) [Wed, 22 Aug 2018 21:55:10 +0000 (22:55 +0100)]
Fix for issue editing custom fields with option groups after #12423

5 years agoContact summary - adjust block width when editing
Coleman Watts [Tue, 21 Aug 2018 20:52:26 +0000 (16:52 -0400)]
Contact summary - adjust block width when editing

5 years agoMerge pull request #12715 from mattwire/comments_2
colemanw [Wed, 22 Aug 2018 15:49:11 +0000 (11:49 -0400)]
Merge pull request #12715 from mattwire/comments_2

Minor comment and typo cleanup

5 years agoComments
Matthew Wire (MJW Consulting) [Wed, 22 Aug 2018 13:16:04 +0000 (14:16 +0100)]
Comments

5 years agoMerge pull request #12705 from pradpnayak/Visibility
Eileen McNaughton [Tue, 21 Aug 2018 19:59:33 +0000 (07:59 +1200)]
Merge pull request #12705 from pradpnayak/Visibility

Added Pseudoconstant tag for visibility

5 years agoAdded Pseudoconstant tag for visibility
Pradeep Nayak [Tue, 21 Aug 2018 14:58:22 +0000 (15:58 +0100)]
Added Pseudoconstant tag for visibility

5 years agoMerge pull request #12702 from colemanw/urls
colemanw [Tue, 21 Aug 2018 11:15:31 +0000 (07:15 -0400)]
Merge pull request #12702 from colemanw/urls

Navigation - Don't reprocess fully-formed urls

5 years agoMerge pull request #12692 from andrewpthompson/dev-joomla-2
Eileen McNaughton [Tue, 21 Aug 2018 05:31:31 +0000 (17:31 +1200)]
Merge pull request #12692 from andrewpthompson/dev-joomla-2

dev/joomla#2 Joomla on Windows cli.php & cron.php fail due to incorrect path

5 years agoNavigation - Don't reprocess fully-formed urls
Coleman Watts [Mon, 20 Aug 2018 21:52:57 +0000 (17:52 -0400)]
Navigation - Don't reprocess fully-formed urls

5 years agoMerge pull request #12696 from eileenmcnaughton/matt_1
Eileen McNaughton [Mon, 20 Aug 2018 20:50:21 +0000 (08:50 +1200)]
Merge pull request #12696 from eileenmcnaughton/matt_1

NFC cleanup to Membership/Renewal form classes.

5 years agoMerge pull request #12698 from yashodha/CRM-21677
Eileen McNaughton [Mon, 20 Aug 2018 20:48:16 +0000 (08:48 +1200)]
Merge pull request #12698 from yashodha/CRM-21677

CRM-21677 - report clean up

5 years agoCRM-21677 - report clean up
yashodha [Mon, 20 Aug 2018 08:37:34 +0000 (14:07 +0530)]
CRM-21677 - report clean up

5 years agoNFC cleanup to Membership/Renewal form classes.
Matthew Wire (MJW Consulting) [Mon, 20 Aug 2018 04:58:25 +0000 (16:58 +1200)]
NFC cleanup to Membership/Renewal form classes.

5 years agoUse DIRECTORY_SEPARATOR in getBasePath()
andrewpthompson [Mon, 20 Aug 2018 04:15:58 +0000 (13:45 +0930)]
Use DIRECTORY_SEPARATOR in getBasePath()

Hard-coded forward slash resulted in incorrect path on Windows

5 years agoMerge pull request #12628 from colemanw/Use
Eileen McNaughton [Mon, 20 Aug 2018 03:00:10 +0000 (15:00 +1200)]
Merge pull request #12628 from colemanw/Use

Use static cache for UFMatch lookups to improve performance

5 years agoMerge pull request #12689 from eileenmcnaughton/money_fn
Eileen McNaughton [Mon, 20 Aug 2018 01:14:08 +0000 (13:14 +1200)]
Merge pull request #12689 from eileenmcnaughton/money_fn

Add test for new rounded money format functions

5 years agoAdd test for new rounded money format functions
eileen [Sun, 19 Aug 2018 22:40:57 +0000 (10:40 +1200)]
Add test for new rounded money format functions

Note that there are also some protected functions added. I have left those to be teste via this wrapper as they are not yet exposed

5 years agoMerge pull request #12626 from eileenmcnaughton/money_fn
Eileen McNaughton [Sun, 19 Aug 2018 22:28:23 +0000 (10:28 +1200)]
Merge pull request #12626 from eileenmcnaughton/money_fn

dev/core/#119 Fix mishandling of non decimal currency on additional payment form.

5 years agoMerge pull request #12686 from lcdservices/dev-core-341
Eileen McNaughton [Sun, 19 Aug 2018 21:51:43 +0000 (09:51 +1200)]
Merge pull request #12686 from lcdservices/dev-core-341

dev/core#341 sybunt custom search date field fix

5 years agodev/core#341 sybunt custom search date field fix
Brian Shaughnessy [Sat, 18 Aug 2018 14:20:33 +0000 (10:20 -0400)]
dev/core#341 sybunt custom search date field fix

5 years agoMerge pull request #12652 from davejenx/core-322
Seamus Lee [Fri, 17 Aug 2018 23:40:42 +0000 (09:40 +1000)]
Merge pull request #12652 from davejenx/core-322

dev/core/issues/322 - fix JS error on contribution page, completing form…

5 years agoMerge pull request #12642 from eileenmcnaughton/recur
Seamus Lee [Fri, 17 Aug 2018 22:34:33 +0000 (08:34 +1000)]
Merge pull request #12642 from eileenmcnaughton/recur

Code cleanup on Membership form when freezing fields in a recurring exists situation

5 years agoMerge pull request #12685 from MegaphoneJon/fix-pledge-report-group-filter
Yashodha Chaku [Fri, 17 Aug 2018 14:34:24 +0000 (20:04 +0530)]
Merge pull request #12685 from MegaphoneJon/fix-pledge-report-group-filter

Replicate fix on PR #12643 for pledge report

5 years agoReplicate fix on PR #12643 for pledge report
Jon Goldberg [Fri, 17 Aug 2018 11:51:21 +0000 (07:51 -0400)]
Replicate fix on PR #12643 for pledge report

5 years agoMerge pull request #12664 from totten/master-prevnext-ifclean
Eileen McNaughton [Fri, 17 Aug 2018 08:13:54 +0000 (20:13 +1200)]
Merge pull request #12664 from totten/master-prevnext-ifclean

(dev/core#217) PrevNext - Remove references to entity_table and entity_id2 from service. Add test.

5 years agoMerge pull request #12683 from civicrm/5.5
Eileen McNaughton [Fri, 17 Aug 2018 07:51:31 +0000 (19:51 +1200)]
Merge pull request #12683 from civicrm/5.5

5.5

5 years agoMerge pull request #12671 from eileenmcnaughton/ex55
Tim Otten [Fri, 17 Aug 2018 06:14:41 +0000 (23:14 -0700)]
Merge pull request #12671 from eileenmcnaughton/ex55

Fix + Add test for exporting location types with changed names

5 years ago(dev/core#217) Improve test coverage of PrevNext::deleteItem
Tim Otten [Sat, 21 Jul 2018 04:05:50 +0000 (21:05 -0700)]
(dev/core#217) Improve test coverage of PrevNext::deleteItem

5 years ago(dev/core#217) Add E2E_Core_PrevNextTest
Tim Otten [Tue, 10 Jul 2018 00:47:08 +0000 (17:47 -0700)]
(dev/core#217) Add E2E_Core_PrevNextTest

5 years ago(dev/core#217) PrevNext - Remove references to entity_table and entity_id2 from service
Tim Otten [Sun, 8 Jul 2018 02:31:36 +0000 (19:31 -0700)]
(dev/core#217) PrevNext - Remove references to entity_table and entity_id2 from service

The PrevNext service/interface aims to be a replaceable component for use
the search-caching (but not deduping).

The interface that we produced from refactoring includes several references
to `entity_table` and `entity_id2` -- these values are part of the SQL
table, and they're needed for dedupe, but they don't seem to convey anything
meaningful for search-caching.  Including these fields makes the interface
more complicated -- which will make it hard to implement other variants.

The general gist of this commit is that we no longer fill those two columns,
and we no longer read them.

In a couple functions, we split the new OOP implementation
(`CRM_Core_PrevNextCache_Sql`) from the traditional static BAO
implementation (`CRM_Core_BAO_PrevNext`) so that we can omit these fields.

5 years ago(dev/core#217) PrevNext - Make `entity_id2` optional (in SQL)
Tim Otten [Sun, 8 Jul 2018 02:30:47 +0000 (19:30 -0700)]
(dev/core#217) PrevNext - Make `entity_id2` optional (in SQL)

5 years agoMerge pull request #12680 from mattwire/comments
Eileen McNaughton [Thu, 16 Aug 2018 22:34:23 +0000 (10:34 +1200)]
Merge pull request #12680 from mattwire/comments

NFC Add/update two comments

5 years agoMerge pull request #12424 from alifrumin/editOwnEvents
Eileen McNaughton [Thu, 16 Aug 2018 22:16:55 +0000 (10:16 +1200)]
Merge pull request #12424 from alifrumin/editOwnEvents

 Ensure users with the perm "CiviEvent: access CiviEvent " can edit events they have created.

5 years agoNFC comments
Matthew Wire (MJW Consulting) [Thu, 16 Aug 2018 16:43:44 +0000 (17:43 +0100)]
NFC comments

5 years agoMerge pull request #12663 from totten/master-prevnext-consistent
Eileen McNaughton [Thu, 16 Aug 2018 09:16:37 +0000 (21:16 +1200)]
Merge pull request #12663 from totten/master-prevnext-consistent

(dev/core#217) PrevNext - Use more consistent cache-keys while adjusting filters

5 years agoMerge pull request #12677 from civicrm/5.5
Eileen McNaughton [Thu, 16 Aug 2018 08:44:55 +0000 (20:44 +1200)]
Merge pull request #12677 from civicrm/5.5

5.5 to master

5 years agoMerge pull request #12674 from totten/5.5-upgr-tpl-msg
Eileen McNaughton [Thu, 16 Aug 2018 08:44:20 +0000 (20:44 +1200)]
Merge pull request #12674 from totten/5.5-upgr-tpl-msg

Upgrader - When updating message templates, identify them by name

5 years agoMerge pull request #12670 from totten/5.5-perm-msg
Eileen McNaughton [Thu, 16 Aug 2018 06:44:05 +0000 (18:44 +1200)]
Merge pull request #12670 from totten/5.5-perm-msg

Refine upgrade message for `save Report Criteria`

5 years agoFix + Add test for exporting location types with changed names
eileen [Wed, 15 Aug 2018 07:48:28 +0000 (19:48 +1200)]
Fix + Add test for exporting location types with changed names

5 years agoMerge pull request #12676 from civicrm/5.5
Eileen McNaughton [Thu, 16 Aug 2018 05:58:26 +0000 (17:58 +1200)]
Merge pull request #12676 from civicrm/5.5

5.5 to master

5 years agoMerge pull request #12673 from eileenmcnaughton/atest
Eileen McNaughton [Thu, 16 Aug 2018 05:58:03 +0000 (17:58 +1200)]
Merge pull request #12673 from eileenmcnaughton/atest

Test fix for intermittant error

5 years agoUpgrader - When updating message templates, identify them by name
Tim Otten [Thu, 16 Aug 2018 05:14:23 +0000 (22:14 -0700)]
Upgrader - When updating message templates, identify them by name

Also: Fix a layout issue caused by a typo in the `<li>` tag.

5 years agoLoosedn activityTest on country order.
eileen [Thu, 16 Aug 2018 03:49:11 +0000 (15:49 +1200)]
Loosedn activityTest on country order.

The order is no considered significant, be open minded

5 years ago(NFC) Upgrade - Improve example of an upgrade message for a new permission
Tim Otten [Wed, 15 Aug 2018 21:33:52 +0000 (14:33 -0700)]
(NFC) Upgrade - Improve example of an upgrade message for a new permission

@bgm pointed out that the permission name should be translated as well.
This left me wondering...  why do we bother with parameterizing the string
with a `%1` if it's all going to be translated anyway?

There is a plausible reason.  It's not super-critical, but it's plausible --
the permission name is used in more contexts (like the permission mgmt
screen in D7/WP *as well as* the upgrade screen).  This arrangement ensures
that the name appears the same in *all those contexts*, even in various
edge-cases of the translation lifecycle (e.g.  where the permission-names
have been translated but the upgrade-messages have not).  Again...  it's not
a big deal, but it is a slightly better default.

5 years agoUpgrade messages - When going through 5.4.*, the permission name should be legible
Tim Otten [Wed, 15 Aug 2018 21:36:10 +0000 (14:36 -0700)]
Upgrade messages - When going through 5.4.*, the permission name should be legible

5 years agoUpgrade messages - When going through 5.4.*, only display permission message once
Tim Otten [Wed, 15 Aug 2018 21:09:04 +0000 (14:09 -0700)]
Upgrade messages - When going through 5.4.*, only display permission message once

5 years agoMerge pull request #12666 from jmcclelland/issue328
Eileen McNaughton [Wed, 15 Aug 2018 20:06:58 +0000 (08:06 +1200)]
Merge pull request #12666 from jmcclelland/issue328

don't add query to developer tab if we are downloading the data

5 years agodon't add query to dev tab for each row
Jamie McClelland [Wed, 15 Aug 2018 14:37:35 +0000 (10:37 -0400)]
don't add query to dev tab for each row

Adding the query to the dev tab for each row consumes a lot of resources
for the informational gain we get.

5 years agodon't output to dev tab if dev tab won't be displayed
Jamie McClelland [Wed, 15 Aug 2018 14:36:00 +0000 (10:36 -0400)]
don't output to dev tab if dev tab won't be displayed

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

5 years ago(dev/core#217) PrevNext - Use more consistent cache-keys while adjusting filters
Tim Otten [Sat, 7 Jul 2018 04:45:19 +0000 (21:45 -0700)]
(dev/core#217) PrevNext - Use more consistent cache-keys while adjusting filters

Suppose you run a search ("Find Contact", "Advanced Search", "Custom Search", etc). The result screen includes
several elements (which we'll reference below):

1. Standard pagination (Previous/Next; First/Last; Jump-To)
2. Numerical option for page-size
3. Sortable columns
4. An alphabetical filter
5. Checkboxes

As you work with these options, the content of the `civicrm_prevnext_cache` table may change. This patch does
not substantively change what's in that cache, but makes the column `cacheKey` simpler and more consistent.

Both Before and After (Unchanged)
---------------------------------
* The form's qfKey identifies the current screen/filters/cache.
* If you navigate to the next/previous page (`#1`) or adjust the page-size (`#2`), the content in `civicrm_prevnext_cache` remains the same (for the given qfKey).
* If you change the sort column (`#3`) or alphabetic filter (`#4`), the content in `civicrm_prevnext_cache` is deleted and repopulated (for the given qfKey).
* If you toggle a checkbox, the `civicrm_prevnext_cache.is_selected` property updates accordingly. These selections are retained when changing pages (`#1`/`#2`),
  but they're reset if you use sort or alphabet options (`#3`/`#4`).

Before
------
* The content of `civicrm_prevnext_cache.cacheKey` takes one of two forms, depending on whether you're using an alphabetic filter (`#4`).
    * `civicrm search {qfKey}` (typical, without any alphabetic filter)
    * `civicrm search {qfKey}_alphabet` (less common, with an alphabetic filter)
* The queries which read or delete the query-cache use a prefix+wildcard, i.e. `WHERE cacheKey LIKE 'civicrm search {qfKey}%'`.

After
-----
* The content of `civicrm_prevnext_cache.cacheKey` takes only one form
    * `civicrm search {qfKey}`
* The queries which read or delete the query-cache use an exact match, i.e. `WHERE cacheKey = 'civicrm search {qfKey}'`.`
* The text `_alphabet` does not appear in the PHP source folders (CRM, Civi, bin, api, extern, tests).

Comments
--------
In theory, one can imagine that it's desireable to keep the cached results for each of the sorted/filtered variants of the query.
That might allow the user to quickly switch among different sortings and different alphabetic-filters, or it might
allow some kind of clever management of the selections. But this is not so. As we see (both before and after), the substance
of the cache is deleted whenever the user changes `#3`/`#4`. In reality, one user browsing a search screen corresponds to exactly
one query-cache. As near as I can tell, the old code made the names change for no real reason at all.

To observe the behavior empirically, I would twiddle the UI widgets and concurrently inspect the content of the cache tables.  For example:

```
mysql> select group_name, path, FROM_BASE64(data), expired_date  from civicrm_cache where path like 'civicrm search%';
select 'Total records in' as label, cacheKey, count(*), min(id), max(id) from civicrm_prevnext_cache group by cacheKey
union select 'Selected records in ', cacheKey, count(*), min(id), max(id) from civicrm_prevnext_cache where is_selected=1 group by cacheKey;
+------------------------------+------------------------------------------------------+--------------------------------------------------------------+--------------+
| group_name                   | path                                                 | FROM_BASE64(data)                                            | expired_date |
+------------------------------+------------------------------------------------------+--------------------------------------------------------------+--------------+
| CiviCRM Search PrevNextCache | civicrm search a8ed1e2039241c41457a88f65aa8a8ee_7845 | s:52:"civicrm search a8ed1e2039241c41457a88f65aa8a8ee_7845"; | NULL         |
+------------------------------+------------------------------------------------------+--------------------------------------------------------------+--------------+
1 row in set (0.00 sec)

+----------------------+------------------------------------------------------+----------+---------+---------+
| label                | cacheKey                                             | count(*) | min(id) | max(id) |
+----------------------+------------------------------------------------------+----------+---------+---------+
| Total records in     | civicrm search a8ed1e2039241c41457a88f65aa8a8ee_7845 |        6 |     787 |     792 |
| Selected records in  | civicrm search a8ed1e2039241c41457a88f65aa8a8ee_7845 |        1 |     789 |     789 |
+----------------------+------------------------------------------------------+----------+---------+---------+
2 rows in set (0.01 sec)
```

5 years agoMerge pull request #12661 from pradpnayak/report-error-gender
Eileen McNaughton [Tue, 14 Aug 2018 19:44:21 +0000 (07:44 +1200)]
Merge pull request #12661 from pradpnayak/report-error-gender

Fixed fatal error when Gender is selected in column

5 years agoMerge pull request #12656 from eileenmcnaughton/dev_tab
colemanw [Tue, 14 Aug 2018 19:04:09 +0000 (15:04 -0400)]
Merge pull request #12656 from eileenmcnaughton/dev_tab

Add SQL modes to developer tab

5 years agoFixed fatal error when Gender is selected in column
Pradeep Nayak [Tue, 14 Aug 2018 15:43:04 +0000 (16:43 +0100)]
Fixed fatal error when Gender is selected in column

5 years agoMerge pull request #12579 from eileenmcnaughton/export_another
colemanw [Tue, 14 Aug 2018 15:31:11 +0000 (11:31 -0400)]
Merge pull request #12579 from eileenmcnaughton/export_another

Export minor refactor Move household relationship types to the processor

5 years agoMerge pull request #12658 from eileenmcnaughton/report_function
Eileen McNaughton [Tue, 14 Aug 2018 07:25:34 +0000 (19:25 +1200)]
Merge pull request #12658 from eileenmcnaughton/report_function

[NFC] Minor function extraction in report class.

5 years agoMinor function extraction in report class.
eileen [Tue, 14 Aug 2018 02:39:06 +0000 (14:39 +1200)]
Minor function extraction in report class.

This mirrors a similar refactor in the extended reports class (which also
allows it to be called from more than one place

5 years agoRemove nbsp handling (now it no longer works)
eileen [Tue, 14 Aug 2018 02:32:56 +0000 (14:32 +1200)]
Remove nbsp handling (now it no longer works)

5 years agoMerge pull request #12657 from civicrm/5.5
Eileen McNaughton [Tue, 14 Aug 2018 00:23:09 +0000 (12:23 +1200)]
Merge pull request #12657 from civicrm/5.5

5.5

5 years agoMerge pull request #12634 from seamuslee001/dev_core_273
Seamus Lee [Tue, 14 Aug 2018 00:20:01 +0000 (10:20 +1000)]
Merge pull request #12634 from seamuslee001/dev_core_273

dev/core/#273 Fix issue where sending an SMS with the To Field in the…

5 years agoAdd SQL modes to developer tab
eileen [Tue, 14 Aug 2018 00:14:29 +0000 (12:14 +1200)]
Add SQL modes to developer tab

5 years agodev/core/#273 Fix issue where sending an SMS with the To Field in the provider params...
Seamus Lee [Wed, 8 Aug 2018 04:38:25 +0000 (14:38 +1000)]
dev/core/#273 Fix issue where sending an SMS with the To Field in the provider params set did not work and fix handling of do_not_sms

Add test of error message

5 years agodev/core/issues/322 - fix JS error on contribution page, completing form on behalf...
Dave Jenkins [Mon, 13 Aug 2018 17:10:17 +0000 (18:10 +0100)]
dev/core/issues/322 - fix JS error on contribution page, completing form on behalf of someone else, when profile includes checkbox field.

5 years agoMerge pull request #11923 from lcdservices/GL-44
Eileen McNaughton [Mon, 13 Aug 2018 10:31:56 +0000 (22:31 +1200)]
Merge pull request #11923 from lcdservices/GL-44

GL-44 admin price field options on event info page

5 years agoMerge pull request #12643 from jmcclelland/issue320
colemanw [Mon, 13 Aug 2018 00:06:58 +0000 (20:06 -0400)]
Merge pull request #12643 from jmcclelland/issue320

filter current employer report by all groups

5 years agoMerge pull request #12632 from mattwire/joomla_civimenu
colemanw [Sun, 12 Aug 2018 23:30:35 +0000 (19:30 -0400)]
Merge pull request #12632 from mattwire/joomla_civimenu

Drop custom CSS for Joomla CiviCRM menu so it works with shoreditch theme

5 years agoMerge pull request #12463 from JMAConsulting/dev-core-237
colemanw [Sun, 12 Aug 2018 23:17:35 +0000 (19:17 -0400)]
Merge pull request #12463 from JMAConsulting/dev-core-237

dev/core#237 : Hide Drupal8 Administer Menu bar on CiviCRM pages and move navigation js hacks to respective CMS js

5 years agoMerge pull request #12645 from KarinG/FinancialAuditCompleteMembershipTest
Eileen McNaughton [Sun, 12 Aug 2018 23:14:22 +0000 (11:14 +1200)]
Merge pull request #12645 from KarinG/FinancialAuditCompleteMembershipTest

[phpunit test only] - Add one additional data integrity check to ensure that after Edit Fin…

5 years agoMerge pull request #12648 from civicrm/5.5
Eileen McNaughton [Sun, 12 Aug 2018 23:08:59 +0000 (11:08 +1200)]
Merge pull request #12648 from civicrm/5.5

5.5 to master

5 years agoMerge pull request #12646 from eileenmcnaughton/option_group_cache
colemanw [Sun, 12 Aug 2018 23:01:38 +0000 (19:01 -0400)]
Merge pull request #12646 from eileenmcnaughton/option_group_cache

Fix option group caching issue.

5 years agoFix option group caching issue.
eileen [Sun, 12 Aug 2018 07:16:12 +0000 (19:16 +1200)]
Fix option group caching issue.

Per https://lab.civicrm.org/dev/core/issues/304 in some cases the api
cache has already been built so adding a new option_group
is not picked up causing a crash

5 years agoAdd one additional data integrity check to ensure that after Edit Financial Items...
KarinG [Sat, 11 Aug 2018 23:20:19 +0000 (17:20 -0600)]
Add one additional data integrity check to ensure that after Edit Financial Items add up to total_amount at Contribution level.

5 years agoMerge pull request #12576 from colemanw/userPerm
Monish Deb [Sat, 11 Aug 2018 14:00:55 +0000 (19:30 +0530)]
Merge pull request #12576 from colemanw/userPerm

Fix CRM_ACL_API::whereClause to respect $contactId param

5 years agoMerge pull request #12644 from civicrm/5.5
Eileen McNaughton [Sat, 11 Aug 2018 02:12:00 +0000 (14:12 +1200)]
Merge pull request #12644 from civicrm/5.5

5.5 to master

5 years agoMerge pull request #12640 from xurizaemon/GL316-cache_key_no_whitespace
Eileen McNaughton [Sat, 11 Aug 2018 02:11:32 +0000 (14:11 +1200)]
Merge pull request #12640 from xurizaemon/GL316-cache_key_no_whitespace

(dev/core#316) Fix crash on Memcache systems when session key involves whitespace

5 years agodev/core#316 - Update long string cache key test results
Tim Otten [Fri, 10 Aug 2018 22:52:42 +0000 (15:52 -0700)]
dev/core#316 - Update long string cache key test results

This is replaces 95b65673b6259be3a02ed6510e7562939d35b6c8.  The intent is to
have a delimiter every ten chars so that it's easy to read/confirm the
length of the string.

The delimiter was space, but this became a longer encoded char (`-20`)
and threw off the numbers. Switching to dash just gives a different encoded char.
To get the counts right, it needs ot be a pass-through char... like underscore.

5 years agoMerge pull request #12631 from JMAConsulting/dev-access-10-1
Seamus Lee [Fri, 10 Aug 2018 22:11:50 +0000 (08:11 +1000)]
Merge pull request #12631 from JMAConsulting/dev-access-10-1

dev/accessibility#10 : Moved datepicker widget to a separate file

5 years agofilter current employer report by all groups
Jamie McClelland [Fri, 10 Aug 2018 20:09:15 +0000 (16:09 -0400)]
filter current employer report by all groups

Code only filtered by static groups before.

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

5 years ago(NFC) CRM_Utils_Cache::create - Update docblock for 'name' param
Tim Otten [Fri, 10 Aug 2018 19:43:02 +0000 (12:43 -0700)]
(NFC) CRM_Utils_Cache::create - Update docblock for 'name' param

5 years agoMove datepicker widget to a separate file
deb.monish [Tue, 7 Aug 2018 13:25:32 +0000 (18:55 +0530)]
Move datepicker widget to a separate file

5 years agoadditional fixes
deb.monish [Wed, 18 Jul 2018 12:51:18 +0000 (18:21 +0530)]
additional fixes

5 years agodev/core#237 : Hide Drupal8 Administer Menu bar on CiviCRM pages
deb.monish [Fri, 13 Jul 2018 05:25:02 +0000 (10:55 +0530)]
dev/core#237 : Hide Drupal8 Administer Menu bar on CiviCRM pages

5 years agoIssue #316: Update long string cache key test results
Chris Burgess [Fri, 10 Aug 2018 11:55:14 +0000 (23:55 +1200)]
Issue #316: Update long string cache key test results

5 years agoIssue #316: Ensure Container caches have safe prefixes
Chris Burgess [Fri, 10 Aug 2018 11:44:34 +0000 (23:44 +1200)]
Issue #316: Ensure Container caches have safe prefixes

5 years agoIssue #316: Expand cache key test coverage with emoji
Chris Burgess [Fri, 10 Aug 2018 10:11:54 +0000 (22:11 +1200)]
Issue #316: Expand cache key test coverage with emoji

5 years agoIssue #316: Update tests for whitespace escaping
Chris Burgess [Fri, 10 Aug 2018 10:05:55 +0000 (22:05 +1200)]
Issue #316: Update tests for whitespace escaping

5 years agoAvoid calling Cache::cleanKey() twice in quick succession
Chris Burgess [Thu, 9 Aug 2018 21:23:04 +0000 (09:23 +1200)]
Avoid calling Cache::cleanKey() twice in quick succession

Since this method is performance related and called frequently,
no need to recalculate results from preg_replace_callback() with
the same inputs.

5 years agoIssue #316: Exclude spaces from cache keys for Memcache compatibility
Chris Burgess [Thu, 9 Aug 2018 21:21:59 +0000 (09:21 +1200)]
Issue #316: Exclude spaces from cache keys for Memcache compatibility

- https://lab.civicrm.org/dev/core/issues/316
- https://github.com/memcached/memcached/blob/master/doc/protocol.txt