civicrm-core.git
7 years agoMerge pull request #10515 from yashodha/CRM-20741
Yashodha Chaku [Wed, 21 Jun 2017 04:23:36 +0000 (09:53 +0530)]
Merge pull request #10515 from yashodha/CRM-20741

CRM-20741 - Cancellation message shown as error

7 years agoMerge pull request #10455 from JO0st/CRM-20670
Eileen McNaughton [Wed, 21 Jun 2017 02:14:37 +0000 (14:14 +1200)]
Merge pull request #10455 from JO0st/CRM-20670

    CRM-20670 fix editing membership types with a lot of members

7 years agoMerge pull request #10487 from mfb/CRM-20713
Eileen McNaughton [Tue, 20 Jun 2017 22:29:12 +0000 (10:29 +1200)]
Merge pull request #10487 from mfb/CRM-20713

CRM-20713 - CiviMail - do not set mode = 'sms' if sms_provider_id = 'null'

7 years agoMerge pull request #10449 from jmcclelland/CRM-20666
Mathieu Lu [Tue, 20 Jun 2017 15:38:08 +0000 (11:38 -0400)]
Merge pull request #10449 from jmcclelland/CRM-20666

CRM-20666 - allow filenames up to 255 characters

7 years agofixes editing membership type for membershiptypes with a lot of members
Joost [Thu, 1 Jun 2017 09:55:51 +0000 (11:55 +0200)]
fixes editing membership type for membershiptypes with a lot of members

7 years agoMerge pull request #10532 from monishdeb/CRM-20488_soft_credit_organization
Monish Deb [Tue, 20 Jun 2017 07:29:38 +0000 (12:59 +0530)]
Merge pull request #10532 from monishdeb/CRM-20488_soft_credit_organization

CRM-20488: remove unused variable _honoreeProfileType

7 years agoCRM-20488: remove unused variable _honoreeProfileType
deb.monish [Tue, 20 Jun 2017 06:05:40 +0000 (11:35 +0530)]
CRM-20488: remove unused variable _honoreeProfileType

7 years agoMerge pull request #10528 from tschuettler/CRM-20746
Eileen McNaughton [Tue, 20 Jun 2017 05:01:55 +0000 (17:01 +1200)]
Merge pull request #10528 from tschuettler/CRM-20746

CRM-20746 - CiviMail - Use body_text for text part of resubscription …

7 years agoCRM-16395: Installation with localized default settings (4) (#10518)
Mathieu Lu [Tue, 20 Jun 2017 02:49:50 +0000 (22:49 -0400)]
CRM-16395: Installation with localized default settings (4) (#10518)

CRM-16395: Installation with localized default settings

This makes it possible to have a file in "civicrm/l10n/xx_YY/settings.default.json" with default settings that correspond to the locale during installation (ex: default country, currency, date formats, etc).

7 years agoMerge pull request #10432 from francescbassas/patch-11
Mathieu Lu [Tue, 20 Jun 2017 00:44:41 +0000 (20:44 -0400)]
Merge pull request #10432 from francescbassas/patch-11

CRM-20650 Translate strings

7 years agoMerge pull request #10424 from twomice/CRM-20401_subscription_urls
Eileen McNaughton [Mon, 19 Jun 2017 22:35:03 +0000 (10:35 +1200)]
Merge pull request #10424 from twomice/CRM-20401_subscription_urls

Fix CRM-20401: use native CiviCRM recurring links

7 years agoMerge pull request #10530 from davejenx/CRM-20443-master
Eileen McNaughton [Mon, 19 Jun 2017 22:27:13 +0000 (10:27 +1200)]
Merge pull request #10530 from davejenx/CRM-20443-master

CRM-20443 - SQL syntax error creating logging triggers if column name…

7 years agoMerge pull request #10419 from twomice/CRM-20488_soft_credit_organization
Monish Deb [Mon, 19 Jun 2017 20:16:25 +0000 (01:46 +0530)]
Merge pull request #10419 from twomice/CRM-20488_soft_credit_organization

Fix CRM-20488: remove restrictions on soft credit contact type.

7 years agoMerge pull request #10447 from JMAConsulting/CRM-19478
Monish Deb [Mon, 19 Jun 2017 19:40:47 +0000 (01:10 +0530)]
Merge pull request #10447 from JMAConsulting/CRM-19478

CRM-19478: Handle p=null oddity for Paypal Pro Recurring payments

7 years agominor fix
deb.monish [Mon, 19 Jun 2017 19:20:34 +0000 (00:50 +0530)]
minor fix

7 years agoAdditional for CRM-20488: remove useless preProcess() method.
Allen Shaw [Tue, 13 Jun 2017 15:54:00 +0000 (10:54 -0500)]
Additional for CRM-20488: remove useless preProcess() method.

7 years agoFix CRM-20488: remove restrictions on soft credit contact type.
Allen Shaw [Fri, 26 May 2017 00:51:07 +0000 (19:51 -0500)]
Fix CRM-20488: remove restrictions on soft credit contact type.

7 years agoMerge pull request #10524 from jitendrapurohit/CRM-20745
Monish Deb [Mon, 19 Jun 2017 18:59:57 +0000 (00:29 +0530)]
Merge pull request #10524 from jitendrapurohit/CRM-20745

CRM-20745: Post date of recur not respected in credit card pledge pay…

7 years agoMerge pull request #10521 from JMAConsulting/CRM-20495
Monish Deb [Mon, 19 Jun 2017 18:40:52 +0000 (00:10 +0530)]
Merge pull request #10521 from JMAConsulting/CRM-20495

CRM-20495 : 'Contribution amounts section' checkbox setting on contribution pages always shows as checked

7 years agoMerge pull request #10457 from jitendrapurohit/CRM-20675
Monish Deb [Mon, 19 Jun 2017 18:11:24 +0000 (23:41 +0530)]
Merge pull request #10457 from jitendrapurohit/CRM-20675

CRM-20675: Fix incorrect renewal activity created when membership upd…

7 years agoMinor fix at unit test
Monish Deb [Mon, 19 Jun 2017 17:29:04 +0000 (22:59 +0530)]
Minor fix at unit test

7 years agoCRM-20443 - SQL syntax error creating logging triggers if column name is reserved...
Dave Jenkins [Mon, 19 Jun 2017 17:02:14 +0000 (18:02 +0100)]
CRM-20443 - SQL syntax error creating logging triggers if column name is reserved word - 4.7 version

7 years agoMerge pull request #10467 from JMAConsulting/CRM-20682
Monish Deb [Mon, 19 Jun 2017 16:49:10 +0000 (22:19 +0530)]
Merge pull request #10467 from JMAConsulting/CRM-20682

CRM-20682: Include human readable contribution's custom field label in token widget for Thankyou letter

7 years agoCRM-20746 - CiviMail - Use body_text for text part of resubscription confirmation...
Thomas Schüttler [Mon, 19 Jun 2017 10:38:26 +0000 (12:38 +0200)]
CRM-20746 - CiviMail - Use body_text for text part of resubscription confirmation mails

----------------------------------------
* CRM-20746: CiviMail - text part of resubscribe confirmation mail contains html
  https://issues.civicrm.org/jira/browse/CRM-20746

7 years agoAdd test
Jitendra Purohit [Mon, 19 Jun 2017 09:51:50 +0000 (15:21 +0530)]
Add test

7 years agoMerge pull request #10526 from civicrm/4.7.21-rc
Eileen McNaughton [Mon, 19 Jun 2017 01:41:51 +0000 (13:41 +1200)]
Merge pull request #10526 from civicrm/4.7.21-rc

4.7.21 rc

7 years agoMerge pull request #10523 from seamuslee001/animated_image
Eileen McNaughton [Mon, 19 Jun 2017 00:18:56 +0000 (12:18 +1200)]
Merge pull request #10523 from seamuslee001/animated_image

(NFC) re add in animated-overlay.gif is no longer provided by jquery-ui

7 years agoMerge pull request #10525 from seamuslee001/contribution_test_rigger_fix
Eileen McNaughton [Sun, 18 Jun 2017 23:26:36 +0000 (11:26 +1200)]
Merge pull request #10525 from seamuslee001/contribution_test_rigger_fix

(NFC) Fix clearing messages to ensure test accuracy

7 years ago(NFC) Fix clearing messages to ensure test accuracy
Seamus Lee [Sun, 18 Jun 2017 22:07:30 +0000 (08:07 +1000)]
(NFC) Fix clearing messages to ensure test accuracy

7 years agoCRM-20745: Post date of recur not respected in credit card pledge payment
Jitendra Purohit [Sun, 18 Jun 2017 08:13:13 +0000 (13:43 +0530)]
CRM-20745: Post date of recur not respected in credit card pledge payment

7 years agoMerge pull request #10522 from colemanw/CRM-20743
colemanw [Sun, 18 Jun 2017 02:43:05 +0000 (22:43 -0400)]
Merge pull request #10522 from colemanw/CRM-20743

CRM-20743 - Check tag permissions in UI and BAO

7 years agoApply mlutfy changes
francescbassas [Sat, 17 Jun 2017 23:31:54 +0000 (01:31 +0200)]
Apply mlutfy changes

7 years ago(NFC) re add in animated-overlay.gif is no longer provided by jquery-ui
Seamus Lee [Sat, 17 Jun 2017 23:31:44 +0000 (09:31 +1000)]
(NFC) re add in animated-overlay.gif is no longer provided by jquery-ui

7 years agoApply mlutfy changes
francescbassas [Sat, 17 Jun 2017 23:30:37 +0000 (01:30 +0200)]
Apply mlutfy changes

7 years agoRemove stray semicolon
Coleman Watts [Sat, 17 Jun 2017 22:25:47 +0000 (18:25 -0400)]
Remove stray semicolon

7 years agoCRM-20743 - Check tag permissions in form layer
Coleman Watts [Sat, 17 Jun 2017 22:22:01 +0000 (18:22 -0400)]
CRM-20743 - Check tag permissions in form layer

7 years agoMerge pull request #10429 from JMAConsulting/CRM-20622
colemanw [Sat, 17 Jun 2017 22:19:29 +0000 (18:19 -0400)]
Merge pull request #10429 from JMAConsulting/CRM-20622

CRM-20622 , CRM-20673 : tags and groups panel layout/styling

7 years agoQA fixes
deb.monish [Sat, 17 Jun 2017 20:24:13 +0000 (01:54 +0530)]
QA fixes

7 years agoCRM-20743 - Check tag permissions in UI and BAO
Coleman Watts [Sat, 17 Jun 2017 18:43:40 +0000 (14:43 -0400)]
CRM-20743 - Check tag permissions in UI and BAO

7 years agoCRM-20673: Tag and group edit form: implement Select2 for tags
deb.monish [Wed, 14 Jun 2017 20:09:46 +0000 (01:39 +0530)]
CRM-20673: Tag and group edit form: implement Select2 for tags

7 years agoCRM-20622: contact edit: tags and groups panel layout/styling
deb.monish [Sun, 28 May 2017 10:08:03 +0000 (15:38 +0530)]
CRM-20622: contact edit: tags and groups panel layout/styling

7 years agoCRM-20495 : 'Contribution amounts section' checkbox setting on contribution pages...
deb.monish [Sat, 17 Jun 2017 15:17:37 +0000 (20:47 +0530)]
CRM-20495 : 'Contribution amounts section' checkbox setting on contribution pages always shows as checked

7 years agoMerge pull request #10441 from JMAConsulting/CRM-20621
Monish Deb [Sat, 17 Jun 2017 10:59:17 +0000 (16:29 +0530)]
Merge pull request #10441 from JMAConsulting/CRM-20621

CRM-20621 : manage tags: the tag usage count is not accurate

7 years agoSet version to 4.7.22
CiviCRM [Sat, 17 Jun 2017 06:41:23 +0000 (06:41 +0000)]
Set version to 4.7.22

7 years agoMerge pull request #10085 from totten/master-assets
Tim Otten [Sat, 17 Jun 2017 06:06:27 +0000 (23:06 -0700)]
Merge pull request #10085 from totten/master-assets

CRM-20600 - AngularJS - Allowing hooking and static-caching

7 years agoCRM-20600 - AssetBuiler - Add separate setting, `assetCache`
Tim Otten [Sat, 17 Jun 2017 05:16:15 +0000 (22:16 -0700)]
CRM-20600 - AssetBuiler - Add separate setting, `assetCache`

The default value (`auto`) behaves the same as the current behavior: enable
caching in production mode, disable caching in debug mode.

But it also allows you to enable/disable caching independent of the
prod/debug mode.

7 years agoMerge pull request #9790 from fliespl/patch-3
Mathieu Lu [Sat, 17 Jun 2017 03:42:51 +0000 (23:42 -0400)]
Merge pull request #9790 from fliespl/patch-3

CRM-19896 - customTranslateFunction not mapped

7 years agoMerge pull request #10519 from johanv/attribution_chirojeugd
Mathieu Lu [Sat, 17 Jun 2017 02:18:42 +0000 (22:18 -0400)]
Merge pull request #10519 from johanv/attribution_chirojeugd

(NFC) Attribution Chirojeugd Vlaanderen

7 years agoCRM-20600, CRM-20112 - AngularLoader - Add helper for base-pages and injections
Tim Otten [Thu, 25 May 2017 03:43:07 +0000 (20:43 -0700)]
CRM-20600, CRM-20112 - AngularLoader - Add helper for base-pages and injections

This commit extracts the `Civi\Angular\Page\Main::registerResources()` and
creates a new utility-class, `AngularLoader`.  The `AngularLoader` can be
used in new Angular base-pages, e.g.

```php
class Example extends CRM_Core_Page {
  public function run() {
    $loader = new \Civi\Angular\AngularLoader();
    $loader->setPageName('civicrm/foo/bar');
    $loader->setModules(array('crmApp', '...'));
    $loader->load();
    return parent::run();
  }
}
```

The `AngularLoader` only loads the resources or assets (JS/CSS/HTML files).
To start Angular, you'll need to call `ng-app` or `angular.bootstrap(...)`.
One way to do this is to define a page-template:

```html
<!-- Example.tpl -->
<div ng-app="crmApp">
  <div ng-view></div>
</div>
```

Or you can reuse the existing template:

```php
  public function getTemplateFileName() {
    return 'Civi/Angular/Page/Main.tpl';
  }
```

Note: This is framed as a utility-class which loads the Angular resource
files.  It's not a page-class/base-class.  This approach allows us to call
the utility from other situations -- e.g.  inject AngularJS onto an
pre-existing page via hook.  Doing that may or may not be wise, but the
class-hierarchy shouldn't be the issue.

7 years agoCRM-20600 - Civi\Angular\Manager - Add resolveDependencies(), resolveDefaultModules()
Tim Otten [Thu, 25 May 2017 03:40:04 +0000 (20:40 -0700)]
CRM-20600 - Civi\Angular\Manager - Add resolveDependencies(), resolveDefaultModules()

7 years agoCRM-20600 - CRM_Core_Resources - Add hook for settings data
Tim Otten [Sat, 20 May 2017 00:24:58 +0000 (17:24 -0700)]
CRM-20600 - CRM_Core_Resources - Add hook for settings data

7 years agoCRM-20600 - Civi\Angular\Manager - Add hook for modifying partials and dependencies
Tim Otten [Tue, 16 May 2017 09:46:33 +0000 (02:46 -0700)]
CRM-20600 - Civi\Angular\Manager - Add hook for modifying partials and dependencies

7 years agoCRM-20600 - Civi\Angular\ChangeSet - Implement a utility for modifying HTML snippets...
Tim Otten [Tue, 16 May 2017 06:43:57 +0000 (23:43 -0700)]
CRM-20600 - Civi\Angular\ChangeSet - Implement a utility for modifying HTML snippets via phpQuery

7 years agoCRM-20600 - composer.json - Add phpQuery
Tim Otten [Fri, 31 Mar 2017 19:55:45 +0000 (12:55 -0700)]
CRM-20600 - composer.json - Add phpQuery

7 years agoCRM-20600 - Angular deps - Add missing/implicit dependencies
Tim Otten [Tue, 23 May 2017 04:42:42 +0000 (21:42 -0700)]
CRM-20600 - Angular deps - Add missing/implicit dependencies

Several modules depended on `crmResource` but didn't declare it.

7 years agoCRM-20600 - Angular deps - Move from *.js to *.php
Tim Otten [Fri, 19 May 2017 04:25:58 +0000 (21:25 -0700)]
CRM-20600 - Angular deps - Move from *.js to *.php

If third-parties are allowed to alter the HTML content, then they may
introduce new dependencies.  This means that they'll need to delcare those
dependencies.

This commit actually moves the declarations for any in-house modules to PHP.

7 years agoCRM-20600 - Angular deps - Allow declaration in PHP code
Tim Otten [Fri, 19 May 2017 04:20:28 +0000 (21:20 -0700)]
CRM-20600 - Angular deps - Allow declaration in PHP code

If third-parties are allowed to alter the HTML content, then they may
introduce new dependencies.  This means that they'll need to delcare those
dependencies.

Tangentially, this will also make it easier to construct more optimized
base-pages (e.g.  "make a base-page with module X plus all its
dependencies").

7 years agoCRM-20600 - civicrm/a - Avoid dirty caches for permissioned modules
Tim Otten [Fri, 19 May 2017 01:52:47 +0000 (18:52 -0700)]
CRM-20600 - civicrm/a - Avoid dirty caches for permissioned modules

The default behavior is to include a `bundleUrl` for a bundle of "all
Angular modules".  However, some Angular modules like `crmMailing` are only
displayed if the current user has permission to access them.  This means
that the list of "all Angular modules" can be different (depending on who
you are; albeit in practice there's a small# of permutations).

This patch ensures that two users who access a different list of modules
will see a different `bundleUrl`.

7 years agoCRM-20600 - Civi\Angular\Manager::getStrings() - Scan raw HTML strings instead of...
Tim Otten [Tue, 16 May 2017 05:29:07 +0000 (22:29 -0700)]
CRM-20600 - Civi\Angular\Manager::getStrings() - Scan raw HTML strings instead of *.html files

Rationale: If the raw HTML can be modified via hook, then the HTML files are
not truly representative of the final output.  (e.g.  a hook might add a new
string to some HTML.)

Note: This patch means that we no longer benefit from the cache in
`CRM_Core_Resources_Strings`.  However, the typical user still pulls data
from a cache because we're using `AssetBuilder` to manage
`angular-modules.json`.

Note: `getStrings()` now requires a call to `getPartials()`, which is
expected to become more expensive (firing a hook).  To avoid building the
partials twice, we introduce a private cache.

7 years agoCRM-20600 - PartialSyntaxTest - Ensure that Angular partials are well-formed
Tim Otten [Sat, 1 Apr 2017 05:07:49 +0000 (22:07 -0700)]
CRM-20600 - PartialSyntaxTest - Ensure that Angular partials are well-formed

7 years agoCRM-20600 - Civi\Angular - Generate modules via AssetBuilder
Tim Otten [Fri, 31 Mar 2017 07:36:35 +0000 (00:36 -0700)]
CRM-20600 - Civi\Angular - Generate modules via AssetBuilder

In the typical use-case, AssetBuilder can avoid an extra CMS+Civi bootstrap
along with any build steps.

7 years agoCRM-20600 - Implement AssetBuilder - See extended docblock in AssetBuilder.php
Tim Otten [Fri, 31 Mar 2017 05:55:47 +0000 (22:55 -0700)]
CRM-20600 - Implement AssetBuilder - See extended docblock in AssetBuilder.php

7 years agoCRM-20600 - Move Angular metadata to civix-style files
Tim Otten [Fri, 19 May 2017 03:39:11 +0000 (20:39 -0700)]
CRM-20600 - Move Angular metadata to civix-style files

This PR moves the metadata about Angular modules out of Civi\Angular\Manager
and into standalone files (`ang/*.ang.php`).  This uses the same structure
as `civix`.  Also, this makes it easier to navigate between the
JS/HTML/CSS/PHP content.

To test that these changes were safe, I ran the following command before and
after this commit:

$ cv ev 'var_dump(Civi::service("angular")->getModules());'

The results were substantively identical.

7 years agoMerge pull request #10520 from seamuslee001/CRM-20744
colemanw [Sat, 17 Jun 2017 01:34:51 +0000 (21:34 -0400)]
Merge pull request #10520 from seamuslee001/CRM-20744

CRM-20744 Use images in the bower_components version of datatables plugin rathe…

7 years agoUse images in the bower_components version of datatables plugin rather than packages
Seamus Lee [Sat, 17 Jun 2017 00:14:12 +0000 (10:14 +1000)]
Use images in the bower_components version of datatables plugin rather than packages

7 years agoMerge pull request #10495 from seamuslee001/CRM-20243-phpword
Tim Otten [Fri, 16 Jun 2017 22:35:26 +0000 (15:35 -0700)]
Merge pull request #10495 from seamuslee001/CRM-20243-phpword

CRM-20243 Remove outdated sample jquery.min.js from phpword package

7 years agoRemove all code in the samples folder as per comment from Tim
Seamus Lee [Mon, 12 Jun 2017 09:32:44 +0000 (19:32 +1000)]
Remove all code in the samples folder as per comment from Tim

7 years agoCRM-20243 Remove outdated sample jquery.min.js from phpword package
Seamus Lee [Mon, 12 Jun 2017 03:17:36 +0000 (13:17 +1000)]
CRM-20243 Remove outdated sample jquery.min.js from phpword package

7 years agoMerge pull request #10329 from totten/master-caconfig
Tim Otten [Fri, 16 Jun 2017 21:36:17 +0000 (14:36 -0700)]
Merge pull request #10329 from totten/master-caconfig

CRM-18408 - composer.json - Update ca-config

7 years agoIt seems those lists are sorted alphabetically :-)
Johan Vervloet [Fri, 16 Jun 2017 21:20:42 +0000 (23:20 +0200)]
It seems those lists are sorted alphabetically :-)

7 years agoAdded Chirojeugd Vlaanderen to CONTRIBUTORS.txt.
Johan Vervloet [Fri, 16 Jun 2017 21:17:50 +0000 (23:17 +0200)]
Added Chirojeugd Vlaanderen to CONTRIBUTORS.txt.

Almost all contributions I did for CiviCRM, were sponsored by my
former employer Chirojeugd Vlaanderen.

7 years agoCRM-18408 - composer.lock - Update ca-config
Tim Otten [Fri, 16 Jun 2017 20:45:18 +0000 (13:45 -0700)]
CRM-18408 - composer.lock - Update ca-config

7 years agoCRM-18408 - composer.json - Update ca-config
Tim Otten [Wed, 10 May 2017 20:10:43 +0000 (15:10 -0500)]
CRM-18408 - composer.json - Update ca-config

This loads a more recent build of `cacert.pem` for use on hosts which lack
one.  It does not directly solve CRM-18408, but it complements the solution.

7 years agoMerge pull request #10384 from seamuslee001/CRM-20561
Tim Otten [Fri, 16 Jun 2017 19:05:53 +0000 (12:05 -0700)]
Merge pull request #10384 from seamuslee001/CRM-20561

CRM-20561 Use composer for Net_SMTP and Net_Socket and patch for TLS and CiviCR…

7 years agoCRM-20675: Fix incorrect renewal activity created when membership updated via api
Jitendra Purohit [Fri, 2 Jun 2017 15:13:58 +0000 (20:43 +0530)]
CRM-20675: Fix incorrect renewal activity created when membership updated via api

7 years agoMerge pull request #10477 from twomice/CRM-20692_support_jquery_tabs_options
colemanw [Fri, 16 Jun 2017 13:41:13 +0000 (09:41 -0400)]
Merge pull request #10477 from twomice/CRM-20692_support_jquery_tabs_options

CRM-20692: pass through options.

7 years agoMerge pull request #10512 from johanv/CRM-20740-custom_field_not_null
colemanw [Fri, 16 Jun 2017 13:27:31 +0000 (09:27 -0400)]
Merge pull request #10512 from johanv/CRM-20740-custom_field_not_null

CRM-20740 - Fix issue with check for custom_nn => ['IS NULL' => 1].

7 years agoCRM-20741 - Cancellation message shown as error
yashodha [Fri, 16 Jun 2017 09:46:43 +0000 (15:16 +0530)]
CRM-20741 - Cancellation message shown as error

7 years agominor changes
deb.monish [Fri, 16 Jun 2017 05:14:22 +0000 (10:44 +0530)]
minor changes

7 years agoMerge pull request #4 from totten/seamuslee001-CRM-20561
Seamus Lee [Fri, 16 Jun 2017 04:08:49 +0000 (14:08 +1000)]
Merge pull request #4 from totten/seamuslee001-CRM-20561

CRM-20561 - Remove example files. Cleanup code style.

7 years agoCRM-20561 - net-smtp-fix.sh - Cleanup code style
Tim Otten [Fri, 16 Jun 2017 04:03:44 +0000 (21:03 -0700)]
CRM-20561 - net-smtp-fix.sh - Cleanup code style

7 years agoCRM-20561 - Net_SMTP - Remove example files
Tim Otten [Fri, 16 Jun 2017 04:03:18 +0000 (21:03 -0700)]
CRM-20561 - Net_SMTP - Remove example files

7 years agoMerge pull request #10511 from totten/master-19303
Tim Otten [Fri, 16 Jun 2017 03:39:09 +0000 (20:39 -0700)]
Merge pull request #10511 from totten/master-19303

CRM-19303 - Drupal - Fix computation of `civicrm.files` on multisite

7 years agoMerge pull request #3 from totten/seamuslee001-CRM-20561
Seamus Lee [Fri, 16 Jun 2017 03:16:54 +0000 (13:16 +1000)]
Merge pull request #3 from totten/seamuslee001-CRM-20561

CRM-8597, CRM-20561 - Restore fix for `&`

7 years agoCRM-8597, CRM-20561 - Restore fix for `&`
Tim Otten [Fri, 16 Jun 2017 03:13:22 +0000 (20:13 -0700)]
CRM-8597, CRM-20561 - Restore fix for `&`

7 years agoMerge pull request #10390 from JMAConsulting/CRM-20611
colemanw [Fri, 16 Jun 2017 02:59:01 +0000 (22:59 -0400)]
Merge pull request #10390 from JMAConsulting/CRM-20611

CRM-20611: fix financial records of cancelled line_items on event fee  change selection

7 years agoMerge pull request #10397 from JMAConsulting/CRM-20620
colemanw [Fri, 16 Jun 2017 02:53:45 +0000 (22:53 -0400)]
Merge pull request #10397 from JMAConsulting/CRM-20620

CRM-20620, optimized code to use Batch api

7 years agoMerge pull request #10443 from twomice/CRM-20660_total_vs_unique_opens
colemanw [Fri, 16 Jun 2017 01:52:44 +0000 (21:52 -0400)]
Merge pull request #10443 from twomice/CRM-20660_total_vs_unique_opens

Fix CRM-20660: Total Opens should count without DISTINCT keyword.

7 years agoPHP 5.3.
Johan Vervloet [Thu, 15 Jun 2017 21:21:06 +0000 (23:21 +0200)]
PHP 5.3.

7 years agoTried to write a test.
Johan Vervloet [Thu, 15 Jun 2017 20:17:11 +0000 (22:17 +0200)]
Tried to write a test.

But since I have no working dev environment for the moment, I cannot
run it myself. I will push it, and see if it passes.

(If someone can check whether the tests fails on master, that would
be very nice.)

7 years agoStyle fix.
Johan Vervloet [Thu, 15 Jun 2017 20:02:36 +0000 (22:02 +0200)]
Style fix.

7 years agoCRM-20740 - Fix issue with check for custom_nn => ['IS NULL' => 1].
Johan Vervloet [Thu, 15 Jun 2017 19:51:04 +0000 (21:51 +0200)]
CRM-20740 - Fix issue with check for custom_nn => ['IS NULL' => 1].

7 years agoMerge pull request #10503 from jitendrapurohit/CRM-20556
colemanw [Thu, 15 Jun 2017 19:08:59 +0000 (15:08 -0400)]
Merge pull request #10503 from jitendrapurohit/CRM-20556

CRM-20556: Fix datatable warning on merge screen

7 years agorevert changes to include child tag count in parent tag
deb.monish [Thu, 15 Jun 2017 08:56:05 +0000 (14:26 +0530)]
revert changes to include child tag count in parent tag

7 years agoCRM-20621 : manage tags: the tag usage count is not accurate
deb.monish [Tue, 30 May 2017 12:36:16 +0000 (18:06 +0530)]
CRM-20621 : manage tags: the tag usage count is not accurate

7 years agoCRM-19303 - Paths - Allow sysadmin to explicitly `[civicrm.*]` variables
Tim Otten [Thu, 15 Jun 2017 07:06:03 +0000 (00:06 -0700)]
CRM-19303 - Paths - Allow sysadmin to explicitly `[civicrm.*]` variables

7 years agoCRM-19303 - Drupal - Fix various path computations for multisite
Tim Otten [Thu, 15 Jun 2017 06:42:59 +0000 (23:42 -0700)]
CRM-19303 - Drupal - Fix various path computations for multisite

A few changes:
 * Move logic out of `CRM_Utils_System_Base` to `CRM_Utils_System_DrupalBase`
   so that it's easier to read.
 * Update `[civicrm.files]`:  First, try to use `sites/{$name}/files/civicrm`.
   Otherwise, use `sites/default/files/civicrm`.
    * Note: The `$name` is parsed/validated the same way as `civicrm.config.php`.
      It takes the full HTTP_HOST and then tries various substrings.
 * Update `[civicrm.root]`:  Compare `$civicrm_root` and `cmsRootPath()`
   to determine the relative path.  Then, combine `CIVICRM_UF_BASEURL` with
   relpath.  (This is the same as WordPress.)

7 years agoMerge pull request #10499 from agileware/CRM-20718
Eileen McNaughton [Thu, 15 Jun 2017 07:56:15 +0000 (19:56 +1200)]
Merge pull request #10499 from agileware/CRM-20718

CRM-20718 CIVICRM-125 Use the "On behalf of" profile title...

7 years agoMerge pull request #10510 from seamuslee001/api_duplicate_location_types
Eileen McNaughton [Thu, 15 Jun 2017 05:38:30 +0000 (17:38 +1200)]
Merge pull request #10510 from seamuslee001/api_duplicate_location_types

API allows creating multiple addresses same location type

7 years agoMerge pull request #10456 from elisseck/CRM-20672
Eileen McNaughton [Thu, 15 Jun 2017 05:12:58 +0000 (17:12 +1200)]
Merge pull request #10456 from elisseck/CRM-20672

CRM 20672 - Fix access to fields for relationship with target type all contacts in export mapping