Luca Buoncristiani
a7b3177944
DUPLICATE_STATUS Tickets moved to closed & resolved ones
2024-09-16 10:26:58 +02: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
Georg Lehner
0b38f1d5bd
Remove superfluous use of Value() in When clause
2024-06-10 17:27:43 +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
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
d7afcb6578
Reformat Resolves/Depends lists into tables. Allow adding/deleting of parent tickets
2024-06-06 00:28:36 +02:00
Timothy Hobbs
8f9d385e10
Merge branch 'main' into view_protectors
2024-04-23 21:29:38 +02:00
Timothy Hobbs
ebbbcdb2aa
Deprecate VALID_EXTENSIONS properly
2024-04-22 18:38:59 +02:00
Sam Splunks
42be32b17b
Allow to track queue change in follow-ups
2024-04-08 12:33:23 +00:00
Timothy Hobbs
128a465d44
Enabling filtering of tickets by status in API
2024-03-02 00:28:00 +01:00
Sam Splunks
2ff266a612
Fixed pairing parenthesis
2024-02-01 16:28:26 +01:00
Sam Splunks
3e6e39fc39
Fixing missing capitalized Q_OPEN_STATUSES variable
2024-02-01 15:43:56 +01:00
Sam Splunks
ab2c2f79a4
Allow Tickets status choices customization
2024-02-01 15:38:02 +01:00
Timothy Hobbs
c9f742227e
Include custom fields in user tickets api endpoint
2024-01-16 22:19:32 +00:00
Timothy Hobbs
04bbb27b24
Fix mistake in if chaining
2023-12-03 00:34:29 +00:00
Timothy Hobbs
9526ca9820
Do the full update ticket flow when followups are posted from the API
2023-11-30 11:40:11 +01:00
Timothy Hobbs
ffb7522e79
Use update_ticket method when placing ticket on hold
2023-11-26 16:40:52 +00:00
Timothy Hobbs
8f71bdac7a
Add tests for user_tickets api endpoint
2023-11-26 12:58:53 +00:00
Timothy Hobbs
5d190c30ab
re-protect public views
2023-11-23 22:52:45 +01:00
Timothy Hobbs
b92c83de39
Implement My Tickets view in public helpdesk
...
Note: This is a breaking change as it forces pagination on the API endoints.
This should have been done from the start as the API without pagination is
useless when there are large numbers of tickets.
2023-11-23 21:50:44 +01:00
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
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
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
Benbb96
770cdc77b8
Add more tests
2023-05-01 22:54:41 +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
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
Christopher Broderick
1b3d97e183
Fix incorrectly removed time import
2023-04-03 10:49:01 +01:00
Christopher Broderick
7ff870ec88
Merge branch 'main' into #1075---add-options-for-date-and-datetime-input-in-ticket-view
2023-03-26 00:46:07 +00:00
Christopher Broderick
9e71fc8467
Remove redundant import
2023-03-25 13:21:27 +00:00
finnertysea
21ccc83d69
#1075 - make view agnostic to format of incoming due date
2023-03-17 13:12:03 -07:00
Christopher Broderick
930fc71d8b
Merge branch 'main' into fix-warnings
2023-03-10 23:52:46 +00:00
finnertysea
5279180221
Bug fix #1066 - modified import order to placate isort
2023-01-24 13:36:18 -05:00
finnertysea
71ff0aa6d5
Bug fix - detected due date change when no change was made
2023-01-20 10:53:35 -05:00