Commit Graph

1305 Commits

Author SHA1 Message Date
a5e74d6449 Extract getting ticket_id from subject to helper function 2022-07-25 01:56:13 +02:00
283f052c0e Annotate function signature 2022-07-25 01:47:00 +02:00
80f4152301 Simplify return statement
Rename `ticket` to `ticket_id` for clarity
2022-07-25 01:43:43 +02:00
0b1de1eead Removed unused import
Result of previous code removal
2022-07-25 01:23:12 +02:00
fe28c2f540 Merge branch 'unstable' of git@github.com:martin-marty/django-helpdesk.git into 1039-complexity-reduction 2022-07-25 01:22:11 +02:00
1ac78955c0 Removed notifications_to_be_sent list
The whole loop appeared to be doing nothing other than appending email
addresses to a list, which was never used.
2022-07-25 01:22:05 +02:00
0f0b0a5995 Remove left over 'cc' code 2022-07-22 16:27:38 +02:00
44f068d1b8 re-apply formatting 2022-07-22 03:30:35 +02:00
25542f929e Initial isort configuration
Will fail build if imports are not sorted correctly
2022-07-22 03:26:41 +02:00
e2a8b974dd Removed unused imports, format long line 2022-07-22 01:21:25 +02:00
fb21d9bcdc Check for model enabled before registering 2022-07-22 01:20:10 +02:00
280462c2fe Remove 'f-string', no place holders present 2022-07-22 01:18:45 +02:00
fa91620bf9 EscapeHtml.extendMarkdown disabled
Updated markdown caused failures.
Not sure what is going on with this class, 0 comments :-(
If someone could give me a hint as to what this is trying to achieve, I
can investigate further
2022-07-20 16:32:51 +02:00
844c317e19 Formatting fixes 2022-07-14 09:19:11 +02:00
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
9dbe283dd4 Create FollowUpAttachment serializer + handle attachment in TicketSerializer and in FollowUpSerializer in order to attach directly one or multiple attachments to the created followup. 2022-06-24 23:45:26 +02:00
bd413837c2 Create FollowUp serializer with its Viewset and add it in urls 2022-06-24 22:22:08 +02:00
6d1d5d82b3 Skip failing tests
Object not available for patching
2022-06-20 18:20:01 +02:00
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
8118fd83b7 Fix autofill utf-8 test 2022-06-20 18:03:39 +02:00
dd7ef6f0ed Fix autofill test 2022-06-20 17:50:49 +02:00
0e571ddebc Fix url regex 2022-06-20 17:36:40 +02:00
670ae9d0a5 Fix password assignments 2022-06-20 17:36:32 +02:00
f18531acb0 Fix url check 2022-06-20 17:35:40 +02:00
db358ceeaf Set due date as member and use throughout 2022-06-20 17:35:28 +02:00
437d5b81c4 Fix failing tests 2022-06-20 17:26:52 +02:00
93bb43bf1d Remove mock
Can't import model until the test body
2022-06-20 16:58:43 +02:00
2910664950 Fix path for tests 2022-06-20 16:34:32 +02:00
6a1f430496 Missing import 2022-06-20 16:10:55 +02:00
41d7caace4 Fix spacing issues
{% if saved_query==q %} was causing a parse error. White space around
equality
2022-06-20 16:08:05 +02:00
e438f6b4db Fix references to 'url'
Change to 're_path'
2022-06-20 14:39:04 +02:00
ee42ba48a3 Merge in bugfixes from 0.3.5 2022-06-12 03:00:25 -04:00
67949e83f9 added permission classes 2022-05-04 18:51:02 +02:00
25db44ba5e feat(rest): create user 2022-05-02 17:27:25 +02:00
b8511dd70b Fix conflicts for Django 4 support 2022-04-23 02:23:51 -04:00
3ed6c68046 Update to 0.3.4 bugfix release 2022-04-23 02:06:35 -04:00
5e8f5fed62 Fixing some unit tests 2022-04-22 14:52:51 -04:00
fcab3506b0 Merge branch 'stable' into new-option-fields 2022-04-22 06:32:32 -04:00
8d626cfd5f feat(fields): hide column for time spent 2022-04-20 17:30:55 +02:00
6d5c81ea14 feat(fields): hide column for KB item, https://github.com/django-helpdesk/django-helpdesk/pull/1003 2022-04-20 16:54:17 +02:00
9bd4eb19bc feat(fields): no dependencies 2022-04-20 16:44:48 +02:00
de9c5a709e feat(fields): no time spent 2022-04-20 16:36:37 +02:00
26c6a778ec feat(ticket): disable timeline 2022-04-15 18:51:02 +02:00
5792587e3e feat(ticket): disable timeline 2022-04-15 18:48:21 +02:00
dc60d8a7f9 Add setting HELPDESK_ACTIVATE_API_ENDPOINT and document it 2022-04-15 00:05:51 +02:00
3e331c08fb Try to fix other tests 2022-04-14 23:45:19 +02:00
9320df0268 Fix a bug I introduced in earlier commit + fix one test 2022-04-14 23:30:42 +02:00
7e5ff05b02 Update documentation 2022-04-11 00:23:22 +02:00
31acfb11dd Add tests for the API 2022-04-11 00:16:54 +02:00
5701bf0229 Fix a bug with get_choices function which doesn't return anything if empty_selection_list is False 2022-04-11 00:15:48 +02:00