Commit Graph

1420 Commits

Author SHA1 Message Date
Timothy Hobbs
405efcc33b Delete emails immediately to prevent duplicate ticket problems
Right now if there is an exception in this loop due to a single messed up
email (perhapse an invalid email address), the loop will fail without deleting
the already processed emails. In a few hours you can end up with hundreds of
duplicate tickets. This way, the already processed emails will be deleted and
not processed again.
2023-10-14 18:48:02 +02:00
Christopher Broderick
27bb8f3fc5
Merge branch 'main' into Fix_File_Permission_777 2023-10-13 10:38:30 +01:00
Christopher Broderick
41b4263f1f
Merge branch 'main' into HELPDESK_USE_HTTPS_IN_EMAIL_LINK-default-value 2023-10-13 10:12:28 +01:00
fazledyn-or
11327e7469 Added the default permission in settings.py 2023-10-11 11:50:56 +06:00
Christopher Broderick
e90739a07a Fix formatting issues 2023-10-10 14:08:57 +01:00
Christopher Broderick
104a849d9f Fix flake8 issues 2023-10-10 14:08:47 +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
8006826ddf Process email content first then focus on attachments.
Use the EmailMessage class for enhanced processing.
2023-10-10 13:41:28 +01:00
fazledyn-or
90bcac954f Fixed file permission(s) in models.py/attachment_path 2023-10-06 17:33:18 +06:00
Benbb96
8a6525e47c
Use SECURE_SSL_REDIRECT as a default value for HELPDESK_USE_HTTPS_IN_EMAIL_LINK setting 2023-09-03 01:07:43 +02: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
9bbe1945b0 Fix format errors 2023-07-23 06:31:29 +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
2e5697c11a Completely rework the email parsing.
Fixes a number of hacks that have accumulated and makes it is more
easily understood and easier to enhance in the future.
2023-07-23 06:12:32 +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
Christopher Broderick
707cc6761b Implement a recursive multipart parser to cater for attachments that
have embedded attachments.
2023-07-16 14:55:18 +01:00
Benbb96
482772d3c6
Update French translations 2023-05-01 23:46:20 +02: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
Benbb96
3b55f37fb5
Fix isort issues 2023-04-30 04:13:50 +02:00
Benbb96
3235333873
Drag & drop on ticket checklist tasks edition page + Use an empty form in order to better generate new task row dynamically 2023-04-30 03:56:42 +02:00
Benbb96
ff61f85d59
Rename template_task_form_row.html 2023-04-30 03:24:12 +02:00
Benbb96
ef88a2ee8a
Better workflow for creating new ticket checklist, into a modal 2023-04-30 03:11:27 +02:00
Benbb96
11b2b36dd2
Allow updating task state when writing a ticket follow-up 2023-04-30 02:18:16 +02:00
Benbb96
308f69a03b
CRUD Checklist Template 2023-04-30 01:15:05 +02:00
Benbb96
af1ba5f205
Create a page to edit checklist name and tasks + another page for deletion 2023-04-29 00:24:06 +02:00
Benbb96
b8d06a0fb1
Show a form to create a new checklist, with the possibility to use a preset template 2023-04-23 00:36:10 +02:00
Benbb96
8be55fb7f2
Display checklists on ticket page 2023-04-22 23:56:23 +02:00
Benbb96
9e7b4ef9bf
Reformat file ticket_desc_table.html 2023-04-22 23:20:41 +02:00
Benbb96
9e9ebd45a7
Create models and admin for Checklist 2023-04-22 22:55:41 +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
bruce.gibbins
af2683d44b Corrected OAUTH Settings initialisation 2023-04-18 21:35:02 +10:00
bruce.gibbins
101326c987 Use settings instead of django_settings 2023-04-17 20:08:56 +10:00
bruce.gibbins
c29996df94 Resorted imports for pep8 2023-04-17 13:15:47 +10:00
bruce.gibbins
9192779889 Add IMAP OAUTH Mail Box Type 2023-04-15 22:11:41 +10:00
bruce.gibbins
d7ebc8e1c2 Revert "Add IMAP OAUTH Mail Box Type"
This reverts commit d57f11f40a.
2023-04-15 21:56:05 +10:00
bruce.gibbins
d57f11f40a Add IMAP OAUTH Mail Box Type 2023-04-15 21:52:44 +10:00
Christopher Broderick
b78f9d9034 Merge branch 'pypi_release' of https://uhurusurfa@github.com/django-helpdesk/django-helpdesk.git into pypi_release 2023-04-03 10:53:01 +01:00
Christopher Broderick
1b3d97e183 Fix incorrectly removed time import 2023-04-03 10:49:01 +01:00
Christopher Broderick
beb794b8db
Merge branch 'main' into pypi_release 2023-03-29 00:42:48 +01:00
Bruce
287024acd1 Use updated_submitter email template in send for updated ticket 2023-03-28 19:45:54 +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