Commit Graph

1031 Commits

Author SHA1 Message Date
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
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
4583d1c7c8 * Added locale folder and English locale. Ready for more translations :)
* Minor change to models.py to allow i18n.
2008-08-13 23:44:59 +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
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
420e9073cf * Remove reliance on a separate form instance for API ticket creation, now
using the standard TicketForm
* Minor bugfixes in sending e-mails
2008-02-06 22:47:46 +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
4a082e0bfb * Add smart e-mail parsing - if subject contains a ticket ID, the new e-mail
is added as a followup to that ticket.
* Add basic code to support Google Charts in a future revision
* Improved use of Queue "Update" CC.
2008-02-05 23:35:40 +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
274b9300f4 * Fixed svn:keywords
* Added escalation system that allows certain days to be excluded from escalation
* New script to automatically create exclusions on user-defined days, eg easily add a years worth of saturdays & sundays to the exclusion system
2008-01-22 05:54:22 +00:00
Ross Poulton
0f3c979650 * Bugfix 2008-01-21 03:51:35 +00:00
Ross Poulton
259757f71d * Updates to README, mainly concerning licensing and media locations. 2008-01-21 01:07:46 +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