Commit Graph

1176 Commits

Author SHA1 Message Date
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
e83b64c973 Bump to version 0.2.4 2017-12-18 00:32:33 -05:00
Garret Wassermann
4c184a6aa8 Ignore helpdesk/attachments folder autogenerated by demo, make distclean will remove it too 2017-12-18 00:31:53 -05:00
Garret Wassermann
73ba28cb6c Update demo settings to link to django 1.11 documentation since we require that version 2017-12-18 00:28:03 -05: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
5502333a4c Add warning about changing the email subject template, to address issue brought up in #577 2017-12-17 23:41:53 -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
Garret Wassermann
f173b6a859
Merge pull request #574 from pjsong/master
fix typo of new chinese support in emailtemplate
2017-12-11 13:06:38 -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
Garret Wassermann
980e8b6f7d Update version to 0.2.3 to include zh_Hans translations forgotten from 0.2.2 upload 2017-12-09 22:53:47 -05:00
Garret Wassermann
e635853570 Merge remote-tracking branch 'upstream/master' 2017-12-09 22:50:57 -05:00
Garret Wassermann
686d0f9540 Update demodesk project version to match the django-helpdesk version 2017-12-09 12:12:48 -05:00
Garret Wassermann
17c75b0ace
Merge pull request #573 from pjsong/master
add translation for chinese, zh_Hans is the new locale support code for django
2017-12-09 11:39:22 -05: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
2290be4e1b Use pycodestyle instead of pep8 for testing, to address #570 2017-12-06 01:27:02 -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
43035afc07 Update travis to use latest Django 2017-12-05 02:41:45 -05:00
Garret Wassermann
47c1a7b1c3 Merge branch 'upstream/0.2.x', to merge #566 2017-11-03 01:15:21 -04:00
Garret Wassermann
d1a8f90156
Merge pull request #566 from nicoamaro/patch-1
Update install.rst
2017-11-02 16:14:47 -04:00
nicoamaro
d7fbcf02d9
Update install.rst 2017-11-02 15:55:51 -03: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
1bd88c0f4f Turn on template debug for the demo 2017-10-30 00:56:06 -04:00
Garret Wassermann
ee1cae07a4 Change ticket sorting via form, to fix #562 2017-10-28 10:47:46 -04:00
Garret Wassermann
8ba2614a96 Add documentation for new HELPDESK_ANON_ACCESS_RAISES_404 setting 2017-10-24 01:20:15 -04:00
Garret Wassermann
ac47f3ec4f Reset version, provide docs, for new branch management guidelines 2017-10-24 01:06:51 -04:00
Garret Wassermann
004478f6e4 Merge pull request #558 from msaelices/feat-raise-404-if-anon
Feat raise 404 if anon
2017-10-24 00:58:12 -04:00
Manuel Saelices
36d4b7ec0d Merge branch 'master' into feat-raise-404-if-anon 2017-10-04 03:46:28 +02:00
msaelices
eec7024983 Bump 0.2.0.2 version 2017-10-04 03:44:51 +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
Garret Wassermann
3b80429847 Merge branch '0.2.x' 2017-09-28 01:10:51 -04:00
Garret Wassermann
b48f72ff11 Merge fixes from master 2017-09-28 01:08:54 -04:00
Garret Wassermann
7f482980f9 Merge pull request #554 from zodman/fix_get_email
Fix get email command
2017-09-28 00:59:48 -04: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
Garret Wassermann
6f123d9e31 Merge pull request #553 from zodman/fix_python2
fix make rundemo2
2017-09-26 21:23:23 -04:00