- Apr 01, 2019
-
-
Peter Rotich authored
-
Peter Rotich authored
issue: iFrame On Install
-
Peter Rotich authored
Issue: Ticket Export Headers
-
aydreeihn authored
This commit fixes an issue where custom export headings were being set to numeric values rather than field labels. For exports that are already saved, we can get the heading directly using getHeading. To get the heading for fields that are not already saved as exports, we can use getExportableFields, which will return path => heading.
-
Peter Rotich authored
Issue: Choosing Fields to Export
-
- Mar 29, 2019
-
-
JediKev authored
This addresses the "Call to getAllowIframes() on NULL" error on installation pages. This is due to 4781 that introduced the concept of allowing multiple iFrames, where we are not checking for `$cfg` before calling the method. This adds a check for `$cfg` so the errors do not occur.
-
Peter Rotich authored
-
Peter Rotich authored
oops: Thread Variable Fatal Error
-
Peter Rotich authored
-
Peter Rotich authored
oops: Emojis Strip Korean
-
JediKev authored
This addresses an issue where Korean text is stripped from the body. This is due to the strip_emoticons function, as Korean text is in the same unicode range as some of the emojis.
-
- Mar 28, 2019
-
-
JediKev authored
This addresses an issue introduced with 4737 where using `%{ticket.thread}` causes a fatal error. This is because `ObjectThread->asVar()` returns an object which cannot be converted to a string. This adds a `__tostring()` function to class ThreadEntries so it can be converted to a string properly.
-
- Mar 27, 2019
-
-
Peter Rotich authored
iframe: Allow Multiple iFrame Domains
-
Peter Rotich authored
-
Peter Rotich authored
-
aydreeihn authored
This commit fixes an issue where only the saved export fields would export, whether you checked more fields to export or unchecked some of the saved fields. For any fields not saved that need to be exported, we need to find their label and then put it in the fields array. For any saved export fields that are unchecked, we need to compare what was checked vs what is saved and then unset the fields that were unchecked.
-
Peter Rotich authored
issue: Maxfilesize Comma Crash
-
Peter Rotich authored
variable: Complete Thread ASC or DESC
-
Peter Rotich authored
Issue: Saving Checkbox Values
-
aydreeihn authored
Issue: Duplicate Tickets in Closed Queue
-
JediKev authored
This pull adds the ability to choose between ASC or DESC order for the complete thread variable. If `complete_asc` is chosen the system will order the thread in ASC order, if `complete_desc` is chosen the system will order the thread in DESC order. This keeps backwards compatibility with just `complete` as some people might forget to update this for a while.
-
aydreeihn authored
This commit fixes an issue where checkboxes could not be edited for inline edit or all field edits. When a BooleanField is directly passed to the to_database method, you are not able to accurately check to see if old != new. To fix this, I added a new getChanges method to the BooleanField class that will first do a comparison on the raw boolean value (true, false) and then get the value needed for the database. I then made sure that we use that new function when editing all fields together. Additionally, I added a getClean method to the BooleanField class so that $this->_clean for the field would be set to either true or NULL depending on if the box is checked or not and would accurately save to the database when calling $form->saveAnswers()
-
- Mar 26, 2019
-
-
Peter Rotich authored
Assignment Restriction Issue
-
aydreeihn authored
This commit fixes an issue where we were not checking the restrictions on Ticket assignment correctly. isAccessLimited returns true if showAssignedOnly is true, so we wouldn't want to negate the isAccessLimited check (that would return true if access is not limited). Also, if an Agent's access is limited to assigned tickets only, we can return the assigned tickets once we have them without needing to go through any further processing. Finally, we should still allow an agent to view an assigned ticket even if the ticket is closed. Note: queue counts update themselves a little after you toggle the 'Limit ticket access to ONLY assigned tickets' check box. The 'See all tickets in search results, regardless of access' still works correctly as well.
-
Peter Rotich authored
issue: Strip Emoticons
-
Peter Rotich authored
Quick Filter Fixes:
-
aydreeihn authored
Make the following work: - Assigned - Assignee - Department Manager - Assigned Team Also, make sure we account for if there are no choices available for a quick filter Ex: The helpdesk does not have any teams
-
Peter Rotich authored
issue: APC CLI
-
Peter Rotich authored
Issue: MPDF Export PHP < 7.0
-
Peter Rotich authored
Fix bug: send new ticket alert to account manager
-
aydreeihn authored
This commit fixes an issue where using MPDF to print Tickets did not work if the PHP version was < 7.0 because MPDF called the random_int function which is only available for PHP 7.0+. Now, we check the PHP version before printing, and if it is less than 7.0, we use the rand function. If it is >= 7.0, we continue to use the random_int function.
-
Peter Rotich authored
issue: Multilingual FAQ Category w/ Parent
-
Peter Rotich authored
issue: Task Print PDF
-
JediKev authored
This addresses an issue where emoticons/emojis cut off the remainder of the email when being added to a ticket thread.
-
- Mar 22, 2019
-
-
JediKev authored
This addresses an issue where clicking print on a Task throws a fatal error. This is due to the Task2PDF function passing a string instead of an array to `Mpdf::__construct()`. The `__construct()` of class Mpdf requires an array of configurations so we are now passing an array instead of a string.
-
- Mar 21, 2019
-
-
JediKev authored
This addresses issue 4810 where having more than one language installed and trying to add a new FAQ Category with a Parent Category relation fails to add the Parent Category relation. This is due to multiple Select2 fields; the POST data includes only the last Select2 field's value instead of the one in the tab you're currently on. This adds a script to set all Select2 fields in all the available languages to the same value so the POST will always contain the appropriate Parent ID no matter what language tab you’re on.
-
Peter Rotich authored
issue: Organizations Users Sort
-
- Mar 18, 2019
-
-
JediKev authored
This addresses issue 4803 where sorting by Users on Organizations does not sort properly. It sorts by name instead of the User count. This corrects the value in the `$sortOptions` array from `users` to `user_count`.
-
Hans Chen authored
not sending new ticket alert to account manager.
-
- Mar 12, 2019
-
-
Peter Rotich authored
-