Ivan Giuliani
5eb8b6eeb7
Silly mistake: reversed condition in 'if' check
2012-01-18 23:36:58 +01: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
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
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
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
Andreas Kotowicz
ab67f1397a
added toolips to 'Copies to' and 'Dependencies' links, explaining what these links are for.
...
added a.tooltip class to css file.
2011-11-24 14:26:15 +01:00
Andreas Kotowicz
1c3a7a8a7b
add option 'HELPDESK_SHOW_CHANGE_PASSWORD' so that local users find a link to change their password.
...
(needs django-registration https://bitbucket.org/ubernostrum/django-registration/ ).
2011-11-24 13:30:45 +01:00
Andreas Kotowicz
d876c1be13
css fix for followup_mod being too wide.
2011-11-24 13:29:54 +01:00
Andreas Kotowicz
45620f96d0
new setting: HELPDESK_PREPEND_ORG_NAME
...
customize helpdesk name on a few pages, i.e., your organization, so that users
know that they came to the right page.
2011-11-23 20:12:27 +01:00
Andreas Kotowicz
1eb0760f32
redirect user to 'helpdesk_home' from /helpdesk/login/ page, if user is already authenticated.
2011-11-23 19:57:11 +01:00
Andreas Kotowicz
4b0b628724
hide "log in" button on '/helpdesk/login/' page.
...
modify "log in" redirect if possbible, so that user lands on same ticket (instead of dashboard) after login.
2011-11-23 19:56:36 +01:00
Andreas Kotowicz
f897d5bcb4
add option to override default look of followups - this is work in progress.
2011-11-21 20:04:05 +01:00
Andreas Kotowicz
2cee519d1c
translate code changes:
...
- change js code, so that 'click' and not 'change' will trigger the translation.
- do not assume that English is the source language - the comments might be in a different language.
2011-11-21 19:15:43 +01:00
Andreas Kotowicz
d5164e96c4
add possibility to translate ticket comments using jquery & google translate.
2011-11-21 17:39:13 +01:00
Andreas Kotowicz
cb34b1933a
make django-helpdesk more customizable + bug fixes:
...
- look at settings.py for all new options regarding customization.
- settings can be accessed inside the templates via the new
templatetag 'load_helpdesk_settings'
- allow editing of personal followups, but only if followup does not
contain any ticketchanges - otherwise this information is lost after
the editing.
- add 'delete' link to attachments
- link to list of closed tickets in queue overview
- add 'closed & resolved' section to dashboard
- hide 'pre-set reply' box if no pre-set replies are found.
- use 'SelectDateWidget' for custom DateField
- fix how we update followups so that attachments don't get deleted
- fix bug where resolution emails contained the solution 'None'
- fix stats crashing bug
- fix locale bug
2011-11-19 09:34:07 +01:00
Alex Garel
a6f7bd8a25
added css class on ticket actions in ticket_desc_table
2011-11-10 18:10:17 +01:00
Alex Garel
5000413bf0
fixes in french mail templates (passed all through tidy)
2011-11-10 17:36:58 +01:00
Alex Garel
7b594cfdc0
Added a warning if no message notification template found in database
2011-11-10 12:19:57 +01:00
Alex Garel
89cc11cb8e
French translations for notifications and headers / footers
2011-11-10 12:18:16 +01:00
Alex Garel
ab84017dd5
more fixes on templated mail and safe context
2011-11-09 16:37:37 +01:00
Alex Garel
08efeb1fc9
fixing month index error in reports
...
month has to span from 0 to 11 not 1 to 12
2011-11-08 17:57:26 +01:00
Alex Garel
23463c902e
Using safe_template_context to build templated email context forms.py
...
Without this send_templated_mail does not work (Exception on
context['queue'].get('locale', 'en')
2011-11-08 17:31:05 +01:00
Ross Poulton
6e33408a7d
Merge branch 'master' of github.com:rossp/django-helpdesk
2011-11-08 18:01:00 +11:00
Ross Poulton
dd61932294
Allow users to define the display order of custom fields. Closes GH-75.
...
Thanks to Andreas K for the suggestion!
2011-11-08 17:59:34 +11:00
Ross Poulton
78f515d594
Add Italian translation, thanks to Stefano Brentegani.
2011-11-06 00:05:58 +00:00
Ross Poulton
acbcfebef5
Update urlconf to recognise KB category slugs that include numbers. Closes #68 .
2011-11-05 01:23:35 +00:00
Ross Poulton
2aaaf57504
Pull in changes from bclermont to fix content-type handling on queues when processing incoming e-mail. Closes GH-70.
2011-11-05 00:56:53 +00:00
Ross Poulton
d44fba380d
Update all translations. Closes #71 .
2011-11-05 00:47:29 +00:00
maccesch
85bf169025
fixed the "take" link when viewing a ticket to create a proper follow up
2011-09-05 20:40:53 +02:00
maccesch
70a2cd9271
fixed email sending when no locale is specified in queue
2011-09-05 19:16:22 +02:00
maccesch
c4fa11719f
fixed get_email management command
2011-09-05 18:42:41 +02:00
maccesch
652f847c3b
fixed email locale detection
2011-09-01 17:23:31 +02:00