Commit Graph

19 Commits

Author SHA1 Message Date
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
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
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
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
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
4d6859ba42 * Fix inline models in Admin
* Use signals correctly
(Thanks, David Clymer)
2008-08-13 21:42:57 +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