Commit Graph

791 Commits

Author SHA1 Message Date
Will Stott
45854e44a7
Search custom field values. 2019-07-31 14:04:31 +01:00
Garret Wassermann
e1e05999eb #767, fix a misspelled urL in emailtemplate.json 2019-07-25 12:43:29 -04:00
Garret Wassermann
ae26216435 PEP-8 fixes for get_email 2019-05-25 01:04:05 -04:00
Garret Wassermann
ce018d2ce5 Copy emails to CC list when processing with get_email, for #744 2019-05-25 01:01:02 -04:00
Cedric Carrard
9c85b8e8c1 fix redirect loop 2019-03-20 16:12:19 +01:00
Cedric Carrard
e4d6a54659 fix public homepage with kb_category but without kb disabled 2019-03-15 14:10:43 +01:00
Garret Wassermann
c314d515c1 Fix PEP8 in url.py changes 2019-03-09 18:42:10 -05:00
Garret Wassermann
d42fc23e08 Fix password change URLs and add basic templates, to address #734 2019-03-09 18:38:24 -05:00
Jachym Cepicky
ffef07eef9
Resize too big images
Some too big images, if they are animated GIF's and overflow the page size, are not animated any more.

We use animated GIFs for the demonstration how to do things in the knowledge base. This fix makes the GIFs move, even if they are big.
2019-03-07 11:23:37 +01:00
Jachym Cepicky
d5aaea022a czech translation 2019-02-06 22:07:12 +01:00
Jachym Cepicky
d02c8c818b czech e-mail templates added 2019-02-06 11:58:32 +01:00
Garret Wassermann
e9137cce73
Merge pull request #711 from OpenGeoLabs/fix_date_picker
set date picker format to yy-mm-dd
2019-02-04 11:18:50 -05:00
Jachym Cepicky
d4dc1c9abe fix date picker format 2019-02-04 17:00:16 +01:00
Jay Turner
72d35232a1
Fix key errors
KeyError: 'verboseescalation' comes up if the key isn't defined.
2019-02-03 18:03:27 +00:00
Jay Turner
d3c4d14a40
AttributeError: 'Command' object has no attribute 'option_list'
There is a bug in the command in which option_list doesn't exist and thus, cannot be added to.
2019-02-03 17:59:17 +00:00
Wojciech Szymała
88a3b0502a Adding Polish translation for notification templates sending by email 2019-01-17 09:25:12 +01:00
Garret Wassermann
f0ca645261 Update Polish (pl) translation 2018-12-31 03:55:44 -05:00
Adrian Boyko
4526d7c537
Fixed login/logout for Django 2.1.
In django.contrib.auth.views, the login and logout funcs are removed as of Django 2.1.  Helpdesk's urls.py needs to be updated to use the LoginView and LogoutView classes instead, which were introduced in Django 1.11.
2018-08-19 18:59:08 -07:00
Garret Wassermann
fbddbd6f6e Fix date format validation error reported with 0.2.8 release 2018-07-13 01:10:25 -04:00
Garret Wassermann
9cb32f83ca Minor PEP8 changes 2018-07-03 00:32:23 -04:00
Garret Wassermann
d1e57d70b0 Use jQuery datepicker widget when editing a ticket, for comment part of #616 2018-07-03 00:24:20 -04:00
Garret Wassermann
4d78bc85ca Update due date correct when adding followup to ticket, for #616 2018-07-03 00:20:51 -04:00
Garret Wassermann
d0cf8426d0 Add Due Date column to ticket list and in description table for individual ticket page 2018-07-02 22:07:59 -04:00
Garret Wassermann
b40e9dd5ea Fix bug while importing django version for #613 2018-06-27 02:37:35 -04:00
Garret Wassermann
15985e286f Fix saved queries when running in Django 2.0+, for #613 2018-06-27 02:27:24 -04:00
Garret Wassermann
08fc9b5aac Check format of DEFAULT_FROM_EMAIL before creating messages, to address #608 2018-06-27 02:10:20 -04:00
Garret Wassermann
c3bf39a3b9 Fix bad URL when canceling query deletion, to address #615 2018-05-10 02:14:59 -04:00
Garret Wassermann
2cf1a32a10 Fix deprecated escape sequence warning for Py3.7, ignore W503,504 2018-05-10 01:42:09 -04:00
Garret Wassermann
a361e76999 Update akismet code for python 3, to address #607 2018-04-20 03:27:26 -04:00
Garret Wassermann
ff95fa5d6a
Merge pull request #603 from andreyyudin/master
Replacement of hard-coded SQL query for issue #601
2018-03-29 22:00:23 -04:00
Patrick Mithamo
d372e337c6 Fix imaplib 'IMAP' module reference to 'IMAP4'
On IMAP login error: 'imaplib' has no 'IMAP' member; maybe 'IMAP4'
2018-03-29 01:51:24 +03:00
Andrii Iudin
764c55e60e Removed unused dash_tickets variable and its calculation, modified the
case where it is used to rely on model query APIs rather than on raw
queries that use the default database and are not forwarded by routers.
2018-03-26 13:46:07 +01:00
Garret Wassermann
fef08082de Fix PEP8 errors in get_email 2018-03-04 02:14:39 -05:00
Garret Wassermann
3c456873a5 Fixes for Python 3 and Django 2.0 2018-03-04 01:52:58 -05:00
Garret Wassermann
283f5e9cec More bugs processing mail under python 3, on behalf of @spamandeggs for #590 2018-03-03 19:32:47 -05:00
Garret Wassermann
ed5f86c583 Suppress empty whitespace from edit buttons in ticket follow-up list, patch for #596 2018-02-27 20:21:03 -05:00
Garret Wassermann
7982774ee1 Apply hotfix for get_email fails, #590 2018-02-27 20:18:51 -05:00
vzagorovskiy
40af08ee84
Attribute color is not allowed here 2018-02-24 10:33:14 +03:00
Sourav Basu
2f0f30faa6 Renaming migration 2018-02-20 16:34:33 +05:30
Sourav Basu
c1ead6dc75 Adding missing migrations 2018-02-20 16:29:08 +05:30
Garret Wassermann
95ee61fe90 Fix PEP8 errors 2018-02-16 05:04:10 -05:00
Garret Wassermann
113880bc3a Compare user IDs to determine if same user, and add simple test case, to fix #588 2018-02-16 05:00:22 -05:00
Garret Wassermann
55b55edb90 Fix bug in get_email where HTML tags sometimes included in text, reported in #565 2018-02-13 22:25:50 -05:00
Garret Wassermann
45115ba5c7 Actually fix #582 according to quickcheck unittests 2018-02-07 03:01:27 -05:00
Garret Wassermann
73698e8873 More testing 2018-02-07 02:53:40 -05:00
Garret Wassermann
31887504fd seperate out text for better logging of error 2018-02-07 02:46:13 -05:00
Garret Wassermann
0bddf819f7 merge upstream 2018-02-07 02:16:41 -05:00
Garret Wassermann
a10c662207 Patch for #582, POP3 processing error on py3 2018-02-07 02:14:28 -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
bad1ece1c5 Remove offending CSS comment again to address #479 2017-12-29 01:03:16 -05:00
Garret Wassermann
aa63e8f299 Really fix py 2 imp/importlib 2017-12-28 09:26:14 -05:00
Garret Wassermann
4b78704180 Fix error on python 2 2017-12-28 09:22:57 -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
5112f0dfd0 Address deprecation warnings to be compatible with Django 2.0 2017-12-28 07:23:51 -05:00
Garret Wassermann
0d2df19835 Fix collectstatic errors, as reported in #479 2017-12-28 06:04:05 -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
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