Commit Graph

2553 Commits

Author SHA1 Message Date
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
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
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
f52fb79e79 * Fixed Issue #18 (Thanks autonomouse). Editing an assigned ticket
caused it to become unassigned.
2008-11-17 23:43:23 +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
115b2fbc7c Bugfixes courtesy of Paul Boehm:
* list_display_links in admin.py changed to list
* Followup view threw errors with attachments. Fixed.
2008-10-28 10:24:59 +00:00
Ross Poulton
6e79f73e04 * Added russian translation (Issue # 14). Thanks to Artiom Diomin. 2008-10-26 00:46:41 +00:00
Ross Poulton
c0f3e6b772 * Update English locale file after recent changes 2008-10-24 22:57:38 +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
5f9b85fbbf * Fixes issue #6 BUG 'queuemonth' and 'usermonth' reports did not work in
sqlite. Thanks to David Clymer for the patch.
2008-08-20 10:43:46 +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
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
b824a53292 Fixed #9 BUG ugettext no longer automatically imported in trunk. 2008-08-18 21:34:41 +00:00