- Mar 29, 2019
-
-
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 27, 2019
-
-
Peter Rotich authored
iframe: Allow Multiple iFrame Domains
-
Peter Rotich authored
-
Peter Rotich authored
-
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
-
Peter Rotich authored
-
Peter Rotich authored
Queue Columns
-
Peter Rotich authored
issue: Duplicate Form Titles
-
Peter Rotich authored
Issue: PDF printout
-
aydreeihn authored
This commit fixes 2 issues we had with using MPDF to export Tickets: 1. Tickets with inline images To refer to images as var:varname, imageVars needs to be set for the MPDF object. 2. Tickets with tables When exporting a Ticket where a Thread Entry contains a table, we must ignore table percents and table widths, otherwise, it will always throw the error "Word is too long to fit in table"
-
- Mar 11, 2019
-
-
JediKev authored
This addresses an issue mentioned in the forum where having more than one custom field on a ticket shows the same title for all forms on the client-side ticket view (after creation). This adds an array of the form names indexed by sort order and displays them in the correct order with the correct names.
-
JediKev authored
Previously, we added a security header to prevent click-jacking called "X-Frame-Options". This introduced an issue with people using osTicket in iFrames on their websites. To mitigate the issue, this updates the security header to allow the site to be framed from specified domains, if none provided we default to 'self'. This adds a new field to General System Settings called "Allow iFrames" where you may enter a comma separated list of domains that the site can be framed on. This also adds a validator for the field to validate the domains and ensure they fit the <host-source> syntax from [Mozilla Developer Docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors#Sources).
-
- Mar 09, 2019
-
-
Peter Rotich authored
Allow admin to setup columns when creating a new parent queue and address an issue where Assignee standard columns used a wrong Id.
-
- Mar 08, 2019
-
-
Peter Rotich authored
-
Peter Rotich authored
-