Martin Whitehouse
93bb43bf1d
Remove mock
...
Can't import model until the test body
2022-06-20 16:58:43 +02:00
Martin Whitehouse
2910664950
Fix path for tests
2022-06-20 16:34:32 +02:00
Garret Wassermann
b8511dd70b
Fix conflicts for Django 4 support
2022-04-23 02:23:51 -04:00
Garret Wassermann
3ed6c68046
Update to 0.3.4 bugfix release
2022-04-23 02:06:35 -04:00
Garret Wassermann
5e8f5fed62
Fixing some unit tests
2022-04-22 14:52:51 -04:00
Benbb96
9320df0268
Fix a bug I introduced in earlier commit + fix one test
2022-04-14 23:30:42 +02:00
Benbb96
7e5ff05b02
Update documentation
2022-04-11 00:23:22 +02:00
Benbb96
31acfb11dd
Add tests for the API
2022-04-11 00:16:54 +02:00
Nick McCullum
358080926c
Added Django 4 support.
2022-03-16 22:29:09 -04:00
Garret Wassermann
7bcee909ef
give duplicate test a slightly more descriptive unique name
2022-02-22 01:13:24 -05:00
code-review-doctor
3206fd61c9
Fix issue duplicate-test-names found at https://codereview.doctor
2022-02-21 09:48:57 +00:00
Timothy Hobbs
b708b786d4
Add failing test for hidden field query args
2021-08-19 22:00:06 +02:00
Timothy Hobbs
f4b7e899fa
Change query arg delimiter from ; to &
2021-08-19 22:00:01 +02:00
Arkadiy Korotaev
86c4ceb1a8
fix(emails): Avoid 'value too long for type character varying(200) ' error when incoming message has too long subject
2021-07-29 13:14:42 +02:00
Arkadiy Korotaev
2b4c82fd1b
fix(email): Add ability to attach full first email text to avoid losing forwards, and to save .eml files for any incoming mesages, plus fix tests and some minor bugs
2021-04-19 21:15:24 +02:00
Tom Weber
d06626c0d6
Bug Fix test for string check
2021-02-10 18:09:46 -07:00
Arkadiy Korotaev
d2a7bad576
ifix(email): Create the log file only if required
...
+ update some translations
+ update some tests to correctly mock unlink as well
+ fix flake8 errors and sort the imports in email module
+ update some log messages to pass base message + parameters instead of rendered string (works better with Sentry)
2020-11-25 10:31:40 +01:00
Arkadiy Korotaev
4955d983a2
fix(tests): Run tests without the socks components and document their usage
2020-11-24 11:21:51 +01:00
bbe
177ba8f963
Add test for the add_email_to_ticketcc_if_not_in ticket function
2020-10-31 17:54:29 +01:00
bbe
1b8a11f74b
Create test for the merge view
2020-10-30 23:17:40 +01:00
Tom Weber
14b53bb498
Updated references to functions being tested and corrected test named test_get_email_quiet_option
2020-10-13 18:30:01 -06:00
Garret Wassermann
2f788f2597
Merge 0.2.22 bugfix release updates, update copyright year in license, specify python 3.6 or above in setup
2020-07-30 04:46:15 -04:00
Garret Wassermann
7eae003e5d
Use python getadddresses() function to better handle UTF-8, to address #832
2020-07-27 20:43:05 -04:00
Garret Wassermann
5ad0743722
Merge in 0.2.21 bugfix
2020-04-15 07:38:52 -04:00
Andrew Denisenko
2f4d91c22d
Fill followup user field if authenticated user submits ticket
2020-03-03 23:39:02 +02:00
Timothy Hobbs
3d7860b5a3
pycodestyle fixes
2020-02-11 16:47:33 +01:00
Timothy Hobbs
bb9d886eea
Fix query by uncatigorized
2020-02-11 16:44:18 +01:00
Timothy Hobbs
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
Timothy Hobbs
2f8b4acf64
Fix pycodestyle errors
2020-01-20 14:17:23 +01:00
Timothy Hobbs
90621f575d
Fix ironic ticket creation loop when submitter email == queue email
2020-01-20 13:23:32 +01:00
Timothy Hobbs
0b50b14449
Add kb tests
2020-01-20 13:23:31 +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
ef9c4c589a
Fix linting errors
2020-01-20 13:03:44 +01:00
Timothy Hobbs
b96d725239
Refactor query code into customizable class
2020-01-20 13:03:44 +01:00
Timothy Hobbs
8985fc759d
Remove hardcoded pk from test suit
2020-01-20 13:03:42 +01:00
Garret Wassermann
860a30486c
Comments pass PEP-8
2019-12-17 22:38:03 -05:00
Garret Wassermann
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
Garret Wassermann
7dbf1c3b68
Possibly fix test_autofill test case integrity fail
2019-12-17 09:11:37 -05:00
Timothy Hobbs
61dd12abd9
Fix tests
2019-10-16 17:36:55 +02:00
Garret Wassermann
182d553356
Fix some renaming issues from most recent merge
2019-10-12 18:58:50 -04:00
Garret Wassermann
7f27eb9428
Merge 0.2.17 release into develop
2019-08-27 21:53:25 -04:00
Janne Alatalo
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
Janne Alatalo
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
Garret Wassermann
0de263280f
Merged 0.2.16 bugfixes
2019-05-25 01:25:39 -04:00
Garret Wassermann
94eab853af
Fix email test, example didn't update the email subject
2019-04-01 22:17:32 -04:00
Garret Wassermann
9ca7f9fb46
Merge remote-tracking branch 'upstream/develop' into develop
2019-04-01 21:29:18 -04:00
Timothy Hobbs
6886a7920e
Specify encoding of html email bodies explicitly
2019-03-26 13:59:01 +01:00
Timothy Hobbs
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
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