Commit Graph

2168 Commits

Author SHA1 Message Date
Evan Borgstrom
8f0824af1a Merge remote branch 'upstream/master'
Conflicts:
	helpdesk/lib.py
	helpdesk/management/commands/get_email.py
2012-01-24 14:49:17 -05:00
Ross Poulton
230f94f6aa Merge pull request #108 from kratorius/fix-query-filtering
Sanity checks against input for ticket search
2012-01-23 15:16:56 -08:00
Ross Poulton
7e72f3d8ea Merge pull request #106 from yekibud/master
adding global queue email settings for get_mail and HELPDESK_KB_ENABLED_STAFF; added ticket due date
2012-01-23 15:15:44 -08:00
Ross Poulton
17e6122fca Merge pull request #104 from kratorius/csrf-api-fix
Exclude API calls from CSRF middleware.
2012-01-23 15:00:05 -08:00
Ross Poulton
62e9866254 Merge pull request #103 from kratorius/save-fix
Pass generic parameters to inherited model save()
2012-01-23 14:59:41 -08:00
Ross Poulton
a0a1875686 Merge branch 'master' of github.com:rossp/django-helpdesk 2012-01-23 22:51:38 +00:00
Ross Poulton
b63c480037 Merge alexgarel/django-helpdesk revision e4b4dd5 - Add CSS for printing
of tickets.
Closes GH-91.
2012-01-23 22:49:55 +00:00
Ross Poulton
6a18689faa Merge pull request #101 from kratorius/closed-resolution-bugfix
Save resolution when closing the ticket
2012-01-23 14:44:45 -08:00
Ross Poulton
56c6ba9c12 Merge pull request #98 from kratorius/italian-support
Added italian translation for email templates
2012-01-23 14:42:11 -08:00
yekibud
3e8d6edfc7 commented out some unimplemented test code 2012-01-20 16:47:41 -08:00
tschmidt
1a4c6520a6 added due_date migration and added to edit ticket form 2012-01-20 15:03:07 -08:00
tschmidt
01b0adc733 adding due_date form and model field 2012-01-20 12:48:38 -08:00
Ivan Giuliani
5eb8b6eeb7 Silly mistake: reversed condition in 'if' check 2012-01-18 23:36:58 +01:00
tschmidt
0f38b688a1 fixed other instances of custom field list without blank default 2012-01-18 11:38:56 -08:00
tschmidt
9aa32cc4f6 fixed custom field list without blank default 2012-01-18 11:20:22 -08:00
Ivan Giuliani
b6472507e4 apply_query shouldn't modify the parameters dictionary
Changing parameters in apply_query might yield an invalid state in later
code that assumes the query was not changed.
This patch avoids parameters modification and should fix the issue
reported in #109
2012-01-18 14:39:36 +01:00
tschmidt
949179ec2e adding HELPDESK_STAFF_ONLY_TICKET_OWNERS and HELPDESK_STAFF_ONLY_TICKET_CC settings 2012-01-17 13:40:44 -08:00
Ivan Giuliani
119b951086 Sanity checks against input for ticket search
Currently input parameters within the ticket search view are not
validated, thus (manually) altering the parameters in the query string
issues a 500. This patch attempts to solve this problem, reverting to
the default query when the situation can't be recovered.
2012-01-17 13:14:21 +01:00
tschmidt
eb74f807d8 added QUEUE_EMAIL_BOX_SSL 2012-01-16 17:36:24 -08:00
tschmidt
164a9f44bb added global queue default email settings 2012-01-16 17:01:47 -08:00
tschmidt
537d403d99 added HELPDESK_KB_ENABLED_STAFF 2012-01-16 16:42:16 -08:00
Ivan Giuliani
dc76854667 Exclude API calls from CSRF middleware.
Starting from django 1.2, the CSRF middleware is enabled by
default. However, API calls require parameters passing by POST
requests but they cannot be served as they can't contain a CSRF
token.

This patch removes the CSRF middleware from API requests.
2012-01-15 11:38:28 +01:00
Ivan Giuliani
599ff33665 Pass generic parameters to inherited model save() 2012-01-14 13:06:37 +01:00
Ivan Giuliani
23a7f399d1 Save resolution when closing the ticket 2012-01-12 18:21:25 +01:00
Ivan Giuliani
c3db5417d3 Added italian translation for database-stored email templates 2012-01-11 21:36:02 +01:00
Ivan Giuliani
3ec88e4658 Add italian in the list of available languages 2012-01-11 20:44:03 +01:00
Ivan Giuliani
efafe8fc2c Added italian translation for email templates 2012-01-11 19:46:48 +01:00
Ross Poulton
533fdc8c2a Merge branch 'kotowicz-master', manually merging conflicts in these files:
helpdesk/lib.py
	helpdesk/templates/helpdesk/ticket_desc_table.html
	helpdesk/views/staff.py
2012-01-11 09:18:05 +00:00
Ross Poulton
7dca5ce3ae Merge pull request #85 from alexgarel/master
bug fixes
2012-01-11 01:11:17 -08:00
Alex Garel
969c0cdc6e Merge+Fix of Alex's commit for GH-93
bug fix : on update we need followup comment for notification
2011-12-16 15:14:32 -05:00
Evan Borgstrom
0661fc995d Handle context['queue'] as a dict or an object
See: GH-70 - https://github.com/rossp/django-helpdesk/pull/70
2011-12-16 14:27:16 -05:00
Andreas Kotowicz
2d882a393c fix email problem with multiple addresses. 2011-12-09 17:21:48 +01:00
Andreas Kotowicz
885c03c514 don't translate field errors - they should be in correct language by default. 2011-12-09 17:20:32 +01:00
Andreas Kotowicz
1d0ac58391 translate all fiels in /ticket/submit/ 2011-12-09 17:20:14 +01:00
Andreas Kotowicz
b79bb6ac10 fix /reports/usermonth/ & /reports/queuemonth/ errors
- indexing was wrong
- wrong first month label was used.
2011-12-08 16:49:17 +01:00
Andreas Kotowicz
50406665c9 jquery translate temporary work arounds:
- google translate api v1 is deprecated, for v2 you need to pay.
- the google translate widget is still available for free.

I left the jquery translate code intact, because maybe we can get
jquery-translate to work with microsoft's translation service.
2011-12-02 17:47:30 +01:00
Andreas Kotowicz
1e6fa7a92d add option to 'hide empty queues' in dashboard overview.
code to show empty queue is from b7df9b9495
2011-12-02 12:54:06 +01:00
Andreas Kotowicz
71d69278bc custom fields: add option which forces user to make an active choice.
in forms.py we prepend a 0 entry to the list of choices.
2011-12-01 20:48:37 +01:00
Andreas Kotowicz
87a5aa88b4 work on German and English translations. 2011-11-29 16:16:09 +01:00
Andreas Kotowicz
b18afe87bd preselect currently active language in 'public_change_language' 2011-11-29 15:15:24 +01:00
Andreas Kotowicz
f823b72db6 css fixes:
- fix space problems between helpdesk lists and welcome text. in languages other then English,
  these two used to overlap.
- make search input field smaller, so that there is no ugly 'out-of-space' artifact, when
  'saved queries' exist and the buttons wrap into the 'helpdesk' h1.
2011-11-29 15:07:44 +01:00
Andreas Kotowicz
505a171b61 working on dashboard:
- clarify what the individual dashboard ticket lists mean.
- add 'tickets submitted by you' list.
- add possiblity for custom welcome message (HELPDESK_CUSTOM_WELCOME).
2011-11-29 14:08:08 +01:00
demo
049b75182b removed forgotten pdb 2011-11-28 18:53:01 +01:00
demo
b74f6914b2 handle the case when recipients is not str but unicode 2011-11-28 18:13:07 +01:00
Andreas Kotowicz
90721b0746 create_ticket form modifications: make 'title', 'submitter_email' and 'body' fields wider. 2011-11-28 16:06:36 +01:00
Andreas Kotowicz
b73d7df064 add option 'HELPDESK_CREATE_TICKET_HIDE_ASSIGNED_TO' to hide the 'case owner' on create_view if necessary. 2011-11-28 15:17:54 +01:00
Andreas Kotowicz
c79ba8de01 uncomment previously commented code which takes care of unassiging a ticket. 2011-11-28 14:49:37 +01:00
Andreas Kotowicz
eaf78115d2 send user back to the same page before changing the display language. 2011-11-27 09:43:51 +01:00
Andreas Kotowicz
5a92dafbdc new option: 'HELPDESK_FOOTER_SHOW_CHANGE_LANGUAGE_LINK'
If activated, a 'change language' link will be shown in the footer.
You need to add this line to your 'urlpatterns' variable in your
urls.py file:

(r'^i18n/', include('django.conf.urls.i18n'))
2011-11-27 09:26:56 +01:00
Andreas Kotowicz
d27e4a0178 change search box padding, otherwise the bottom of the searchbox will not be aligned with the buttons on the left. 2011-11-24 15:25:48 +01:00