Make tempnam play nice with open_basedir restriction on.
Merge pull request #631 from protich/issue/607

Make tempnam play nice with open_basedir restriction on.

References:
http://us2.php.net/manual/en/function.tempnam.php#93256

Reviewed-By: Jared Hancock <jared@osticket.com>
i18n: Allow Unicode characters in the username
Merge pull request #650 from greezybacon/issue/383

i18n: Allow Unicode characters in the username

Reviewed-By: Peter Rotich <peter@osticket.com>
sla: New SLA's default to alert when overdue
Merge pull request #654 from greezybacon/issue/653

sla: New SLA's default to alert when overdue

Reviewed-By: Peter Rotich <peter@osticket.com>
html2text: Fix Unicode character munging

This issue was addressed for htmLawed, where the UTF-8 version of a
non-breaking space, 0xc2a0 would be collapsed to 0xa0, which would very
likely create an invalid Unicode character, and the text block would be
dropped or truncated.
Allow new ticket without required contact fields

If a staff member creates a new ticket and cancels the user-lookup /
create-new-user dialog, and the contact information form has a required field
other than the name and email address fields, the ticket cannot be created
because the required fields for new clients are not shown and can therefore
not have a required value.

This patch allows new clients to be created without the required fields when
the ticket is created by staff members.
pdf: Ensure a paper size is set
Merge pull request #656 from greezybacon/issue/ticket-by-staff-fails

Allow new ticket without required contact fields

Reviewed-By: Peter Rotich <peter@osticket.com>
forms: Better failsafe for __toString

This mostly helps when fields change types. If the type of the field
currently cannot convert previous data to a string (like if a short-answer
field was changed to choices), the textual representation of the PHP value
of the field data is given.
Merge pull request #659 from greezybacon/issue/652

forms: Better failsafe for __toString

Reviewed-By: Peter Rotich <peter@osticket.com>
Fix for issue #667
oops: Allow digits in usernames
Merge pull request #668 from sevenymedia/develop

Fix for issue #667

Reviewed-By: Jared Hancock <jared@osticket.com>
lint: Fail on js syntax errors
lint: Add email address validation
Merge pull request #673 from greezybacon/issue/733

lint: Add email address validation

Reviewed-By: Peter Rotich <peter@osticket.com>
email: Fetch headers from db for bounce detection
email: No alerts or autoresponses on bounce emails