5.8.0 release notes: organization and contributors
[civicrm-core.git] / release-notes / 5.8.0.md
CommitLineData
8ce87abe
AH
1# CiviCRM 5.8.0
2
dc3be90c 3Released December 5, 2018
8ce87abe 4
dc3be90c 5- **[Synopsis](#synopsis)**
8ce87abe
AH
6- **[Features](#features)**
7- **[Bugs resolved](#bugs)**
8- **[Miscellany](#misc)**
9- **[Credits](#credits)**
dc3be90c
AH
10- **[Feedback](#feedback)**
11
12## <a name="synopsis"></a>Synopsis
13
14| *Does this version...?* | |
15|:--------------------------------------------------------------- |:-------:|
19e29fd9
AH
16| Fix security vulnerabilities? | no |
17| Change the database schema? | no |
18| **Alter the API?** | **yes** |
19| Require attention to configuration options? | no |
20| **Fix problems installing or upgrading to a previous version?** | **yes** |
21| **Introduce features?** | **yes** |
22| **Fix bugs?** | **yes** |
8ce87abe
AH
23
24## <a name="features"></a>Features
25
ac82886b
AF
26### Core CiviCRM
27
28- **Configurable quicksearch settings
29 ([13039](https://github.com/civicrm/civicrm-core/pull/13039) and
30 [13056](https://github.com/civicrm/civicrm-core/pull/13056))**
31
32 This permits (some) custom fields to be added to quicksearch as searchable
33 fields. By adding a setting in Search Preferences to configure the search
34 fields in the quicksearch box in the menu bar.
35
36- **Permit additional (freeform) relative date filters - e.g 'last 18 months',
37 'last 45 days' ([12682](https://github.com/civicrm/civicrm-core/pull/12682))**
38
39 This change adds support for a greater range of date options for relative
40 searches (e.g last 45 days, last 18 months). It requires option values to be
41 added by an extension or by an experienced admin, and has a limited UI.
42
43- **Allow contribution search by recurring payment processor ID / Transaction ID
44 ([12818](https://github.com/civicrm/civicrm-core/pull/12818))**
45
46 This change adds three new fields to the contribution search form: recurring
47 contribution transaction ID, payment processor ID and processor ID.
48
49- **[dev/core#495](https://lab.civicrm.org/dev/core/issues/495) Migrate simple
50 Preferences & Settings forms to using a Generic class.
51 [13054](https://github.com/civicrm/civicrm-core/pull/13054),
52 [13062](https://github.com/civicrm/civicrm-core/pull/13062),
53 [13047](https://github.com/civicrm/civicrm-core/pull/13047),
54 [13046](https://github.com/civicrm/civicrm-core/pull/13046),
55 [13048](https://github.com/civicrm/civicrm-core/pull/13048),
56 [13040](https://github.com/civicrm/civicrm-core/pull/13040),
57 [13004](https://github.com/civicrm/civicrm-core/pull/13004),
58 [13026](https://github.com/civicrm/civicrm-core/pull/13026),
59 [13027](https://github.com/civicrm/civicrm-core/pull/13027),
60 [13025](https://github.com/civicrm/civicrm-core/pull/13025),
61 [12731](https://github.com/civicrm/civicrm-core/pull/12731),
62 [12940](https://github.com/civicrm/civicrm-core/pull/12940),
63 [13022](https://github.com/civicrm/civicrm-core/pull/13022),
64 [13023](https://github.com/civicrm/civicrm-core/pull/13023),
65 [12906](https://github.com/civicrm/civicrm-core/pull/12906),
66 [12919](https://github.com/civicrm/civicrm-core/pull/12919),
67 [12925](https://github.com/civicrm/civicrm-core/pull/12925) and
68 [12960](https://github.com/civicrm/civicrm-core/pull/12960)**
69
70 Introduce generic settings form (fully metadata driven) - this provides a
71 supported methodology for extensions to add settings forms and to alter core
72 settings forms (albeit not all core forms are converted to that point).
73
74- **Add icons to contact summary tabs
75 ([13018](https://github.com/civicrm/civicrm-core/pull/13018))**
76
77 This change makes it so that an extension using hook_civicrm_tabset can
78 specify icons for the contact summary tabs. If no icon is specified
79 fa-puzzle-piece is used.
80
81- **Extract selectedChild tabheader functionality and enable for Manage Events
82 ([12747](https://github.com/civicrm/civicrm-core/pull/12747))**
83
84 This takes the existing functionality of adding "selectedChild=" to a url for
85 a tabbed page and makes it work across all the pages tabs. The tab will have
86 an id of 'tab-x' where x is the thing to use after '='.
87
88 This change adds the ability to link to a specific tab for an event (and
89 generally cleans up the code related to linking to tabs).
90
91- **Fix search performance issues and reliability on some characters issues by
92 removing lower case double-conversion
93 ([12494](https://github.com/civicrm/civicrm-core/pull/12494),
94 [13035](https://github.com/civicrm/civicrm-core/pull/13035),
95 [13034](https://github.com/civicrm/civicrm-core/pull/13034),
96 [12993](https://github.com/civicrm/civicrm-core/pull/12993),
97 [12987](https://github.com/civicrm/civicrm-core/pull/12987),
98 [12988](https://github.com/civicrm/civicrm-core/pull/12988),
99 [12991](https://github.com/civicrm/civicrm-core/pull/12991),
100 [13053](https://github.com/civicrm/civicrm-core/pull/13053) and
101 [13055](https://github.com/civicrm/civicrm-core/pull/13055))**
102
103 These changes make performance improvements to searching by moving from using
104 the php strtolower function and mysql LOWER function to mysql handling
105 comparing strings in a non case specific way.
106
107- **[dev/core#6](https://lab.civicrm.org/dev/core/issues/6) Add help text for
108 "is public" setting on form to edit custom field sets
109 ([13060](https://github.com/civicrm/civicrm-core/pull/13060))**
110
111 This change improves user experience of the form to edit custom field sets by
112 adding help text to the field "Is this Custom Data Set public?".
113
114- **[dev/core#463](https://lab.civicrm.org/dev/core/issues/463) Add in support
115 for Extension Utils when generating DAO files for Extensions
116 ([12986](https://github.com/civicrm/civicrm-core/pull/12986))**
117
118 When creating a new entity (e.g DiscountItem) via an extension the new entity
119 will need a DAO class. Our Civix code currently supports this - at least
120 somewhat - but will not wrap any translatable strings with ts rather than the
121 (correct for extensions) E::ts . Adding this to core will allow civix to
122 leverage it to better create extension DAO objects.
123
124- **Continue ongoing work to replace jcalendar with datepicker widget - event
125 search form search to datepicker and cleanup template
126 ([12978](https://github.com/civicrm/civicrm-core/pull/12978)) and participant
127 registration form
128 ([12979](https://github.com/civicrm/civicrm-core/pull/12979)) and manage
129 events fees page ([12977](https://github.com/civicrm/civicrm-core/pull/12977))
130 and manage events registration page
131 ([12975](https://github.com/civicrm/civicrm-core/pull/12975)) and relationship
132 form ([12972](https://github.com/civicrm/civicrm-core/pull/12972)) and event
133 fees page ([12992](https://github.com/civicrm/civicrm-core/pull/12992)) and
134 Update subscription form
135 ([12868](https://github.com/civicrm/civicrm-core/pull/12868))***
136
137 These changes move date picking fields from using jcalendar to use the
138 datepicker widget in the following places: Event Search form, Participant
139 Registration Form, Manage Event Fees Page, Manage Events Registration page,
140 Relationships form, Event Fees page and the Update Subscription form.
141
142- **[dev/core#472](https://lab.civicrm.org/dev/core/issues/472) Allow for
143 CiviCRM APIv3 Explorer to find API Examples in extensions in the format of
144 api/v3/examples/Entity just in the same format as core
145 ([13006](https://github.com/civicrm/civicrm-core/pull/13006))**
146
147 This change makes it so that APIv3 Explorer displays examples found in
148 extensions.
149
150- **Translate description in DAO files
151 ([13005](https://github.com/civicrm/civicrm-core/pull/13005))**
152
153 This change makes it so that the Description field in the DAO is translated so
154 that if the getfields api returns the translated string.
155
156- **Replace translation and calendar image icons
157 ([13003](https://github.com/civicrm/civicrm-core/pull/13003))**
158
159 This change makes it so that translation and calendar symbols use font
160 icons instead of images.
161
162- **[dev/core#457](https://lab.civicrm.org/dev/core/issues/457) Add new hook
163 exportIds ([12957](https://github.com/civicrm/civicrm-core/pull/12957))**
164
165 This change extends CRM_Utils_Hook::export($exportTempTable, $headerRows,
166 $sqlColumns, $exportMode, $componentTable, $ids); so that it can return id
167 columns.
168
169- **CRM_Core_Resources - Allow container to swap the implementation
170 ([12959](https://github.com/civicrm/civicrm-core/pull/12959))**
171
172 This change makes it so that CRM_Core_Resources can be modified in an
173 extension using the hook hook_civicrm_container.
174
175- **Do not treat an empty array as not set in caches.
176 ([12784](https://github.com/civicrm/civicrm-core/pull/12784))**
177
178 This change improves performance by respecting empty arrays as a cache hit.
179
180- **Fix typo in hook that enables links to be added to a block
181 ([12913](https://github.com/civicrm/civicrm-core/pull/12913))**
182
183 This change fixes the $op sent to hook_civicrm_links($op, $objectName,
184 $objectId, &$links, &$mask, &$values) from CRM_Core_Block to accept
185 create.new.shortcuts in addition to create.new.shorcuts (the misspelled op
186 name before this change).
187
188- **Send an 500 http response code when an exception is encountered.
189 ([11821](https://github.com/civicrm/civicrm-core/pull/11821) and
190 [12902](https://github.com/civicrm/civicrm-core/pull/12902))**
8ce87abe 191
ac82886b
AF
192 This change makes it so that instead of always exiting with a 200 code, When
193 CRM_Utils_System is called with a status > 0, CiviCRM exits with a 500 code.
194
195- **Register "short" and "long" cache services
196 ([12873](https://github.com/civicrm/civicrm-core/pull/12873))**
197
198 This change makes it so that extension developers can use Civi::cache('short')
199 or Civi::cache('default') for a short-lived/latency-optimized PSR-16 cache or
200 Civi::cache('long') for a long-lived/durability-optimized PSR-16 cache before
201 this change only Civi::cache('default') was available.
202
203- **Remove crm.admin.js
204 ([12884](https://github.com/civicrm/civicrm-core/pull/12884))**
205
206 This change is both a performance improvement (removes an unnecessary
207 javascript file) and a ui improvement because it improved the icon picker ui.
208
209- **Style improvement of radio form elements
210 ([12736](https://github.com/civicrm/civicrm-core/pull/12736))**
211
212 This change adds more space between radio form elements and their labels.
213
214- **Use description from schema if available when using entityForm
215 ([12971](https://github.com/civicrm/civicrm-core/pull/12971))**
216
217 This change adds the ability to show the description from the entity schema
218 instead of hardcoding it in the class when using entityForm.
219
19e29fd9
AH
220- **On reports make current employer available as a field for display
221 ([12904](https://github.com/civicrm/civicrm-core/pull/12904))**
8ce87abe 222
19e29fd9
AH
223 This change makes it so that the field "Current Employer" is available as a
224 column on reports.
8ce87abe 225
19e29fd9 226### CiviCase
8ce87abe 227
19e29fd9
AH
228- **Added relationship active filter in CiviCRM Case reports.
229 ([12711](https://github.com/civicrm/civicrm-core/pull/12711))**
8ce87abe 230
19e29fd9 231 This change adds a filter for is relationship active to CiviCRM Case reports.
8ce87abe 232
ac82886b
AF
233### CiviContribute
234
235- **Add validate api action for ContributionPage.submit
236 ([12829](https://github.com/civicrm/civicrm-core/pull/12829))**
237
238 This change ensures that api calls using the action
239 ContributionPage.submit check that the parameters are valid for the form.
240
241- **[dev/financial#33](https://lab.civicrm.org/dev/financial/issues/33) Proposal -
242 Add in hook alterPostIpn or similar
243 ([12928](https://github.com/civicrm/civicrm-core/pull/12928))**
244
245 This change adds a hook alterIPNData which allows extension authors the ability
246 to do custom processing on IPNs such as sending google analytics information
247 based on the IPN data.
248
249- **Show contact name on recurring contribution view and improve consistency
250 with Contribution/Membership view
251 ([12819](https://github.com/civicrm/civicrm-core/pull/12819))**
252
253 This change improves the ui by including the Contact name in the view of a
254 recurring payment.
255
256- **Show recurring contribution links based on payment processor capabilities
257 ([12821](https://github.com/civicrm/civicrm-core/pull/12821))**
258
259 This change makes it so that the edit link for recurring contributions is
260 hidden/shown based on the payment processor capabilities.
8ce87abe 261
ac82886b
AF
262### CiviEvent
263
264- **Mark event start date as required and refactoring
265 ([13049](https://github.com/civicrm/civicrm-core/pull/13049))**
266
267 This change makes it so the event start date field has a red * next to it to
268 indicate that it is a required field.
269
19e29fd9 270### CiviMail
ac82886b 271
19e29fd9
AH
272- **[dev/core#481](https://lab.civicrm.org/dev/core/issues/481) New
273 Organization: There is no possible to uncheck in the field "Bulk Mailings?"
274 ([13019](https://github.com/civicrm/civicrm-core/pull/13019))**
ac82886b 275
19e29fd9
AH
276 This change improves the UI when creating a new organization by making the
277 "Bulk Mailings" field a checkbox (that can be checked and unchecked) instead
278 of a radio that once checked cannot be unchecked.
279
280- **Adding [CiviMail Draft] on test mailing (for mosaico)
281 ([12758](https://github.com/civicrm/civicrm-core/pull/12758))**
282
283 This change adds the text [CiviMail Draft] to the subject of any email that is
284 sent using the send test functionality.
285
286- **[dev/core#456](https://lab.civicrm.org/dev/core/issues/456) Improve UX of
287 scheduling mass SMS
288 ([13001](https://github.com/civicrm/civicrm-core/pull/13001))**
289
290 This change improves the UI of the schedule SMS mailings form by making it so
291 one has to choose "Send Immediately" OR "Schedule SMS". Before this change one
292 could check the box to "Send Immediately" AND a date to Schedule SMS.
ac82886b
AF
293
294### Drupal Integration Modules
295
296- **[CRM-17667](https://issues.civicrm.org/jira/browse/CRM-17667) Drush: Mail
297 queue processing does not work
298 ([354](https://github.com/civicrm/civicrm-drupal/pull/354))**
299
300 This change makes it so one can use the drush command `drush
301 civicrm-process-mail-queue` to execute the scheduled mailing job.
302
303- **Add a drush command to rebuild SQL triggers
304 ([545](https://github.com/civicrm/civicrm-drupal/pull/545))**
305
306 This change makes it so that the drush command `drush
307 civicrm-sql-rebuild-triggers` rebuilds triggers and can dump the SQL commands
308 into a file.
8ce87abe 309
40d630a8 310## <a name="bugs"></a>Bugs resolved
8ce87abe 311
ac82886b 312### Core CiviCRM
8ce87abe 313
ac82886b
AF
314- **[dev/core#477](https://lab.civicrm.org/dev/core/issues/477) Print Summary is
315 missing some contact info
316 ([13030](https://github.com/civicrm/civicrm-core/pull/13030))**
8ce87abe 317
ac82886b
AF
318 This change fixes a bug where when using the action "Print Summary" for a
319 contact record the employer and job title were not being printed in the
320 summary so that the employer and job title fields are printed.
8ce87abe 321
ac82886b
AF
322- **[dev/core#119](https://lab.civicrm.org/dev/core/issues/119) Notice error
323 ([13063](https://github.com/civicrm/civicrm-core/pull/13063))**
8ce87abe 324
ac82886b
AF
325 Fixes a bug where when going to view a location of an event (a url like:
326 /civicrm/contact/map/event?eid=3&reset=1) would result in an undefined
327 variable notice so that no notice is thrown.
8ce87abe 328
ac82886b
AF
329- **PHP 7.3 support (Fix misplaced hyphens in regex)
330 ([13064](https://github.com/civicrm/civicrm-core/pull/13064))**
8ce87abe 331
ac82886b
AF
332 This change fixes a bug for users with a PHP 7.3 where importing contributions
333 with custom field values would result in an error message "preg_match():
334 Compilation failed: invalid range in character class at offset 7" when
335 creating a new contribution with custom field values
8ce87abe 336
ac82886b
AF
337- **[dev/core#287](https://lab.civicrm.org/dev/core/issues/287) Child groups
338 with all parents disabled shows in group list
339 ([12797](https://github.com/civicrm/civicrm-core/pull/12797) and
340 [13061](https://github.com/civicrm/civicrm-core/pull/13061))**
341
342 This change ensures that when a parent group is disabled, so are its children
343 groups.
344
345- **Fix custom Home URL parsing
346 ([13031](https://github.com/civicrm/civicrm-core/pull/13031))**
347
348 This change fixes a bug where Custom Home URLs without a query string would
349 result in an E_NOTICE and fragments would be removed from the URL so that no
350 E_NOTICE is thrown and fragments are not removed from the custom url.
8ce87abe 351
ac82886b
AF
352- **Fix Activity api to cope with renamed record type labels (e.g renaming
353 'Target' to 'Directed At')
354 ([13008](https://github.com/civicrm/civicrm-core/pull/13008))**
8ce87abe 355
ac82886b
AF
356 This change makes it so the Activity API filters activity contacts options
357 based on the option name instead of the option label.
8ce87abe 358
ac82886b
AF
359- **[dev/core#474](https://lab.civicrm.org/dev/core/issues/474) Missing log
360 table warning on status page even if logging is disabled.
361 ([13010](https://github.com/civicrm/civicrm-core/pull/13010))**
8ce87abe 362
ac82886b
AF
363 This change makes it so that the "Missing log table" warning only shows up if
364 logging is enabled.
8ce87abe 365
ac82886b
AF
366- **[dev/translation#15](https://lab.civicrm.org/dev/translation/issues/15)
367 Backend credit card contribution are left as Pending if contribution statuses
368 are localized ([12999](https://github.com/civicrm/civicrm-core/pull/12999))**
8ce87abe 369
ac82886b
AF
370 This fixes a bug where backend credit card contributions were being set as
371 "Pending" if contribution statuses were localized so that if contributions
372 statuses are localized backend credit card contributions are set
373 appropriately.
8ce87abe 374
ac82886b
AF
375- **api bug - Fix mishandling of mixed case strings in some api requests on
376 custom values([12930](https://github.com/civicrm/civicrm-core/pull/12930))**
8ce87abe 377
ac82886b
AF
378 This change makes it so that the custom data api searches for custom data with
379 uppercase letters correctly.
8ce87abe 380
ac82886b
AF
381- **Add ts to untranslated string
382 ([12989](https://github.com/civicrm/civicrm-core/pull/12989))**
8ce87abe 383
ac82886b
AF
384 This change ensures the text "Error" is translated on error messages thrown
385 when processing an image on a contact.
8ce87abe 386
ac82886b
AF
387- **[dev/core#459](https://lab.civicrm.org/dev/core/issues/459) Fix "crmURL"
388 parameters in various templates
389 ([12968](https://github.com/civicrm/civicrm-core/pull/12968))**
8ce87abe 390
19e29fd9
AH
391 This fixes a bug where some URLs were being generated with double & (e.g.
392 `http://civicrm.local/wp-admin/admin.php?page=CiviCRM&q=civicrm/contact/view/delete&&reset=1&delete=1&cid=202`).
8ce87abe 393
ac82886b
AF
394- **[dev/core#412](https://lab.civicrm.org/dev/core/issues/412) Avoid truncated
395 UTF-8 strings when using substr()
396 ([12935](https://github.com/civicrm/civicrm-core/pull/12935))**
8ce87abe 397
ac82886b
AF
398 This change fixes a bug where export forms with custom group names with a
399 UTF-8 character at the 10th character were not allowing users to pick fields
400 to export properly so that one can pick multiple fields for export on the
401 export form with custom group names with a UTF-8 character at the 10th
402 character.
8ce87abe 403
ac82886b
AF
404- **[dev/core#452](https://lab.civicrm.org/dev/core/issues/452) Error when
405 exporting CSV batch (PHP 7.1)
406 ([12946](https://github.com/civicrm/civicrm-core/pull/12946))**
8ce87abe 407
ac82886b
AF
408 This change fixes a bug for users using PHP 7.1 where exporting csv batches
409 would crash so that users using PHP 7.1 can export csv batches.
8ce87abe 410
ac82886b
AF
411- **Status page: hush menu should be on top of other headers
412 ([12936](https://github.com/civicrm/civicrm-core/pull/12936))**
8ce87abe 413
ac82886b
AF
414 This change fixes a bug where on the CiviCRM Status Page, when one went to
415 hide a status message some of the options in the to hide dropdown menu were
416 getting hidden by the header for the next status message so that the dropdown
417 menu appears over the status headers.
8ce87abe 418
ac82886b
AF
419- **Correct inconsistent fileID reference
420 ([12931](https://github.com/civicrm/civicrm-core/pull/12931))**
8ce87abe 421
ac82886b
AF
422 This change fixes a bug where updating a custom field of type file on a
423 contact thru the api would result in a new file being created instead
424 of updating the custom field.
8ce87abe 425
ac82886b
AF
426- **Contact layout editor support - Skip html encoding rich-text fields
427 ([12841](https://github.com/civicrm/civicrm-core/pull/12841))**
8ce87abe 428
ac82886b
AF
429 This change fixes a bug where rich text custom fields saved thru the api were
430 being escaped so that the html is preserved (not escaped).
8ce87abe 431
ac82886b
AF
432- **[dev/core#418](https://lab.civicrm.org/dev/core/issues/418) ensure all valid
433 relationship types are available
434 ([12891](https://github.com/civicrm/civicrm-core/pull/12891))**
8ce87abe 435
ac82886b
AF
436 This change ensures that the select when adding a relationship to a group of
437 search results shows all Relationships types including any relationship types
438 that are any contact type to any contact type.
8ce87abe 439
ac82886b
AF
440- **[dev/core#389](https://lab.civicrm.org/dev/core/issues/389) When using
441 custom fields for smart group criteria, relative dates create static dates
442 instead ([12824](https://github.com/civicrm/civicrm-core/pull/12824))**
8ce87abe 443
ac82886b
AF
444 This change makes it so that when saving smart groups with custom fields in
445 which a relative date (example: last 2 weeks) is specified, the last 2 weeks
446 means 2 weeks from the current date and is not hardcoded to be the last 2
447 weeks from when the smart group was created.
8ce87abe 448
ac82886b
AF
449- **[dev/core#425](https://lab.civicrm.org/dev/core/issues/425) "Force Secure
450 URLs" setting sometimes does not behave as expected, deprecate it ... Slowly :)
451 ([12908](https://github.com/civicrm/civicrm-core/pull/12908))**
40d630a8 452
ac82886b
AF
453 This change moves forward work to get the "Force Secure URLs" setting to work
454 as expected by logging a message if CiviCRM thinks SSL is not enabled.
8ce87abe 455
ac82886b
AF
456- **[dev/core#423](https://lab.civicrm.org/dev/core/issues/423) Upgrading gives
457 error "Incorrect datetime value: '0000-00-00 00:00:00'" in MySQL 5.7
458 ([12898](https://github.com/civicrm/civicrm-core/pull/12898))**
40d630a8 459
ac82886b
AF
460 This change fixes a bug when upgrading from CiviCRM 4.7.12 to 5.3.2 where
461 MySQL was throwing an "Incorrect datetime value: '0000-00-00 00:00:00' for
462 column 'trxn_date'" so that upgrades can make this jump with no error.
40d630a8 463
ac82886b
AF
464- **Added missing field name in custom-field deletion dialog
465 ([12869](https://github.com/civicrm/civicrm-core/pull/12869))**
40d630a8 466
ac82886b
AF
467 This change ensures that when deleting a custom field, the name of the custom
468 field shows up in the dialog asking you to confirm that you want to delete.
40d630a8 469
ac82886b
AF
470- **[dev/core#411](https://lab.civicrm.org/dev/core/issues/411) Default currency
471 shown on forms if payment is made with different currency
472 ([12875](https://github.com/civicrm/civicrm-core/pull/12875))**
40d630a8 473
ac82886b
AF
474 This change fixes a bug where the default currency was being displayed on the
475 View Participant page and Contribution page regardless of which currency was
476 used so that the currency used to make the payment is displayed always.
40d630a8 477
ac82886b
AF
478- **Make datatables in Activities Relationship tab adjust to screen size
479 ([12893](https://github.com/civicrm/civicrm-core/pull/12893))**
40d630a8 480
ac82886b
AF
481 This change ensures that the datatables on the Activities Relationship tab
482 adjusts to screen size when the screen size is changed.
40d630a8 483
19e29fd9
AH
484- **Disable ONLY_FULL_GROUP_BY sql mode when doing add2group function on the
485 Activity Detail report to avoid fatal error
486 ([12966](https://github.com/civicrm/civicrm-core/pull/12966))**
8ce87abe 487
19e29fd9
AH
488 This fixes a bug where the add to group action on the Activity Details
489 report resulted in a fatal error for civicrm instances that had
490 ONLY_FULL_GROUP_BY enabled.
8ce87abe 491
19e29fd9
AH
492- **Problem with Custom Field in Contact Reports
493 ([13044](https://github.com/civicrm/civicrm-core/pull/13044))**
8ce87abe 494
19e29fd9
AH
495 This change makes it so that custom fields of the data type string are
496 available in the Summary Fields Filters tab for the Constituent Summary
497 report.
8ce87abe 498
19e29fd9 499### CiviCampaign
40d630a8 500
19e29fd9
AH
501- **[dev/core#422](https://lab.civicrm.org/dev/core/issues/422) Can't use
502 advanced search to find survey results by result code
503 ([12897](https://github.com/civicrm/civicrm-core/pull/12897))**
ac82886b 504
19e29fd9
AH
505 This fixes a bug where searching on the "activity result" field (available
506 when using CiviCampaign) would result in no results, so that one can search on
507 the "activity result" field.
ac82886b 508
19e29fd9 509### CiviCase
ac82886b 510
19e29fd9
AH
511- **Activities can be linked to multiple cases. Handle caseIds being an array
512 ([13021](https://github.com/civicrm/civicrm-core/pull/13021))**
ac82886b 513
19e29fd9 514 This change makes it so that an Activity can be linked to more than one case.
8ce87abe 515
19e29fd9 516### CiviContribute
8ce87abe 517
19e29fd9
AH
518- **[CRM-21311](https://issues.civicrm.org/jira/browse/CRM-21311) Fix
519 CIVICRM-668 Credit card type is unset on submission causing credit card
520 payment to fail with CVV validation error message
521 ([12615](https://github.com/civicrm/civicrm-core/pull/12615))**
522
523 This change fixes a bug where if one changes the default credit card name for
524 a Credit card, for example "Amex" to "American Express" then one cannot create
525 a contribution with that credit card type so that one can alter the credit
526 card names without breaking contributioning with them.
527
528- **[dev/financial#23](https://lab.civicrm.org/dev/financial/issues/23)
529 Submitting a contribution page with 0 amount triggers PHP notices
530 ([12926](https://github.com/civicrm/civicrm-core/pull/12926))**
531
532 This change removes an e-notice when submitting a contribution page with a 0
533 transaction amount.
534
535- **[dev/core#491](https://lab.civicrm.org/dev/core/issues/491) Report results
536 don't show inactive campaigns
537 ([13036](https://github.com/civicrm/civicrm-core/pull/13036))**
538
539 This change makes it so that inactive campaigns show up on the Contribution
540 Details Report.
541
542- **[dev/core#479](https://lab.civicrm.org/dev/core/issues/479) Contribution
543 Summary report throw DB error with custom data and soft credit fields
544 ([13017](https://github.com/civicrm/civicrm-core/pull/13017))**
545
546 This change fixes a bug in the Contribution Summary Report where using a soft
547 credit amount stats column and a filter on any custom field would result in a
548 DB error so that the report runs as expected.
549
550### CiviEvent
551
552- **Prevent hard error when a string is too long for a field.
553 ([13014](https://github.com/civicrm/civicrm-core/pull/13014))**
554
555 This change fixes a bug where if an event registration's source field was too
556 long for the database, the event registration would fail, so that the source
557 field is truncated so that it can be saved to the database.
558
559- **Fix caching issues with Event permissions
560 ([12769](https://github.com/civicrm/civicrm-core/pull/12769))**
561
562 This change fixes a bug when checking permissions for events where the
563 permissions for the first event were being cached and all subsequent events
564 were returned as having no permission regardless of what their permissions
565 were.
566
567- **Fix payment hangs when registering a user for a paid event without recording
568 payment ([12914](https://github.com/civicrm/civicrm-core/pull/12914))**
569
570 This fixes a bug where registering a user on the back end for a paid event
571 without recording a payment would result in the payment hanging so that it
572 does not hang.
573
574### CiviMail
575
576- **[dev/core#461](https://lab.civicrm.org/dev/core/issues/461) Duplicate
577 Message template is generated when it is saved through schedule reminder form
578 ([12982](https://github.com/civicrm/civicrm-core/pull/12982))**
579
580 This change fixes a bug where saving a message thru the schedule reminder form
581 would result in duplicate message templates being created so that the message
582 template is only saved once.
583
584- **[CRM-19751](https://issues.civicrm.org/jira/browse/CRM-19751) Once "multiple
585 bulk" setting, cannot search for opt out or on hold contacts
586 ([12883](https://github.com/civicrm/civicrm-core/pull/12883))**
587
588 This begins work to fix a bug for CiviCRM Instances that have the CiviMail
589 setting "Enable multiple bulk email address for a contact" enabled where
590 searching for contacts using the criteria "Opt Out" or "On Hold" is filtering
591 incorrectly.
592
593- **[dev/core#448](https://lab.civicrm.org/dev/core/issues/448) When creating a
594 CiviCRM Mailing including a Smart Group, All contacts met by the criteria of
595 the smart group are added. There is no check performed to make sure that
596 contacts removed from the smart group aren't included
597 ([12945](https://github.com/civicrm/civicrm-core/pull/12945))**
598
599 This change ensures that when creating a CiviCRM Mailing including a Smart
600 Group users who have previously un-subscribed from that Smart Group are not
601 included.
602
603- **[dev/core#443](https://lab.civicrm.org/dev/core/issues/443) Fix Non-static
604 method calls at CRM_Utils_Mail_Incoming class
605 ([12934](https://github.com/civicrm/civicrm-core/pull/12934))**
606
607 This change fixes a strict warning thrown by CRM_Utils_Mail_Incoming for users
608 with a PHP 7.1 set up.
609
610- **[dev/mail#26](https://lab.civicrm.org/dev/mail/issues/26) getRecipients()
611 appears to use a WHERE clause as an ORDER BY clause
612 ([12765](https://github.com/civicrm/civicrm-core/pull/12765))**
613
614 This change fixes a bug where the order_by for the list of recipients for a
615 mailing was being ignored so that the order by is respected.
616
617- **[dev/core#357](https://lab.civicrm.org/dev/core/issues/357) Email signature
618 stopped working since ??? 4.6 ??
619 ([12828](https://github.com/civicrm/civicrm-core/pull/12828))**
620
621 This change fixes the Email signature functionality when sending an email.
622
623- **[dev/core#394](https://lab.civicrm.org/dev/core/issues/394) Wildcards are
624 ignored in some smart group criteria, when the smart group is directly
625 generated for a mailing
626 ([12910](https://github.com/civicrm/civicrm-core/pull/12910))**
627
628 This change ensures that wildcards (like %a%) are respected in smart group
629 criteria when a smart group is being generated for a mailing.
630
631- **[dev/core#384](https://lab.civicrm.org/dev/core/issues/384) Mobile phone
632 number selection issues with SMS
633 ([12890](https://github.com/civicrm/civicrm-core/pull/12890))**
634
635 This change makes it so one can send SMS using CiviSMS to non primary phones
636 of type "mobile".
637
638### CiviMember
639
640- **[dev/core#166](https://lab.civicrm.org/dev/core/issues/166)
641 updateAllMemberships in memberschip BAO crasches out of memory on large
642 numbers of members
643 ([12306](https://github.com/civicrm/civicrm-core/pull/12306),
644 [12927](https://github.com/civicrm/civicrm-core/pull/12927) and
645 [12918](https://github.com/civicrm/civicrm-core/pull/12918))**
646
647 These changes fix a bug where for databases with large numbers of memberships
648 (the user who reported this problem had 1.3 million memberships) the scheduled task to
649 update membership statuses was crashing with an out of memory error so that
650 databases with large numbers of memberships can run the scheduled task to
651 update membership statuses.
652
653### Drupal Integration
8ce87abe 654
ac82886b
AF
655- **Intelligently adjust menubar for D7 toolbar toggle
656 ([12937](https://github.com/civicrm/civicrm-core/pull/12937))**
657
658 This change improves the ui by making the Civi menubar set to 100% minus the
659 width of the toolbar toggle, but only if the toolbar toggle is actually
660 present on the screen. Before this change the menu was set to a width of 97%
661 which was problematic because 97% is a guestimate and some Drupal sites do not
662 use the toolbar module.
663
664- **Added a path to the drupal8 path candidates to find civicrm.config.php
665 ([12903](https://github.com/civicrm/civicrm-core/pull/12903))**
666
667 This change fixes a bug when running the civibuild command `Civibuild
668 create drup8 --type=drupal8-clean` would result in a fatal error
669 "Failed to locate template for civicrm.config.php" so that Civibuild generates
670 the installation files and goes to the next step.
8ce87abe 671
ac82886b
AF
672- **[CRM-20298](https://issues.civicrm.org/jira/browse/CRM-20298) Drupal Views:
673 Custom fields of type Money should use the same filter operators as Integer
674 fields ([435](https://github.com/civicrm/civicrm-drupal/pull/435))**
8ce87abe 675
ac82886b
AF
676 This change makes it so that in Drupal views, civicrm custom fields of type
677 money use the filter operators for Integers (instead of the filter operators
678 for text).
40d630a8 679
ac82886b
AF
680- **civicrm_handler_field_link_pcp: avoid PHP notice
681 ([547](https://github.com/civicrm/civicrm-drupal/pull/547))**
682
683 This change fixes a php notice thrown by drupal views that use fields that use
684 the handler civicrm_handler_field_link_pcp.
40d630a8 685
19e29fd9
AH
686### Wordpress Integration
687
688- **[dev/wordpress#12](https://lab.civicrm.org/dev/wordpress/issues/12) A
689 civicrm shortcode for a contribution page on the homepage results in a "Too
690 many redirects" error instead of the thank you page
691 ([13043](https://github.com/civicrm/civicrm-core/pull/13043))**
692
693 This change fixes a bug where putting a wordpress shortcode on the homepage
694 would result in a too many redirect error instead of the thank you page.
695
696- **Allow user-defined shortcode components to be rendered
697 ([134](https://github.com/civicrm/civicrm-wordpress/pull/134))**
698
699 This change makes it so that Wordpress plugins and CiviCRM Extensions which
700 define custom components for the [civicrm] shortcode, shortcodes work.
701
702- **Do not start session when running under WP-CLI
703 ([135](https://github.com/civicrm/civicrm-wordpress/pull/135))**
704
705 This fixes a bug where when running WP-CLI when the Apache user has
706 permissions that the shell user does not would result in a PHP Warning.
707
708- **Fix WP-CLI class for PHP 7.2
709 ([133](https://github.com/civicrm/civicrm-wordpress/pull/133))**
710
711 This change makes it so one can use WP-CLI in PHP 7.2.
712
713- **[dev/core#460](https://lab.civicrm.org/dev/core/issues/460) Fix malformed
714 redirect URLs ([12969](https://github.com/civicrm/civicrm-core/pull/12969))**
715
716 This change fixes a bug where malformed redirect URLs were being formed for
717 Wordpress users on event registration and confirmation pages.
718
8ce87abe
AH
719## <a name="misc"></a>Miscellany
720
ac82886b
AF
721- **Slay dragons ([12495](https://github.com/civicrm/civicrm-core/pull/12495))**
722
723- **Support CiviTutorial - Fix isAjaxMode to also recognize angular ajax
724 ([12921](https://github.com/civicrm/civicrm-core/pull/12921))**
725
726- **(NFC) Fix Namespace issue in Api3DocTrait when calling smarty
727 ([13007](https://github.com/civicrm/civicrm-core/pull/13007))**
728
729- **Export code cleanup and testing enhancements - this is an ongoing cleanup
730 with an end goal of fixing some known bugs
731 ([12586](https://github.com/civicrm/civicrm-core/pull/12586)) and
732 ([12864](https://github.com/civicrm/civicrm-core/pull/12864))**
733
734- **Coding practices fix - Improve type checking in getContactPhone and use
735 CRM_Utils_Request::r…
736 ([12687](https://github.com/civicrm/civicrm-core/pull/12687))**
737
738- **Code cleanup on activity api and activity dashboard query
739 ([12994](https://github.com/civicrm/civicrm-core/pull/12994)) and
740 ([12949](https://github.com/civicrm/civicrm-core/pull/12949))**
741
742- **Code cleanup in api_v3_CaseTest
743 ([12950](https://github.com/civicrm/civicrm-core/pull/12950))**
744
745- **Code cleanup Membership form - submit status message
746 ([12693](https://github.com/civicrm/civicrm-core/pull/12693)) and tidy up
747 receipt code ([12695](https://github.com/civicrm/civicrm-core/pull/12695))**
748
749- **Code cleanup and testing on query to generate annual totals
750 ([12810](https://github.com/civicrm/civicrm-core/pull/12810))**
751
752- **Code cleanup - commenting on dupesInGroup()
753 ([12920](https://github.com/civicrm/civicrm-core/pull/12920))**
754
755- **Code cleanup - Fix spelling error ("sript" vs "script")
756 ([12912](https://github.com/civicrm/civicrm-core/pull/12912))**
757
758- **Code cleanup on recurring create action
759 ([12900](https://github.com/civicrm/civicrm-core/pull/12900)) and viewing
760 recurring rcords
761 ([12899](https://github.com/civicrm/civicrm-core/pull/12899))**
762
763- **Code cleanup (drupal) style fix for contact image handler
764 ([537](https://github.com/civicrm/civicrm-drupal/pull/537))**
765
766- **Code cleanup (wordpress) Give comments and docblocks some TLC
767 ([137](https://github.com/civicrm/civicrm-wordpress/pull/137))**
768
769- **Code cleanup Fix comment as hook name was changed
770 ([13009](https://github.com/civicrm/civicrm-core/pull/13009))**
771
772- **[CRM-21677](https://issues.civicrm.org/jira/browse/CRM-21677) Report code
773 style improvements (no user impact)
774 ([13028](https://github.com/civicrm/civicrm-core/pull/13028),
775 [12922](https://github.com/civicrm/civicrm-core/pull/12922),
776 [12916](https://github.com/civicrm/civicrm-core/pull/12916), and
777 [12892](https://github.com/civicrm/civicrm-core/pull/12892))**
778
779- **Duplicate upgrade step for 5.7.beta1 in 5.8.alpha1 to capture anyone …
780 ([13033](https://github.com/civicrm/civicrm-core/pull/13033))**
781
782- **Don't format date twice for RecurringEntity form
783 ([12974](https://github.com/civicrm/civicrm-core/pull/12974))**
784
785- **Add `ext/` folder to .gitignore
786 ([12905](https://github.com/civicrm/civicrm-core/pull/12905))**
787
788- **Bring structural consistency to the plugin
789 ([138](https://github.com/civicrm/civicrm-wordpress/pull/138))**
790
8ce87abe
AH
791## <a name="credits"></a>Credits
792
793This release was developed by the following code authors:
794
19e29fd9
AH
795AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Alok Patel; Andrei
796Mondoc; Australian Greens - Seamus Lee; calbasi.net - Joan Cervan Andreu; Caltha
797- Tomasz Pietrzkowski; CEDC - Laryn Kragt Bakker; Chris Burgess; Christian Wach;
798CiviCoop - Klaas Eikelboom; CiviCRM - Coleman Watts, Tim Otten; CiviDesk -
799Yashodha Chaku; Community IT Academy - William Mortada; CompuCorp - Davi
800Alexandre; Coop SymbioTIC - Mathieu Lutfy, Samuel Vanhove; Derek Lewis;
801Electronic Frontier Foundation - Mark Burdett; Fuzion - Jitendra Purohit; Ginkgo
802Street Labs - Frank Gómez; Giovanni Dalmas; Jens Schuppe; JMA Consulting -
803Monish Deb; John Kingsnorth; Joinery - Allen Shaw; Joost Fock; Ken West;
804Megaphone Technology Consulting - Jon Goldberg; MJW Consulting - Matthew Wire;
805Nicol Wistreich; OSSeed Technologies - Madhavi Malgaonkar; Pradeep Nayak;
806Progressive Technology Project - Jamie McClelland; Skvare - Mark Hanna; Third
807Sector Design - Michael McAndrew; Wikimedia Foundation - Eileen McNaughton,
808Elliott Eggleston
8ce87abe
AH
809
810Most authors also reviewed code for this release; in addition, the following
811reviewers contributed their comments:
812
19e29fd9
AH
813Agileware - Agileware Team; British Humanist Association - Andrew West; Campaign
814Against Arms Trade - Kirk Jackson; Circle Interactive - Dave Jenkins; CiviFirst
815- John Kirk; Clairepickle; Clare Marsh; CompuCorp - Jamie Novick; Donald Lobo;
816iXiam - Vangelis Pantazis; JMA Consulting - Joe Murray; JonScreat; Korlon -
817Stuart Gaston; Lighthouse Design and Consulting - Brian Shaughnessy; MJCO -
818Mikey O'Toole; Richard van Oosterhout; sleewok; Tadpole Collective - Kevin
819Cristiano; Tech To The People - Xavier Dutoit
dc3be90c
AH
820
821## <a name="feedback"></a>Feedback
822
19e29fd9
AH
823These release notes are edited by Alice Frumin and Andrew Hunt. If you'd like
824to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
825and contact `@agh1`.