Commit Graph

242 Commits

Author SHA1 Message Date
Timothy Hobbs
7aa7f0eca2 Fix custom field sending in new ticket webhook 2023-12-27 19:39:12 +00:00
Timothy Hobbs
27f295098c Improve webhook env var handling & docs 2023-12-04 23:37:31 +00:00
Timothy Hobbs
e708281dcd Implement webhooks. Fixes #264 2023-12-02 20:57:21 +00:00
Timothy Hobbs
9526ca9820 Do the full update ticket flow when followups are posted from the API 2023-11-30 11:40:11 +01:00
Timothy Hobbs
8f71bdac7a Add tests for user_tickets api endpoint 2023-11-26 12:58:53 +00:00
Christopher Broderick
6cba903827 Merge remote-tracking branch 'origin/main' into fix_unassigned_kbitems_not_visible_when_teams_not_active 2023-11-15 01:06:07 +00:00
Christopher Broderick
9c234494c4 Additional email unit test for alternate multipart without related
multipart.
2023-11-15 00:40:43 +00:00
Timothy Hobbs
6cd5522099 Move to ruff, its faster & catches more 2023-11-14 20:37:05 +01:00
Christopher Broderick
2c197fb2bf Fix ordering of imports 2023-10-26 21:54:15 +01:00
Christopher Broderick
8a2ee78661 Add unit tests for get_mail task. 2023-10-26 21:32:32 +01:00
Christopher Broderick
276af1c03c Fix inline with multipart message attachment test 2023-10-10 13:47:18 +01:00
Christopher Broderick
7e7a38cc3c Fix to avoid using "hidden" variable as kwarg. 2023-10-10 13:42:40 +01:00
Christopher Broderick
49813051bc Change method name to match refactored email.py 2023-07-23 06:44:05 +01:00
Christopher Broderick
0b9bfbcddd Enhance tests for multiple parts in emails. 2023-07-23 06:43:08 +01:00
Christopher Broderick
f7381d5b62 Fix some bugs and enhance some methods to support unit tests. 2023-07-23 06:13:24 +01:00
Christopher Broderick
fad11d53bb Make query test less flaky 2023-07-18 01:35:13 +01:00
Christopher Broderick
07f6d5f6c8 Make test less dependent on template changes 2023-07-18 01:01:10 +01:00
Christopher Broderick
7b72a2cad2 Allow identifying what exactly is not asserted. 2023-07-17 23:33:56 +01:00
Benbb96
770cdc77b8
Add more tests 2023-05-01 22:54:41 +02:00
Benbb96
3bb1c88210
Fix isort 2023-05-01 00:25:33 +02:00
Benbb96
2768c98fb9
Starting to implement some tests 2023-05-01 00:20:09 +02:00
bruce.gibbins
c23c8e5be6 Add user defined IMAP Debug Level and improved exception message 2023-04-19 20:07:43 +10:00
bruce.gibbins
a8fbeaa140 Fix OAuth tests 2023-04-19 15:22:35 +10:00
bruce.gibbins
012cc7041a Fix OAuth tests 2023-04-19 15:12:13 +10:00
Christopher Broderick
1bc1764c3f
Merge branch 'main' into pypi_release 2023-03-27 18:17:40 +01:00
Bruce
6f72db6760 Force URTF-8 Encoding on File Open 2023-03-27 21:36:24 +10:00
Christopher Broderick
b716e046b2
Merge branch 'main' into pypi_release 2023-03-26 00:56:00 +00:00
Christopher Broderick
2c8c187e36 Remove six package and dependent code 2023-03-26 00:20:47 +00:00
Christopher Broderick
6c968626b6 Fix format failure 2023-03-25 13:28:13 +00:00
Christopher Broderick
85aeb8e79e Allow specifiying the content for a multipart 2023-03-25 13:06:40 +00:00
Christopher Broderick
ae2f24b299 Add test to verify that attachments as multipart are stored. 2023-03-25 13:04:38 +00:00
Benbb96
64788938b4 Catch exception on an attachment individually in order to allow valid extension to be processed. 2022-10-10 21:57:56 +02:00
Benbb96
b3edba3fc5 Fix #1054 2022-10-09 23:05:16 +02:00
chrisbroderick
9e3a3abcf1 Fix import sorting 2022-09-08 23:40:49 +01:00
chrisbroderick
eca2255f56 Test for filename using diaretics 2022-09-08 10:05:09 +01:00
chrisbroderick
357241e269 Refactor to make the methods more generic and able to be used to build
any kind of email
2022-09-07 08:48:32 +01:00
chrisbroderick
572ffd5acf Handle ignored emails explicitly using exceptions.
Support the flag on IgnoreEmail model to control deleting the email if
ignored.
2022-09-06 19:40:35 +01:00
chrisbroderick
4e001c7f15 test utility methods to simplify more complex tests 2022-09-02 22:11:19 +01:00
Alex
3a13bbfeef Fix. Add test markdown and rewrite for last markdown is working 2022-08-08 20:20:00 +07:00
Alex
cf5be66fae Fix. Fix problem wich version package in requirements and add test markdown and rewrite for new markdown 2022-08-06 18:34:16 +07:00
Alex
a28569a984 Fix. Fix problem wich version package in requirements and add test markdown 2022-07-27 19:58:39 +07:00
Martin Whitehouse
44f068d1b8
re-apply formatting 2022-07-22 03:30:35 +02: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
844c317e19 Formatting fixes 2022-07-14 09:19:11 +02:00
Benbb96
e47170858e Create two new tests for ticket followups and followup attachments + adapt one test (needed to use freezegun) 2022-06-30 23:43:22 +02:00
Martin Whitehouse
6d1d5d82b3
Skip failing tests
Object not available for patching
2022-06-20 18:20:01 +02:00
Martin Whitehouse
2c1466e01e
Disable failing checks
Iterating over a cc_list and comparing to the outbox list will not work.

Need to re-work to ensure indexes match up
2022-06-20 18:19:44 +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
670ae9d0a5
Fix password assignments 2022-06-20 17:36:32 +02:00