Commit Graph

9 Commits

Author SHA1 Message Date
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
e05bd28f8b * Remove excess slash in media urls. Note thta MEDIA_URL now needs to
finish in a slash.
2008-10-28 10:29:47 +00:00
Ross Poulton
ef25b571db Fixes #10: BUG Script URL's hard-coded to http://media.jutda.com.au; now
uses MEDIA_URL. Thanks to David Clymer.
2008-08-18 21:37:48 +00:00
Ross Poulton
dfb821336e * Added i18n hooks, eg _() and {% trans %} tags around all helpdesk-generated
text to assist with future translation efforts. I've no doubt missed a few.
  Also we don't have a "Change Language" view in here, unsure if this should
  be a helpdesk function or a function of the parent project.
* Updated svn:ignore to ignore .pyc files
* Added new function to replace cursor.dictfetchall() which is available in
  psycopg1 but not psycopg2. New function should work across other database
  systems, but is untested.
2008-05-07 09:04:18 +00:00
Ross Poulton
ad05df8dda * Updates to bring into line with django trunk 2008-04-17 05:46:55 +00:00
Ross Poulton
eff97073fb * Remove dependency on markdown
* Use nicEditor in 'create ticket' screens to allow HTML entry.
2008-01-16 03:23:43 +00:00
Ross Poulton
7932ace133 * Improve ticket submission form by adding help text and flagging optional fields as such
* When submitting an e-mail, if a submitters e-mail is provided send them an e-mail
2008-01-14 23:39:43 +00:00
Ross Poulton
ff7f718caf * Allow priority selection on submission
* Display coloured background on new Priority column in lists
* Allow sorting by priority in ticket list
2008-01-10 05:06:47 +00:00
Ross Poulton
015a7dd166 Initial import of Python files & templates 2007-12-27 00:29:17 +00:00