Commit Graph

54 Commits

Author SHA1 Message Date
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
762f48a59e Resolves issue #62 - adds spam filtering via akismet.py using either
Akismet or TypePad AntiSpam.

See the README for configuration instructions.
2009-06-25 11:22:53 +00:00
Ross Poulton
353407d251 Fixes issue #49 - tickets had no 'edit' function. 2009-06-03 11:43:46 +00:00
Ross Poulton
684115cf19 First attempt at fixing issue #55, which adds the ability to update
multiple tickets at once (eg to delete them, or assign them to somebody 
else).
2009-03-08 06:03:55 +00:00
Ross Poulton
7bff65d693 Issue #54: Footer link should point to jutdahelpdesk.com rather than
jutda.com.au.
2009-03-08 05:58:26 +00:00
Ross Poulton
06a153206e Issue #53: Enhance search box to allow entry of a ticket ID (and
have the user taken straight to that ticket rather than a search 
results page).
2009-03-08 05:55:35 +00:00
Ross Poulton
db2dc108e5 Fixes issue #52: Add message to search screen if system is running sqlite. 2009-03-08 05:49:08 +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
fae7faa236 Show attached files on public ticket view screen, as per staff-only view. Fixes issue #45 2009-01-22 08:10:34 +00:00
Ross Poulton
11293b0b66 Allow a file to be attached to the ticket when the ticket is opened. These files are attached to outgoing emails. Also, updated forms to loop over form.fields rather than explicitly naming each field. Fixes issue #15. 2009-01-22 08:08:22 +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
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
065e7e9eb0 * Issue #24: Add ability to localise queues so that the templates used
by those queues are in languages that differ from the installation 
  langugage. 

  To utilise this, call your templates 'zz:templatename' where 'zz' is the 
  language code and 'templatename' is the name used by the Helpdesk when 
  sending e-mails.

  Thanks to Paul Boehm for the submission.
2008-11-18 01:43:50 +00:00
Ross Poulton
4a70c7bb1f Thanks to Paul Boehm, this patch changes Admin links to use a
settings-driven URI rather than assuming /admin/. Resolves
issue #22
2008-11-17 23:51:09 +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
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
5914e98d43 * Use markdown on knowledgebase pages
* KB item 'last updated' only gets set on a new item
* Allow linking to /tickets/submit/?queue=slug to pre-populate the 'Queue' folder
2008-10-07 06:52:52 +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
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
0068eccbf4 Big checkin that adds a number of features and makes some changes:
* Updated jQuery to 1.2.6
* Add jQuery UI 1.6b for interface effects as needed
    * 'Smoothness' theme from ThemeRoller.com added.
* Clean up 'Filter' dialog on Ticket List, long way to go still.
    * Uses tabs to save a query or load a saved query
    * Lots of misuse of space here, can be cleaned up somewhat still.
* Add ability for users to save filters/queries
    * Saved queries can be shared, so other users can use them
    * Users can run saved queries instead of re-filtering
    * Filter mechanism in Ticket List had to be reworked significantly
* Merged 3rd party licenses into LICENSE.3RDPARTY
* Updated messages files for EN locale

To update, ensure you run './manage.py syncdb' to add the SavedSearch
table.
2008-08-28 09:06:24 +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
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
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
18a8814a85 * Clean up API Help HTML
* Add RSS feeds to base.html header
2008-04-02 01:07:58 +00:00
Ross Poulton
c34a1e0974 * Add API link to footer, next to RSS Feeds 2008-04-01 23:37:21 +00:00
Ross Poulton
bbcb579377 * Fixed typos in API document, added urlconf to allow easier API help access 2008-04-01 23:34:24 +00:00
Ross Poulton
7dfb38eab9 * Removed e-mail templates to the database
* Added statistics views, making use of Google Charts
* Added initial data fixture, to automatically create e-mail templates
  at install-time
2008-04-01 23:26:12 +00:00
Ross Poulton
47afa9b45b * Added RSS Feed Functionality
* RSS Feed Index (/rss/)
   * Open tasks by User
   * Open tasks by User / Queue
   * Open tasks by Queue
   * All activity (based on FollowUps for now)
2008-02-08 05:29:51 +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
2895891fb0 * Removed horrid license - moved to BSD.
* Removed horrid file headers

* Added API - Mostly untested at this stage. Works via HTTP POST.
* Added API documentation
2008-02-06 04:36:07 +00:00
Ross Poulton
224ad8722f * Add templates for escalation
* E-mail owner, Queue CC and submitter on escalation
2008-01-22 06:10:48 +00:00
Ross Poulton
6ef420427d * Added support for e-maling a queue "CC" address (two options here, one for new tickets only, one for all queue activity)
* Added support for e-mailing submitter when a ticket is closed
* Added facility to e-mail owner when someone else acts on their ticket
2008-01-21 01:02:12 +00:00
Ross Poulton
041272ce1b * Added ability for tickets to be placed on hold 2008-01-20 23:31:27 +00:00
Ross Poulton
9c2fd9e87b * Minor on-hold improvements 2008-01-16 05:00:58 +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
2e2176547d * Added logout link/template
* Added ability for public to submit a ticket via the web if they aren't logged in
* Added ability for public to view ticket via web using ticket ID & e-mail address
* Added public ticket URL to e-mails
* Added manager to FollowUp class to
2008-01-16 00:26:24 +00:00
Ross Poulton
c626b22f4d * Add interface for filtering mechanism - now only shows the filtering
options that are being used, allowing users to add or remove more options
  rather than just display the lot on screen. 

* Break out filtering and row hover into separate javascript files (hover
  is used in the ticket list & dashboard - same code was used in both 
  places. Anti-DRY)
2008-01-15 05:07:19 +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
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
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
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