Commit Graph

162 Commits

Author SHA1 Message Date
9963a3fe5d Fix utf decoding bug in email parsing code
For some reason mozilla thunderbird sometimes marks email parts as 8bit
even though they are utf-8. I guess the best way to work around this is
to add a try-catch block because this really cannot be predicted.
2020-01-23 16:00:01 +01:00
2f8b4acf64 Fix pycodestyle errors 2020-01-20 14:17:23 +01:00
90621f575d Fix ironic ticket creation loop when submitter email == queue email 2020-01-20 13:23:32 +01:00
0b50b14449 Add kb tests 2020-01-20 13:23:31 +01:00
24b8e45f66 Add ability to hide fields in public ticket submission form using kwargs 2020-01-20 13:07:45 +01:00
ef9c4c589a Fix linting errors 2020-01-20 13:03:44 +01:00
b96d725239 Refactor query code into customizable class 2020-01-20 13:03:44 +01:00
8985fc759d Remove hardcoded pk from test suit 2020-01-20 13:03:42 +01:00
860a30486c Comments pass PEP-8 2019-12-17 22:38:03 -05:00
103b762779 Disable broken test_autofill, unclear why it is giving integrity errors when it was working just fine not long ago, is this from a django change? 2019-12-17 22:35:32 -05:00
7dbf1c3b68 Possibly fix test_autofill test case integrity fail 2019-12-17 09:11:37 -05:00
61dd12abd9 Fix tests 2019-10-16 17:36:55 +02:00
182d553356 Fix some renaming issues from most recent merge 2019-10-12 18:58:50 -04:00
7f27eb9428 Merge 0.2.17 release into develop 2019-08-27 21:53:25 -04:00
042e766be1 Add a test that checks that LOGIN_URL can be a view name
This test requires that the admin urls are added to the test
configuration.
2019-08-27 13:04:00 +03:00
0a43b9a160 Add support for custom login handler
The custom login handler can be configured by setting the
settings.LOGIN_URL variable. If LOGIN_URL is None or 'helpdesk:login',
the app uses the default helpdesk login system. LOGIN_URL can be a view
name or raw url.
2019-08-27 13:02:07 +03:00
0de263280f Merged 0.2.16 bugfixes 2019-05-25 01:25:39 -04:00
94eab853af Fix email test, example didn't update the email subject 2019-04-01 22:17:32 -04:00
9ca7f9fb46 Merge remote-tracking branch 'upstream/develop' into develop 2019-04-01 21:29:18 -04:00
6886a7920e Specify encoding of html email bodies explicitly 2019-03-26 13:59:01 +01:00
f3ffebc261 Fix test regression from pr #731
https://github.com/django-helpdesk/django-helpdesk/pull/731/files#diff-dc9aca3bb03b3531dc114813db32f3c7R56
2019-03-25 17:13:10 +01:00
9c85b8e8c1 fix redirect loop 2019-03-20 16:12:19 +01:00
e4d6a54659 fix public homepage with kb_category but without kb disabled 2019-03-15 14:10:43 +01:00
6ce11266af Fix broken test with blank body and attachment 2019-03-10 00:04:41 -05:00
ce82ddb9f9 Merge branch 'develop' into images_for_kb 2019-03-09 23:46:26 +01:00
db0f286989 adding support for images as knowledgebase attachment 2019-03-09 23:41:26 +01:00
27cf481c0b Merge pull request #733 from auto-mat/utf
Add test for #732, unicode characters in description
2019-03-09 14:51:29 -05:00
9127275557 adding support for images as knowledgebase attachment 2019-03-09 18:14:11 +01:00
5e9fed2d46 Add failing test for #732 2019-03-09 00:00:32 +01:00
37be1346cd Merge pull request #729 from auto-mat/quoted-printable
Decode quoted-printable html bodies when getting email
2019-03-06 11:27:10 -05:00
57018e1aa0 adding tests 2019-03-06 15:03:47 +01:00
2c3ce8903f Decode quoted-printable html bodies when getting email
Fixes #719
2019-03-06 14:21:30 +01:00
4fb6c40c4e Merge pull request #717 from OpenGeoLabs/time_tracking
Basic support for tracking time spent on tickets and follow-ups
2019-02-24 15:18:01 -05:00
4bd54e8bf3 adding tests 2019-02-24 20:46:48 +01:00
a7505a1ecd Merge pull request #720 from auto-mat/issue-700-fail
Add failing test case for issue-700 emails without bodies
2019-02-15 17:01:38 -05:00
4e35082475 Add failing test case for issue-700 emails without bodies 2019-02-15 15:11:06 +01:00
8cc0ca47f8 display list of queues only for users with right permissions 2019-02-05 15:44:06 +01:00
43ed3ac773 PEP-8 fixes for mail threading merge 2018-12-28 11:32:49 -05:00
5f0d22a692 Merge brunotikami/master for user and email threading, for #385 and #375 2018-12-28 10:53:28 -05:00
696d10db12 Remove old python2/six code 2018-12-28 03:13:52 -05:00
9a45d28c95 More refactors of get_email.py 2018-10-31 16:30:19 +01:00
3f6ae1aefe Transform UserSettings into a normal django model 2018-10-25 17:54:37 +02:00
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
58cc18d049 Only staff users should be given access to the RSS feeds 2018-09-03 20:29:22 +02:00
13539e3056 Fix tests 2018-08-30 12:03:54 +02:00
c70cf04e4d Fix codestyle errors, use currying instead of lambdas for determing user access 2018-07-19 00:06:57 -04:00
c71355cfdc is_authenticated is a bool now not a function 2018-03-04 04:24:30 -05:00
54a6b1d21b Merge 0.2.7 bugfixes 2018-03-04 04:01:48 -05:00
95ee61fe90 Fix PEP8 errors 2018-02-16 05:04:10 -05:00
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