Commit Graph

20 Commits

Author SHA1 Message Date
Bruce
6f72db6760 Force URTF-8 Encoding on File Open 2023-03-27 21:36:24 +10:00
Martin Whitehouse
25542f929e
Initial isort configuration
Will fail build if imports are not sorted correctly
2022-07-22 03:26:41 +02:00
Martin Whitehouse
aa876f8016
pycodestyle formatting 2022-07-12 12:34:19 +02:00
Martin Whitehouse
6d1d5d82b3
Skip failing tests
Object not available for patching
2022-06-20 18:20:01 +02:00
Martin Whitehouse
8118fd83b7
Fix autofill utf-8 test 2022-06-20 18:03:39 +02:00
Martin Whitehouse
dd7ef6f0ed
Fix autofill test 2022-06-20 17:50:49 +02:00
Martin Whitehouse
93bb43bf1d
Remove mock
Can't import model until the test body
2022-06-20 16:58:43 +02:00
Garret Wassermann
b8511dd70b Fix conflicts for Django 4 support 2022-04-23 02:23:51 -04:00
Benbb96
9320df0268 Fix a bug I introduced in earlier commit + fix one test 2022-04-14 23:30:42 +02:00
Nick McCullum
358080926c Added Django 4 support. 2022-03-16 22:29:09 -04: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
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
Garret Wassermann
182d553356 Fix some renaming issues from most recent merge 2019-10-12 18:58:50 -04:00
Jachym Cepicky
db0f286989 adding support for images as knowledgebase attachment 2019-03-09 23:41:26 +01:00
Garret Wassermann
696d10db12 Remove old python2/six code 2018-12-28 03:13:52 -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
Jonathan Barratt
5acd891c68
refactor all handling of attached files
Extract attachment processing from forms, views.staff, and management.command.get_email modules, and consolidate it into a unified lib module function.
Also refactor the affected components, most notably lib.send_templated_email, to make it easier (IMO) to reason about changes to them.
Add unit tests for attachments with UTF-8 filenames, and functional tests for submission of same, as well as ASCII versions, through the public ticket-form.
Remove unused Attachment method "get_upload_to".
2016-12-08 19:47:20 +07:00