Seamus Lee [Mon, 28 Sep 2015 06:41:23 +0000 (06:41 +0000)]
CRM-17075 fix searching on memebrship type as entity reference in advanced search
Eileen McNaughton [Tue, 29 Sep 2015 06:22:07 +0000 (19:22 +1300)]
Merge pull request #6833 from eileenmcnaughton/email-test-fix
enable Single Value Alter test for email
eileenmcnaugton [Tue, 29 Sep 2015 03:47:00 +0000 (16:47 +1300)]
enable Single Value Alter test for email
Conflicts:
tests/phpunit/api/v3/SyntaxConformanceTest.php
Dave Greenberg [Tue, 29 Sep 2015 02:48:36 +0000 (22:48 -0400)]
Merge pull request #6829 from davecivicrm/CRM-16086
CRM-16086 - schema corrections.
Dave Greenberg [Tue, 29 Sep 2015 00:14:36 +0000 (20:14 -0400)]
CRM-16086 - schema corrections.
----------------------------------------
* CRM-16086: schema differences between upgrades and install
https://issues.civicrm.org/jira/browse/CRM-16086
Dave Greenberg [Mon, 28 Sep 2015 23:21:56 +0000 (19:21 -0400)]
Merge pull request #6828 from monishdeb/test-master
CRM-17287 Test fix for contribution note
monishdeb [Mon, 28 Sep 2015 20:55:57 +0000 (02:25 +0530)]
format fix
monishdeb [Mon, 28 Sep 2015 20:49:16 +0000 (02:19 +0530)]
Merge forward miss
monishdeb [Mon, 28 Sep 2015 20:24:41 +0000 (01:54 +0530)]
CRM-17287 Test fix for contribution note
----------------------------------------
* CRM-17287: Broken Unit Tests on master
https://issues.civicrm.org/jira/browse/CRM-17287
Dave Greenberg [Mon, 28 Sep 2015 17:59:10 +0000 (13:59 -0400)]
Merge pull request #6820 from eileenmcnaughton/master
enotice fix
Monish Deb [Mon, 28 Sep 2015 17:55:59 +0000 (23:25 +0530)]
Merge pull request #6825 from jitendrapurohit/CRM-17169reg
CRM-17169 -- Fix upgrade conflict
Dave Greenberg [Mon, 28 Sep 2015 17:40:18 +0000 (13:40 -0400)]
Merge pull request #6821 from davecivicrm/CRM-16274
CRM-16274 - Change permission for Add Contacts to Groups in reports t…
colemanw [Mon, 28 Sep 2015 16:02:07 +0000 (12:02 -0400)]
Merge pull request #6823 from colemanw/CRM-16353
CRM-16353 - For tables hidden by collapsed accordions, wait
colemanw [Mon, 28 Sep 2015 16:01:10 +0000 (12:01 -0400)]
Merge pull request #6827 from monishdeb/test-master
CRM-17287 Legacy support for group and tag
monishdeb [Mon, 28 Sep 2015 13:33:35 +0000 (19:03 +0530)]
format fixes
monishdeb [Mon, 28 Sep 2015 12:49:49 +0000 (18:19 +0530)]
legacy support for group and tag
jitendrapurohit [Mon, 28 Sep 2015 09:37:37 +0000 (15:07 +0530)]
CRM-17169 -- Fix upgrade conflict
Coleman Watts [Mon, 28 Sep 2015 03:15:19 +0000 (23:15 -0400)]
CRM-16353 - For tables hidden by collapsed accordions, wait
Dave Greenberg [Mon, 28 Sep 2015 02:19:26 +0000 (22:19 -0400)]
CRM-16274 - Change permission for Add Contacts to Groups in reports to be the same as for that task in search results.
----------------------------------------
* CRM-16274: Change the permission required for 'Add Contacts to Group' in reports to be consistent with other workflows
https://issues.civicrm.org/jira/browse/CRM-16274
eileenmcnaugton [Mon, 28 Sep 2015 01:41:46 +0000 (14:41 +1300)]
enotice fix
Dave Greenberg [Mon, 28 Sep 2015 00:14:26 +0000 (20:14 -0400)]
Merge pull request #6819 from monishdeb/test-master
CRM-17287 Test fixes
Tim Otten [Mon, 28 Sep 2015 00:06:29 +0000 (20:06 -0400)]
Merge pull request #6818 from totten/master-deadfunc
CRM_Contact_BAO_Contact::getRelativePath - Remove dead code
monishdeb [Sun, 27 Sep 2015 22:30:14 +0000 (04:00 +0530)]
master Test fixes
Tim Otten [Sun, 27 Sep 2015 22:29:35 +0000 (18:29 -0400)]
CRM_Contact_BAO_Contact::getRelativePath - Remove dead code
colemanw [Sun, 27 Sep 2015 22:28:16 +0000 (18:28 -0400)]
Merge pull request #6816 from colemanw/CRM-16643
CRM-16643 - Fix enableDisable when using api setvalue
Coleman Watts [Sun, 27 Sep 2015 21:44:29 +0000 (17:44 -0400)]
CRM-16643 - Fix enableDisable when using api setvalue
colemanw [Sun, 27 Sep 2015 21:43:51 +0000 (17:43 -0400)]
Merge pull request #6810 from davecivicrm/CRM-16643
CRM-16643 - Revert to setvalue for inline editing of the entities who…
Tim Otten [Sun, 27 Sep 2015 21:36:10 +0000 (17:36 -0400)]
Merge pull request #6808 from totten/master-config-tests
CRM-16373 - CRM_Core_Config - Fix test regressions
Dave Greenberg [Sun, 27 Sep 2015 21:33:12 +0000 (17:33 -0400)]
Merge pull request #6813 from davecivicrm/CRM-17228
CRM-17228 - Improve help text for Profile form snippets.
Dave Greenberg [Sun, 27 Sep 2015 21:28:29 +0000 (17:28 -0400)]
CRM-17228 - Improve help text for Profile form snippets.
----------------------------------------
* CRM-17228: HTML Form snippets from profiles should use absolute URLs
https://issues.civicrm.org/jira/browse/CRM-17228
Dave Greenberg [Sun, 27 Sep 2015 20:43:02 +0000 (16:43 -0400)]
CRM-16643 - Revert to setvalue for inline editing of the entities whose APIs do not handle create as update properly.
----------------------------------------
* CRM-16643: Deprecate & remove setvalue api
https://issues.civicrm.org/jira/browse/CRM-16643
Dave Greenberg [Sun, 27 Sep 2015 20:06:50 +0000 (16:06 -0400)]
Merge pull request #6809 from davecivicrm/CRM-17269
CRM-17269 - Simplify retrieval of relationship types for query, and s…
Dave Greenberg [Sun, 27 Sep 2015 19:18:38 +0000 (15:18 -0400)]
Merge pull request #6749 from eileenmcnaughton/CRM-17144
CRM-17144 add ability for permissioned user to see report sql
Tim Otten [Sun, 27 Sep 2015 19:14:52 +0000 (15:14 -0400)]
CRM_Report_Form_Contribute_DetailTest, CRM_Report_Form_TestCaseTest - Spaces
It appears that the content of the report CSV has changed slightly -- in certain
cases with undefined/missing info, it had returned a literal space (' ') but
now returns a empty string (''). Empty string seems a bit better, so updating
the unit-tests to match.
Dave Greenberg [Sun, 27 Sep 2015 19:03:49 +0000 (15:03 -0400)]
CRM-17269 - Simplify retrieval of relationship types for query, and support relationship types on contact subtypes properly.
----------------------------------------
* CRM-17269: advanced search with custom relationship types fails
https://issues.civicrm.org/jira/browse/CRM-17269
Tim Otten [Sun, 27 Sep 2015 18:40:19 +0000 (14:40 -0400)]
CRM_Core_Config::$keyDisable - Restore property
Tim Otten [Sun, 27 Sep 2015 18:20:07 +0000 (14:20 -0400)]
Merge pull request #6687 from totten/master-sched-ref
CRM-16355, CRM-13244 - Scheduled Reminders
Tim Otten [Sun, 27 Sep 2015 18:17:13 +0000 (14:17 -0400)]
CRM-16373 - Fix error on $fiscalYearStart
Error: "Indirect modification of overloaded property CRM_Core_Config::$fiscalYearStart has no effect"
Tim Otten [Sun, 27 Sep 2015 17:49:10 +0000 (13:49 -0400)]
CRM-16373 - CRM_Core_BAO_ConfigSetting - Fix enableComponent
Dave Greenberg [Sun, 27 Sep 2015 17:32:06 +0000 (13:32 -0400)]
Merge pull request #6802 from seamuslee001/CRM-17283
CRM-17283 Allow for searching on partcipant registration date
Tim Otten [Sun, 27 Sep 2015 13:53:11 +0000 (09:53 -0400)]
CRM-13422 - ActionScheduleTest - Loosen domain token handling
Discussed with a few people -- neither the contact nor the scheduled
reminder has a domain_id, so it seems hard to define a clear handling of
domain tokens.
Tim Otten [Fri, 4 Sep 2015 19:27:40 +0000 (12:27 -0700)]
CRM-17038, CRM-13422 - Tokens - Adjust greeting evaluation order
Following
f551f7d32, replaceGreetingTokens tramples other tokens, so it has
to run at the end.
Tim Otten [Fri, 4 Sep 2015 18:41:34 +0000 (11:41 -0700)]
CRM-17028 - RecipientBuilder - Forward port
3fc9bc80ee
Tim Otten [Sun, 30 Aug 2015 21:53:54 +0000 (14:53 -0700)]
CRM-13422 - Add AbstractMappingTest. Fix soft-credit targeting.
Tim Otten [Sun, 30 Aug 2015 21:25:57 +0000 (14:25 -0700)]
CRM_Core_Error::debug_query_result - Don't dump hidden fields
Tim Otten [Sun, 30 Aug 2015 21:18:58 +0000 (14:18 -0700)]
CRM_Utils_SQL_Select - Better error for malformed numbers
Tim Otten [Sun, 30 Aug 2015 13:55:12 +0000 (06:55 -0700)]
CRM-13422 - ActionMappings - getRecipientTypes(), getRecipientListing()
Changes:
* Declare getRecipientTypes() before getRecipientListing() because it's easier to read in that order.
* Tweak docblocks
* Split combined/legacy functions (Civi\ActionSchedule\Mapping) into simpler per-entity functions (CRM_Activity_ActionMapping, CRM_Event_ActionMapping).
* For "Contribution Type" reminders, allow targetting to soft creditors.
* For "Contribution Page" reminders, don't bother with soft-creditors. If someone paid through a self-service form, then I'm not sure we have soft-creditors.
Tim Otten [Sun, 30 Aug 2015 13:36:03 +0000 (06:36 -0700)]
CRM-13422 - Form/ScheduleReminders - Allow role filters on custom mappings
Previously, the 'Recipient Role' was only displayed if the results were
limited to 'participant_role'. Now, the field will be displayed if the
mapping's getRecipientListing($recipientType) returns any data.
Tim Otten [Sat, 29 Aug 2015 22:24:19 +0000 (15:24 -0700)]
CRM-13422 - MappingInterface::getRecipientTypes - Remove $noThanksJustKidding
This is a weird option that owes to a quirk in the UX -- where activity
roles are presented differently than other roles. That UX quirk probably
shouldn't exist, but given that it does... we'll push the quirk up into the
form layer (rather than in our API).
Tim Otten [Sat, 29 Aug 2015 22:05:13 +0000 (15:05 -0700)]
CRM-13422 - ActionMapping - Remove gratuitous `entity_recipient`
This just functions an alternate-key for `entity`. It's only used
internally by the legacy `Mapping` class and does not appear in
the public interface.
Tim Otten [Sat, 29 Aug 2015 19:52:20 +0000 (12:52 -0700)]
CRM-13422 - ActionSchedule - Kill getSelection() and getSelection1()
These are silly functions whose job is to wrap up data in a bundle using
mysterious names so that it can get immediately unwrapped.
Tim Otten [Sat, 29 Aug 2015 19:15:01 +0000 (12:15 -0700)]
CRM-13422 - Consolidate extra rules for contact reminders
Tim Otten [Sat, 29 Aug 2015 18:49:13 +0000 (11:49 -0700)]
CRM-13422 - Add MappingInterface::validateSchedule().
Also: In CRM_Admin_Form_ScheduleReminders, extract parseActionSchedule()
from postProcess(). Now we can call parseActionSchedule() from both
postProcess() and formRule().
Tim Otten [Sat, 29 Aug 2015 15:16:18 +0000 (08:16 -0700)]
CRM_Core_BAO_ActionSchedule::getSelection - Make it easier to trace dataflow
Tim Otten [Sat, 29 Aug 2015 14:56:34 +0000 (07:56 -0700)]
TokenRow - Fix docs
Tim Otten [Sat, 29 Aug 2015 14:54:38 +0000 (07:54 -0700)]
CRM_Utils_Array::collectMethod() and ::toKeyValueRows()
Tim Otten [Wed, 5 Aug 2015 05:23:17 +0000 (22:23 -0700)]
CRM-13422 - CRM_Contribute_ActionMapping_ByType
Tim Otten [Wed, 5 Aug 2015 04:59:06 +0000 (21:59 -0700)]
CRM-13422 - CRM_Contribute_ActionMapping_ByPage
Tim Otten [Wed, 5 Aug 2015 01:16:41 +0000 (18:16 -0700)]
CRM-13244 - civicrm_action_schedule.mapping_id - Change int to varchar
When modules define new mappings, it's easier if they can makeup their own
symbolic names rather than picking a number.
Tim Otten [Wed, 5 Aug 2015 00:40:14 +0000 (17:40 -0700)]
CRM-13244 - MappingInterface - Document/cleanup getRecipient* stuff
Tim Otten [Tue, 4 Aug 2015 07:51:04 +0000 (00:51 -0700)]
CRM-13244 - Split prepareMailingQuery() into entity-specific pieces.
Tim Otten [Tue, 4 Aug 2015 02:15:29 +0000 (19:15 -0700)]
CRM-13244 - ActionScheduleTmp - Move entity-specific parts to separate classes
Tim Otten [Tue, 4 Aug 2015 04:50:52 +0000 (21:50 -0700)]
CRM-13244 - RecipientBuilder::prepareStartDateClauses - Less stringiness
Tim Otten [Tue, 4 Aug 2015 00:10:38 +0000 (17:10 -0700)]
CRM-13244 - ActionMapping - Strictly use MappingInterface
Tim Otten [Sat, 1 Aug 2015 12:45:07 +0000 (05:45 -0700)]
CRM-13244 - RecipientBuilder - Move entity-specific bits to ActionMappings
Tim Otten [Wed, 29 Jul 2015 10:54:16 +0000 (03:54 -0700)]
CRM-13244 - Move buildRecipientContacts into new class. Split into smaller functions.
Note: This was originally written as a series of smaller changes, but they
were squashed. For more detailed history, check totten's repo for
alternative history leading up to, eg,
9e4d69e.
Tim Otten [Tue, 28 Jul 2015 08:49:29 +0000 (01:49 -0700)]
CRM-13244 - prepareMailingQuery - Use CRM_Utils_SQL_Select
Tim Otten [Wed, 29 Jul 2015 03:26:04 +0000 (20:26 -0700)]
CRM-13244 - ActionSchedule\Mapping - Privatize various fields
These fields are kind of stupid and are mostly only used within the Mapping
class.
The main external usage was for looking up a mapping record by
`entity_value`. However, this can be made simpler now that mapping IDs are
constant.
Tim Otten [Wed, 29 Jul 2015 02:11:51 +0000 (19:11 -0700)]
CRM-13244 - ActionSchedule - Externalize getMappings
Tim Otten [Mon, 27 Jul 2015 07:24:52 +0000 (00:24 -0700)]
CRM-13244 - ActionSchedule - Extract entity-specific logic for tokens and dropdowns.
The `ActionSchedule` BAO had a ton of duplicate, helter-skelter code for
looking up specific details about specific entities and mappings. The
mapping class (`CRM_Core_DAO_ActionMapping`) had an anemic model. The
mapping records could be modified in the DB, but in practice this was
pointless because they depended on so many hard-coded lookups. And there
were some confusing variable names (sel1, sel2, sel3, etc) and
variable-shuffling.
This revision moves several entity-specific bits into new classes
(`Civi\ActionSchedule\Mapping` and `CRM_Core_ActionScheduleTmp`), abandons
the pretense of DB editing, centralizes mapping-related lookups, and replaces
various references to `CRM_Core_DAO_ActionMapping`.
This is envisioned as an intermediate step; the two classes are still a bit
heavy (mixing together logic for unrelated entities) and should be split
further.
Tim Otten [Fri, 31 Jul 2015 23:58:06 +0000 (16:58 -0700)]
CRM_Core_BAO_ActionScheduleTest - Fix racy test
Tim Otten [Fri, 31 Jul 2015 02:07:47 +0000 (19:07 -0700)]
CRM-13244 - CRM_Core_BAO_ActionScheduleTest - Add some event examples
Tim Otten [Fri, 24 Jul 2015 09:34:45 +0000 (02:34 -0700)]
CRM-13244 - CRM_Core_BAO_ActionSchedule - Simplify `sendMailing()`
Tim Otten [Fri, 24 Jul 2015 07:10:23 +0000 (00:10 -0700)]
CRM-13244 - CRM_Core_BAO_ActionSchedule - Use TokenProcessor instead of replaceComponentTokens
Tim Otten [Fri, 24 Jul 2015 02:18:22 +0000 (19:18 -0700)]
CRM-13244 - CRM_Core_BAO_ActionSchedule - Simplify `sendReminder`
The old `sendReminder()` had too many responsibilities (loading token data
and processing token data and sending emails and sending SMS's), contained
lots of duplicate code, and did pointless variable shuffling. The Smarty
and HTML parameters were enforced inconsistently, and the "From" address had
weird side-effects, ad nauseum.
This commit splits `sendReminder()` into three pieces:
* `TokenCompatSubscriber` for filling in token data.
* `sendReminderSms()` for sending SMS.
* `sendReminderEmail()` for sending email.
Tim Otten [Thu, 23 Jul 2015 07:11:45 +0000 (00:11 -0700)]
CRM-13244 - Civi\Token - Add new class for processing messages with tokens.
Tim Otten [Tue, 21 Jul 2015 03:39:45 +0000 (20:39 -0700)]
CRM-13244 - CRM_Core_BAO_ActionSchedule - Comment about seemingly dead code
Tim Otten [Tue, 21 Jul 2015 03:38:05 +0000 (20:38 -0700)]
CRM-13244 - ActionSchedule - Normalize static references
Some code uses "self::" and other use "CRM_Core_BAO_ActionSchedule::". It'll
be easier to reorganize if the notation is consistent.
Tim Otten [Tue, 21 Jul 2015 03:12:46 +0000 (20:12 -0700)]
CRM-13244 - ActionSchedule - Extract methods from sendMailings
New methods
* listMailingTokens()
* prepareMailingQuery()
* prepareMailingTokens()
* createMailingActivity()
Tim Otten [Tue, 21 Jul 2015 05:15:03 +0000 (22:15 -0700)]
CRM-13244 - ActionScheduleTest - Use some tokens
Tim Otten [Sat, 25 Jul 2015 03:41:29 +0000 (20:41 -0700)]
CRM-16355 - bgm addon to change CMS locale - make it temporary
Tim Otten [Sat, 25 Jul 2015 01:03:06 +0000 (18:03 -0700)]
CRM-16355 - bgm addon to change CMS locale - cleanup
Samuel Vanhove [Wed, 29 Apr 2015 22:38:16 +0000 (18:38 -0400)]
CRM-16355 - bgm addon to change CMS locale
Samuel Vanhove [Wed, 29 Apr 2015 00:06:14 +0000 (20:06 -0400)]
CRM-16355 - checkstyle typos
Samuel Vanhove [Tue, 28 Apr 2015 23:58:02 +0000 (19:58 -0400)]
CRM-16355 - checkstyle typos
Samuel Vanhove [Tue, 28 Apr 2015 23:46:09 +0000 (19:46 -0400)]
CRM-16355 - communication language choices order + help text fixes
Samuel Vanhove [Tue, 28 Apr 2015 23:08:59 +0000 (19:08 -0400)]
CRM-16355 - cleanup, use of CRM_Core_I18n::language instead of a new function
Samuel Vanhove [Mon, 27 Apr 2015 03:18:13 +0000 (23:18 -0400)]
CRM-16355 - add the contact filter based on language and dynamic language change
Tim Otten [Mon, 27 Jul 2015 06:04:08 +0000 (23:04 -0700)]
CRM-16355 - UI and database - fixup
Samuel Vanhove [Sat, 25 Apr 2015 23:09:47 +0000 (19:09 -0400)]
CRM-16355 - UI and database
Dave Greenberg [Sat, 26 Sep 2015 22:22:26 +0000 (18:22 -0400)]
Merge pull request #6789 from jdax/fixing_drupal_text_confusion
CRM-17264 Profile: Duplicate User Notice Text Is Confusing
Coleman Watts [Sat, 26 Sep 2015 16:16:57 +0000 (12:16 -0400)]
Merge branch '4.6' into master
Conflicts:
CRM/Upgrade/Incremental/sql/4.6.9.mysql.tpl
colemanw [Sat, 26 Sep 2015 15:53:31 +0000 (11:53 -0400)]
Merge pull request #6805 from colemanw/case
Fix submitting multiple addRole popups on caseView
Coleman Watts [Sat, 26 Sep 2015 15:53:05 +0000 (11:53 -0400)]
Fix submitting multiple addRole popups on caseView
Seamus Lee [Sat, 26 Sep 2015 00:38:45 +0000 (00:38 +0000)]
Phpcs fix
Seamus Lee [Sat, 26 Sep 2015 00:29:33 +0000 (00:29 +0000)]
CRM-17283 Allow for searching on partcipant registration date
Kurund Jalmi [Fri, 25 Sep 2015 19:00:11 +0000 (00:30 +0530)]
Merge pull request #6799 from yashodha/CRM-17221
CRM-17221: Phuket spelt incorrectly as Phaket in states/counties table
Monish Deb [Fri, 25 Sep 2015 15:53:27 +0000 (21:23 +0530)]
Merge pull request #6801 from jitendrapurohit/casefix
CRM-17282 -- Fix DB error on Add/Manage Case
jitendrapurohit [Fri, 25 Sep 2015 11:38:33 +0000 (17:08 +0530)]
Fix DB error on Add/Manage Case
Monish Deb [Fri, 25 Sep 2015 07:18:55 +0000 (12:48 +0530)]
Merge pull request #6796 from monishdeb/CRM-17270
CRM-17270 fix - Custom country multi-select fields used in a Drupal V…