TeNNoX [Thu, 29 Jan 2015 19:22:22 +0000 (20:22 +0100)]
Fixed weird while-each-loop.
-> This caused errors, when more than one unknown argument was given (as it is 'wrong' PHP code for this type of action)
Example:
http://sandbox.onlinephpfunctions.com/code/
370c6dcc3bdc536819d52459ffd0343e699f77b2
Dave Greenberg [Thu, 29 Jan 2015 17:52:35 +0000 (09:52 -0800)]
Merge pull request #5029 from davecivicrm/CRM-15884
CRM-15884 fix typo in variable name related to earlier code cleanup.
colemanw [Thu, 29 Jan 2015 14:01:57 +0000 (09:01 -0500)]
Merge pull request #5027 from colemanw/CRM-15705
CRM-15705 - Mailing UI improvements
Yashodha Chaku [Thu, 29 Jan 2015 04:19:07 +0000 (09:49 +0530)]
Merge pull request #5025 from JohnFF/patch-7
Fixed incorrect CSS tag
Yashodha Chaku [Thu, 29 Jan 2015 04:18:41 +0000 (09:48 +0530)]
Merge pull request #5026 from JohnFF/patch-8
Fixed incorrect CSS tag
Yashodha Chaku [Thu, 29 Jan 2015 04:18:13 +0000 (09:48 +0530)]
Merge pull request #5024 from JohnFF/patch-6
Fixed incorrect CSS tag
Yashodha Chaku [Thu, 29 Jan 2015 04:17:11 +0000 (09:47 +0530)]
Merge pull request #5023 from JohnFF/patch-5
Fixed incorrect CSS tag
Eileen McNaughton [Thu, 29 Jan 2015 03:42:35 +0000 (16:42 +1300)]
Merge pull request #5017 from eileenmcnaughton/rebase
CRM-15798 adjust membership date calculation for multiyear membership
Eileen McNaughton [Thu, 29 Jan 2015 00:36:53 +0000 (13:36 +1300)]
fix mixup of variable name during rebasing
Eileen McNaughton [Thu, 29 Jan 2015 00:20:09 +0000 (13:20 +1300)]
remove extraneous semi-colon
Eileen McNaughton [Wed, 28 Jan 2015 20:54:32 +0000 (09:54 +1300)]
remove another unused variable
Eileen McNaughton [Wed, 28 Jan 2015 20:49:51 +0000 (09:49 +1300)]
remove unused variable & improve spelling, commments
Eileen McNaughton [Wed, 28 Jan 2015 20:42:18 +0000 (09:42 +1300)]
edit test comments and add tests
Eileen McNaughton [Wed, 28 Jan 2015 09:26:50 +0000 (22:26 +1300)]
CRM-15798 additional tests
Eileen McNaughton [Thu, 8 Jan 2015 04:39:48 +0000 (17:39 +1300)]
CRM-15798 add appropriate tests
Eileen McNaughton [Thu, 8 Jan 2015 12:01:36 +0000 (01:01 +1300)]
CRM-15798 adjust membership date calculation for multiyear membership
After refactoring the code to understand it & adding a test this is the upshot...
we are dealing with annual memberships (even if they are in 5 year blocks rollover is
still about month & day) so if the definition of whether they are in the rollover period is
actually the same in multi-year as for a single year - if they are between the rollover &
the cut off they get an extra part-year. Hence, when determining whether to give an extra
part year we don't need to compare the rollover to the final end date (5 years on) but
to the next year's end date - just like for an annual
Note that one could argue, but I don't think anyone has, that if the 5 year period has started
then the get the remainder of this 5 years + the next 5 years - which is what the
existing code seems to be almost trying to do
Dave Greenberg [Thu, 29 Jan 2015 00:14:31 +0000 (16:14 -0800)]
CRM-15884 fix typo in variable name related to earlier code cleanup.
----------------------------------------
* CRM-15884: Delete Membership fails due to typo in variable name
https://issues.civicrm.org/jira/browse/CRM-15884
Coleman Watts [Wed, 28 Jan 2015 19:18:42 +0000 (14:18 -0500)]
CRM-15705 - Abstract dialog resizing for reusability
Coleman Watts [Wed, 28 Jan 2015 16:40:51 +0000 (11:40 -0500)]
CRM-15705 - Fix tab header appearance
Coleman Watts [Wed, 28 Jan 2015 15:02:27 +0000 (10:02 -0500)]
CRM-15705 - Standardize token menu label and icon
Coleman Watts [Wed, 28 Jan 2015 15:01:50 +0000 (10:01 -0500)]
CRM-15705 - Add button icons to angular popup
John E Prescott [Wed, 28 Jan 2015 15:45:01 +0000 (15:45 +0000)]
Fixed incorrect CSS tag
John E Prescott [Wed, 28 Jan 2015 15:44:36 +0000 (15:44 +0000)]
Fixed incorrect CSS tag
John E Prescott [Wed, 28 Jan 2015 15:44:06 +0000 (15:44 +0000)]
Fixed incorrect CSS tag
John E Prescott [Wed, 28 Jan 2015 15:42:10 +0000 (15:42 +0000)]
Fixed incorrect CSS tag
CiviCRM [Wed, 28 Jan 2015 11:23:22 +0000 (03:23 -0800)]
Update version to 4.6.alpha5
Yashodha Chaku [Wed, 28 Jan 2015 09:33:32 +0000 (15:03 +0530)]
Merge pull request #5020 from pratikshad/4.6-alpha4
Fixed civicrm upgrade issue
Eileen McNaughton [Wed, 28 Jan 2015 07:55:52 +0000 (20:55 +1300)]
Merge pull request #4947 from eileenmcnaughton/examples
Examples
Tim Otten [Wed, 28 Jan 2015 07:39:41 +0000 (23:39 -0800)]
Merge pull request #5019 from totten/master-autosave-att
CRM-15855 - Autosave attachments. Call leave() as part of "Save Draft".
Tim Otten [Wed, 28 Jan 2015 05:52:45 +0000 (21:52 -0800)]
CRM-15855 - crmMailing - After explicitly saving a draft, leave.
Tim Otten [Wed, 28 Jan 2015 05:44:03 +0000 (21:44 -0800)]
CRM-15855 - crmMailing - Fix autosave for attachments
Tim Otten [Wed, 28 Jan 2015 04:21:32 +0000 (20:21 -0800)]
crmMailing - Load attachments using "resolve"
pratikshad [Wed, 28 Jan 2015 03:08:10 +0000 (13:08 +1000)]
Fixed civicrm upgrade issue
Eileen McNaughton [Tue, 27 Jan 2015 20:48:58 +0000 (09:48 +1300)]
still getting example test to pass
Coleman Watts [Tue, 27 Jan 2015 19:47:04 +0000 (14:47 -0500)]
Remove unneeded call to crmtooltip
Eileen McNaughton [Tue, 27 Jan 2015 18:40:26 +0000 (07:40 +1300)]
api example, hack id back to 1 to compensate for poor test cleanup
Eileen McNaughton [Tue, 27 Jan 2015 17:39:47 +0000 (06:39 +1300)]
comment fix
Eileen McNaughton [Tue, 27 Jan 2015 17:39:17 +0000 (06:39 +1300)]
Alter contribution example test to try to get an error message
Eileen McNaughton [Tue, 27 Jan 2015 17:35:03 +0000 (06:35 +1300)]
Merge pull request #5014 from eileenmcnaughton/rebase
CRM-15798 still refactoring variable names & adding comments
Kurund Jalmi [Tue, 27 Jan 2015 16:55:31 +0000 (22:25 +0530)]
Merge pull request #5015 from rohankatkar/CRM-15853
CRM-15853
colemanw [Tue, 27 Jan 2015 15:08:58 +0000 (10:08 -0500)]
Merge pull request #5016 from colemanw/APIExplorer
APIExplorer - lint js
Coleman Watts [Tue, 27 Jan 2015 14:23:58 +0000 (09:23 -0500)]
APIExplorer - lint js
Web Access [Tue, 27 Jan 2015 14:13:17 +0000 (19:43 +0530)]
CRM-15853
Eileen McNaughton [Thu, 8 Jan 2015 11:49:36 +0000 (00:49 +1300)]
CRM-15798 still refactoring variable names & adding comments
Tim Otten [Tue, 27 Jan 2015 11:00:26 +0000 (03:00 -0800)]
Merge pull request #5013 from totten/master-karma-ci
karma - Misc patches towards testing JS via Jenkins
Tim Otten [Tue, 27 Jan 2015 09:20:21 +0000 (01:20 -0800)]
Merge pull request #5012 from totten/master-jshint
INFRA-132 - Add .jshintrc. Misc js cleanup.
Tim Otten [Tue, 27 Jan 2015 07:52:15 +0000 (07:52 +0000)]
bin/setup.sh - Reenable bower
Eileen McNaughton [Tue, 27 Jan 2015 07:40:47 +0000 (20:40 +1300)]
Merge pull request #5011 from eileenmcnaughton/rebase2
additional test and test tidy-ups
Tim Otten [Tue, 27 Jan 2015 07:25:46 +0000 (23:25 -0800)]
karma - Specify output for JUnit XML (when used)
Tim Otten [Tue, 27 Jan 2015 05:53:48 +0000 (21:53 -0800)]
INFRA-132 - Misc js
Tim Otten [Tue, 27 Jan 2015 05:46:43 +0000 (21:46 -0800)]
INFRA-132 - Add .jshintrc. Cleanup tests/karama/unit.
Eileen McNaughton [Thu, 8 Jan 2015 11:38:53 +0000 (00:38 +1300)]
remove unnecessary variable
Eileen McNaughton [Tue, 27 Jan 2015 04:59:17 +0000 (17:59 +1300)]
additional test and test tidy-ups
Eileen McNaughton [Tue, 27 Jan 2015 04:55:45 +0000 (17:55 +1300)]
improve error reporting on failed example test
Eileen McNaughton [Tue, 27 Jan 2015 04:44:25 +0000 (17:44 +1300)]
Merge pull request #5010 from eileenmcnaughton/rebase2
CRM-15798 function extraction on membership date calculation
colemanw [Tue, 27 Jan 2015 02:53:44 +0000 (21:53 -0500)]
Merge pull request #5007 from colemanw/CRM-15759
CRM-15759 - Use crmEditable for changing case activity status
Eileen McNaughton [Tue, 27 Jan 2015 02:10:33 +0000 (15:10 +1300)]
Merge pull request #5009 from eileenmcnaughton/contribution_recur_test
Contribution recur test fixes
Eileen McNaughton [Tue, 27 Jan 2015 02:03:10 +0000 (15:03 +1300)]
stylistic repair
Eileen McNaughton [Tue, 27 Jan 2015 01:59:14 +0000 (14:59 +1300)]
CRM-15798 function extraction on membership date calculation
this is part of a big rebase to clean up PR for CRM-15798 post code-cleanup
& it going stale
Eileen McNaughton [Tue, 27 Jan 2015 01:44:27 +0000 (14:44 +1300)]
Merge pull request #5008 from eileenmcnaughton/rebase
Rebase of some of the tidyups from other PR
eileenmcnaughton [Tue, 27 Jan 2015 01:33:12 +0000 (01:33 +0000)]
test generated examples: hack payment processor number back to 1 since cleanup on test case is problematic
eileenmcnaughton [Tue, 27 Jan 2015 01:11:08 +0000 (01:11 +0000)]
further minor tidy ups to example tests
eileenmcnaughton [Thu, 15 Jan 2015 07:16:04 +0000 (07:16 +0000)]
update examples"
Eileen McNaughton [Tue, 27 Jan 2015 01:00:01 +0000 (14:00 +1300)]
fix to previous - don't assume trxn_id required
Eileen McNaughton [Tue, 27 Jan 2015 00:34:49 +0000 (13:34 +1300)]
allow dummy to take mulitple trxn_ids
Eileen McNaughton [Tue, 27 Jan 2015 00:22:53 +0000 (13:22 +1300)]
add flush for cached payment processors
Eileen McNaughton [Tue, 27 Jan 2015 00:21:28 +0000 (13:21 +1300)]
comment fixes
Eileen McNaughton [Mon, 26 Jan 2015 23:59:28 +0000 (12:59 +1300)]
style fixes
Eileen McNaughton [Mon, 26 Jan 2015 23:18:54 +0000 (12:18 +1300)]
rename contribution type to financial type
Eileen McNaughton [Mon, 26 Jan 2015 23:16:55 +0000 (12:16 +1300)]
fix error whereby protected function called
since calling direct payment throws an error we can move the error handling too
Eileen McNaughton [Mon, 26 Jan 2015 23:03:42 +0000 (12:03 +1300)]
minor tidyups
Eileen McNaughton [Thu, 8 Jan 2015 11:19:27 +0000 (00:19 +1300)]
minor tidyups
Eileen McNaughton [Thu, 8 Jan 2015 04:34:57 +0000 (17:34 +1300)]
CRM-15798 membership_type api tidy-up - preparatory to test fixes
Coleman Watts [Mon, 26 Jan 2015 18:38:31 +0000 (13:38 -0500)]
CRM-15759 - Use crmEditable for changing case activity status
Also cleanup js in ActivityTab.tpl
Coleman Watts [Mon, 26 Jan 2015 16:38:59 +0000 (11:38 -0500)]
Merge branch 4.5 into master
Coleman Watts [Mon, 26 Jan 2015 16:36:44 +0000 (11:36 -0500)]
APIExplorer.js comment cleanup
colemanw [Mon, 26 Jan 2015 16:21:17 +0000 (11:21 -0500)]
Merge pull request #5002 from colemanw/explorer
API explorer improvements
colemanw [Mon, 26 Jan 2015 14:01:38 +0000 (09:01 -0500)]
Merge pull request #5005 from colemanw/CRM-15872
CRM-15872 - Fix change activity status on contact case tab
Coleman Watts [Mon, 26 Jan 2015 14:01:12 +0000 (09:01 -0500)]
CRM-15872 - Fix change activity status on contact case tab
Kurund Jalmi [Mon, 26 Jan 2015 12:21:12 +0000 (17:51 +0530)]
Merge pull request #4985 from colemanw/CRM-15845
CRM-15845 - Fix relationship datatables permission check
kurund [Mon, 26 Jan 2015 09:07:58 +0000 (14:37 +0530)]
Merge remote-tracking branch 'upstream/4.5' into 4.5-master-2015-01-26-14-28-00
Conflicts:
CRM/Contact/Page/ImageFile.php
CRM/Contribute/Form/SoftCredit.php
CRM/Event/Form/ManageEvent/Registration.php
Coleman Watts [Sun, 25 Jan 2015 22:15:11 +0000 (17:15 -0500)]
API explorer js style cleanup
Coleman Watts [Sun, 25 Jan 2015 20:31:21 +0000 (15:31 -0500)]
Fix api explorer chaining to use getactions
Coleman Watts [Sun, 25 Jan 2015 19:47:01 +0000 (14:47 -0500)]
CRM-15789 - Add icon to api explorer button
Coleman Watts [Sat, 24 Jan 2015 21:27:27 +0000 (16:27 -0500)]
Api explorer improvements
Tim Otten [Sat, 24 Jan 2015 10:32:56 +0000 (02:32 -0800)]
Merge pull request #5000 from totten/master-cbf3
INFRA-132 - Misc
Tim Otten [Sat, 24 Jan 2015 09:18:32 +0000 (01:18 -0800)]
INFRA-132 - Misc
Tim Otten [Sat, 24 Jan 2015 09:19:47 +0000 (01:19 -0800)]
Merge pull request #4999 from totten/master-autosave
CRM-15855 - Autosave mailings while editing
Tim Otten [Sat, 24 Jan 2015 08:00:57 +0000 (00:00 -0800)]
INFRA-132 - angular-crmMailingAB/directives.js
Tim Otten [Sat, 24 Jan 2015 06:32:31 +0000 (22:32 -0800)]
CRM-15856 - crmMailing - Disable "Submit Mailing" until the form is valid.
Tim Otten [Sat, 24 Jan 2015 06:28:52 +0000 (22:28 -0800)]
CRM-15856 - crmMailing - Validate that body_html *or* body_text is defined
Tim Otten [Sat, 24 Jan 2015 06:27:05 +0000 (22:27 -0800)]
CRM-15856 - crmUi - Add generic, field-independent validator (crmUiValidate).
Tim Otten [Sat, 24 Jan 2015 05:23:22 +0000 (21:23 -0800)]
CRM-15856 - crmMailing - Disable browser's form validation.
It duplicates Angular's validation and is harder to fine-tune.
Tim Otten [Sat, 24 Jan 2015 05:22:37 +0000 (21:22 -0800)]
CRM-15856 - crmUiWizard - Disable "Next" button until the step is complete. Update wizards.
Tim Otten [Sat, 24 Jan 2015 05:03:13 +0000 (21:03 -0800)]
CRM-15855 - Allow mailings to be saved (but not sent) without name+subject.
Tim Otten [Sat, 24 Jan 2015 03:17:43 +0000 (19:17 -0800)]
crmMailing - Block Save/Delete/Submit while saving/deleting/submitting.
Tim Otten [Fri, 23 Jan 2015 11:30:23 +0000 (03:30 -0800)]
CRM-15855 - crmMailing - Use crmAutosave
Tim Otten [Fri, 23 Jan 2015 11:30:02 +0000 (03:30 -0800)]
CRM-15855 - Add crmAutosave module
Tim Otten [Sat, 24 Jan 2015 00:18:36 +0000 (16:18 -0800)]
crmStatus - Fix for use without a promise.
Tim Otten [Fri, 23 Jan 2015 08:14:31 +0000 (00:14 -0800)]
Civi\Angular - Docblock improvements.