Commit Graph

34 Commits

Author SHA1 Message Date
Ross Poulton
a02f398dca Issue #126 reported by Kestutis Gustaitis - reports didn't run with
translation applied.
2010-01-20 07:42:32 +00:00
Ross Poulton
2a67f37577 Issue #125: If you have no tickets, the reports throw a 500 server error. This
patch removes the report links when there's no tickets in the system.

Thanks to Kestutis Gustaitis for the bug report.
2009-12-23 11:47:50 +00:00
Ross Poulton
4d5713cd11 Fixes Issue #122 - infinite loop when most recent ticket was opened in
December. Thanks to Chris Vigelius for the bug report.
2009-12-16 08:30:50 +00:00
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
dc5ea4306a Fix issue #98: If a user hadn't set their "Tickets per Page", pagination
caused issues.

Thanks to dswoods for this patch.
2009-08-22 06:29:30 +00:00
Ross Poulton
81591fdb40 Fix issue #97 and issue #79:
* Errors with invalid page number for paginaton code
* Comment / Resolution not always saved.
2009-08-18 12:12:35 +00:00
Ross Poulton
b492bd5bd2 Issue #90: Users can receive multiple e-mails.
If an e-mail address is used in the 'Queue CC' set up and then that 
e-mail address is used as a submitter for a ticket, they received two 
emails. Worse, if that user was ALSO the 'assigned to' person for that 
ticket, they got THREE emails! 
This fix will ensure a particular email goes to an address only once.
Thanks to Andreas Kotowicz for this patch.
2009-08-11 09:02:48 +00:00
Ross Poulton
76f8d416c0 Issue #88: Allow users to set an option to define whether their e-mail
address is used as the default submitter e-mail when they submit 
tickets. Thanks to Andreas Kotowicz for this suggestion.
2009-08-06 08:56:02 +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
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
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
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
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
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
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
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
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
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
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
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
4d6859ba42 * Fix inline models in Admin
* Use signals correctly
(Thanks, David Clymer)
2008-08-13 21:42:57 +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