Christopher Broderick
82653806c4
Merge pull request #1147 from timthelion/webhooks-3
...
Fixes for my-tickets view and public ticket view
2023-12-06 22:12:20 +00:00
Christopher Broderick
7027aa24db
Merge branch 'main' into webhooks-3
2023-12-05 21:54:33 +00:00
Christopher Broderick
c138047128
Merge pull request #1146 from timthelion/webhooks-2
...
Webhooks
2023-12-05 21:53:15 +00:00
Timothy Hobbs
7a4210df50
my_tickets.html: Trans tags
2023-12-04 23:42:49 +00:00
Timothy Hobbs
9b17dc3cbd
More formatting fixes on ticket view page
2023-12-04 23:38:28 +00:00
Timothy Hobbs
4432802562
Fix css for showing ticket followups
2023-12-04 23:38:28 +00:00
Timothy Hobbs
83994d07d7
Fix updating tickets when opened from my-tickets view
2023-12-04 23:38:28 +00:00
Timothy Hobbs
27f295098c
Improve webhook env var handling & docs
2023-12-04 23:37:31 +00:00
Christopher Broderick
c959c24b96
Merge branch 'main' into webhooks-2
2023-12-04 08:42:58 +00:00
Christopher Broderick
9db89e6714
Merge pull request #1145 from timthelion/webhooks-1
...
API: Actually send out emails when creating followups via the API
2023-12-04 07:57:36 +00:00
Timothy Hobbs
04bbb27b24
Fix mistake in if chaining
2023-12-03 00:34:29 +00:00
Timothy Hobbs
e708281dcd
Implement webhooks. Fixes #264
2023-12-02 20:57:21 +00:00
Timothy Hobbs
5e1fb838cb
Do the full update ticket flow when followups are posted from the API
2023-12-02 18:10:41 +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
Christopher Broderick
a638a34db9
Merge pull request #1144 from django-helpdesk/new_release_version
...
Update setup.py with next release version number.
2023-11-29 15:48:22 +00:00
Christopher Broderick
31b0b26d3c
Update setup.py with next release version number.
2023-11-29 15:16:26 +00:00
Christopher Broderick
6f1749a06c
Merge pull request #1143 from timthelion/webhooks
...
Add my tickets view for logged in non-staff users
2023-11-27 14:41:06 +00:00
Timothy Hobbs
2360c2ed53
Add My Tickets view to staff menu as well
2023-11-27 11:18:31 +01:00
Timothy Hobbs
e00e19625a
Remove Due Date and Submitter columns from My Tickets view as these are not necessary
2023-11-27 11:14:10 +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
162a368b9d
Remove all mention of obsolute API deactivation switch. The helpdesk frontend
...
now requires the API
2023-11-23 22:23:13 +01:00
Timothy Hobbs
3d4d58b5fd
Fixes #994
2023-11-23 21:58:02 +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
cec90aafdd
Show username in nav header
2023-11-23 20:59:58 +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
Timothy Hobbs
a27508bba7
Update default logo for standalone helpdesk
2023-11-23 20:35:26 +01:00
Christopher Broderick
761b91d2fe
Merge pull request #1140 from django-helpdesk/fix_unassigned_kbitems_not_visible_when_teams_not_active
...
Simplify teams enable/disable and fix unassigned kbitems not visible when teams not active
2023-11-16 12:45:04 +00:00
Christopher Broderick
2880f4d5db
Update docs/teams.rst
...
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
2023-11-16 09:02:55 +00:00
Christopher Broderick
94250cab15
Update docs/teams.rst
...
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
2023-11-16 09:02:44 +00:00
Christopher Broderick
3a225d88db
Update demo/demodesk/config/settings.py
...
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
2023-11-16 09:02:12 +00:00
Christopher Broderick
03d6220d3d
Update docs/teams.rst
...
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
2023-11-16 09:00:49 +00:00
Christopher Broderick
245f4285a4
Update docs/install.rst
...
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
2023-11-16 09:00:38 +00:00
Christopher Broderick
af10f472a7
Update docs/teams.rst
...
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
2023-11-15 11:32:37 +00:00
Christopher Broderick
5ea97968e8
Update demo/demodesk/config/settings.py
...
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
2023-11-15 11:32:00 +00: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
4c0c6b7fca
Documentation for chnges teams enable/disable.
2023-11-15 00:41:15 +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
d09c35a881
Show stack traces in stdout on standalone helpdesk
2023-11-14 19:44:43 +01:00
Christopher Broderick
0fc18848bc
Merge pull request #1134 from timthelion/bad-auth
...
Fix security problem with update_ticket view
2023-11-12 00:39:33 +00: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