Lisa Marie Maginnis [Mon, 21 Sep 2015 17:15:03 +0000 (13:15 -0400)]
RT#765026, patch for null values in civicrm_acl_cache
Ruben Rodriguez [Thu, 10 Sep 2015 22:24:23 +0000 (18:24 -0400)]
Added the current uncommited changes to production code, and rebased to 4.6.8
Lisa Marie Maginnis [Thu, 1 May 2014 21:29:27 +0000 (17:29 -0400)]
Additional files for PDF/Latex
Lisa Marie Maginnis [Thu, 1 May 2014 21:04:18 +0000 (17:04 -0400)]
Our changes
Tim Otten [Thu, 6 Jul 2017 02:46:44 +0000 (19:46 -0700)]
Merge pull request #10611 from totten/4.7.21-rc-notes
Release notes - Multiple updates for v4.7.21
Tim Otten [Thu, 6 Jul 2017 01:48:15 +0000 (18:48 -0700)]
release-notes/4.7.21 - Fix references to subordinate PRs
Tim Otten [Thu, 6 Jul 2017 01:55:20 +0000 (18:55 -0700)]
release-notes/4.7.21 - Add section for security advisories
Tim Otten [Thu, 6 Jul 2017 01:44:52 +0000 (18:44 -0700)]
Merge pull request #10610 from agh1/4.7.21-releasenotes
4.7.21 release notes
Andrew Hunt [Wed, 5 Jul 2017 07:56:56 +0000 (03:56 -0400)]
4.7.21 release notes: updated contributors
Andrew Hunt [Wed, 5 Jul 2017 07:26:28 +0000 (03:26 -0400)]
4.7.21 release notes: bulk of notes
Andrew Hunt [Tue, 4 Jul 2017 22:57:26 +0000 (18:57 -0400)]
raw from script
Eileen McNaughton [Tue, 4 Jul 2017 03:07:12 +0000 (15:07 +1200)]
Merge pull request #10598 from totten/4.7.21-rc-20675
(Backport) CRM-20675 - Fix incorrect renewal activity created when membership updated via API
Monish Deb [Mon, 19 Jun 2017 17:29:04 +0000 (22:59 +0530)]
Minor fix at unit test
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
Eileen McNaughton [Sun, 2 Jul 2017 20:40:13 +0000 (08:40 +1200)]
Merge pull request #10583 from seamuslee001/CRM-20789
CRM-20789 Fix unsubscribing when link comes from an AB Test
Coleman Watts [Fri, 23 Jun 2017 16:20:18 +0000 (12:20 -0400)]
Fix bug in open case status selector
Monish Deb [Sat, 1 Jul 2017 11:25:12 +0000 (16:55 +0530)]
Merge pull request #10575 from JMAConsulting/CRM-20747-rc
CRM-20747: {contribution.campaign} token not working on Contribution
Seamus Lee [Thu, 29 Jun 2017 21:54:01 +0000 (21:54 +0000)]
CRM-20789 Add check based on mailing_type following chat with Tim to ensure only deailing with AB tests
Seamus Lee [Thu, 29 Jun 2017 05:20:38 +0000 (05:20 +0000)]
CRM-20789 Fix unsubscribing when link comes from an AB Test
CRM-20789 Fix retrieving entity when in AB test context
Tim Otten [Wed, 28 Jun 2017 22:11:01 +0000 (15:11 -0700)]
Merge pull request #10577 from totten/4.7.21-rc-src
CRM-19303 - Drupal - Restore getCiviSourceStorage()
Tim Otten [Wed, 28 Jun 2017 18:57:54 +0000 (11:57 -0700)]
CRM-19303 - Drupal - Restore getCiviSourceStorage()
This partially reverts changes made under CRM-19303:
* The changes to `getDefaultFileStorage()` are preserved
* The changes to `getCiviSourceStorage()` are reverted
* To avoid conflicts, `parseDrupalSiteName()` has been split into the older `parseDrupalSiteNameFromRoot()` and the newer `parseDrupalSiteNameFromRequest()`.
(IMHO, `parseDrupalSiteNameFromRequest()` is more correct, but `parseDrupalSiteNameFromRoot()` is more compatible with existing deployments).
As discussed in [PR #10513](https://github.com/civicrm/civicrm-core/pull/10513#issuecomment-
310506829),
we should stop trying so hard to autodetect these things. We'll treat the
auto-detection stuff as legacy, and should shift toward a simpler/flatter arrangement
which encourages paths/URLs to be stored in `civicrm.settings.php`.
deb.monish [Wed, 28 Jun 2017 09:15:24 +0000 (14:45 +0530)]
CRM-20747: {contribution.campaign} token not working on Contribution
Tim Otten [Tue, 27 Jun 2017 21:56:39 +0000 (14:56 -0700)]
Merge pull request #10567 from totten/4.7.21-rc-rm
CRM-20243 - Actively remove old files
Tim Otten [Tue, 27 Jun 2017 20:44:11 +0000 (13:44 -0700)]
CRM-20243 - CRM_Utils_Check - Simplify Auth/SASL checks
Tim Otten [Tue, 27 Jun 2017 07:27:09 +0000 (00:27 -0700)]
CRM-20243 - CRM_Upgrade_Form - Delete orphaned files before upgrade
Tim Otten [Tue, 27 Jun 2017 06:35:36 +0000 (23:35 -0700)]
CRM-20243 - Add check for deleted files
Tim Otten [Tue, 27 Jun 2017 06:54:26 +0000 (23:54 -0700)]
CRM-20243 - Civi\Core\Paths - Define 'civicrm.packages' variable (etal)
In the long run, the file location of the `packages`, `vendor`, and
`bower_components` should be adjustable (depending on how the codebase is
built).
This patch begins loosening the coupling between the `$civicrm_root` and
those folders.
Eileen McNaughton [Sun, 25 Jun 2017 22:33:15 +0000 (10:33 +1200)]
Merge pull request #10555 from totten/4.7.21-install-port
CRM-20768 - Installer UI - Accept mysql port
Eileen McNaughton [Sun, 25 Jun 2017 22:28:42 +0000 (10:28 +1200)]
Merge pull request #10556 from devarun/4.7.21-rc
CRM-20644: Column names on Advanced search results displayed on contacts are out of order.
devarun [Sat, 24 Jun 2017 14:22:23 +0000 (19:52 +0530)]
CRM-20644: Column names on Advanced search results displayed on contacts are out of order.
Tim Otten [Sat, 24 Jun 2017 00:31:14 +0000 (17:31 -0700)]
CRM-20768 - install - Improve docblock
Tim Otten [Sat, 24 Jun 2017 00:24:33 +0000 (17:24 -0700)]
CRM-20768 - Install UI - Distinguish host/port in IPv6
Tim Otten [Fri, 23 Jun 2017 21:41:39 +0000 (14:41 -0700)]
CRM-20768 - install - Accept mysql port
== Background ==
In previous releases, the web-based installation script allowed you to enter
the MySQL "server" with a `host:port` combination (e.g. `127.0.0.1:3307`).
I believe this regressed during the mysql=>mysqli transition.
== Before ==
If you use the web-based install UI and enter a `host:port` combination, the
error messages indicate a confusing mix of information (e.g. some
indicating port 3306, some indicating port 3307).
== After ==
If you use the web-based install UI and enter a `host:port` combination, it
uses the specified port.
----------------------------------------
* CRM-20768: Web-based installation should accept non-standard MySQL port
https://issues.civicrm.org/jira/browse/CRM-20768
colemanw [Wed, 21 Jun 2017 19:11:03 +0000 (15:11 -0400)]
Merge pull request #10540 from colemanw/CRM-20091
CRM-20091 - Fix return value in api.customValue.gettree
Coleman Watts [Wed, 21 Jun 2017 17:34:36 +0000 (13:34 -0400)]
CRM-20091 - Fix return value in api.customValue.gettree
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
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
Seamus Lee [Sun, 18 Jun 2017 22:07:30 +0000 (08:07 +1000)]
(NFC) Fix clearing messages to ensure test accuracy
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
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
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.
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
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
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.
Tim Otten [Thu, 25 May 2017 03:40:04 +0000 (20:40 -0700)]
CRM-20600 - Civi\Angular\Manager - Add resolveDependencies(), resolveDefaultModules()
Tim Otten [Sat, 20 May 2017 00:24:58 +0000 (17:24 -0700)]
CRM-20600 - CRM_Core_Resources - Add hook for settings data
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
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
Tim Otten [Fri, 31 Mar 2017 19:55:45 +0000 (12:55 -0700)]
CRM-20600 - composer.json - Add phpQuery
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.
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.
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").
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`.
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.
Tim Otten [Sat, 1 Apr 2017 05:07:49 +0000 (22:07 -0700)]
CRM-20600 - PartialSyntaxTest - Ensure that Angular partials are well-formed
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.
Tim Otten [Fri, 31 Mar 2017 05:55:47 +0000 (22:55 -0700)]
CRM-20600 - Implement AssetBuilder - See extended docblock in AssetBuilder.php
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.
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…
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
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
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
Seamus Lee [Mon, 12 Jun 2017 03:17:36 +0000 (13:17 +1000)]
CRM-20243 Remove outdated sample jquery.min.js from phpword package
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
Johan Vervloet [Fri, 16 Jun 2017 21:20:42 +0000 (23:20 +0200)]
It seems those lists are sorted alphabetically :-)
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.
Tim Otten [Fri, 16 Jun 2017 20:45:18 +0000 (13:45 -0700)]
CRM-18408 - composer.lock - 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.
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…
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.
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].
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.
Tim Otten [Fri, 16 Jun 2017 04:03:44 +0000 (21:03 -0700)]
CRM-20561 - net-smtp-fix.sh - Cleanup code style
Tim Otten [Fri, 16 Jun 2017 04:03:18 +0000 (21:03 -0700)]
CRM-20561 - Net_SMTP - Remove example files
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
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 `&`
Tim Otten [Fri, 16 Jun 2017 03:13:22 +0000 (20:13 -0700)]
CRM-8597, CRM-20561 - Restore fix for `&`
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
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
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.
Johan Vervloet [Thu, 15 Jun 2017 21:21:06 +0000 (23:21 +0200)]
PHP 5.3.
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.)
Johan Vervloet [Thu, 15 Jun 2017 20:02:36 +0000 (22:02 +0200)]
Style fix.
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].
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
Tim Otten [Thu, 15 Jun 2017 07:06:03 +0000 (00:06 -0700)]
CRM-19303 - Paths - Allow sysadmin to explicitly `[civicrm.*]` variables
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.)
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...
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
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
Seamus Lee [Thu, 15 Jun 2017 03:54:59 +0000 (13:54 +1000)]
Add comments around 'wrongness' and link to chat discussion
Seamus Lee [Thu, 15 Jun 2017 03:32:00 +0000 (13:32 +1000)]
API allows creating multiple addresses same location type
Eileen McNaughton [Thu, 15 Jun 2017 03:22:32 +0000 (15:22 +1200)]
Merge pull request #10502 from agileware/CRM-20253
CRM-20253: CIVICRM-135: Don' send extra receipt email.
Eileen McNaughton [Thu, 15 Jun 2017 02:33:05 +0000 (14:33 +1200)]
Merge pull request #10509 from seamuslee001/CRM-20253-test2
CRM-20253 Fix some environmental issues in tests
Seamus Lee [Thu, 15 Jun 2017 02:24:17 +0000 (12:24 +1000)]
CRM-20253 Fix some environmental issues in tests
Eileen McNaughton [Thu, 15 Jun 2017 01:54:26 +0000 (13:54 +1200)]
Merge pull request #10508 from seamuslee001/CRM-20253-test2
CRM-20253 Add another test using dummy processor and switch noReceipt…
Seamus Lee [Thu, 15 Jun 2017 00:53:43 +0000 (10:53 +1000)]
CRM-20253 Add another test using dummy processor and switch noReceipt test to dummy processor
Eileen McNaughton [Thu, 15 Jun 2017 00:17:20 +0000 (12:17 +1200)]
Merge pull request #10506 from seamuslee001/CRM-20253-test
CRM-20253 Add test to ensure that email receipts aren't sent when not…
Eileen McNaughton [Wed, 14 Jun 2017 23:56:41 +0000 (11:56 +1200)]
Merge pull request #10479 from tschuettler/CRM-20694
CRM-20694 - CiviMail - Add Resubscribe Message to CiviMail Report
Eileen McNaughton [Wed, 14 Jun 2017 23:54:08 +0000 (11:54 +1200)]
Merge pull request #10476 from chrisfromredfin/CRM-20690
CRM-20690: fix priceset option limits