eileen [Tue, 21 May 2019 23:56:49 +0000 (11:56 +1200)]
[NFC] array formatting, some comments
Eileen McNaughton [Tue, 21 May 2019 23:38:13 +0000 (11:38 +1200)]
Merge pull request #14285 from civicrm/5.14
5.14 to master
Seamus Lee [Tue, 21 May 2019 21:18:32 +0000 (07:18 +1000)]
Merge pull request #14277 from seamuslee001/dev_core_976
Remove htmlpurifier from composer and move it back to within IDS to f…
Mathieu Lu [Tue, 21 May 2019 15:59:57 +0000 (11:59 -0400)]
Merge pull request #12152 from JMAConsulting/dev_drupal_19
dev/drupal#19 Drupal8: Implement set UF locale/language (affects mailing tokens)
Jon Goldberg [Wed, 28 Nov 2018 00:17:11 +0000 (19:17 -0500)]
Drupal#38 - allow creating absolute URLs from CLI in D8
Monish Deb [Wed, 10 Oct 2018 11:55:28 +0000 (17:25 +0530)]
additional fixes
deb.monish [Mon, 21 May 2018 09:25:45 +0000 (14:55 +0530)]
override languageNegotiationURL for Drupal8
deb.monish [Wed, 16 May 2018 20:29:41 +0000 (01:59 +0530)]
(dev/drupal/19) Drupal8: Implement set UF locale/language (affects mailing tokens)
Eileen McNaughton [Tue, 21 May 2019 07:37:51 +0000 (19:37 +1200)]
Merge pull request #14278 from seamuslee001/nfc_langauge_cleanup
[NFC] Update Language to be more user friendly when checking logs
Seamus Lee [Tue, 21 May 2019 06:08:32 +0000 (16:08 +1000)]
Update Language to be more user friendly when checking logs
Seamus Lee [Tue, 21 May 2019 05:44:40 +0000 (15:44 +1000)]
Merge pull request #14276 from eileenmcnaughton/dbunit_2
Test cleanup to remove references to discontinued package dbunit
Seamus Lee [Tue, 21 May 2019 02:31:32 +0000 (12:31 +1000)]
Remove htmlpurifier from composer and move it back to within IDS to fix breakage on drupal with the htmlpurifier module
Seamus Lee [Tue, 21 May 2019 02:36:42 +0000 (12:36 +1000)]
Merge pull request #14241 from colemanw/enableApi4
Try enabling api4 extension in test suite
Seamus Lee [Tue, 21 May 2019 00:28:04 +0000 (10:28 +1000)]
Merge pull request #14274 from seamuslee001/protected_fields_dao
Declare API Key as a protected field for future use
Eileen McNaughton [Mon, 20 May 2019 23:17:55 +0000 (11:17 +1200)]
Merge pull request #14266 from seamuslee001/dev_core_369
dev/core#369 Prevent hard fail of API Job when SMS provider has been deleted
eileen [Mon, 20 May 2019 05:25:58 +0000 (17:25 +1200)]
[TEST] cleanup MailingContactTest to remove dbunit dependency
eileen [Mon, 20 May 2019 04:46:22 +0000 (16:46 +1200)]
Remove obsolete code
eileen [Mon, 20 May 2019 04:46:07 +0000 (16:46 +1200)]
Clean up groupNesting Test to not use dbunit
Seamus Lee [Mon, 20 May 2019 23:08:09 +0000 (09:08 +1000)]
Merge pull request #14271 from eileenmcnaughton/db_test_towards
[TEST SUITE] Remove some use of dbunit from tests
Seamus Lee [Mon, 20 May 2019 22:39:31 +0000 (08:39 +1000)]
Merge pull request #14273 from eileenmcnaughton/test_dupe
[NFC] array formatting in CRM_Dedupe_MergerTest
Seamus Lee [Mon, 20 May 2019 22:19:36 +0000 (08:19 +1000)]
Declare API Key as a protected field for future use
Eileen McNaughton [Mon, 20 May 2019 22:03:59 +0000 (10:03 +1200)]
Merge pull request #14254 from yashodha/add_dev_tab
add developer tab for summary report
eileen [Mon, 20 May 2019 21:46:29 +0000 (09:46 +1200)]
[NFC] minor commits cleanup
eileen [Mon, 20 May 2019 21:42:00 +0000 (09:42 +1200)]
[NFC] array formatting in CRM_Dedupe_MergerTest
Coleman Watts [Mon, 13 May 2019 13:06:26 +0000 (09:06 -0400)]
Try enabling api4 extension in test suite
eileen [Mon, 20 May 2019 04:46:07 +0000 (16:46 +1200)]
Clean up groupNesting Test to not use dbunit
Carlin Scott [Mon, 20 May 2019 19:51:22 +0000 (12:51 -0700)]
Rename agpl-3.0.txt to License (#14255)
* Rename agpl-3.0.txt to License
This is the standard name for the license file and will improve this project's community score from GitHub.
* Rename License to LICENSE
colemanw [Mon, 20 May 2019 12:49:37 +0000 (08:49 -0400)]
Merge pull request #14270 from eileenmcnaughton/dedupe
[ref] Remove reference symbol from 2 variables
Monish Deb [Mon, 20 May 2019 09:13:51 +0000 (14:43 +0530)]
Merge pull request #14137 from eileenmcnaughton/pay_up
[REF][Test] Remove call to CRM_Contribute_BAO_Contribution::recordAdditionalPayment in favour of payment create
eileen [Mon, 20 May 2019 03:48:07 +0000 (15:48 +1200)]
More dbunit removal
eileen [Mon, 20 May 2019 03:32:38 +0000 (15:32 +1200)]
Remove some use of dbunit from tests
eileen [Mon, 20 May 2019 03:01:24 +0000 (15:01 +1200)]
Remove reference symbol from 2 variables
I checked & these are not altered in the function - so no need
eileen [Fri, 26 Apr 2019 14:38:48 +0000 (02:38 +1200)]
Remove call to CRM_Contribute_BAO_Contribution::recordAdditionalPayment in favour of payment create
Seamus Lee [Sun, 19 May 2019 21:56:29 +0000 (07:56 +1000)]
Add test of hard fail following SMS provider deletion and expand action schedule testing to include SMSes
dev/core#369 Fix hard failure caused by setting of NULL in database for sms_provider_id when provider is deleted
Minor improvment to test ensure that is_error is actually 0
Seamus Lee [Sun, 19 May 2019 22:58:46 +0000 (08:58 +1000)]
Merge pull request #14260 from eileenmcnaughton/spec
[REF+test] clean up code for getting labels for merge screen, stdise
Eileen McNaughton [Sun, 19 May 2019 22:03:36 +0000 (10:03 +1200)]
Merge pull request #14264 from colemanw/settingsOptions
[REF] Centralize logic for resolving settings pseudoconstants
Eileen McNaughton [Sun, 19 May 2019 21:32:54 +0000 (09:32 +1200)]
Merge pull request #14259 from colemanw/cacheOptions
Remove wasteful double-caching of settings metadata
colemanw [Sun, 19 May 2019 12:12:08 +0000 (08:12 -0400)]
Merge pull request #14262 from francescbassas/patch-16
dev/core#964 Add start date and end date values on page contribution widget ajax response
Coleman Watts [Fri, 17 May 2019 17:46:03 +0000 (13:46 -0400)]
Centralize logic for resolving settings pseudoconstants
francescbassas [Sun, 19 May 2019 08:26:47 +0000 (10:26 +0200)]
dev/core#964 Add date start and end values on page contribution widget ajax response
Eileen McNaughton [Sat, 18 May 2019 05:16:58 +0000 (17:16 +1200)]
Merge pull request #14263 from elisseck/dev/core/966
dev/core/966 skip urlencode for email in elavon xml
eileenmcnaugton [Thu, 16 May 2019 06:09:38 +0000 (18:09 +1200)]
[REF] code cleanup on handling on presentation of merge fields for display
This code was really confusing - all that 'special values' stuff. Turned out it
didn't have to be....
eileenmcnaugton [Thu, 16 May 2019 04:48:00 +0000 (16:48 +1200)]
Add unit test for handling of 'special values' when retrieving merge data
This is preliminary to a code cleanup.
m
colemanw [Fri, 17 May 2019 19:05:29 +0000 (15:05 -0400)]
Merge pull request #14261 from eileenmcnaughton/master
[REF] Remove extraneous variable
Eli Lisseck [Thu, 16 May 2019 18:33:47 +0000 (11:33 -0700)]
dev/core/966 skip urlencode for email in elavon xml
Coleman Watts [Thu, 16 May 2019 03:35:14 +0000 (23:35 -0400)]
Remove wasteful double-caching of settings metadata
Settings metadata was being cached once per domain and one extra time for good measure.
hook_civicrm_alterSettingsMetaData() was invoked even when fetching cached data,
even though the hook-altered data was stored in the cache.
Now that the hook is invoked only once and the results cached, tests have been tweaked
to cache after setting the hook instead of before.
colemanw [Thu, 16 May 2019 17:41:43 +0000 (13:41 -0400)]
Merge pull request #14258 from eileenmcnaughton/tidy
[REF] Super Minor code readability fix
eileenmcnaugton [Thu, 16 May 2019 06:40:13 +0000 (18:40 +1200)]
Remove extraneous variable
Delete Pair is only called from one place in the code & it does not pass the $entityTable
variable - so remove it & reduce complexity.
In addition the viceVersa variable is always true so we can remove this too.
eileenmcnaugton [Thu, 16 May 2019 02:29:39 +0000 (14:29 +1200)]
[REF] Minor code readability fix
Seamus Lee [Wed, 15 May 2019 21:51:00 +0000 (07:51 +1000)]
Merge pull request #14257 from civicrm/5.14
5.14
Seamus Lee [Wed, 15 May 2019 20:39:27 +0000 (06:39 +1000)]
Jenkins style fix
totten [Wed, 15 May 2019 15:48:00 +0000 (15:48 +0000)]
Update 5.13.4.md
Seamus Lee [Tue, 14 May 2019 21:19:22 +0000 (07:19 +1000)]
Update date of 5.13.3 release and add in APIv4 SA into 5.13.4
totten [Tue, 14 May 2019 10:34:04 +0000 (10:34 +0000)]
Update 5.13.4.md
Seamus Lee [Wed, 1 May 2019 02:40:10 +0000 (12:40 +1000)]
WIP Release Notes for security release
Update Release notes based on Tim's Review and likely drop of 5.13.3
Tim Otten [Wed, 8 May 2019 23:41:55 +0000 (16:41 -0700)]
civicrm/file - Be forgiving about old image hyperlinks
Previous versions of Civi sometimes generated URLs for contact-images with incorrect `&mime-type` values:
http://dmaster.bknix:8001/civicrm/file?reset=1&filename=Hello_cca4153cb14beab37c68ab7f07162425.jpg&mime-type=image/jpg
The recent security update will generate an error if the mime-type is incorrect, so this patch relaxes it
to allow the old links to continue working.
Seamus Lee [Fri, 3 May 2019 04:53:48 +0000 (14:53 +1000)]
Add whitelist back in and validate extension of file is permtted for the mime-type supplied and use mime-type from db if supplied with an fid and eid
Switch to different libary that is php5.6 compatable
Seamus Lee [Fri, 29 Mar 2019 23:34:47 +0000 (10:34 +1100)]
Strength mime checking by comparing mime-type to the file path mime-type if we have entity_id and file id otherwise only permit image mime_types to be accepted if going via the filename route
Ensure mimetype is set in the case where we are passing it through and its valid
Remove Whitelisting of mime-types as not useful and only check mime-types if we have had one passed in
Seamus Lee [Sun, 3 Mar 2019 01:14:16 +0000 (12:14 +1100)]
Resolve security/core#45 by validating the mimeType of the file with the supplied mime-type
Seamus Lee [Mon, 29 Apr 2019 04:05:15 +0000 (14:05 +1000)]
Resolve security/core#52 by validating that an installtype is sensible
Seamus Lee [Sat, 30 Mar 2019 05:19:58 +0000 (16:19 +1100)]
security/core#49 Ensure that only intergers are passed to the IN build options in address
Fix Rule checking and add a unit test
Add in unit test on building country_id options too
Add in a unit test for building county options with a state_province_id filter
Seamus Lee [Sun, 28 Apr 2019 22:32:58 +0000 (08:32 +1000)]
Also escape subtype to fix POC#2 found by Patrick
Jamie McClelland [Wed, 20 Feb 2019 17:59:34 +0000 (12:59 -0500)]
escape alphanumeric/checkbox custom data
Seamus Lee [Mon, 22 Apr 2019 07:45:52 +0000 (17:45 +1000)]
Fix security/core#51 by paramatising the Event Type part of the wuere clause
Seamus Lee [Wed, 24 Apr 2019 20:03:57 +0000 (06:03 +1000)]
Resolve security/core#53 by updating tcpdf to latest version of 6.2.x
Tim Otten [Tue, 23 Apr 2019 23:00:35 +0000 (16:00 -0700)]
(security/core#50) Update jQuery to address prototype pollution
Coleman Watts [Tue, 26 Mar 2019 22:16:18 +0000 (18:16 -0400)]
Don't expose condition to api.getoptions
Tim Otten [Tue, 5 Mar 2019 00:05:06 +0000 (16:05 -0800)]
Harden against serialization vulnerabilities (#46)
yashodha [Wed, 15 May 2019 13:36:33 +0000 (19:06 +0530)]
add developer tab for summary report
Seamus Lee [Wed, 15 May 2019 11:40:31 +0000 (21:40 +1000)]
Merge pull request #14248 from civicrm/5.14
5.14
Seamus Lee [Tue, 14 May 2019 23:28:23 +0000 (09:28 +1000)]
Merge pull request #14246 from seamuslee001/5.14-release-notes
5.13.3 Release Notes
Tim Otten [Tue, 14 May 2019 10:54:21 +0000 (11:54 +0100)]
contributor-key.yml, 5.13.13.md - Fix typo in credit
I saw a typo and asked Patrick for preferred text.
Tim Otten [Sat, 11 May 2019 08:04:52 +0000 (09:04 +0100)]
Update 5.13.3.md
Tim Otten [Sat, 11 May 2019 08:03:11 +0000 (09:03 +0100)]
Update 5.13.3.md
Seamus Lee [Sat, 11 May 2019 01:59:59 +0000 (11:59 +1000)]
Update release notes
Seamus Lee [Fri, 10 May 2019 22:42:58 +0000 (08:42 +1000)]
Add in Release notes for 5.13.3 Drop
Seamus Lee [Mon, 13 May 2019 04:37:53 +0000 (14:37 +1000)]
Merge pull request #14239 from colemanw/haveACrack
Remove broken delete from customGroupCreate
Coleman Watts [Mon, 13 May 2019 02:36:42 +0000 (22:36 -0400)]
Remove broken delete from customGroupCreate
colemanw [Sun, 12 May 2019 23:25:27 +0000 (19:25 -0400)]
Merge pull request #14181 from eileenmcnaughton/group_search
dev/core#926 [ref] adds a test & does a preliminary extraction
Eileen McNaughton [Sun, 12 May 2019 23:13:34 +0000 (11:13 +1200)]
Merge pull request #14195 from mlutfy/dev932
dev/core#932 Fix dedupe contacts flip selection
Eileen McNaughton [Sun, 12 May 2019 22:07:52 +0000 (10:07 +1200)]
Merge pull request #14160 from demeritcowboy/fix-change-status-warning
dev/core#896 - fix notice warning on closing a case
Eileen McNaughton [Sun, 12 May 2019 22:03:23 +0000 (10:03 +1200)]
Merge pull request #14206 from mattwire/paymentforms_refactor
REF Refactor to reduce duplication on payment forms
Seamus Lee [Sun, 12 May 2019 05:35:32 +0000 (15:35 +1000)]
Merge pull request #14226 from eileenmcnaughton/master
Update testGetActivityAccessCiviCRMEnough test for clarity
Seamus Lee [Sun, 12 May 2019 02:32:34 +0000 (12:32 +1000)]
Merge pull request #14238 from civicrm/5.14
5.14
Eileen McNaughton [Sat, 11 May 2019 23:49:48 +0000 (11:49 +1200)]
Merge pull request #14118 from eileenmcnaughton/no_fin_item
Fix financial acl permissions to respect check_permissions
Eileen McNaughton [Sat, 11 May 2019 23:48:34 +0000 (11:48 +1200)]
Merge pull request #14236 from seamuslee001/activity_test
Fix Failing Activity Test
Seamus Lee [Sat, 11 May 2019 07:25:11 +0000 (17:25 +1000)]
Fix Failing Activity Test
Seamus Lee [Sat, 11 May 2019 06:40:48 +0000 (16:40 +1000)]
Merge pull request #14223 from eileenmcnaughton/5.14
dev/core#942 fix failure to render names for some activities
eileenmcnaugton [Fri, 10 May 2019 04:13:11 +0000 (16:13 +1200)]
dev/core#942 fix failure to render names for some activities
Overview
----------------------------------------
Set limit for activity_contact retrieval to 0, allowing to retrieve more than 25 activity contacts when rendering the first 25 activities on the activity contact tab
Before
----------------------------------------
![before](https://user-images.githubusercontent.com/336308/
57439801-
e42a0580-729a-11e9-80a1-
45df93d0c5eb.jpg)
After
----------------------------------------
![after](https://user-images.githubusercontent.com/336308/
57439960-
39fead80-729b-11e9-9701-
acd79ff73497.jpg)
Technical Details
----------------------------------------
This moves the logic for retrieving the target contacts back into the getActivities function. We are stil not wanting to bypass the ACLs so still using the
api but strictly limiting the number of contacts we retrieve (at the cost of extra queries, but cheap ones).
Some tests added on the Bulk Mail activity.
Comments
----------------------------------------
Eileen McNaughton [Sat, 11 May 2019 01:33:52 +0000 (13:33 +1200)]
Merge pull request #14233 from seamuslee001/participant_count_search_fix
dev/core#956 Fix hard breakage in find participants form when you do a filter on o…
Seamus Lee [Fri, 10 May 2019 23:31:19 +0000 (09:31 +1000)]
Merge pull request #14220 from pradpnayak/core/issues/923
core/issues/923, Fixed notice error when creating/editing profile
Seamus Lee [Fri, 10 May 2019 23:24:47 +0000 (09:24 +1000)]
dev/core#956 Fix hard breakage in find participants form when you do a filter on one event and n participant statues
Eileen McNaughton [Fri, 10 May 2019 22:18:36 +0000 (10:18 +1200)]
Merge pull request #14216 from alifrumin/dontmunge
When creating relationship types don't munge names
Eileen McNaughton [Fri, 10 May 2019 09:05:50 +0000 (21:05 +1200)]
Merge pull request #14227 from civicrm/5.14
5.14 to master
Eileen McNaughton [Fri, 10 May 2019 09:05:17 +0000 (21:05 +1200)]
Merge pull request #14214 from jitendrapurohit/activity-input
Add select2 to input field of datepicker
Eileen McNaughton [Fri, 10 May 2019 09:02:30 +0000 (21:02 +1200)]
Merge pull request #14221 from seamuslee001/activty_wrapper_date_picker_template
Add in Wrapper template around DatePickerRange template to have bette…
eileenmcnaugton [Fri, 10 May 2019 08:55:47 +0000 (20:55 +1200)]
Update testGetActivityAccessCiviCRMEnough test for clarity
Seamus Lee [Fri, 10 May 2019 00:16:19 +0000 (10:16 +1000)]
Add in Wrapper template around DatePickerRange template to have better layout of Activity Search Form
Allow for colspan and class to be set when adding in wrapper
Update the wrapper to be only one td and not all and fix activity template appropriately
Eileen McNaughton [Thu, 9 May 2019 23:52:24 +0000 (11:52 +1200)]
Merge pull request #14219 from colemanw/hover
dev/core#950 Remove deprecated :hover jQuery selector
Coleman Watts [Thu, 9 May 2019 21:50:53 +0000 (17:50 -0400)]
Remove deprecated :hover jQuery selector