Add recipient variable to canned reply context
Merge pull request #1047 from protich/issue/canned-reply

Add recipient variable to canned reply context

Reviewed-By: Jared Hancock <jared@osticket.com>
Fix spelling error in documentation
Update class.ticket.php

I think this is a mistake, however not sure.
Tested it my self, works fine.
i18n: Fix timezone adjustment for time display
Properly tag source and topic for emails
forms: Preserve data for help topic fields

This patch fixes a glitch in the dynamic forms processing system preventing
the validation and capture of data for help topic custom fields. Now the
`$vars` managed inside of `Ticket::create` is connected directly to the
`DynamicFormEntry` created for the data rather than using the magical
connection to `$_POST`.
Merge pull request #1103 from greezybacon/issue/1060

i18n: Fix timezone adjustment for time display

Reviewed-By: @keawade
Reviewed-By: @urda
Fix XSS vulnerability on user's name

Names parsed from incoming emails are stored in the database as is. This
pull request addresses potential XSS vulnerability due to improper display
of unsanitized names. Going forward names will be scrubbed on create.
session: Override PHP default for session lifetime

The PHP.ini default is 1440 seconds (24 minutes). This should be configured
to something significantly higher so that the settings in the admin panel
concerning session timeouts are relevant.

Ideally, the settings from the control panel would be used, but currently
there is an inter-dependency between session and config startups.
lists: Don't crash rendering a list

This patch fixes an issue where a fatal error would be triggered if the
current value of a selection field on a custom form was a custom list item
that has since been deleted.
email: Setting default for priority and department

Previously, osTicket introduced the ability to cascade defaults for the
department and priority to the email mail boxes. However, the validation
checks and display fall-backs were never added.
email: No bounces for system alerts

Send an empty return-path envelope when sending out system alerts. If they
should happen to bounce for any reason, they should not return to the system
and create tickets.
Merge pull request #1108 from protich/issue/xss-user

Fix potential XSS vulnerability on user's name

Reviewed-By: Jared Hancock <jared@osticket.com>
Fix typo in suggested permissions for config file
forms: Fix save of user profile data
forms: Phone numbers with no digits = invalid

Previously, the characters would be removed and the data would be considered
empty which would bypass validation and clear the phone number on save
rather than triggering a validation error.
Merge pull request #1111 from greezybacon/issue/860

session: Override PHP default for session lifetime

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #1104 from greezybacon/issue/1097

Properly tag source and topic for emails

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #1105 from greezybacon/issue/1083

forms: Preserve data for help topic fields

Reviewed-By: Peter Rotich <peter@osticket.com>