Commit Graph

790 Commits

Author SHA1 Message Date
Alex Seeholzer
87225ce2ba tests renamed for compliance 2015-06-12 15:27:49 +02:00
Alex Seeholzer
cbea3c54f0 conformed template from_string method to use engines['django'] 2015-06-12 12:54:50 +02:00
Alex Seeholzer
0b7e0b7f04 changes in templating engine that worked for django 1.8 2015-06-12 12:52:35 +02:00
Alex Seeholzer
039653cc70 further fixes for Django 1.8.2 template engine 2015-06-12 12:52:34 +02:00
Alex Seeholzer
0f69771164 fix for django 1.8.2, get_template_from_string was removed 2015-06-12 12:52:34 +02:00
Alex Seeholzer
42f478b98c Merge squashed fixes from flinz/per-queue-staff-membership:
-renamed migration 0005 to 0004 and referenced 0003 instead of 0004 from it.
-Corrected spelling and rephrased docs for queue membership feature.
2015-06-12 17:41:15 +07:00
Jonathan Barratt
bfcd8fc024 Add ability to restrict users' access by queue if so configured, and migration and tests for same. 2015-06-12 12:23:39 +07:00
Jonathan Barratt
711eb6cea2 As of at least Django 1.5, calling __str__() on a CHOICES object returns a proxy object, not the actual text of the CHOICE. Change such calls to title() instead 2015-06-11 14:31:49 +07:00
Ross Poulton
6595eebd3f Merge pull request #328 from reduxionist/fix-squashed-socks_proxy-migration
Remove migration 0002_socks_proxy.py...
2015-06-10 09:35:10 +10:00
Jonathan Barratt
9c60350193 Fix issue 286: Header cuts off body by replacing {{ STATIC_URL }}x with {% static "x" %} in {public_,}base.html 2015-06-03 14:37:21 +07:00
Jonathan Barratt
f434292cfc Remove migration 0002_socks_proxy.py which has been squashed into 0001, rename migrations 0003 and 0004 and update their dependencies accordingly 2015-06-03 12:39:02 +07:00
Emmanuel Cohen
b0db7aa666 Fix exeception for templetags (works on django 1.7/py3.4 & django 1.6/py2.7) 2015-04-28 14:50:49 +02:00
Ross Poulton
70c57f9096 Merge 2015-04-28 09:13:54 +10:00
Tony Zhu
ed9581e5de Remove deprecated load url from future 2015-04-16 11:58:24 -04:00
Tony Zhu
807e0c5ea9 Remove extra space line 2015-04-14 16:29:47 -04:00
Tony Zhu
9600f457d8 Remove no effect model property to silence django 1.8 system check warning 2015-04-14 16:25:20 -04:00
Tony Zhu
11e4f1a7bd Merge upstream changes 2015-04-14 16:10:13 -04:00
Ross Poulton
bb2c240ef8 Use proper URL names for hold/unhold rather than manually building URL. Fixes #299 2015-02-14 11:13:19 +11:00
Ross Poulton
19ec7bee96 Extend attachment filefield max length in upload form. Fixes #301. 2015-02-14 11:02:58 +11:00
Alex Seeholzer
4ba29c500c Merge branch 'bugfix_models'
* bugfix_models:
  bug fix for commit
2015-02-11 13:25:52 +01:00
Alex Seeholzer
ddabc9d133 bug fix for commit 2015-02-11 13:23:42 +01:00
Alex Seeholzer
4c89456bc1 Merge branch 'populate_usersettings'
* populate_usersettings:
  Added south migration to populate the initially existing users with usersettings.
2015-02-11 13:14:55 +01:00
Alex Seeholzer
a11227c6c1 Added south migration to populate the initially existing users with usersettings. 2015-02-11 13:14:36 +01:00
Alex Seeholzer
9665361bb1 In Django < 1.7, if settings.AUTH_USER_MODEL is defined, the sender is expected to be the actual instance, not a string. This Closes rossp/django-helpdesk#295 by checking for django version < 1.7. 2015-02-11 12:23:59 +01:00
Alex Seeholzer
a87e1355ee Added missing south migration, adding the missing fields 'helpdesk_queue.socks_proxytype'. This fixes rossp/django-helpdesk#291. 2015-02-10 17:30:32 +01:00
Simon Thépot
83affccec5 Specify features to load in failing testcase for django < 1.7 2015-01-14 16:00:35 +01:00
Simon Thépot
b53d3ad9bc Rename initial_data.json to emailtemplate.json 2015-01-14 15:49:08 +01:00
Simon Thépot
f68c1b3ae9 Django1.7 tests: load initial_data w/ migration 2015-01-14 15:36:37 +01:00
Simon Thépot
f0156cfcb3 Populate user settings w/ data migration, Django1.7 compatible, fix #276 2015-01-14 11:19:17 +01:00
TreeNode
ae681dd5d3 Clear host and port if no proxy type was set 2014-12-11 12:03:36 +02:00
TreeNode
54dd376b9c Check for sock lib has installed 2014-12-11 01:44:47 +02:00
TreeNode
135e2d65ea Created new migrations 2014-12-11 01:42:55 +02:00
TreeNode
83a5e964f3 Default field values 2014-12-11 01:42:20 +02:00
TreeNode
50b80b2a08 Socks proxy support 2014-12-10 23:37:34 +02:00
Jenny Qian
859935e5ee exclude '\r' from subject_part
This is to prevent BadHeaderError("Header values can't contain newlines..
2014-10-29 10:57:31 -05:00
Ross Poulton
0d9446480e Merge pull request #273 from vladyslav2/master
Fix replace function for custom fields
2014-10-27 11:17:53 +11:00
Vladyslav T
f1147f695a Fix replace function for custom fields 2014-10-25 22:53:56 +03:00
Tom Graham
33728bc0b1 Revert "Make sure custom user logic works with Django 1.4"
This reverts commit 1aed6c9a96.
2014-10-24 18:05:44 +11:00
Tom Graham
1aed6c9a96 Make sure custom user logic works with Django 1.4
Monkey Patch for Django 1.4 to allow new custom user model logic.
2014-10-24 17:56:52 +11:00
Tony Zhu
8635742931 Rename the initial data to avoid django 1.7 flush bug 2014-10-23 10:48:11 -04:00
Tony Zhu
dc86236136 Go back to the original helpdesk repo 2014-10-23 10:44:59 -04:00
Tom Graham
eef2a66f23 Fix for no model_name in django < 1.6 2014-10-22 17:35:24 +11:00
Tom Graham
15feb7def3 Typo in previous commit 2014-10-22 17:32:17 +11:00
Tom Graham
d966172fb7 Fix user changelist for custom user models
Fixed the user_admin_changelist url for custom user models.
2014-10-22 17:23:56 +11:00
Tom Graham
d2ac8af6c0 Improved support for custom user models
Support for custom user models with a non-standard username field
2014-10-22 16:18:04 +11:00
Tony Zhu
af1a297460 Merge from origin repo 2014-10-20 14:12:40 -04:00
Ross Poulton
b0756497dc Merge pull request #262 from AGASS007/master
fixed tooltip (again)
2014-09-24 08:17:20 +10:00
Guillaume Andreu Sabater
d5dd2c3423 actually enable tooltip 2014-09-22 14:04:14 +02:00
Guillaume Andreu Sabater
45eda26e7c swapped <a> and <strong> tags 2014-09-22 14:03:37 +02:00
Guillaume Andreu Sabater
05350ba37c fixed typo 2014-09-22 14:00:33 +02:00
Antoine Nguyen
58c2c818f4 Use the right values to identify priorities. 2014-09-22 10:01:08 +02:00
Antoine Nguyen
8095d30e8e Remove unknown reference to priority. 2014-09-19 16:06:11 +02:00
Antoine Nguyen
ad47087c8f Assign a bootstrap row color to tickets based on priority. 2014-09-19 16:01:15 +02:00
Antoine Nguyen
91628ab788 Do not use the builtin staff_member_required decorator.
Before 1.7, this decorator always redirects to the admin login page so the LOGIN_URL
setting is useless.
2014-09-19 15:15:42 +02:00
Guillaume Andreu Sabater
85b90d0030 Enable bs3 tooltips with html markup 2014-09-18 14:42:06 +02:00
Ross Poulton
863effdcb6 Update French translations. Thanks to @tonioo; closes #259. 2014-09-18 09:50:18 +10:00
Ross Poulton
7fe1cb4c9f Update & recompile translations 2014-09-16 19:54:05 +10:00
Ross Poulton
1a157ed097 Django 1.7 compat update. Fixes #255, thanks @danie1k 2014-09-11 17:37:51 +10:00
Ross Poulton
61f49786c0 Fixes for Django 1.7. For prior Django versions, South 1.0 must be used for
migirations. Fixes #254.
2014-09-10 09:06:50 +10:00
Ross Poulton
4c901880bc Allow file attachments in storages other than local files (eg S3). Fixes GH-249. 2014-09-02 18:36:00 +10:00
Ross Poulton
1aed98463a Increase size of attachment filename. Fixes #164. 2014-09-02 18:36:00 +10:00
Stefano Brentegani
5346c17629 Merge branch 'master' of https://github.com/rossp/django-helpdesk into refactor-staff-filter 2014-07-31 06:22:59 +02:00
Stefano Brentegani
299c23671a update .po files (preserve already translated text) 2014-07-30 11:13:42 +02:00
Stefano Brentegani
94fa283f2d mark new translatable strings and reduce redundancy 2014-07-30 10:41:10 +02:00
Stefano Brentegani
5e1616d83a split blocktrans in templates 2014-07-30 10:40:13 +02:00
Stefano Brentegani
9bbcaa5cc0 download and recompile translations from Transifex (adds Arabic) 2014-07-30 09:53:24 +02:00
Stefano Brentegani
fdd2508e22 missing load url in template 2014-07-27 18:32:56 +02:00
Stefano Brentegani
0c93de8bdb Merge branch 'master' into template-cleanup
Conflicts:
	helpdesk/templates/helpdesk/navigation.html
2014-07-26 14:03:08 +02:00
Ross Poulton
d38240e3cb Merge pull request #237 from brente/user-menu
User menu
2014-07-26 20:30:44 +10:00
Ross Poulton
201a7e91cd Merge pull request #236 from brente/fix-typo
fix typo in template condition
2014-07-26 20:30:17 +10:00
Stefano Brentegani
5e9fd86941 Bootstrap version of the user settings form 2014-07-25 20:57:34 +02:00
Stefano Brentegani
9433f34f9b Nav: use full user name, if available, fix icon 2014-07-25 20:14:13 +02:00
Stefano Brentegani
b05c396918 User menu = User settings, Change password, Logout 2014-07-25 18:08:47 +02:00
Stefano Brentegani
47bec43108 fix typo in template condition 2014-07-25 17:23:54 +02:00
Stefano Brentegani
597fd2b4af update jqPlot (resolves compatibility issues with jQuery 1.9+) 2014-07-25 14:47:37 +02:00
Stefano Brentegani
311dfa6dbd missing spaces in navigation menu 2014-07-25 14:08:35 +02:00
Ross Poulton
b1b1f93e1e speed up dashboard queries by using select_related (fixes #233) 2014-07-23 09:37:21 +10:00
Stefano Brentegani
6d86b62673 missing template lib references 2014-07-22 19:27:37 +02:00
Stefano Brentegani
78103c345b separate dashboard elements for easier customisation 2014-07-22 19:20:40 +02:00
Stefano Brentegani
cfd0ca3b7d remove row_columnheads class from table headers 2014-07-22 16:09:06 +02:00
Stefano Brentegani
df32432685 Merge commit 'fd0ab29dfcfc263be686c8351f4dc5880e3e1b9b' into template-cleanup
Conflicts:
	helpdesk/templates/helpdesk/dashboard.html
	helpdesk/templates/helpdesk/kb_category.html
	helpdesk/templates/helpdesk/ticket_desc_table.html
2014-07-22 07:28:04 +02:00
Ross Poulton
1524cb4ca1 Merge pull request #232 from brente/ago-naturaltime
Use naturaltime for elapsed times
2014-07-22 14:59:20 +10:00
Stefano Brentegani
d95aa46b03 Merge branch 'master' into template-cleanup 2014-07-22 06:43:05 +02:00
Ross Poulton
a2a214d33d Merge pull request #231 from brente/no-admin-url
Remove undocumented ADMIN_URL setting
2014-07-22 10:09:45 +10:00
Ross Poulton
ef84c90732 Merge pull request #230 from brente/navigation-nokb
exclude KB from navigation if HELPDESK_KB_ENABLED is False
2014-07-22 10:09:15 +10:00
Stefano Brentegani
04112a109d fix unquoted urls in template 2014-07-21 21:43:29 +02:00
Stefano Brentegani
c711a54d8d Merge commit '21e46f010dfecea1562a4d2b308fd78b71fec8a0' into no-admin-url
Conflicts:
	helpdesk/urls.py
2014-07-21 21:38:40 +02:00
Stefano Brentegani
9c97172624 missed for ... empty opportunity 2014-07-21 21:30:32 +02:00
Stefano Brentegani
0f103ea827 use for ... empty in templates 2014-07-21 20:28:37 +02:00
Stefano Brentegani
b530f19d65 templates: removed row_odd, row_even, row_hover classes and hover.js 2014-07-21 20:19:23 +02:00
Stefano Brentegani
6abc0ba9a9 replace row_tablehead with caption 2014-07-21 20:02:50 +02:00
Stefano Brentegani
fe5c7135a6 exclude KB from navigation if HELPDESK_KB_ENABLED is False (fixes #223) 2014-07-21 18:44:54 +02:00
Stefano Brentegani
fd0ab29dfc use naturaltime for elapsed times (resolves #229) 2014-07-21 10:21:33 +02:00
Stefano Brentegani
c477f575db use django.utils.dates.MONTHS_3 for short month names (resolves #225) 2014-07-21 09:12:27 +02:00
Stefano Brentegani
76b9271c10 fix setting import (fixes CI error) 2014-07-20 16:17:39 +02:00
Issac Kelly
073df0b03e Continuation 2014-07-15 16:04:19 -07:00
Issac Kelly
19c1913268 Allow Templated Subjects. 2014-07-15 15:48:42 -07:00
Issac Kelly
978c0665b8 Custom User model changes. 2014-07-15 14:02:31 -07:00
Ross Poulton
fe1bfd1fa4 Replace django.contrib.markup with django-markdown-deux. Closes #219. 2014-07-07 12:10:53 +10:00
Gabriel Pichot
27217edf4a Changed references from auth.User to get_user_model (views, forms & commands) 2014-06-18 16:21:37 +02:00
Aaron C. de Bruyn
ae53c1f6c7 Strip out carriage returns from subjects. Coses GH-209 2014-06-17 12:01:33 -07:00
Ross Poulton
ea9b772f35 Merge pull request #214 from Inboxen/testing-fixes
Testing fixes
2014-06-06 10:17:18 +10:00
Matt Molyneaux
4caa54f84d Move CustomField to field class code to a mixin 2014-06-05 09:51:19 +01:00
Matt Molyneaux
28c3690da7 Give CustomField.empty_selection_list a default value
BooleanField defaults to False <1.6 and to None >=1.6, causing tests to fail on 1.6
2014-06-05 01:30:27 +01:00
s3h10r
fece448308 fixes: attachments in public comments not shown in public_view_ticket
if no followup.ticketchange_set.all is present the attachments
of followups were not shown to a public user.
2014-05-26 17:28:36 +02:00
Tony Zhu
fced647271 Use json instead of deprecated django.utils.simplejson 2014-03-31 14:43:59 -04:00
Adam Fast
830a62e986 Update with default for HAS_TAG_SUPPORT
Migration 0006 imports this setting but no value is available so an ImportError is thrown.
2014-03-04 14:20:47 -06:00
Ross Poulton
d99df4a43e Merge pull request #206 from gjedeer/patch-1
Protocol-independent CDN links
2014-02-20 08:57:20 +11:00
GDR!
07a3b91b6f Protocol-independent CDN links 2014-02-19 16:17:13 +01:00
GDR!
53640e0b3e Protocol-independent CDN links 2014-02-19 16:16:17 +01:00
Ross Poulton
36c7e59f07 Merge pull request #169 from mpietsch/ticket_caption_sorting
Caption and sorting of tickets in dropdown menus should use ID, e. g. when adding a dependency
2014-01-30 17:52:03 -08:00
Ross Poulton
452a34ad72 Smart email parsing (closes #203): Use email-reply-parser to ignore cruft in incoming emails 2014-01-29 23:08:33 +11:00
Ross Poulton
0e58c99f69 Remove unncessary translate code in base.html; comment translation still functions. 2014-01-29 22:55:06 +11:00
Ross Poulton
fd9881e6e0 Fix display of saved queries for authenticated users when CONTEXT_PROCESORS didn't include request. 2014-01-29 22:48:54 +11:00
Ross Poulton
2b225d6843 settings.py cleanup (#200); remove HELPDESK_KB_ENABLED_STAFF and HELPDESK_NAVIGATION_STATS_ENABLED (now always on); removed HELPDESK_NAVIGATION_CUSTOM_EXTEND - just use custom template! 2014-01-29 22:37:36 +11:00
Ross Poulton
a9c7e3ab72 settings.py cleanup (#200): remove org name / logo. These belong in local templates, not settings. 2014-01-29 22:30:26 +11:00
Ross Poulton
77f0512c76 settings.py cleanup (#200): remove HELPDESK_SUPPORT_PERSON; please add into attribution.html if needed. 2014-01-29 22:27:42 +11:00
Ross Poulton
1066049ccc settings.py cleanup (#200); Remove HELPDESK_SHOW_KB_ON_HOMEPAGE (new default is YES) 2014-01-29 22:26:35 +11:00
Ross Poulton
cd1172b35a settings.py cleanup (#200): Remove HELPDESK_SHOW_DELETE_BUTTON_TICKET_TOP and HELPDESK_SHOW_EDIT_BUTTON_TICKET_TOP; both links now always show. 2014-01-29 22:23:42 +11:00
Ross Poulton
a5b9ae1f0a settings.py cleanup (#200): Change HELPDESK_UPDATE_PUBLIC_DEFAULT to False. This re-shows the 'is public?' tickbox. 2014-01-29 22:19:35 +11:00
Ross Poulton
b85b45a14a settings.py cleanup (#200) - Remove HELPDESK_CUSTOM_WELCOME; always show this reworded message. 2014-01-29 22:17:45 +11:00
Ross Poulton
8427c622aa Remove extraneous HAS_TAG_SUPPORT setting 2014-01-29 22:16:05 +11:00
Ross Poulton
4930579534 settings.py cleanup: remove options for footer links; API link always shows and removed language selector. 2014-01-29 22:15:37 +11:00
Ross Poulton
66da47205e settings.py cleanup (#200) - remove HELPDESK_DASHBOARD_BASIC_TICKET_STATS, always shows now. This resolves #201 to my satisfaction for now. 2014-01-29 22:13:42 +11:00
Ross Poulton
99e9bd33d8 Settings.py cleanup (#200): Remove HELPDESK_DASHBOARD_HIDE_EMPTY_QUEUES 2014-01-29 22:09:58 +11:00
Ross Poulton
07a9093dae settings.py cleanup (#200): Always show Delete button on dashboard 2014-01-29 22:08:21 +11:00
Ross Poulton
d340446feb Remove django-tagging support, as that library is unmaintained. Closes #194. 2014-01-29 22:00:00 +11:00
Ross Poulton
2718315d53 Merge pull request #191 from leonh/master
added a bootstrap3 based layout, thanks @leonh. Updates #180 too. Needs more testing and tweaking (eg 'Edit' forms, add django-bootstrap-form to requirements & readme).
2014-01-22 02:24:59 -08:00
Bryce Groff
020d1cefae - Use the Django 1.5 get_user_model function if it exists in Django, i.e. 1.5 and above. 2014-01-15 13:39:38 -10:00
Leon Harris
e7e2781d65 added local nav extension via a specified template 2013-12-09 16:48:11 +00:00
Leon Harris
f6a8c80755 added bit of colour on the ticket detail page 2013-11-26 12:09:55 +00:00
Leon Harris
a419956f4c fixed responsive problems with navigation moved logo into body of page altered headings 2013-11-26 10:59:45 +00:00
Leon Harris
7fcb829e54 updated templated to use CDN bootstrap3, CDN jquery, added logo to navigation, minor layout changes requires http://github.com/tzangms/django-bootstrap-form 2013-11-25 15:51:14 +00:00
Ross Poulton
cf63c61d82 Merge pull request #190 from tony-zhu/master
Fix the bug of handling attachments when Django DEFAULT_FILE_STORAGE is not default. Should fix #3.
2013-11-19 14:00:29 -08:00
Tony Zhu
b6339cc016 Fix the bug of handling attachments when Django DEFAULT_FILE_STORAGE is not FileSystemStorage 2013-11-19 21:24:52 +00:00
Ross Poulton
95a1bfb6b7 Merge pull request #189 from tony-zhu/master
RSS feed not working for user name with @ in it. Fixes issue
2013-11-14 14:15:16 -08:00
Tony Zhu
51114c8029 RSS feed not working for user name with @ in it. Fixes issue 2013-11-14 20:34:39 +00:00
Stefano Brentegani
eb3becb9a9 fixes = vs == in template 2013-11-07 13:22:04 +01:00
Tony Zhu
7624e77524 Fix the navigation links for NON_STAFF to create new ticket if HELPDESK_ALLOW_NON_STAFF_TICKET_UPDATE is enabled 2013-10-14 14:55:44 -04:00
Ross Poulton
f65247278f Update and recompile all translations. Closes #185. 2013-10-01 11:31:38 +10:00
Ross Poulton
98340b524d Fixes #181. Thanks @AntonOfTheWoods 2013-09-16 11:54:46 +10:00
Ross Poulton
f63b670893 Merge pull request #170 from mpietsch/status_dependencies
Ticket status now shows that there are open dependencies.
2013-05-28 17:03:35 -07:00
Ross Poulton
3e80ded22f Merge pull request #174 from mpietsch/cctemplate2
Now using mail template ..._cc for informing cc addresses.
2013-04-22 17:33:48 -07:00
root
d177291409 Now using mail template ..._cc for informing cc addresses. 2013-04-19 08:54:24 +02:00
xmacaba
78cc734a12 Update public_view_ticket.html
It returns the id of the post, but this value is not eligible for ticket viewing. Instead, you must provide the [queue]-[ticket_id].
2013-04-01 20:06:37 -03:00
Darrell Enns
a4b3185525 fix urls.py for django 1.3 compatibility 2013-03-18 11:58:07 -07:00
Darrell Enns
8f0a80d322 added url tag compatibility fix for django <1.5
added django 1.5 to travis
2013-03-18 11:41:43 -07:00
Darrell Enns
ca1c6a270c compatibility fixes for django 1.5 2013-03-18 10:57:39 -07:00
root
9b593472f7 Ticket status now shows that there are open dependencies. 2013-03-06 11:19:13 +01:00
root
20d5a24eab Caption and sorting of tickets in dropdown menus should use ID, e. g. when adding a dependency. 2013-03-06 10:58:25 +01:00
root
306d8bf4d3 Changed regex for email subjects to use queue slug to tell internal ticket id from external ones. 2013-02-27 16:14:16 +01:00
Ross Poulton
127d57e386 Fix timezone import for Django < 1.4 2013-01-23 12:21:54 +11:00
Ross Poulton
556cf5d302 fix tpyo - importError vs ImportError 2013-01-23 11:55:36 +11:00
Ross Poulton
53273e3794 Fix datetime/timezone handling in Django <1.4; update management commands to be timezone-aware 2013-01-23 11:35:18 +11:00
Ross Poulton
341a40b9ae Make datetime handline offset-aware. Now requires pytz. Fixes #142. 2013-01-23 10:59:12 +11:00
Ross Poulton
13702852e1 Merge branch 'master' of github.com:rossp/django-helpdesk 2013-01-21 17:25:39 +11:00
Ross Poulton
6c440f3ed0 Fix #160 - send e-mails to ticket CC list even if there is no ticket submitter 2013-01-21 17:25:14 +11:00
Ross Poulton
4736ef3c98 Merge pull request #156 from URpages/master
Make sure that blank strings do not kill in_list. Also fixes #107.
2013-01-19 19:54:27 -08:00
Ross Poulton
22b68430df Fix from @kotowicz to fix filename encoding. Closes #162 and #149 2013-01-20 14:45:33 +11:00
Ross Poulton
6b0c9c48e8 Closes #161 - provide script to simplify automation of email polling 2013-01-20 14:40:57 +11:00
Ross Poulton
e3ef1e4f20 Closes #163 - ignore automatic email replies 2013-01-20 14:39:07 +11:00
Ross Poulton
6f38470146 Merge pull request #159 from satyans24/master
fix unicode decode error
2012-10-10 02:29:58 -07:00
satyans24
43658abad9 Update helpdesk/management/commands/get_email.py
ignore when some characters can't be decoded to avoid unicode decode error.
2012-10-09 21:04:20 +05:30
digitalpbk
88fa35cf29 import settings from helpdesk instead of django 2012-10-07 14:20:26 +05:30
digitalpbk
7716eb69a9 assigned_to.usersettings.settings is a dictionary
t.assigned_to.usersettings.settings is a dictionary, so getattr does not work
2012-10-07 14:16:57 +05:30
digitalpbk
6405da36e4 create_ticket POST should accept all users
based on HELPDESK_STAFF_ONLY_TICKET_OWNERS setting, the POST part should accept all users or staff users
2012-10-07 14:14:32 +05:30
Thomas Woolford
637130b2da make sure that blank strings do not kill in_list 2012-09-12 14:15:15 +09:30
Ross Poulton
3785ca4477 Increase size of attachment mime type field. Fixes #155, thanks
@lacrymology.
2012-08-28 18:56:30 +10:00
Ross Poulton
11aeee8ad5 Improve public action tests 2012-08-08 14:32:17 +10:00
Ross Poulton
9ae358e6f8 Allow tests to run if Sites module isn't properly configured. 2012-08-08 14:31:51 +10:00
Ross Poulton
0bd559003b E-mails ignore newlines in ticket description. Closes #40, thanks @fatbox 2012-08-08 00:09:05 +10:00
Ross Poulton
26e0809e5e Add some tests. Finally. First draft: just includes submission & public
action testing - needs plenty more tests added.
2012-08-08 00:04:34 +10:00
Ross Poulton
f45400e26a show time until closed for all tickets and those that were opened in the last 60 days. By @kotowicz in 5252ad9d07 2012-08-07 23:57:34 +10:00
Ross Poulton
80a0198785 fix potential divide by zero error, by @kotowicz in 9f205552e7 2012-08-07 23:54:46 +10:00
Ross Poulton
a4f1ac9b8b new option 'HELPDESK_DASHBOARD_BASIC_TICKET_STATS', shows quick ticket
stats in dashboard links to detailed 'days until ticket is closed by
month' plot.
New chart for 'days until ticket is closed'.
By @kotowicz in 0a8f4ce6d6.
2012-08-07 23:51:52 +10:00
Ross Poulton
92ab42de32 add 'td.report' to css file and use it in report_output.html so that table entries are centered. By @kotowicz in b4fe8bd91f 2012-08-07 23:45:31 +10:00
Ross Poulton
d7c781eae8 Make followup edit & deletion staff-only 2012-08-07 23:43:26 +10:00
Ross Poulton
a21050082a Improve ticket CC handling. By @kotowicz in
4bf79ccf46.
2012-08-07 23:41:43 +10:00
Ross Poulton
2f1b74316f new option 'HELPDESK_SHOW_EDIT_BUTTON_FOLLOW_UP' which allows superusers
to delete individual followups (so you don't have to go to the admin).
(by @kotowicz in a2a5b10b2d)
2012-08-07 23:32:45 +10:00
Ross Poulton
5c2a1df976 Replicate @kotowicz 24754aa9d9 2012-08-07 23:24:31 +10:00
Ross Poulton
dc91771b96 Avoid saving empty ticket updates. Closes #99. 2012-08-07 23:22:39 +10:00
Ross Poulton
eaba930c63 Line up heading & navigation items. Closes #83. 2012-08-07 23:01:40 +10:00
Ross Poulton
23a85efea7 Make it easier to allow multiple file attachments on update. Closes #90. 2012-08-07 22:55:56 +10:00
Ross Poulton
e209793aa2 When unauthenticated users reach update view, forward to login. Addresses issue #78. 2012-08-07 22:50:25 +10:00
Ross Poulton
62093971ab Add incomplete Portugese (Brazil), Spanish (Columbia), Swedish & Norwegian Bokmal (Norway) translations. Update all other translations. 2012-08-07 22:40:59 +10:00
Ross Poulton
313f565006 Make login link go to the users preferred dashboard/ticket list. Fixes #97, thanks @emperorcezar 2012-08-07 20:38:15 +10:00
Ross Poulton
776d88dbd6 RSS feeds not working for users with periods in their name. Fixes issue #30, thanks @tsanecki 2012-08-07 20:32:23 +10:00
Ross Poulton
ba9875af06 Merge branch 'master' of github.com:rossp/django-helpdesk 2012-08-07 20:27:14 +10:00
Ross Poulton
51fdee91ed Unable to accept resolution of unassigned tickets 2012-08-07 20:25:21 +10:00
satyans24
30a577e18b Update helpdesk/views/staff.py 2012-07-23 12:38:26 +05:30
satyans24
c02c2a80d7 fix the search for the cases where user search with email address like : no-reply@tigers-connect.com 2012-07-23 11:59:58 +05:30
Ross Poulton
5640e8490c Updated SQLite check due to changed Django DB definitions. Fixes #143. 2012-06-11 13:40:54 +10:00
Bruno Clermont
7d01203e35 use more flexible way to get the id of the <div>
this let use of more complex widget than a simple <input> in <div> child
2012-06-06 12:54:52 +03:00
Tomas Neme
e7ec916c79 Merge branch 'conditional-tags' 2012-05-14 13:24:54 -03:00
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
Stefano Brentegani
71dcfb6f37 Replacing undocumented ADMIN_URL setting 2012-04-20 00:02: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
Ross Poulton
ad58b4dcbb fixed missing bracket in string. thanks to jezdez for catching this during translation. 2011-02-07 10:23:06 +00:00
Ross Poulton
6527ad0d55 Add author info to English language file 2011-02-07 07:42:37 +00:00
Ross Poulton
6262bec02f Remove un-minimised flot JavaScript 2011-02-07 07:40:18 +00:00
Ross Poulton
f8c175204d Add 'flot' charting library, ready to migrate charts from Google to a locally-hosted javascript implementation 2011-02-07 07:37:25 +00:00
Bruno Clermont
37de73b2a2 Rename categories to kb_categories 2011-02-06 17:51:25 -05:00
Bruno Clermont
000f53ad4c Merge remote branch 'upstream/master' 2011-02-06 17:49:36 -05:00
Andreas Kotowicz
594be07b26 check if queue id is given for new ticket. this is useful if
you want to provide a link for the appropriate queue.
2011-02-06 19:17:55 +01:00
Andreas Kotowicz
2d302ceba6 sort list of users by username in helpdesk/tickets/X/cc/add/ 2011-02-06 18:49:07 +01:00
Andreas Kotowicz
8ed7debbdf quickfix for bug https://github.com/rossp/django-helpdesk/issues#issue/33
we need to figure out why in this particular case, 'request' is a string.
2011-02-06 13:30:04 +01:00
Andreas Kotowicz
b40d4511a3 dropdown menu for saved queries - removes previously used div. 2011-02-05 22:31:12 +01:00
Bruno Clermont
7e84935853 Fix issue when user does not have yet settings 2011-02-03 19:40:15 -05:00
Bruno Clermont
5b47370ec6 Add default value for KBItem vote and positive vote 2011-02-03 17:15:03 -05:00
Andreas Kotowicz
d6602e96d7 keep new lines in html emails 2011-02-03 14:02:14 +01:00
Andreas Kotowicz
2577d3704a introduce status DUPLICATE. This is somethimes useful.
The number of the original bug can written inside the
'comment / resolution' field.
2011-02-03 12:42:51 +01:00
Andreas Kotowicz
a780f51466 sort list of users by username - makes it easier to find the person you
are looking for.
2011-02-03 12:21:01 +01:00
Ross Poulton
99183ce6a5 Merge branch 'kotowicz-master' 2011-02-03 10:19:33 +00:00
Andreas Kotowicz
af3b1f1c75 templatetag for saved queries:
I'm using user_saved_queries_ in base.html so that we can distinguish it
 from 'user_saved_queries' in 'views.staff.ticket_list'
2011-02-03 11:19:46 +01:00
Ross Poulton
f5fc4f2139 Upgraded to jQuery 1.5 and jQuery UI 1.8.9. 2011-02-03 10:10:00 +00:00
Ross Poulton
2b1be97197 Merge branch 'master' of https://github.com/kotowicz/django-helpdesk into kotowicz-master 2011-02-03 09:28:40 +00:00
Ross Poulton
e9667109ab Fix issue with public ticket form when using custom textarea fields. 2011-02-02 20:40:46 +00:00
Andreas Kotowicz
0694fe1e2c first take on bug https://github.com/rossp/django-helpdesk/issues#issue/19:
add div to hold list of queries
 show 'load saved query' in header if 'user_saved_queries' is present
 modified 'dashboard' and 'view_ticket' so that they return 'user_saved_queries'
2011-02-02 13:50:03 +01:00
Ross Poulton
af3bf1889a Ticket display fixes: fix cycling of odd/even rows; float edit/delete to right to allow the ticket name to span across two columns. 2011-02-02 11:54:30 +00:00
Ross Poulton
9f68c8ef99 Custom fields: help_text doesn't need to be mandatory. 2011-02-02 11:37:38 +00:00
Ross Poulton
ebe0382725 Initial shot at custom fields on Ticket model. Manage these fields via Django admin. 2011-02-02 11:22:46 +00:00
Ross Poulton
723b4f1881 Remove further references to Jutda Helpdesk, changing them to django-helpdesk. 2011-02-02 10:25:32 +00:00
Ross Poulton
e322f0644d Continue previous fix and apply carriage returns to end of all text templates 2011-02-02 09:43:42 +00:00
Ross Poulton
4241770c65 Update updated_submitter email in initial_data.json (existing users need to update the DB) to add more carriage returns after the final URL as it was running into the footer and became unclickable. Thanks to kotowicz for the heads-up (Issue #21) 2011-02-02 09:35:54 +00:00
Ross Poulton
adfee38439 Push the description, resolution, and followup text through urlizetrunc to turn urls into hyperlinks. 2011-02-02 08:31:51 +00:00
Ross Poulton
b3c53f1bc8 Addresses issue 20: when creating a new user, the signal that creates a UserSettings entry now creates some default settings. These are driven by settings.py so can be overridden per-install. 2011-02-02 08:15:49 +00:00
Ross Poulton
107ec742b1 Reword footer to refer to django-helpdesk rather than Jutda Helpdesk 2011-02-02 08:10:29 +00:00
Ross Poulton
1aba9e2475 Moved login/logout templates into templates/helpdesk/registration/ rather than templates/registration/, so the helpdesk templates don't overwrite site-specific ones. Thanks to kotiwicz for the patch to issue #13. 2011-02-02 08:05:33 +00:00
Ross Poulton
ef1fdbc399 Fix an issue with decoding of some unicode subjects. THanks to pistolero for reviewing the previous patch and providing a fix. 2011-02-02 08:02:39 +00:00
Ross Poulton
8435a665b1 Fix to issue #16: escalate_tickets fails with an error due to conflicting command-line arguments 2011-02-02 07:49:44 +00:00
Ross Poulton
c3dd8e8be0 Add .gitignore to ignore .pyc files 2011-02-02 07:18:49 +00:00
Ross Poulton
341871d963 Show error message if login fails. Thanks to nakagumahissao for the patch which closes Google Code #151 and Github #10. 2011-01-29 06:27:49 +00:00
Ross Poulton
2d7d3c489d Correct handling of e-mail attachments where the name is encoded in rfc2231. Thanks to Sergey Kirillov for the patch, which closes Google Code issue #154 and Github issue #11. 2011-01-29 06:25:53 +00:00
Ross Poulton
8f15febe23 Fix decoding of plain text emails in non-utf8 encodings such as koi8-r. Thanks to Sergey Kirillov for the patch, which fixes Github issue #9 and Google Code issue #150. 2011-01-29 06:22:18 +00:00
Ross Poulton
b68bd73d07 Fix IE hang when addint multiple files to a ticket. Fixes Google Code issue #133; Github issue #7. Thanks to Google Code user 'dswoods' for the patch. 2011-01-29 06:12:38 +00:00
Ross Poulton
bd89c1c7de i18n: add the "verbose_name" option to ForeignKey fields, enabling them to be translated. Fixes issue #156 on google Code, #12 on GitHub. Thanks to the Google Code contributor for the patch. 2011-01-29 06:10:12 +00:00
Ross Poulton
0d4ceb477a Add 'attachments' folder as expected from the documentation. 2011-01-29 06:06:21 +00:00
Ross Poulton
97886abc76 Add ability for FollowUp records to be edited by staff. Closes Google Code issue #131; Github issue #5. Thanks to Google user 'alecs.box' for the patch. 2011-01-29 06:02:03 +00:00
Ross Poulton
4cb84ed4fb Add Spanish translation. Fixes Google code issue #134 & github issue #4. Thanks to Google user 'rodpin'. 2011-01-29 05:56:21 +00:00
Ross Poulton
46d8e6284e Fix to prevent tickets being escalated too soon. Thanks to Walter Doekes for the patch. (Google Code #148; Github #8) 2011-01-29 05:52:24 +00:00
Ross Poulton
7654de9d28 Change references to Jutda Helpdesk to django-helpdesk as that should
be the real name for this project IMHO.
2011-01-25 23:08:41 +00:00
Ross Poulton
53327eb66a Moved all project files under a "helpdesk" directory. Should make it easier to use setup.py / pypi / whatever in the future. 2011-01-25 23:02:00 +00:00