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
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.
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.
- 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.
- 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.
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'))
- 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.
- 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