Commit Graph

27 Commits

Author SHA1 Message Date
Ross Poulton
f418e97efc Issue #13 Add Tags to tickets
Patch courtesy of david@zettazebra.com, adds the ability to add tags to
tickets if django-tagging is installed and in use. If django-tagging isn't
being used, no change is visible to the user.
2009-09-09 09:11:05 +00:00
Ross Poulton
f419d8e2d0 Issue #102
Add rudimentary CC: functionality on tickets, controlled by staff users. CC's 
can be e-mail addresses or users, who will receive copies of all emails sent 
to the Submitter. This is a work in progress.
2009-09-09 08:47:48 +00:00
Ross Poulton
ec25a630d3 Fixes issue #66; jQuery typo in ticket.html.
Thank you to jbeigel.
2009-07-12 03:16:18 +00:00
Ross Poulton
353407d251 Fixes issue #49 - tickets had no 'edit' function. 2009-06-03 11:43:46 +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
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
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
a162d77d70 * Create new help page for comment template context variables
( see /help/context/; also linked from comment form)
* Refactor API help page to share template with context help
* Allow a limited number of Ticket & Queue model fields to be 
  accessible in comments, as per 'Help' page.
* New function in lib.py to build a dict of 'safe' fields from 
  ticket & queue, to prevent the power of the Django model API 
  from exposing things like passwords (imagine if a user typed
  a comment containing {{ ticket.queue.email_box_password }} !!!!
* When accessing the ticket list with no filter params (eg by 
  clicking on the "Tickets" button in the menu), the default 
  search is for tickets that aren't closed, rather than showing
  all tickets.
* Updated English locale with changed message strings.
2008-08-29 09:11:02 +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
c762313e08 * Move to newforms-admin (compatible with Django 1.0 alphas)
* Changes to a few translation blocks; this is still a WIP.
2008-08-11 23:24:18 +00:00
Ross Poulton
23084499c1 * Add localisation hooks
* Add VERY basic knowledgebase functions
* Restructure views.py into views/*.py
2008-05-21 21:16:44 +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
d6196e540d * Minor JS bugfix to allow uploading multiple files via the web interface 2008-02-08 00:48:23 +00:00
Ross Poulton
41a3199513 * Added ability to attach files
* Via e-mail (and replies)
   * Via web interface
* Updated README with attachment detail
* Other various bugfixes as they crop up
2008-02-08 00:19:58 +00:00
Ross Poulton
041272ce1b * Added ability for tickets to be placed on hold 2008-01-20 23:31:27 +00:00
Ross Poulton
379f68ed4b * Add ability to place a ticket on hold, stopping automatic escalation. 2008-01-16 04:52:30 +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
14b2c59093 * Add ability to delete tickets completely
* Add model for file attachments, although currently commented out.
2008-01-15 04:00:19 +00:00
Ross Poulton
dce7731957 * Further form improvements, this time in the 'Edit Ticket' area. 2008-01-15 00:02:06 +00:00
Ross Poulton
d829b1aaf6 * Added priority icons for list views
* Added nice buttons for Accept/Edit/Take/etc with template
2008-01-12 05:37:45 +00:00
Ross Poulton
ccb5b9fd97 * Updated license file
* Added support for pre-written responses - uses Ajax to populate comment box.
2008-01-11 01:00:01 +00:00
Ross Poulton
8aae8564ba * Add 'modified' field to tickets - updated when the ticket or a followup is saved
* Added 'Priority' ot tickets along with update code.
2008-01-10 00:28:45 +00:00
Ross Poulton
10158056b6 * Add README and LICENSE files
* Add e-mail templates for submitter-based emails
* Add send_multipart_email() to lib.py - sends HTML/plain emails
* Add 'Take' link to unassigned tickets on ticket detail view
* Add Description to ticket detail view
* When resolving ticket, copy comment into ticket resolution
* Display resolution and 'Accept & Close' link on ticket detail view
* Create scripts/ folder
* Added POP/IMAP details to Queue model
* Added get_email.py; polls POP/IMAP boxes & creates ticket
* Added keyword search functionality
2008-01-07 20:22:13 +00:00
Ross Poulton
20ede72e59 Utilise markdown on ticket body descriptions. Note: Needs django.contrib.markup in the parent projects' settings.py file. 2007-12-28 03:35:28 +00:00
Ross Poulton
015a7dd166 Initial import of Python files & templates 2007-12-27 00:29:17 +00:00