Commit Graph

271 Commits

Author SHA1 Message Date
Ross Poulton
8d95221000 Issue #84: If an e-mail template doesn't exist, don't send the e-mail.
As requested (and patch provided by) flywheelnetworks.
2009-08-04 12:26:35 +00:00
Ross Poulton
4d264eaa28 Issue #88: Fill out "Submitter E-Mail Address" if user is logged-in and
has an e-mail address. Thanks to Andreas Kotowicz for the suggestion.
2009-08-04 12:04:13 +00:00
Ross Poulton
c7b45a8edc Fixes three issues:
#65: When submitter clicks 'Accept' to accept a resolution, nothing happens.

#74: issues when updating ticket via views.staff.update_ticket (which is also used by the public views) relating to invalid template 
context and inconsistent variable naming.

#82: Add an option for users to control the number of tickets per page.

Thank you to J. Beigel and Christian Klein for these suggestions.
2009-07-22 08:19:46 +00:00
Ross Poulton
df30fe9e2a Adds pagination, as per Issue #82.
Thanks to Christian Klein for the patch.
2009-07-21 10:29:23 +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
36d160199e Fixes issue #80: Logging in can redirect to an invalid URL.
Patch from Christian Klein, thank you.
2009-07-21 09:35:27 +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
acd082a329 Issue #75: Typo in 'recent activities' RSS feed URL
Thanks to jbeigel for reporting this.
2009-07-15 23:08:31 +00:00
Ross Poulton
b8f13a12a8 Issue #76: Disable directory listings for attachments. 2009-07-15 22:58:57 +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
93ad5ad60c Update README to point to correct media URL. Thanks, 'edv'. 2009-07-15 22:39:18 +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
93723e9e7a Fixes issue #63. Thanks, Kirim.
Entering gibberish in the 'Ticket Number' field when viewing a ticket on
the public form threw up a 500 error.
2009-06-27 01:00:55 +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
f2009c687f Fixes issues #56 and #58: Introducing NullBooleanField in Django 1.1 raised a validation error in Jutda Helpdesk due to us relying on a bug (oops!). 2009-05-24 05:26:12 +00:00
Ross Poulton
9e13b42a4d Fixes issue #48: when saving attachments, the 'path exists' checking was not
compatible with Windows. This patch is a much cleaner way of checking the 
path before creating it, rather than relying on an exception which we were 
previously doing.
Thanks to 'rukeba' for the patch.
2009-03-08 06:18:03 +00:00
Ross Poulton
f6be2403f5 Fixes issue #51: links to other tickets (via #n syntax in followups etc) were
having their HTML escaped, so they didn't show up.

Thanks to Andreas Kotowicz for this patch.
2009-03-08 06:13:51 +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
9830e1c3c1 Fixes issue #46 - could not reassign tickets. 2009-01-27 10:19:06 +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
705c32908a Add 'UPGRADE' file so that upgrade instructions can be easily listed, especially in the case of database changes. Aim is to list any SQL commands needed for ugprade in this file. Listed UPGRADE in the README file, and updated snippet about 3rd party licenses. 2009-01-23 10:35:53 +00:00
Ross Poulton
18ed2a538a Bugfix: When the submitter clicks 'Accept Resolution' on the public ticket view, the ticket wasn't closed. Fixed with minor changes to both Public & Staff views. Closes ticket #19. 2009-01-23 10:35:14 +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
fa79cac822 Add note about case-sensitivity of searching when using SQLite to README. Fixes issue #43. 2009-01-22 07:33:30 +00:00
Ross Poulton
ab7062c896 Remove files for nicEdit and update README/LICENSE as it's no longer used. 2009-01-20 08:13:54 +00:00
Ross Poulton
2432d61ad0 * On public updates, email any attachments to the submitter/queue CC/ticket owner if they're below the size threshold (512kb by default, but overridden with settings.MAX_EMAIL_ATTACHMENT_SIZE.
Resolves issue #44.
2009-01-20 08:12:05 +00:00
Ross Poulton
ed3250455a Update svn:ignore to ignore htdocs/attachments/ 2009-01-19 10:06:27 +00:00
Ross Poulton
20e28e414e Fix issue #38 - Knowledgebase article links don't work in recent Django checkouts. 2009-01-19 10:02:05 +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
ce24e50a2b * Remove send_multipart_mail from lib.py as it isn't actually used _anywhere_ within jutda-helpdesk. 2009-01-19 09:39:42 +00:00
Ross Poulton
a95fc54586 * On the homepage, only redirect to the dashboard if the user is not staff (was redirecting if user was authenticated, although dashboard is for staff-only) (Issue #40)
* When editing a ticket, only show staff users in the 'Assign To' drop-down box (Issue #40)
2009-01-19 09:31:24 +00:00
Ross Poulton
fe7d42e257 Update readme to include email and 'sites' config details. Fixes issue #41. 2009-01-11 01:53:04 +00:00
Ross Poulton
f1e5632ed0 * Only allow staff users to access 'staff' views.
* Only show Staff users in the 'Assign To' drop-down box.
Fixes Issue #40
2009-01-11 00:26:00 +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
787a727ecf Fix issue #32: Public view for queues with a hyphen in the slug
caused an error. Thanks to simeonf.
2008-12-10 09:27:07 +00:00
Ross Poulton
37c6197859 * Add ability to modify email ignore list via Admin 2008-12-02 20:47:49 +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
25e978f68c * Bugfix on previous 2008-11-18 01:47:53 +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
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
77f3e71bd9 * Fixed issue #29, thank you to Jason Nolen for reporting it. Prior
versions of Python used a different name for base64 functions, so 
  a wrapper has been added to lib.py to enable both old- and new-
  style functions to be used.
2008-11-18 00:14:36 +00:00
Ross Poulton
3361e08458 * Fixes issue #26, thanks to Paul Boehm. User settings could be
duplicated in some circumstances.
2008-11-18 00:03:12 +00:00