- Jan 31, 2014
-
-
Peter Rotich authored
-
Peter Rotich authored
-
Peter Rotich authored
This is required when validating a message which could be a string or an object.
-
Peter Rotich authored
-
Peter Rotich authored
level. Handle cases where thready body is sent in as a string We're going to assume HTML of html thread is enabled - otherwise text is assumed.
-
Peter Rotich authored
model.
-
Peter Rotich authored
This would in theory allow us to decide at the email level the content type to accept.
-
Peter Rotich authored
Cleanup and make HTML safe by default Strip empty lines in TEXT content
-
- Jan 30, 2014
-
-
Jared Hancock authored
This will be helpful to keep track of whether a text is html or text and provide a way to convert it exactly once.
-
Jared Hancock authored
-
- Jan 29, 2014
-
-
Jared Hancock authored
-
Jared Hancock authored
Fixes a few E_NOTICE messages Drops bounce checking inside autoReply checking
-
Jared Hancock authored
If MySQL error #1213 (deadlock found when trying to get lock) is returned from query, it is safe to retry the query. This patch will retry queries up to two times for a total of three. If the query cannot be executed without error #1213 after the third time, the error is logged as usual, and the system continues with the failed query.
-
Jared Hancock authored
If a file is attached via email and sent into the system, and a file is on record with the same signature (hash) and size, the system will not save the file. Instead, the key of the existing file would be found and used instead. This patch fixes a bug in AttachmentFile::save. The key was generated for the new file; however, if it was determined to be a duplicate, the key of the existing file was not returned. Therefore generated key, which wasn't saved to the database, was returned. Therefore, the wrong key was placed in the body of the message with cid:<key> for inline images, although that key would not exist in the database. This patch correctly returns the existing key from the ::save() method for de-duplicated files.
-
- Jan 28, 2014
-
-
Jared Hancock authored
-
Peter Rotich authored
Rename routines to make it a little clear on what they do
-
Jared Hancock authored
This patch addresses an issue where a client may have upper-case letters in their email address. When visiting the client portal to check the ticket status, previously, the exact same case would be required in the 'Email Address' box. This patch removes the case sensitivity for email logins.
-
Jared Hancock authored
If the content of the message is of type `message/rfc822`, then support downloading the body of the message and sending it off to the mail parsing system, simulating a piped email.
-
Peter Rotich authored
-
- Jan 27, 2014
-
-
Jared Hancock authored
They are only available for tickets arriving via the email channel. All other channel (including email) use the new ticket form to record the subject and body, which are mapped to the 'Issue Summary' and 'Issue Details' fields respectively Structure the drop-down list for the `what` column to be future-minded concerning custom user data matching.
-
Jared Hancock authored
Previously, if a message had a Content-Disposition header, then it could not be considered as the body of the message.
-
Jared Hancock authored
If the mail received into the system has a content type of 'message/rfc822', then unwrap the inner message and use it as the parsed email. Effectively, assume the email was forwarded as an message/rfc822 attachment.
-
Jared Hancock authored
Previously, the subject was duplicated, which is really confusing
-
Jared Hancock authored
-
Jared Hancock authored
This patch partially reverts the previous database migration patch which added a primary key to the table on the `thread_id` column. This column cannot be used, because there may be multiple entries for thread_id = 0. This also allows ticket_collaborator.isactive to be negative, as well as adds the database portion of regex support for ticket filters.
-
Peter Rotich authored
Exclude the auto-responding email from possible alerts sent to staff
-
Peter Rotich authored
The concern here is possible loop when an alert to staff bounces back to the system.
-
Peter Rotich authored
Disable auto-response on a bounce.
-
Peter Rotich authored
-
- Jan 24, 2014
-
-
Jared Hancock authored
-
Jared Hancock authored
Delete junk records from the %ticket_email_info table before adding a primary key. Since there was previously no PK, there could be duplicate records.
-
Jared Hancock authored
If a client is already logged into the client portal and attempts to submit a new ticket, the ticket will be rejected if the contact-information form has a required field other than `name` and `email`. This patch fixes `class Client` so that the user-id is fetched from the database and made available via the `::getUserId()` method. This was already corrected in the `develop-next` branch for v1.8.1. The `uid` field is passed into `Ticket::create()` so the user form validation is bypassed. This commit should be ignored when merged into the 1.8.1 codebase.
-
Peter Rotich authored
Processing fetching in ASC order of the last fetch time Remove LIMIT of 10 emails per fetch Flush the buffer and terminate the request cleanly on autocron
-
- Jan 23, 2014
-
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
This allows the email system to detect something like a bounce mail and specify that the associated message should be an internal note.
-
Jared Hancock authored
-
Jared Hancock authored
Previously, the mail parsing and fetching system would recurse unbounded searching for bodies by content-type
-
Jared Hancock authored
-
Jared Hancock authored
If a custom list item were added to an email template, and there is no data for the field (ie. the field is not required) when the template is rendered, the system would crash. toString() is required to return a string, no matter what. This patch cascades the (string) coercion to the current value of the list field if it is not an instance of a DynamicListItem
-