civicrm-core.git
9 years agoapi_v3_APITest - useTransaction()
Tim Otten [Mon, 22 Dec 2014 23:05:37 +0000 (15:05 -0800)]
api_v3_APITest - useTransaction()

9 years agoapi_v3_APIStandardsTest - useTransaction()
Tim Otten [Mon, 22 Dec 2014 23:05:37 +0000 (15:05 -0800)]
api_v3_APIStandardsTest - useTransaction()

9 years agoapi_v3_CampaignTest - useTransaction()
Tim Otten [Mon, 22 Dec 2014 23:05:37 +0000 (15:05 -0800)]
api_v3_CampaignTest - useTransaction()

9 years agoapi_v3_ContactTypeTest - useTransaction()
Tim Otten [Mon, 22 Dec 2014 23:05:37 +0000 (15:05 -0800)]
api_v3_ContactTypeTest - useTransaction()

9 years agoapi_v3_CustomSearchTest - useTransaction()
Tim Otten [Mon, 22 Dec 2014 23:05:38 +0000 (15:05 -0800)]
api_v3_CustomSearchTest - useTransaction()

9 years agoapi_v3_EmailTest - useTransaction()
Tim Otten [Mon, 22 Dec 2014 23:05:38 +0000 (15:05 -0800)]
api_v3_EmailTest - useTransaction()

9 years agoapi_v3_DomainTest - useTransaction()
Tim Otten [Mon, 22 Dec 2014 23:05:38 +0000 (15:05 -0800)]
api_v3_DomainTest - useTransaction()

9 years agoapi_v3_LocBlockTest - useTransaction()
Tim Otten [Mon, 22 Dec 2014 23:05:38 +0000 (15:05 -0800)]
api_v3_LocBlockTest - useTransaction()

9 years agoapi_v3_MailingGroupTest - useTransaction()
Tim Otten [Mon, 22 Dec 2014 23:05:38 +0000 (15:05 -0800)]
api_v3_MailingGroupTest - useTransaction()

9 years agoapi_v3_MailSettingsTest - useTransaction()
Tim Otten [Mon, 22 Dec 2014 23:05:38 +0000 (15:05 -0800)]
api_v3_MailSettingsTest - useTransaction()

9 years agoapi_v3_OptionGroupTest - useTransaction()
Tim Otten [Mon, 22 Dec 2014 23:05:38 +0000 (15:05 -0800)]
api_v3_OptionGroupTest - useTransaction()

9 years agoapi_v3_OptionValueTest - useTransaction()
Tim Otten [Mon, 22 Dec 2014 23:05:38 +0000 (15:05 -0800)]
api_v3_OptionValueTest - useTransaction()

9 years agoapi_v3_ReportTemplateTest - useTransaction()
Tim Otten [Mon, 22 Dec 2014 23:05:38 +0000 (15:05 -0800)]
api_v3_ReportTemplateTest - useTransaction()

9 years agoapi_v3_TagTest - useTransaction()
Tim Otten [Mon, 22 Dec 2014 22:38:13 +0000 (14:38 -0800)]
api_v3_TagTest - useTransaction()

9 years agoapi_v3_UtilsTest - useTransaction()
Tim Otten [Mon, 22 Dec 2014 23:05:38 +0000 (15:05 -0800)]
api_v3_UtilsTest - useTransaction()

9 years agotests/ - Remove pointless __construct() functions
Tim Otten [Mon, 22 Dec 2014 22:30:00 +0000 (14:30 -0800)]
tests/ - Remove pointless __construct() functions

9 years agotests/ - Remove get_info()
Tim Otten [Mon, 22 Dec 2014 22:26:48 +0000 (14:26 -0800)]
tests/ - Remove get_info()

I believe that get_info() originated circa Civi v2 when tests were written
with SimpleTest. In PHPUnit, these functions serve no purpose and have
been created inconsistently.

9 years agoapi_v3_ActivityContactTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 21:51:53 +0000 (13:51 -0800)]
api_v3_ActivityContactTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_ActionScheduleTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 21:51:41 +0000 (13:51 -0800)]
api_v3_ActionScheduleTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_BatchTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 21:44:17 +0000 (14:44 -0700)]
api_v3_BatchTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_ContributionRecurTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 21:37:42 +0000 (13:37 -0800)]
api_v3_ContributionRecurTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_ContributionSoftTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 21:37:42 +0000 (13:37 -0800)]
api_v3_ContributionSoftTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_CountryTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 22:03:34 +0000 (14:03 -0800)]
api_v3_CountryTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_DashboardContactTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 21:28:44 +0000 (13:28 -0800)]
api_v3_DashboardContactTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_DashboardTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 21:28:44 +0000 (13:28 -0800)]
api_v3_DashboardTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_EntityTagTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 21:28:44 +0000 (13:28 -0800)]
api_v3_EntityTagTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_GroupOrganizationTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 21:25:01 +0000 (13:25 -0800)]
api_v3_GroupOrganizationTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_GroupContactTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 21:24:54 +0000 (13:24 -0800)]
api_v3_GroupContactTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_ImTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 21:10:43 +0000 (13:10 -0800)]
api_v3_ImTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_JobProcessMailingTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 21:10:43 +0000 (13:10 -0800)]
api_v3_JobProcessMailingTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_JobTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 21:10:43 +0000 (13:10 -0800)]
api_v3_JobTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_LineItemTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 21:10:43 +0000 (13:10 -0800)]
api_v3_LineItemTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_MembershipPaymentTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 20:52:04 +0000 (12:52 -0800)]
api_v3_MembershipPaymentTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_MembershipTypeTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 20:51:56 +0000 (12:51 -0800)]
api_v3_MembershipTypeTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_MessageTemplateTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 20:51:49 +0000 (12:51 -0800)]
api_v3_MessageTemplateTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_NoteTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 20:51:42 +0000 (12:51 -0800)]
api_v3_NoteTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_ParticipantPaymentTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 20:41:28 +0000 (12:41 -0800)]
api_v3_ParticipantPaymentTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_ParticipantStatusTypeTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 20:40:59 +0000 (12:40 -0800)]
api_v3_ParticipantStatusTypeTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_PaymentProcessorTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 20:34:34 +0000 (12:34 -0800)]
api_v3_PaymentProcessorTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_PaymentProcessorTypeTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 20:34:26 +0000 (12:34 -0800)]
api_v3_PaymentProcessorTypeTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_PhoneTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 20:14:58 +0000 (12:14 -0800)]
api_v3_PhoneTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_ProductTest - Change quickCleanup() to useTransaction()
Tim Otten [Mon, 22 Dec 2014 20:10:32 +0000 (12:10 -0800)]
api_v3_ProductTest - Change quickCleanup() to useTransaction()

9 years agoapi_v3_SurveyRespondantTest.php
Tim Otten [Mon, 22 Dec 2014 20:03:35 +0000 (12:03 -0800)]
api_v3_SurveyRespondantTest.php

9 years agoapi_v3_SurveyTest
Tim Otten [Mon, 22 Dec 2014 19:59:59 +0000 (11:59 -0800)]
api_v3_SurveyTest

9 years agoapi_v_SystemTest
Tim Otten [Mon, 22 Dec 2014 19:59:51 +0000 (11:59 -0800)]
api_v_SystemTest

9 years agoapi_v3_WebsiteTest
Tim Otten [Mon, 22 Dec 2014 19:59:38 +0000 (11:59 -0800)]
api_v3_WebsiteTest

9 years agoMerge pull request #4757 from davecivicrm/CRM-15409
Kurund Jalmi [Sun, 21 Dec 2014 14:43:44 +0000 (20:13 +0530)]
Merge pull request #4757 from davecivicrm/CRM-15409

CRM-15409 - UI fixes for Sales Tax implementation.

9 years agoMerge pull request #4592 from civicrm/master-civimail-abtest
Tim Otten [Sun, 21 Dec 2014 01:14:38 +0000 (17:14 -0800)]
Merge pull request #4592 from civicrm/master-civimail-abtest

CRM-15578 - CiviMail UI & AB Testing

9 years agoCRM-15578 - Remove uunused JS/CSS/html
Tim Otten [Sat, 20 Dec 2014 14:22:17 +0000 (06:22 -0800)]
CRM-15578 - Remove uunused JS/CSS/html

The content has been integrated into the main crmMailingAB module.

9 years agoMerge branch 'master' into master-civimail-abtest
Tim Otten [Sat, 20 Dec 2014 14:18:08 +0000 (06:18 -0800)]
Merge branch 'master' into master-civimail-abtest

Conflicts:
CRM/Mailing/BAO/Mailing.php
CRM/Mailing/BAO/MailingJob.php
CRM/Upgrade/Incremental/sql/4.6.alpha1.mysql.tpl
CRM/Utils/Array.php
sql/civicrm_generated.mysql
tests/phpunit/CiviTest/CiviUnitTestCase.php

9 years agoMerge pull request #4759 from totten/master-civimail-status
Tim Otten [Sat, 20 Dec 2014 14:10:25 +0000 (06:10 -0800)]
Merge pull request #4759 from totten/master-civimail-status

CRM-15578 - Various updates to A/B testing

9 years agocivicrm_generated.mysql - Regenerate
Tim Otten [Sat, 20 Dec 2014 06:00:15 +0000 (22:00 -0800)]
civicrm_generated.mysql - Regenerate

9 years agocrmMailingAB - Report - Add options to view mailing content, select winner, & view...
Tim Otten [Sat, 20 Dec 2014 12:50:29 +0000 (04:50 -0800)]
crmMailingAB - Report - Add options to view mailing content, select winner, & view winner stats

9 years agocrmMailingAB - Transplant report. Decouple stats API.
Tim Otten [Sat, 20 Dec 2014 09:32:21 +0000 (01:32 -0800)]
crmMailingAB - Transplant report. Decouple stats API.

Note: Previously, the MailingAB.graph_stats API keyed off the pre-declared
"winning criteria" and target date, which made it necessary to choose these
things in advance.  This API now accepts these as parameters which can be
tweaked interactively (based on what the user whats to investigate).

The graphs don't really work right now, but I've transplanted the code to
show how to encapsulate it in a directive.

9 years agocrmD3 - Add stub module for declaring dependencies on D3
Tim Otten [Sat, 20 Dec 2014 09:31:09 +0000 (01:31 -0800)]
crmD3 - Add stub module for declaring dependencies on D3

9 years agoCRM-15578 - crmMailingAB - Improve listing
Tim Otten [Sat, 20 Dec 2014 08:50:48 +0000 (00:50 -0800)]
CRM-15578 - crmMailingAB - Improve listing

 * Translate strings
 * Remove unused help section
 * Display status

9 years agoDRY - crmNow
Tim Otten [Sat, 20 Dec 2014 08:33:23 +0000 (00:33 -0800)]
DRY - crmNow

9 years agoCRM-15578 - crmMailingAB - Submit UI
Tim Otten [Sat, 20 Dec 2014 06:00:39 +0000 (22:00 -0800)]
CRM-15578 - crmMailingAB - Submit UI

9 years agoCRM-15578 - MailingAB.submit API
Tim Otten [Sat, 20 Dec 2014 04:26:22 +0000 (20:26 -0800)]
CRM-15578 - MailingAB.submit API

9 years agoCRM-15578 - Mailing.submit API - Accept "approval_note"
Tim Otten [Sat, 20 Dec 2014 03:06:03 +0000 (19:06 -0800)]
CRM-15578 - Mailing.submit API - Accept "approval_note"

9 years agoRemove debug code
Tim Otten [Sat, 20 Dec 2014 02:28:38 +0000 (18:28 -0800)]
Remove debug code

9 years agoCRM-15578 - Rename "civicrm_mailing_abtesting" to "civicrm_mailing_abtest"
Tim Otten [Sat, 20 Dec 2014 02:11:39 +0000 (18:11 -0800)]
CRM-15578 - Rename "civicrm_mailing_abtesting" to "civicrm_mailing_abtest"

9 years agoCRM-15578 - Add "status" column to MailingAB
Tim Otten [Sat, 20 Dec 2014 02:09:27 +0000 (18:09 -0800)]
CRM-15578 - Add "status" column to MailingAB

9 years agoCRM-15578 - Add navigation entries for A/B testing
Tim Otten [Sat, 20 Dec 2014 01:44:47 +0000 (17:44 -0800)]
CRM-15578 - Add navigation entries for A/B testing

9 years agoMerge pull request #4756 from davecivicrm/CRM-15701b
Dave Greenberg [Fri, 19 Dec 2014 23:22:35 +0000 (15:22 -0800)]
Merge pull request #4756 from davecivicrm/CRM-15701b

CRM-15701 - Fix form rule error.

9 years agoCRM-15701 - Fix form rule error.
Dave Greenberg [Fri, 19 Dec 2014 23:22:01 +0000 (15:22 -0800)]
CRM-15701 - Fix form rule error.

----------------------------------------
* CRM-15701:
  https://issues.civicrm.org/jira/browse/CRM-15701

9 years agoMerge pull request #4755 from webaccess/master
Dave Greenberg [Fri, 19 Dec 2014 23:18:46 +0000 (15:18 -0800)]
Merge pull request #4755 from webaccess/master

CRM-15701 QA fixes

9 years agoCRM-15409 - UI fixes for Sales Tax implementation.
Dave Greenberg [Fri, 19 Dec 2014 20:03:51 +0000 (12:03 -0800)]
CRM-15409 - UI fixes for Sales Tax implementation.

----------------------------------------
* CRM-15409:
  https://issues.civicrm.org/jira/browse/CRM-15409

9 years agoMerge pull request #3 from manishmore/CRM-15701-QA-fixes
Kurund Jalmi [Fri, 19 Dec 2014 18:54:50 +0000 (00:24 +0530)]
Merge pull request #3 from manishmore/CRM-15701-QA-fixes

Crm 15701 qa fixes

9 years agotypo fix
moremanish [Fri, 19 Dec 2014 14:45:52 +0000 (20:15 +0530)]
typo fix

9 years agoMinor fixes
moremanish [Fri, 19 Dec 2014 14:41:45 +0000 (20:11 +0530)]
Minor fixes

9 years agoCRM-15701 QA fixes
moremanish [Fri, 19 Dec 2014 14:08:13 +0000 (19:38 +0530)]
CRM-15701 QA fixes

9 years agoMerge pull request #4753 from totten/master-civimail-status
Tim Otten [Fri, 19 Dec 2014 11:39:44 +0000 (03:39 -0800)]
Merge pull request #4753 from totten/master-civimail-status

CRM-15578 - crmMailing - Pageflow changes

9 years agoMerge pull request #4724 from atif-shaikh/CRM-15598
Monish Deb [Fri, 19 Dec 2014 10:54:38 +0000 (16:24 +0530)]
Merge pull request #4724 from atif-shaikh/CRM-15598

CRM-15598 - Allow relative URL's for Link custom fields

9 years agoMerge pull request #4749 from atif-shaikh/CRM-15729
Monish Deb [Fri, 19 Dec 2014 10:53:19 +0000 (16:23 +0530)]
Merge pull request #4749 from atif-shaikh/CRM-15729

CRM-15729 - Contact batch update via profile removes group contacts

9 years agoMerge pull request #4754 from rohankatkar/CRM-15694
Monish Deb [Fri, 19 Dec 2014 10:51:07 +0000 (16:21 +0530)]
Merge pull request #4754 from rohankatkar/CRM-15694

QA fix for CRM-15694

9 years agoQA fix for CRM-15694
Rohan Katkar [Fri, 19 Dec 2014 10:40:28 +0000 (16:10 +0530)]
QA fix for CRM-15694

9 years agoCRM-15578 - Redirect "civicrm/mailing/send" to "civicrm/a/#/mailing/new"
Tim Otten [Fri, 19 Dec 2014 08:59:46 +0000 (00:59 -0800)]
CRM-15578 - Redirect "civicrm/mailing/send" to "civicrm/a/#/mailing/new"

9 years agoCRM-15578 - crmMailing(AB) - Refine pageflow:
Tim Otten [Fri, 19 Dec 2014 08:27:59 +0000 (00:27 -0800)]
CRM-15578 - crmMailing(AB) - Refine pageflow:

 * "Submit" => leave('scheduled')
 * "Delete" => leave('unscheduled')
 * "Save" => updateUrl()
 * "Send Test" => updateUrl()

This commit also switches back to managing pageflow from the controller
(rather than calling .then(leave) in the .html).  At the moment, it seems
more useful to have all the different composition screens follow the same
pageflow (rather than allowing them to have different pageflows).

9 years agoedit-split.html - Remove unused file
Tim Otten [Fri, 19 Dec 2014 08:12:28 +0000 (00:12 -0800)]
edit-split.html - Remove unused file

9 years agoRemove unused imports
Tim Otten [Fri, 19 Dec 2014 07:59:22 +0000 (23:59 -0800)]
Remove unused imports

9 years agoCRM-15578 - crmMailing(AB) - Submission & status tracking
Tim Otten [Fri, 19 Dec 2014 02:42:22 +0000 (18:42 -0800)]
CRM-15578 - crmMailing(AB) - Submission & status tracking

When loading or submitting, determine the status of any jobs tied to this mailing.

When attempting to edit a submitted mailing, display a message instead of a form.

Change the technique for updating URL -- instead of watching 'mailing.id',
explicitly call updateUrl after saving.  This ensures a consistent, linear
sequence of operations.  (Note: The watch technique was useful when there
were different variations of save() in EditMailingCtrl and
PreviewMailingCtrl, but we eliminated PreviewMailingCtrl, so it's much
easier to manage the dataflows in a centralized fashion.)

9 years agoMerge pull request #4745 from totten/master-civimail-previewbug
Tim Otten [Fri, 19 Dec 2014 00:42:38 +0000 (16:42 -0800)]
Merge pull request #4745 from totten/master-civimail-previewbug

CRM-15578 - crmMailing - Fix for sending tests

9 years agoMerge pull request #4752 from davecivicrm/CRM-15180
Dave Greenberg [Thu, 18 Dec 2014 23:35:10 +0000 (15:35 -0800)]
Merge pull request #4752 from davecivicrm/CRM-15180

CRM-15180 - https://issues.civicrm.org/jira/browse/CRM-15180

9 years agoCRM-15180 - https://issues.civicrm.org/jira/browse/CRM-15180
Dave Greenberg [Thu, 18 Dec 2014 22:04:26 +0000 (14:04 -0800)]
CRM-15180 - https://issues.civicrm.org/jira/browse/CRM-15180

9 years agoMerge pull request #4751 from kurund/CRM-15180
Dave Greenberg [Thu, 18 Dec 2014 21:52:02 +0000 (13:52 -0800)]
Merge pull request #4751 from kurund/CRM-15180

CRM-15180, now we disable non-selectable tags

9 years agoCRM-15180, added support in case view
kurund [Thu, 18 Dec 2014 20:55:57 +0000 (02:25 +0530)]
CRM-15180, added support in case view

----------------------------------------
* CRM-15180: Using the taglist style of the "contact" page for the "new contact" page
  https://issues.civicrm.org/jira/browse/CRM-15180

9 years agoCRM-15180, added support for attachments and some wierd error fixes
kurund [Thu, 18 Dec 2014 20:43:26 +0000 (02:13 +0530)]
CRM-15180, added support for attachments and some wierd error fixes

----------------------------------------
* CRM-15180: Using the taglist style of the "contact" page for the "new contact" page
  https://issues.civicrm.org/jira/browse/CRM-15180

9 years agocode cleanup
kurund [Thu, 18 Dec 2014 19:24:09 +0000 (00:54 +0530)]
code cleanup

9 years agocode cleanup
kurund [Thu, 18 Dec 2014 19:21:45 +0000 (00:51 +0530)]
code cleanup

9 years agoCRM-15180, now we disable non-selectable tags
kurund [Thu, 18 Dec 2014 19:13:57 +0000 (00:43 +0530)]
CRM-15180, now we disable non-selectable tags

----------------------------------------
* CRM-15180: Using the taglist style of the "contact" page for the "new contact" page
  https://issues.civicrm.org/jira/browse/CRM-15180

9 years agoMerge pull request #4748 from rohankatkar/Webtests
Kurund Jalmi [Thu, 18 Dec 2014 16:30:48 +0000 (22:00 +0530)]
Merge pull request #4748 from rohankatkar/Webtests

Webtests Fix

9 years agoCRM-15729 - Contact batch update via profile removes group contacts
atif-shaikh [Thu, 18 Dec 2014 14:46:00 +0000 (20:16 +0530)]
CRM-15729 - Contact batch update via profile removes group contacts

https://issues.civicrm.org/jira/browse/CRM-15729

9 years agoWebtests Fix
Rohan Katkar [Thu, 18 Dec 2014 13:30:35 +0000 (19:00 +0530)]
Webtests Fix

9 years agoMerge pull request #4734 from jitendrapurohit/CRM-15694
Monish Deb [Thu, 18 Dec 2014 13:21:15 +0000 (18:51 +0530)]
Merge pull request #4734 from jitendrapurohit/CRM-15694

Activities Report - sort by Activity Type does not work and throws fatal...

9 years agoCRM-15578 - crmMailing - Fix for sending tests
Tim Otten [Thu, 18 Dec 2014 08:11:32 +0000 (00:11 -0800)]
CRM-15578 - crmMailing - Fix for sending tests

The basic problem is that one must save before sending a test -- and the
"save" mechanics are necessarily different for crmMailing and crmMailingAB.

This commit resolves the problem by refactoring to eliminate PreviewMailingCtrl.
Now:

 * Ultimate authority for deciding how to perform a preview or test mailing lies with
   the main page (EditMailingCtrl, crmMailing/edit.html, CrmMailingABEditCtrl, crmMailingAB/edit.html)
 * We don't want it to be difficult for the main page to do that, so we define two reusable
   components -- directive crmMailingBlockPreview and service crmMailingPreviewMgr.

9 years agoMerge pull request #4733 from rohankatkar/Tests
Yashodha Chaku [Thu, 18 Dec 2014 10:05:03 +0000 (15:35 +0530)]
Merge pull request #4733 from rohankatkar/Tests

Fix for Webtest

9 years agoMerge pull request #4744 from totten/master-civimail-rename
Tim Otten [Thu, 18 Dec 2014 07:09:15 +0000 (23:09 -0800)]
Merge pull request #4744 from totten/master-civimail-rename

CRM-15578 - Rename crmMailing2, crmMailingAB2 to remove "2"

9 years agoCRM-15578 - Rename crmMailingAB2 crmMailingAB
Tim Otten [Thu, 18 Dec 2014 06:54:48 +0000 (22:54 -0800)]
CRM-15578 - Rename crmMailingAB2 crmMailingAB

9 years agoCRM-15578 - Rename crmMailingAB2 crmMailingAB
Tim Otten [Thu, 18 Dec 2014 06:49:03 +0000 (22:49 -0800)]
CRM-15578 - Rename crmMailingAB2 crmMailingAB