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
e19666b729
Add a check that the email subject template includes the ticket ID to prevent problems, to address issue raised in #577
2017-12-17 23:47:48 -05:00
Garret Wassermann
8972baddda
Remove dead jqplot code from report output, and remove unused jqplot plugin from static/ directory
2017-12-17 23:23:03 -05:00
Garret Wassermann
fca81ac38c
Remove duplicate jquery files, update public_base to point to jquery included in vendor/ directory
2017-12-17 23:16:14 -05:00
Garret Wassermann
2d8d8dcf0c
Remove offending comment in jquery-ui.min.css, as previously reported in #479
2017-12-17 23:09:12 -05:00
Garret Wassermann
230b9d7ed0
Fix broken try-except statement in lib, for #577
2017-12-15 20:35:41 -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
1d63e25855
Improve permissions to view pages, to partially address #326
2017-12-15 17:18:54 -05:00
jeson_peng
6ff5799bef
fix typo in new chinese support in emailtemplate, demo is ready at helpdesk.pengel.cn
2017-12-11 15:53:43 +08:00
jeson_peng
2007fcdc30
add translation for chinese, zh_Hans is the new locale support code for django
2017-12-09 18:52:39 +08:00
Garret Wassermann
a6c1469bfb
Update zh_CN translation, see #571 , thanks pjsong!
2017-12-08 11:53:27 -05:00
Garret Wassermann
47f92eba1e
More PEP8 fixes for get_email
2017-12-06 02:59:50 -05:00
Garret Wassermann
9340e149d5
Wrap IMAP login attempt in a try except, log error if session timeout and exit script gracefully to prevent crashes, to address #568
2017-12-06 02:55:31 -05:00
Garret Wassermann
a2c10edb35
Fix bytes/str confusion in Py3 after address naked except
2017-12-06 02:28:18 -05:00
Garret Wassermann
c085dba901
Trying to actually fix naked except
2017-12-06 02:21:46 -05:00
Garret Wassermann
0b249e1693
Fix error importing django settings due to naked except
2017-12-06 02:11:45 -05:00
Garret Wassermann
bc0125421b
Fix PEP8 errors detected by new pycodestyle script
2017-12-06 02:06:07 -05:00
Garret Wassermann
dffab1bb6a
PEP8 fixes for test_get_email.py
2017-12-05 03:52:38 -05:00
Garret Wassermann
fca6b483f2
Add PGP signed email test case to get_email tests, for #567
2017-12-05 03:47:05 -05:00
Garret Wassermann
32cc5e2496
Patch for handling base64 encoding on Py 2 and 3, to address #567
2017-12-05 02:51:15 -05:00
Garret Wassermann
65c1d05eef
Use BeautifulSoup to get text out of HTML-only emails, to address issue in #565
2017-10-31 03:24:04 -04:00
Garret Wassermann
8f375e1379
Address bytes/str issue with POP3 email in get_email script, to address #565
2017-10-31 01:24:26 -04:00
Garret Wassermann
ee1cae07a4
Change ticket sorting via form, to fix #562
2017-10-28 10:47:46 -04:00
Manuel Saelices
36d4b7ec0d
Merge branch 'master' into feat-raise-404-if-anon
2017-10-04 03:46:28 +02: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
zodman
f06cbce07c
fix the python3
2017-09-27 12:50:51 -05:00
zodman
03a57bdc5f
fix get_email from gmail imap
2017-09-27 12:40:47 -05:00
zodman
540531c916
fix css
2017-09-26 17:06:34 -05:00
Garret Wassermann
96cae9bdd5
Added better logging for case when IMAP folder may not exist when check IMAP messages, to address issue in #536
2017-09-13 01:44:36 -04:00
Garret Wassermann
478095ca7e
Fix missing templatetag load, to address #549
2017-09-13 01:17:05 -04:00
Garret Wassermann
612a743069
Merge remote-tracking branch 'upstream/master'
2017-09-12 20:57:26 -04:00
Garret Wassermann
c69f752f1c
Django 2.0 requires explicit parameters; must go back and change others
2017-09-12 20:57:10 -04:00
Will Stott
b99b55e426
Miscellaneous debug log additions.
2017-09-06 16:22:06 +01:00
Garret Wassermann
40ab600ad6
Merged in better handling of attachments, for #468
2017-08-30 15:18:22 -04:00
Garret Wassermann
1e11e227ff
Update ticket_view for Python 2 and 3, to correct a 500 error in #494
2017-08-30 10:49:56 -04:00
Garret Wassermann
04a3c3ff5a
Update decodestring to decodebytes for Py3 since string name was deprecated in py3.1
2017-08-30 10:48:16 -04:00
Garret Wassermann
043a40682f
Merge pull request #494 from Heteroskedastic/issue#493
...
- issue #493 : internal error 500 on save query
2017-08-30 10:40:46 -04:00
Garret Wassermann
c3eeb15b61
Merge pull request #540 from msaelices/master
...
Fix `AttributeError` while staff user does a mass update in some tickets using the `Close (Send E-mail)` action
2017-08-20 21:46:02 -04:00
Garret Wassermann
02b39adf8e
Merge pull request #542 from msaelices/unicode-ticket-issue
...
Fix `UnicodeEncodeError` when ticket has an special char using python2 and user goes to the admin page.
2017-08-20 21:20:18 -04:00
Garret Wassermann
c781644e34
Merge pull request #518 from gwasser/fix_cc_user_email
...
Fix get_email issue when user does not have an email
2017-08-20 21:13:07 -04:00
msaelices
d264c46385
Fix UnicodeEncodeError
when ticket has an special char using python2 and user goes to the admin page.
2017-08-21 02:15:07 +02:00
msaelices
f931dd4dba
Fix AttributeError
while staff user does a mass update in some tickets using the Close (Send E-mail)
action.
2017-08-21 01:26:45 +02:00
Garret Wassermann
a0fb315c3b
Fix PEP8 errors
2017-07-30 20:33:25 -04:00
Garret Wassermann
f6c323c9ab
Fix binary attachments to outgoing email, and handle case when it is plain text, to address #502
2017-07-17 05:04:25 -04:00
Garret Wassermann
4e81d64390
Put es in list of common translation languages for settings
2017-07-17 03:56:22 -04:00
Garret Wassermann
c8ee3815ec
Fix num_to_link error, was leaving off a letter of text if next to the ID, to address #511
2017-07-16 19:58:11 -04:00
Garret Wassermann
9fd170f707
Add test for num_to_link function
2017-07-16 19:53:05 -04:00
Garret Wassermann
a42a5b8aeb
Add missing num_to_link in ticket description, to address #513
2017-07-16 19:38:30 -04:00
Garret Wassermann
8a49babfe5
Add documentation for new QUEUE_EMAIL_BOX_UPDATE_ONLY setting, to address #530
2017-07-16 19:30:59 -04:00
Garret Wassermann
9f9cdeec6c
Show ticket ID in title of page so easier to use with many tabs open, to address #525
2017-07-16 19:24:16 -04:00