Commit Graph

23 Commits

Author SHA1 Message Date
Ross Poulton
f51eabeae8 Fixes issue #141 - infinite loop for IMAP after
certain return codes.
Thanks to Walter Doekes for the patch.
2010-07-16 07:50:08 +00:00
Ross Poulton
f3d0bed5a6 Issue #128: If queue name has a dash in it, email imported failed. Thanks
to enix.org for the patch.
2010-01-20 07:59:47 +00:00
Ross Poulton
2c723e85bb Fixes issue #100: Non-ASCII characters in HTML email caused an exception
to be thrown when importing emails.
2009-08-22 06:30:09 +00:00
Ross Poulton
06fe35e944 Fix issue #78: Sending mail to a closed ticket does NOT reopen the ticket
This has now changed, emailing a closed ticket changes it to 'Reopened'.
Thanks to mdornseif for the suggestion.
2009-08-11 08:51:54 +00:00
Ross Poulton
21d38604cf Fixes issue #81: get_email is too verbose.
A patch was provided by mdornseif which was the basis for this. Adding 
'-q' to the crontab line will reduce the output, making it more suitable 
for use in a cronjob.
2009-07-21 09:54:23 +00:00
Ross Poulton
576150c40d Fix issue #72 - international characters in e-mail attachment filenames
threw up errors.

Also sanitised filenames to remove anything other than 'a-zA-Z0-9._-'.

Thanks to mdornseif for the patch.
2009-07-21 09:29:57 +00:00
Ross Poulton
70c9d2d523 Fixes issue #71: E-mail parsing can cause issues with emails being
picked up multiple times.

patch provided by hudora.de; thank you!
2009-07-21 09:20:14 +00:00
Ross Poulton
445fb6d0eb Fixes issue #70: Trying to import e-mails with UNICODE characters caused
the e-mail import to fall over, and messages were being imported 
multiple times.

Thanks to mdornseif for the fix.
2009-07-15 22:49:56 +00:00
Ross Poulton
e37609de6e Add option to the EmailIgnore model to allow emails from an ignored address to be deleted (previous behaviour was to keep them all, so the mailbox could potentially become quite large - and every message was downloaded again every time the mailbox was checked). Upgrade instructions provided to both add the new database field and automatically switch to the old behaviour. 2009-01-23 10:36:41 +00:00
Ross Poulton
738a88a5aa * Fix an XSS hole: No user-sourced HTML is displayed at all. Descriptions, resolutions and followup comments are treated as text using force_escape and linebreaksbr template filters. (Issue #39)
* Incoming email also handled slightly differently: If an email has both HTML and Plain-text parts, the plain text is used in the ticket description and/or followup comment fields. The HTML portion is attached as 'email_html_body.html' so it can be viewed by the user. If an HTML-only email is received, the body is entered as "View attachment for body". (Issue #39)
2009-01-19 09:40:14 +00:00
Ross Poulton
c8ce68e7b8 Fix issue #37 - file uploading was not working as it should.
File uploading now works correctly from both the staff interface and from emails.
2008-12-30 00:41:47 +00:00
Ross Poulton
a20ab36452 * Fixes issue #34, where e-mail headers in non-ascii encoding
were displayed incorrectly. Thanks to kron82 for reporting this.
2008-12-10 21:46:54 +00:00
Ross Poulton
9e1179606e Fix issue 33: Port numbers not coming through as integers with certain
database backends. Thanks, simeonf.
2008-12-10 09:29:53 +00:00
Ross Poulton
5ff9025cc8 * Fix issues #30 and #31:
* Dashboard doesn't show "You have no tickets assigned to you." incorrectly
  * get_email  is smarter about "RE:" and "FW:" to prevent double-ups.
2008-11-18 04:30:34 +00:00
Ross Poulton
d5d692db45 * Fixed issue #25 - unknown charsets on incoming email caused problems. This
fix causes multiple charsets to be used in decoding to avoid this problem. 
  Thank you to Paul Boehm for the patch.
2008-11-18 00:24:37 +00:00
Ross Poulton
988a4db198 * Issue #23 - 'verbose' option on create_escalation_exclusions
caused issues with some other installed Django apps. Thank you
  to Paul Boehm.
2008-11-18 00:00:36 +00:00
Ross Poulton
8948bc1a0a * Fixed issue #27 (e-mails not deleted)
* Fixed issue #28 (add quick delete link to dashboard)
2008-11-09 05:34:51 +00:00
Ross Poulton
c97a255155 * Enlarged Chart sizes to allow more data to be displayed
* Added superuser 'System settings' page with links to admin
* Added ability to ignore e-mail addresses (using wildcards) from the e-mail parser
* Added link to ignore email address from ticket details page (for superusers only)
* Cleaned up report output by styling text & labels in the same way as tables in other views
* Cleaned up dashboard lists to show text in place of tickets if no tickets are found
* Added ability to sort in reverse order

NOTE: REQUIRES A 'syncdb' TO CREATE THE EMAIL-IGNORE TABLES. No other DB changes were made.
2008-10-24 22:52:34 +00:00
Ross Poulton
3f8fc2cd68 * Added force_insert and force_update parameters to model save() overrides (as per Django rev 8670)
* Added 'UserSettings' model to provide a user profile system independent of existing Django user profiles, for two reasons:  1) Avoids users having to update settings.py and 2) Allows jutda-helpdesk to integrate with websites who already use a User Profile
* Settings added in this revision allow a user to control e-mail alerts, and to determine whether they see the dashboard or ticket list at login.
* New 'Settings' link in page footer for signed-in users
* Logout now takes you to the Helpdesk homepage
* Fixed file attachment bug in management/commands/get_email.py which seemed to have been un-done (fixes issue # 4.

Jutda-helpdesk is now compatible with Django 1.0!
2008-09-09 08:32:01 +00:00
Ross Poulton
b5cdea2fab * Fix a few indenting issues
* Fix #11: BUG Port number in POP3 isn't used
* Fix #11: ENHANCEMENT Use SSL in POP3 and IMAP (requires database change)
2008-08-20 01:57:41 +00:00
Ross Poulton
5040d3d243 * Large change to clean up the codebase: Decrease excess whitespace at ends
of lines; Increase line-wrapping of commands to limit code to 80 columns 
  wherever possible
* Re-built 'en' locale to match some new strings
* Clean up import statements somewhat
2008-08-19 08:50:38 +00:00
Ross Poulton
b824a53292 Fixed #9 BUG ugettext no longer automatically imported in trunk. 2008-08-18 21:34:41 +00:00
Ross Poulton
cea6394b70 Big bugfix release - addresses a number of issues introduced in recent Django
updates, and other bugs in the codebase. Many thanks to David Clymer and
Chris Etcp for reporting these bugs and then providing fixes.

Tickets closed:

#3: BUG E-Mail Script Incompatible with Python 2.5
#4: BUG Failure on empty attachments
#5: ENHANCEMENT Run scripts as command extensions [Backwards Compatible]
#7: BUG Cannot view tickets when not logged in
#8: BUG Overly broad error handling

Note that #5 is backwards-incompatible, as you need to change any CRON or 
scheduler entries for the 'get_email.py', 'escalate_tickets.py' or 
'create_escalation_exclusions.py' scripts. See the README file for the new 
commands.
2008-08-18 21:29:31 +00:00