Timothy Hobbs
4481795c7f
search_for_ticket → class based view
2023-11-23 20:52:27 +01:00
Timothy Hobbs
e128cc0d5c
view_ticket → class based view
2023-11-23 20:48:50 +01:00
Christopher Broderick
da00cf67b3
Update helpdesk/settings.py
...
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
2023-11-15 11:31:45 +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
d65b103cc4
Merge pull request #1139 from timthelion/webhooks
...
Refactor update tickets view
2023-11-15 00:54:32 +00:00
Christopher Broderick
9195e4b738
Unassigned tickets lookup foix when teams is disabled.
2023-11-15 00:42:51 +00:00
Christopher Broderick
9147cb16d5
Changed settings to support simple enable/disable of teams.
2023-11-15 00:41:56 +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
b0ef6a5484
Fix #1138 by calling update_ticket directly from non-update views
2023-11-14 21:47:12 +01:00
Timothy Hobbs
ade4c3115e
Move update ticket logic out of staff.py
2023-11-14 21:17:37 +01:00
Timothy Hobbs
6cd5522099
Move to ruff, its faster & catches more
2023-11-14 20:37:05 +01:00
Timothy Hobbs
21513d4524
Fix security problem with update_ticket view
...
@martin-marty Introduced a security flaw in this commit.
ecefd5e407
#
By extracting authentication logic for the update_ticket view to a new function
and mixing the return types. This function returns both a Ticket object and a
login redirect. This is simply non-sensical and fails to actually login-redirect
non-authenticated users.
2023-11-11 22:26:19 +01:00
tecbr
f1d530db2a
Fix 0034_create_email_template_for_merged.py
2023-11-09 21:22:56 -03:00
tecbr
5df7b8ff85
Fix 0009_migrate_queuemembership.py
2023-11-09 21:22:13 -03:00
Naggafin
60aae680dd
changed UserSerializer to utilize custom user classes (didn't work with them before)
2023-11-09 13:07:26 -05: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
e4da2797b9
Fix missing f-string operator.
...
Add queue name to info log.
2023-10-26 21:31:53 +01:00
Christopher Broderick
e040bcac77
Add missing capture of exception to variable.
2023-10-25 17:15:45 +01:00
Christopher Broderick
bc7e189a5c
Remove check for info being enabled
2023-10-24 14:24:10 +01:00
Christopher Broderick
2c9e251113
Fix order of imports
2023-10-24 14:20:09 +01:00
Christopher Broderick
a7863b5f27
Fix formatting
2023-10-24 14:08:40 +01:00
Christopher Broderick
8849943d33
Add logging to stdout when enabled to facilitate debugging issues.
2023-10-24 13:50:23 +01:00
Timothy Hobbs
cbb5dcdef9
Document standalone install
2023-10-14 18:48:53 +02:00
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