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
9ee0207c3c
Save custom fields in a followup
2024-07-26 10:02:05 +00:00
Sam Splunks
f8cccbcf0a
Display custom fields in Follow-up form
2024-07-26 08:46:26 +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
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
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
dd4c04945a
Add HELPDESK_ENABLE_ATTACHMENTS setting and make it show/hide attachment related UI
...
Default setting is false. This is not backward compatible.
The rationale is: attachments contain most likely sensitive information.
By default they are served without access control. Currently there is
no simple feature to configure access control. To avoid unintentional
disclosure attachments should be an opt in: you have been warned.
2024-06-06 15:47:50 +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
Sam Splunks
9a6939b564
Attach send_new_ticket_webhook to the new_ticket_done signal
2024-04-17 10:02:44 +00:00
Sam Splunks
ab2c2f79a4
Allow Tickets status choices customization
2024-02-01 15:38:02 +01:00
Benbb96
3b55f37fb5
Fix isort issues
2023-04-30 04:13:50 +02:00
Benbb96
ef88a2ee8a
Better workflow for creating new ticket checklist, into a modal
2023-04-30 03:11:27 +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
b3edba3fc5
Fix #1054
2022-10-09 23:05:16 +02:00
Martin Whitehouse
25542f929e
Initial isort configuration
...
Will fail build if imports are not sorted correctly
2022-07-22 03:26:41 +02:00
Martin Whitehouse
e2a8b974dd
Removed unused imports, format long line
2022-07-22 01:21:25 +02:00
Martin Whitehouse
aa876f8016
pycodestyle formatting
2022-07-12 12:34:19 +02:00
Garret Wassermann
b8511dd70b
Fix conflicts for Django 4 support
2022-04-23 02:23:51 -04:00
bbe
1daa1d88aa
Create an API endpoint to list/create/update/delete tickets (including custom fields !) + Refactoring in forms.py
2022-03-31 17:19:49 +02:00
Daniele Scasciafratte
347a70e497
fix(kb): no db
2022-03-18 19:21:17 +01:00
Nick McCullum
358080926c
Added Django 4 support.
2022-03-16 22:29:09 -04:00
Garret Wassermann
aff67184d4
Add attachment validator when uploading attachment to tickets
2021-10-05 06:25:42 -04:00
Timothy Hobbs
a9e5cfa52d
Fix hidden field query args
2021-08-19 22:00:18 +02:00
Tom Weber
90961897ec
CustomField datetime type formats updated to fixed string formats enabling reformatting and consistency
2021-02-10 17:58:01 -07:00
Tom Weber
ae9109bad6
Bug Fix EditTicketForm unable to edit and add error display
2021-02-09 13:08:27 -07:00
bbe
2a03a5ecf7
Disabled merged_to field in edit ticket + reformat template (fix datepicker) and simplify view
2021-02-04 18:17:06 +01:00
Benbb96
f9d000b953
Fix #926
2021-01-16 23:28:30 +01:00
bbe
00a18d8f54
Restrict possible tickets to merge to the ones that haven't been already merged.
...
Also check that all selected tickets are within the same queue.
2020-10-30 20:19:50 +01:00
bbe
e1cd9d0f2e
Implement ticket merge feature in ticket list. Create intermediate page to choose which data and custom field values to keep on the main ticket.
...
Also add new template tag filter to use the dictionary get function in template.
2020-10-29 23:32:02 +01:00
bbe
4ee74e6667
Better public create ticket form with the initialization of the datepicker for due date as a media.
...
Reformat code to improve readability.
Add an include to get an alert when there are errors in a form.
2020-10-23 16:23:47 +02:00
bbe
ea558d71f3
Display custom fields with bootstrap form-control
css class
2020-10-20 11:51:55 +02:00
Garret Wassermann
5ad0743722
Merge in 0.2.21 bugfix
2020-04-15 07:38:52 -04:00
Garret Wassermann
0e9358e61b
Merge pull request #803 from auto-mat/teams
...
Add Teams functionality, using pinax-teams
2020-03-04 01:02:40 -05:00
Andrew Denisenko
2f4d91c22d
Fill followup user field if authenticated user submits ticket
2020-03-03 23:39:02 +02:00
Petr Dlouhý
81f835b77b
fix KBItem choose form
2020-02-27 11:54:04 +01:00
Petr Dlouhý
07d6ee7f87
fix typo
2020-02-25 14:36:18 +01:00
Arkadiy Korotaev
354debb618
fix<public>: Public ticket creation form improvements
...
Update forms.py and views/public.py to physically delete form fields
instead of just hiding them if default values for queue, date and priority are provided.
+ some bugfixes
+ code and stale imports removal
+ fix pep8 errors
2020-02-06 10:10:07 +01:00
Timothy Hobbs
05bd852799
Fix pycodestyle errors
2020-01-20 13:23:31 +01:00
Timothy Hobbs
6579ac0e6f
Associate tickets with KB items
2020-01-20 13:23:31 +01:00
Timothy Hobbs
7fe6444f8f
Redo KB categories as accordion view
2020-01-20 13:23:17 +01:00
Timothy Hobbs
5f29bb632e
Associate queues with KB categories
2020-01-20 13:22:45 +01:00
Timothy Hobbs
606098d947
Fix field hiding and setting code for ticket submition qargs
2020-01-20 13:22:45 +01:00
Timothy Hobbs
38cedca541
Can now hide custom fields using query param in public ticket form
2020-01-20 13:22:45 +01:00
Timothy Hobbs
810184298f
Include custom fields in public ticket form
2020-01-20 13:22:44 +01:00