Timothy Hobbs
07a42e07f8
Made iframe ticket submit view CSRF exempt. Hopefully this is secure!
2020-01-20 13:23:31 +01:00
Timothy Hobbs
4c1fda5991
Fix iframe views so they actually can be displayed
2020-01-20 13:23:31 +01:00
Timothy Hobbs
6579ac0e6f
Associate tickets with KB items
2020-01-20 13:23:31 +01:00
Timothy Hobbs
7fe6444f8f
Redo KB categories as accordion view
2020-01-20 13:23:17 +01:00
Timothy Hobbs
5f29bb632e
Associate queues with KB categories
2020-01-20 13:22:45 +01:00
Timothy Hobbs
606098d947
Fix field hiding and setting code for ticket submition qargs
2020-01-20 13:22:45 +01:00
Timothy Hobbs
fbae218281
Add ability to autoset custom fields in public ticket form
2020-01-20 13:22:45 +01:00
Timothy Hobbs
aadfe08504
Add iframe supporting view for submitting tickets
2020-01-20 13:07:46 +01:00
Timothy Hobbs
24b8e45f66
Add ability to hide fields in public ticket submission form using kwargs
2020-01-20 13:07:45 +01:00
Timothy Hobbs
3b5a7fe49a
Django <2 is no longer supported
2020-01-20 13:03:44 +01:00
Jachym Cepicky
2e58798fe1
fixes #758 : enables adding comments to public tickets
2019-05-23 09:55:08 +02:00
Timothy Hobbs
1c24d88680
Enable better ticket form pre-filling
2018-12-27 16:39:31 +01:00
Timothy Hobbs
3f6ae1aefe
Transform UserSettings into a normal django model
2018-10-25 17:54:37 +02:00
Timothy Hobbs
b4aafb0b54
Fix knowledge base categories display on public homepage
2018-09-12 15:29:36 +02:00
Timothy Hobbs
c1750a7461
Require a secret key for viewing tickets unless HELPDESK_VIEW_A_TICKET_PUBLIC is set
...
Fixes #629 , #639
2018-09-08 21:29:59 +02:00
Timothy Hobbs
ffc97338c9
Submit ticket link should work for non-logged in users
2018-09-07 19:10:57 +02:00
Garret Wassermann
54a6b1d21b
Merge 0.2.7 bugfixes
2018-03-04 04:01:48 -05:00
Garret Wassermann
3c456873a5
Fixes for Python 3 and Django 2.0
2018-03-04 01:52:58 -05:00
Garret Wassermann
2852e7ba28
Merge pull request #586 from aesdev/master
...
Fix for Email Issue while pulling CC and ValueError for public homepage
2018-01-12 13:55:01 -05:00
Dilip Dwarak
cf85c3d9ab
Fixe for Email Issue while pulling CC and ValueError for public homepage
2018-01-11 14:49:21 -05:00
Garret Wassermann
ed0596e430
Merge branch 'master' into feature-public-ticket-defaults
2018-01-10 13:18:29 -05:00
Arne Brutschy
f3e52a2f12
Adds pre-defined values for public tickets
...
This commit adds three new settings that allow the operator to
pre-define the `queue`, `priority` and `due_date` fields for public
tickets. If one of these settings are present the corresponding input
field is hidden from the form.
The settings are the following:
HELPDESK_PUBLIC_TICKET_QUEUE = 'website'
HELPDESK_PUBLIC_TICKET_PRIORITY = 2
HELPDESK_PUBLIC_TICKET_DUE_DATE = ''
If the due date is set to the empty string, no due date is saved in the
ticket (analogously to the form). The other settings should be
self-explanatory.
2018-01-09 14:53:05 +01:00
Garret Wassermann
3ccd6c8dc8
Merge 0.2.6 Django 2.0 updates
2017-12-28 09:16:01 -05:00
Garret Wassermann
d18ce1f1d5
Bump version to 0.2.6 to fix remaining Django 2.0 warnings
2017-12-28 09:11:34 -05:00
Garret Wassermann
523329eab5
Merge 0.2.5 bugfixes and Django 2.0 changes
2017-12-28 07:43:10 -05:00
Garret Wassermann
5112f0dfd0
Address deprecation warnings to be compatible with Django 2.0
2017-12-28 07:23:51 -05:00
Garret Wassermann
142c291afb
Merge 0.2.4 bugfixes
2017-12-18 00:45:36 -05:00
Garret Wassermann
03599f462b
Catch exception when someone enters a non-integer text into the public ticket view form, #576
2017-12-15 20:28:39 -05:00
Garret Wassermann
3a1bd76e75
Merge custom staff filter, PR #239
2017-10-30 03:17:40 -04:00
msaelices
7b022fa1e0
If HELPDESK_ANON_ACCESS_RAISES_404 is True, it raises a 404 to anon users. It's like the helpdesk was invisible
2017-10-04 03:43:32 +02:00
Will Stott
fb0782294e
Don't show error on initial get.
2017-04-13 11:36:38 +01:00
Will Stott
b7a97183cb
Never return None from views.public.create_ticket
...
Would create a 500 when user omitted their email. Only a partial improve. Added a TODO: as this view still breaks if passing non-numeric characters to the ID.
I assume this needs a full overhaul really.
2017-04-13 11:30:29 +01:00
Alex Seeholzer
4e018db5a6
Added unique related_name “usersetttings_helpdesk” for the one-to-one relation to User in UserSettings.
2017-01-13 15:22:41 +01:00
Jonathan Barratt
e82e5fcd5f
urlquote email address when used as get query param
2016-12-11 06:20:03 +07:00
Alex Barcelo
89a6ae01b8
Fixing style (according to branch 'autocodestyle') + quicktest
2016-10-24 08:04:31 +02:00
Alex Barcelo
3c35473265
fixing views.py (except deprecated api)
2016-10-23 22:02:02 +02:00
Alex Barcelo
24d88be8d9
Initial general clean-up of stuff
2016-10-21 17:14:12 +02:00
Alex Barcelo
afd6ebad74
Merge current 'master' state into urls_app_name
2016-10-19 15:26:04 +02:00
Daryl
afbfd01fab
Fix Issue #404 : Refactor converting query string into queue:id
2016-06-26 12:45:55 +12:00
Daryl
e5a6686c6d
Ticket #403 - This code changes the behaviour of lookups for tickets and
...
ignores the queue name. This means that queue changes on a ticket dont
break the email links which have already been sent out.
The queue name still exists in the link/url, but is not used in the
lookup
2016-06-24 13:46:37 +12:00
Daryl
8a7fe5fcbf
Changed the way the context is passed to render() - this was required
...
to enable django 1.7 to work (otherwise 1.8, 1.9 pass all tests, but 1.7 fails)
2016-06-21 20:56:43 +12:00
Daryl
558f140bfb
Changed render_to_response() to render() - this should work for django1.9.4 plus django1.10
...
Without this change, django1.10 is missing the 'user' object from the context, which results in
a very hard to track down bug manifesting in ;
"NoReverseMatch: Reverse for 'helpdesk_rss_user' with arguments '('',)' and keyword arguments '{}' not found."
At first glance users may think this is the dots-in-usernames bug, but the username is totally missing.
2016-06-21 17:18:06 +12:00
Darren Riedlinger
ac8ead52c8
getattr on usersettings.setting dict always returns False. Use settings.get() instead
2016-03-06 12:46:36 -08:00
Alex Barcelo
3a0f08046e
using helpdesk
app_name and droping helpdesk_
prefix
2015-12-22 10:27:03 +01:00
Ross Poulton
70c57f9096
Merge
2015-04-28 09:13:54 +10:00
Stefano Brentegani
9c33c67d1d
ticket view redirect to management form should consider generic is_helpdesk_staff definition
2014-08-01 09:28:04 +02:00
Stefano Brentegani
82df965d5f
replace HELPDESK_ALLOW_NON_STAFF_TICKET_UPDATE in homepage view and test behaviour
2014-07-29 22:03:47 +02:00
Ross Poulton
341a40b9ae
Make datetime handline offset-aware. Now requires pytz. Fixes #142 .
2013-01-23 10:59:12 +11: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
Andreas Kotowicz
eaf78115d2
send user back to the same page before changing the display language.
2011-11-27 09:43:51 +01:00