1615 Commits

Author SHA1 Message Date
David Vadnais
3a59dfb846
Merge branch 'django-helpdesk:main' into ENHANCEMENT-escalation-notify-only 2025-03-07 10:03:34 -10:00
Christopher Broderick
fb898af207 Fix spelling 2025-03-07 13:33:41 +00:00
David Vadnais
2085e3ad68
Merge branch 'django-helpdesk:main' into ENHANCEMENT-escalation-notify-only 2025-03-06 20:42:00 +00:00
Christopher Broderick
abdd750e2a REvert status to not support unassigned since it is a required field. 2025-03-06 12:18:30 +00:00
Christopher Broderick
165adf5230 Change to support the query fixes so that unassigned option works for
persisting visibility of filters
2025-03-06 02:42:07 +00:00
Christopher Broderick
4ca1ec24dc Fix isnull test 2025-03-06 02:39:49 +00:00
Christopher Broderick
c30bf866df Fix multiple problems with search filters and query building 2025-03-06 02:38:42 +00:00
Christopher Broderick
3fab1def95 Fix setting the unassigned (-1) option as selected 2025-03-06 02:37:53 +00:00
David Vadnais
c489bbecbd
Merge branch 'django-helpdesk:main' into BUG-1231-my-tickets 2025-03-03 22:03:20 +00:00
DavidVadnais
f43e0474a7 Issue #1235 - Escalation only notify users 2025-02-03 20:59:39 +00:00
DavidVadnais
6f3549eb5a Remove ticket_title in favor of title 2025-01-21 18:49:06 +00:00
DavidVadnais
9cbe8ebcfa Revert "temp fix for titles not updating"
This reverts commit 010f9fc7641c85f19445df706e3672a19b882207.
2025-01-21 18:38:27 +00:00
DavidVadnais
010f9fc764 temp fix for titles not updating 2025-01-18 02:51:15 +00:00
DavidVadnais
aa5c137a11 Fix for my-tickets div not appending to DOM 2025-01-18 02:07:14 +00:00
Sam Splunks
5ae1c1fdcb Forcing POST urls for votes 2024-12-06 10:16:14 +00:00
Sam Splunks
9ab10b93e1 Removing Test Client 2024-12-06 10:11:29 +00:00
Sam Splunks
93f6123545 Reverting to TestCase client 2024-12-06 10:07:08 +00:00
Sam Splunks
f7ca446bc9 Fixed url pattern 2024-12-06 10:03:57 +00:00
Sam Splunks
af2fac038c Update votes with POST method and CSRF token 2024-12-06 09:19:06 +00:00
Sam Splunks
8d2b09bb11 Update kb vote function 2024-12-05 09:47:23 +00:00
Sam Splunks
f710c07927 Escape html entities for followup title in ticket view 2024-12-05 09:35:26 +00:00
Sam Splunks
e0a04b5040 Javascript escape of html entities in ticket title for the My Tickets view 2024-12-05 09:33:17 +00:00
Benbb96
2c24fa9cae
Improve help texts 2024-10-19 16:50:17 +02:00
Benbb96
0a1e73918d
Refactor custom commands with modern syntax 2024-10-19 00:57:44 +02:00
Luca Buoncristiani
a7b3177944 DUPLICATE_STATUS Tickets moved to closed & resolved ones 2024-09-16 10:26:58 +02:00
Sam Splunks
2ec9f01f00 Cleaned EditTicketCustomFieldForm 2024-07-26 11:12:10 +00:00
Sam Splunks
f31f3eb233 Filter custom fields according to settings list 2024-07-26 11:04:54 +00:00
Sam Splunks
8eb883e19e Adding HELPDESK_SHOW_CUSTOM_FIELDS_FOLLOW_UP_LIST to settings 2024-07-26 10:49:36 +00:00
Sam Splunks
c7b60267eb Handle case where update_ticket doesn't handle customfields_form 2024-07-26 10:31:22 +00:00
Sam Splunks
9ee0207c3c Save custom fields in a followup 2024-07-26 10:02:05 +00:00
Sam Splunks
8901086a80 If title cannot be retrieved from POST, default should be ticket.title 2024-07-26 09:08:10 +00:00
Sam Splunks
f8cccbcf0a Display custom fields in Follow-up form 2024-07-26 08:46:26 +00:00
Christopher Broderick
0a2ceca8dd
Merge branch 'main' into time_spent 2024-07-22 11:01:52 +01:00
Sam Splunks
df46695bb1 Moving python time_spent calculation to database aggregation 2024-07-10 10:54:17 +00:00
Sam Splunks
f7c697ade5 delete_query view is expecting a pk field 2024-07-09 14:04:28 +00:00
Georg Lehner
66ba2d076a
Merge branch 'django-helpdesk:main' into attachment-enable-setting 2024-06-14 18:33:19 +02:00
Georg Lehner
9228c7fbd0 Fix Fix: correct variable name and test 2024-06-12 15:04:23 +02:00
Georg Lehner
80ae20d1ac Fix: Saving tickets with attachments disabled raises error
Exclude code where followups add their attachments to a new ticket.
Make helper function _attach_files_to_follow_up() more robust.
2024-06-12 14:58:00 +02:00
Georg Lehner
665e4008e7 Cleanup Dependency/Resolves form code 2024-06-10 17:33:08 +02:00
Georg Lehner
0b38f1d5bd Remove superfluous use of Value() in When clause 2024-06-10 17:27:43 +02:00
Georg Lehner
20cd08fe28 Do not show attachments in public tickets if not enabled, fix attachment upload if enabled
Attachments in followups were still shown (if they existed) even if
HELPDESK_ENABLE_ATTACHMENT was set to False.

If attachments were enabled it was not possible to upload them because
the JavaScript code for uploading attachments to public was not loaded
in the template.
2024-06-10 12:47:13 +02:00
Georg Lehner
78cf89ca9b Exclude related JavaScript function from staff Ticket view when attachments are not enabled 2024-06-10 11:24:00 +02:00
Georg Lehner
54864b2c1e Rewrite dependency tickets ordering, using Case annotation 2024-06-10 10:08:07 +02:00
Georg Lehner
ec603347c7 Improve code quality 2024-06-08 22:32:05 +02:00
Georg Lehner
2cb9d382cb Only show open ticket as dependency/parent candidates
It makes no sense to make a ticket depend on an already closed
ticket, or to make a closed ticket depend on another.

The only case I can think of is to create such a relationship in
hindsight for documentation purposes.  This can be implemented by
adding an admin interface or giving the administrator more choices.
2024-06-08 18:49:53 +02:00
Georg Lehner
7bf21685b3 Fix: remove unused and undefined context variable 2024-06-08 12:52:10 +02:00
Georg Lehner
bc764b50c1 Fix: itertools are superseded by NotIn ORM operator 2024-06-08 12:12:56 +02:00
Georg Lehner
25c36a6f5c Restrict ticket selection for dependencies and parents
When adding a dependent or parent ticket, the choice field in the
ticket selection form excludes:

- All existing dependencies of the current ticket.
- All existing parent tickets of the current ticket.
- The current ticket itself.

The first two prevent immediate circular references: A dependency
cannot be a parent and vice versa.  Deeper circular references are
not covered by this: a ticket can still be its own grandchild.

They also prevent current behavior of throwing an `IntegrityException`
when selecting a dependency or parent.

The third one prevents also a quirky behavior: until now, specifying the
ticket itself as parent or dependency just does not save the
dependency and does not issue a warning either.
2024-06-08 12:11:01 +02:00
Georg Lehner
b52ab69c42 Order dependend ticket with NotIn ORM operator instead of itertools 2024-06-08 12:00:43 +02:00
Georg Lehner
3dcbdad638 Fix: helpdesk settings are imported as settings 2024-06-07 18:04:05 +02:00