Commit Graph

295 Commits

Author SHA1 Message Date
Tomas Neme
21a21c5097 fix conflicts with master 2012-05-14 13:24:36 -03:00
Tomas Neme
0372256fcf Merge branch 'master' of github.com:Lacrymology/django-helpdesk 2012-05-14 13:21:05 -03:00
Tomas Neme
22036d0a38 merge branch master 2012-05-14 13:19:22 -03:00
Tomas Neme
f4dc848ae9 adding conditional migration 2012-05-14 13:15:57 -03:00
Tomas Neme
75e7d209e5 fixing frozen model in migration 0005 to add field added in 0004 2012-05-14 13:07:36 -03:00
Tomas Neme
812772eab8 adding missing migration 2012-05-11 17:07:14 -03:00
Stefano Brentegani
a520e380f0 fix ticket list (sorting and status querystring) 2012-05-11 17:15:46 +02:00
Ross Poulton
9f0e07f5e6 Add Django 1.4 support - remove old feeds import (no longer required) and add Timezone support. Fixes #135. 2012-05-11 17:02:55 +10:00
Ross Poulton
1a8fa1e885 Merge pull request #136 from brente/i18n
Italian email templates revision
2012-05-09 16:59:56 -07:00
Stefano Brentegani
8522bdd0d1 Italian email templates revision 2012-05-09 14:29:18 +02:00
unknown
1363ba3ce1 fix ticket update with no due date set 2012-05-08 14:36:13 +02:00
Ross Poulton
e8ee39ddaa Merge pull request #132 from ochagnon/master
other html fixes
2012-05-01 16:34:14 -07:00
Oriane Chagnon
2436cbeca2 close ul BEFORE closing div 2012-04-30 19:31:13 -03:00
Oriane Chagnon
b42e619b7f close ul BEFORE closing div 2012-04-30 19:28:19 -03:00
Oriane Chagnon
88d6b61a2e remove closing </label> tag for unopened <label>. 2012-04-30 18:34:09 -03:00
Oriane Chagnon
77c6008b9a remove closing </dt> tags for unopened <dt>. and close <dl> 2012-04-30 18:08:42 -03:00
Oriane Chagnon
bbdb8f1734 Remove closing </label> tag that do not match any opening <label> 2012-04-30 17:11:25 -03:00
Ross Poulton
951539db91 Re-run makemssages && compilemssages 2012-04-25 18:27:04 +10:00
Ross Poulton
a45f4510ed Merge pull request #127 from brente/fix-migrations
fix frozen models in migrations 0004+0005
2012-04-25 00:56:52 -07:00
Ross Poulton
89b8267d84 Fix RSS feeds for post-Django 1.2. Closes #129. 2012-04-25 17:55:38 +10:00
Stefano Brentegani
a19f5d16bb fix frozen models in migrations 0004+0005 2012-04-20 00:35:28 +02:00
Ross Poulton
4fb9ab0617 Fixes #122 - avoid exception when taking ticket. 2012-04-11 17:48:39 +10:00
Tomas Neme
e138fa108f Merge branch 'master' into add-migration 2012-04-02 16:03:47 -03:00
Tomas Neme
28c007ea23 creating missing migration 2012-04-02 16:03:15 -03:00
Ross Poulton
321a9aef2d Add setting HELPDESK_SHOW_KB_ON_HOMEPAGE to show KnowledgeBase
categories on the homepage.
Bumped version number.
2012-03-02 09:28:54 +11:00
Evan Borgstrom
1f00eef6d0 [GH-93] re-applying changes... 2012-01-24 23:19:07 -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
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
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
maccesch
c8be4b03e2 added german email templates 2011-09-01 17:16:55 +02:00
maccesch
4c47c34b37 translation fixes 2011-09-01 13:29:02 +02:00
maccesch
dcec449939 small fixes and translation 2011-09-01 13:01:03 +02:00
Ross Poulton
3c567bf6fb Merge branch 'master' of github.com:rossp/django-helpdesk 2011-07-01 18:15:19 +10:00
Ross Poulton
5a64c1bbad Fix UnicodeEncodeException errors when submitting tickets with non-ASCII characters. Thanks to gjedeer for the patch! 2011-07-01 18:13:01 +10:00
Ross Poulton
3b43cec5cf Merge pull request #64 from joshuajonah/master
Added flexibility to disable the knowledgebase by using settings.HELPDESK_KB_ENABLED = False.
2011-06-15 01:20:26 -07:00
Ross Poulton
01405d489a Update translations to latest data from Transifex. 2011-06-15 07:52:51 +00:00
Joshua Jonah
b546b0b879 Added attribution to public_base.html.
Added missing i18n tag to attribution.html.
2011-06-10 08:22:40 -04:00
Joshua Jonah
7daf3a7552 Consolidated attribution in footer to a single file for easier override without having to subclass more than one template. 2011-06-09 11:41:32 -04:00
Joshua Jonah
e73f45e4f6 Added ability to turn of KB (my business doesn't need it) 2011-06-09 11:24:33 -04:00
Ross Poulton
9cad876f71 Update translations 2011-05-17 20:16:00 +10:00
Ross Poulton
cc4ea9a4f8 Add filtering by Date range. Allow users to filter stats screens by saved queries (closes GH-58) 2011-05-13 08:02:59 +10:00
Ross Poulton
04ad20d42f Remove SVN lookup at bottom of staff pages - not required now we're on Git. 2011-05-12 09:08:32 +10:00
Ross Poulton
afea90b2d2 Bugfix - typo in views/staff.py 2011-05-12 09:01:35 +10:00
Ross Poulton
0afbf85b3f Update translations 2011-05-11 20:09:04 +10:00
Ross Poulton
ac95f9d893 Overhaul reporting: remove custom SQL commands for compatibility reasons. Code is MUCh simpler now. Also allows user to specify a saved search query via GET paramater - need to add links to this, as it lets them filter charts - very useful\! 2011-05-11 20:07:46 +10:00
Ross Poulton
eea960f9b9 Update spanish translation 2011-05-10 19:27:34 +10:00
Ross Poulton
8b6fbd8965 Add ticket dependency so you can't resolve a ticket until it's dependents are resolved. Addresses GH-43 2011-05-10 19:27:11 +10:00
Ross Poulton
40dead831e Update spanish translation from Transifex 2011-05-10 08:01:48 +10:00
Ross Poulton
2a7b76661e URL custom fields are now hyperlinked when viewing tickets. 2011-05-10 07:55:06 +10:00
Ross Poulton
f4864ef34d Show custom fields when editing tickets. Closes GH-24. 2011-05-10 07:54:44 +10:00
Ross Poulton
3143347543 Change MEDIA_URL to STATIC_URL in report output. 2011-05-06 17:04:39 +10:00
Ross Poulton
c3a4c4c8ba Add capability for users to delete their saved queries. 2011-05-06 16:55:52 +10:00
Ross Poulton
0f45891404 Add Spanish (Mexican) and French translations, thanks to @albertogaona and @kolin22. Updated Spanish (Castilian), also thanks to Alberto. 2011-05-02 23:12:40 +00:00
Ross Poulton
9175203fb1 Migrate charts to jqPlot. Needs a bit of clean-up, especially separating out date & non-date reports. 2011-05-02 22:32:51 +00:00
Ross Poulton
b42026ec33 Allow selection of all items on custom "list" fields. Fixes GH-23. 2011-05-02 22:32:15 +00:00
Ross Poulton
c9e68a05a7 When a logged-in user hits the public ticket view, redirect them to the staff view. 2011-05-02 22:31:30 +00:00
Ross Poulton
f3bd5da906 Push navigation into a single place, so that the navigation experience is consistent regardless of which views (public vs staff) the user lands on. Closes GH-52, thanks to kotowicz. 2011-04-28 21:00:11 +10:00
Ross Poulton
592ec09916 If a ticket hasn't been resolved, ensure that public users can still resolve it. Fixes GH-51, thanks to kotowicz. 2011-04-28 20:23:16 +10:00
Ross Poulton
b4ffb91b9c Ensure queue locale is included in safe_template_context as reported by vvarp. This should close GH-56 without further issues - please reopen if required.. 2011-04-28 20:19:42 +10:00
Ross Poulton
f8684e7b3f Merged pull request #53 from issackelly/master.
Django 1.3 staticfiles
2011-04-28 03:10:23 -07:00
Ross Poulton
ebc4b7d24c Add proper database migrations support using South. Updated documentation to match. Closes GH-50. 2011-04-27 19:57:03 +10:00
Ross Poulton
090685b6d9 Clean up comments in create_usersettings, and fix copyright in escalate_tickets. 2011-04-19 23:02:33 +00:00
Ross Poulton
b108e5147c Merge branch 'bclermont-master' 2011-04-19 22:59:49 +00:00
Ross Poulton
5278634a76 Fixes GH-54: Stats crash without open tickets. This should have already been caught, so this patch fixes it and adds another sanity check at report runtime. 2011-04-19 21:36:20 +00:00
Ross Poulton
701d742840 Update Spanish & Polish translations, thanks to Transifex users erik_river (es) and mpasternak (pl) 2011-04-18 08:39:16 +00:00
Bruno Clermont
590b5a20d9 add command to create UserSettings for user who do not have one yet 2011-04-15 17:38:12 -04:00
Issac Kelly
021a48c843 Fix the fixture, and update for django 1.3, add dist and egg-info to gitignore 2011-03-25 18:03:18 -04:00
Ross Poulton
eca88be838 Add support for multi-locale email templates. Also added Russian templates (closes GH-1). REQUIRES SCHEMA CHANGE: SEE FILE UPGRADE. 2011-03-11 22:30:59 +00:00
Ross Poulton
b5da29dcfe Allow multiple e-mails to be entered for the queue CC email addresses. Separate with a comma. Closes GH-49. 2011-03-05 03:29:01 +00:00
Ross Poulton
7666ad668d Merge branch 'bclermont-master' 2011-02-27 23:45:49 +00:00
Ross Poulton
b61a1b1af7 Updated translations from Transifex. Big thanks to mpasternak for some great work on the Polish translation which is now at 61%. 2011-02-25 22:50:00 +00:00
Bruno Clermont
0431865824 Do not close <select> at the begining.
<select/>...</select> is invalid
2011-02-19 14:17:14 -05:00
Ross Poulton
b801b184e4 Move from 'flot' to jqPlot for the upcoming reporting changes. Not able to do multi-series bar charts with flot easily enough so switched to jqPlot. Actual reporting changes still a work in progress. 2011-02-14 22:07:24 +00:00
Ross Poulton
a0af56d27e Updated Spanish translation (via Transifex) 2011-02-14 22:06:20 +00:00
Ross Poulton
3f418a5303 Remove invalid .gitignore 2011-02-14 22:05:45 +00:00
Ross Poulton
f165587112 Update translations from Transifex (incl add transifex config to project) and add Polish translation (currently approx 26% translated) 2011-02-12 02:22:55 +00:00
Ross Poulton
856b6a46aa Make sure 'Close' link on public ticket view always works (Issue #41) 2011-02-12 01:56:56 +00:00
Ross Poulton
8920824a7b Fix link to jQuery in public templates 2011-02-12 01:13:30 +00:00
Andreas Kotowicz
e691708e73 temporary fix for bug https://github.com/rossp/django-helpdesk/issues/#issue/22 2011-02-08 22:19:17 +01:00
Andreas Kotowicz
c69efa1587 fix for bug https://github.com/rossp/django-helpdesk/issues#issue/37 2011-02-08 12:17:05 +01:00
Ross Poulton
18e3d11006 Update locale files to pick up new / updated strings for translation. 2011-02-07 10:34:23 +00:00