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
Martin Whitehouse
f18531acb0
Fix url check
2022-06-20 17:35:40 +02:00
Martin Whitehouse
db358ceeaf
Set due date as member and use throughout
2022-06-20 17:35:28 +02:00
Martin Whitehouse
437d5b81c4
Fix failing tests
2022-06-20 17:26:52 +02:00
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