Commit Graph

511 Commits

Author SHA1 Message Date
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
Ross Poulton
041272ce1b * Added ability for tickets to be placed on hold 2008-01-20 23:31:27 +00:00
Ross Poulton
9c2fd9e87b * Minor on-hold improvements 2008-01-16 05:00:58 +00:00
Ross Poulton
379f68ed4b * Add ability to place a ticket on hold, stopping automatic escalation. 2008-01-16 04:52:30 +00:00
Ross Poulton
1524c37941 * Add queue-based automatic ticket escalation 2008-01-16 04:38:24 +00:00
Ross Poulton
d3571d2397 * Updated license to reflect nicEdit license. 2008-01-16 03:31:15 +00:00
Ross Poulton
eff97073fb * Remove dependency on markdown
* Use nicEditor in 'create ticket' screens to allow HTML entry.
2008-01-16 03:23:43 +00:00
Ross Poulton
2e2176547d * Added logout link/template
* Added ability for public to submit a ticket via the web if they aren't logged in
* Added ability for public to view ticket via web using ticket ID & e-mail address
* Added public ticket URL to e-mails
* Added manager to FollowUp class to
2008-01-16 00:26:24 +00:00
Ross Poulton
ab320c782b * Fix properties and add header to get_email.py 2008-01-15 05:18:54 +00:00
Ross Poulton
d091ca7053 * Amended license to exclude jQuery, and included jQuery-specific license. 2008-01-15 05:12:39 +00:00
Ross Poulton
c626b22f4d * Add interface for filtering mechanism - now only shows the filtering
options that are being used, allowing users to add or remove more options
  rather than just display the lot on screen. 

* Break out filtering and row hover into separate javascript files (hover
  is used in the ticket list & dashboard - same code was used in both 
  places. Anti-DRY)
2008-01-15 05:07:19 +00:00
Ross Poulton
14b2c59093 * Add ability to delete tickets completely
* Add model for file attachments, although currently commented out.
2008-01-15 04:00:19 +00:00
Ross Poulton
038ea15877 * General clean-up, especially for Django admin - added help_text to more fields and defined other admin options to make life easier. 2008-01-15 00:20:00 +00:00
Ross Poulton
dce7731957 * Further form improvements, this time in the 'Edit Ticket' area. 2008-01-15 00:02:06 +00:00
Ross Poulton
3f7c918161 * Only e-mail users on ticket update if a comment or resolution was provided. 2008-01-14 23:40:51 +00:00
Ross Poulton
7932ace133 * Improve ticket submission form by adding help text and flagging optional fields as such
* When submitting an e-mail, if a submitters e-mail is provided send them an e-mail
2008-01-14 23:39:43 +00:00
Ross Poulton
423b455fc1 Minor readme updates 2008-01-14 23:12:27 +00:00
Ross Poulton
d829b1aaf6 * Added priority icons for list views
* Added nice buttons for Accept/Edit/Take/etc with template
2008-01-12 05:37:45 +00:00
Ross Poulton
ccb5b9fd97 * Updated license file
* Added support for pre-written responses - uses Ajax to populate comment box.
2008-01-11 01:00:01 +00:00
Ross Poulton
ff7f718caf * Allow priority selection on submission
* Display coloured background on new Priority column in lists
* Allow sorting by priority in ticket list
2008-01-10 05:06:47 +00:00
Ross Poulton
8aae8564ba * Add 'modified' field to tickets - updated when the ticket or a followup is saved
* Added 'Priority' ot tickets along with update code.
2008-01-10 00:28:45 +00:00