Commit Graph

2537 Commits

Author SHA1 Message Date
Christopher Broderick
044cd4c50d Update release number for package creation 2024-04-24 19:23:16 +01:00
Christopher Broderick
1ddb2a271c
Merge pull request #1169 from samsplunks/signal
Emit a signal when a ticket is updated
2024-04-24 18:18:24 +01:00
Georg Lehner
c723873d83 FIX: replace hardcoded urls with Django generated ones.
The My Tickets view generated ticket urls with a '/view' string prefix. This
is replaced by proper Django URL resolution.

The public and staff ticket view used a '../../' string prefix which brakes in
the public ticket view. They are both replaced with proper Django URL resolution.
2024-04-17 21:17:41 +02:00
Sam Splunks
750b216d66
Update docs/webhooks.rst with django signals link
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
2024-04-17 14:34:47 +02:00
Sam Splunks
361ba84295
Updated signals code 2024-04-17 14:31:57 +02:00
Sam Splunks
16bb4d46f1
Update webhooks documentation 2024-04-17 14:24:15 +02:00
Sam Splunks
2f26180451 Update webhooks documentation with signals info 2024-04-17 12:20:27 +00:00
Sam Splunks
8541acd49d Updated comment 2024-04-17 10:21:02 +00:00
Sam Splunks
2fc95d165a new_ticket_done signal emitted through email 2024-04-17 10:19:50 +00:00
Sam Splunks
81f9226f7c Removed unused webhooks import 2024-04-17 10:09:15 +00: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
c6cad5f702 Removed unused webhooks import 2024-04-16 08:52:22 +00:00
Sam Splunks
c0ee8e0847 Use update_ticket mechanism in email.py 2024-04-16 08:49:11 +00:00
Sam Splunks
79b7ce9650 notify_followup_webhooks used in email, so moving signal triggering code 2024-04-16 08:42:03 +00:00
Sam Splunks
0e96909f43 Removed unused TichetChange import 2024-04-16 08:36:29 +00:00
Sam Splunks
08ed2a5035 Adding receiver import 2024-04-16 08:34:03 +00:00
Sam Splunks
ebb9a4d50d Make update_ticket_done signal trigger notify_followup_webhooks 2024-04-16 08:23:06 +00:00
Sam Splunks
2499f81d4d Add a signal when the ticket upate is done (every related instance created and updated) 2024-04-16 08:04:01 +00:00
Sam Splunks
8fffae343c Update TicketChange creation code 2024-04-16 07:58:33 +00:00
Benbb96
9f7c18e507
Merge pull request #1167 from samsplunks/followup_queue_change
Allow to track queue change in follow-ups
2024-04-12 15:07:26 +02:00
Sam Splunks
a775622521
Create ticket change through instance relationship
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
2024-04-12 10:44:56 +02:00
Sam Splunks
5b39c9aeeb
Update forloop for queues with explicit variable names in ticket template
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
2024-04-12 10:39:58 +02:00
Sam Splunks
62ef86a047 Settings assertion values in hours 2024-04-09 13:45:41 +00:00
Sam Splunks
aa5e2d0c67 Fixed test comment 2024-04-09 13:33:20 +00:00
Sam Splunks
d1af580483 Remove queues exclusion at the end of test 2024-04-09 13:32:11 +00:00
Sam Splunks
6e845f6351 Adding test for multiple exclusion queues through follow-ups 2024-04-09 13:27:42 +00:00
Sam Splunks
f4ab7a5226 Refactored time_spent calculation queue exclusions to reflect queue changes over time 2024-04-09 13:25:35 +00:00
Sam Splunks
e372f4447b Adding test_update_ticket_queue test 2024-04-09 12:18:43 +00:00
Sam Splunks
e526c21aef Update ticket queue foreign key id 2024-04-09 12:05:32 +00:00
Sam Splunks
33b3216d38
Merge branch 'django-helpdesk:main' into followup_queue_change 2024-04-09 12:01:12 +02:00
Christopher Broderick
c893d9b7d7
Merge pull request #1166 from samsplunks/main
test_time_spent_auto.py cleanup
2024-04-08 20:49:57 +01:00
Sam Splunks
bb4e05ba39 Removed unused Queue model import 2024-04-08 12:43:11 +00:00
Sam Splunks
42be32b17b Allow to track queue change in follow-ups 2024-04-08 12:33:23 +00:00
Sam Splunks
e439acd626 Removed helpdesk_settings USE_TZ 2024-04-08 08:41:27 +00:00
Sam Splunks
27bafa847c Removed old comment 2024-04-08 08:39:27 +00:00
Sam Splunks
09f504fa3e Removing unnecessary followup saves 2024-04-08 08:37:00 +00:00
Sam Splunks
210b7b13f8 Removing unused test Client 2024-04-08 08:31:58 +00:00
Christopher Broderick
c9ca97516a
Merge pull request #1164 from samsplunks/main
Test set for automatic time tracking of follow-ups
2024-03-29 15:26:23 +00:00
Sam Splunks
b99514f585 Removed useless USE_TZ 2024-03-27 16:27:32 +00:00
Sam Splunks
f5bff3af4e Clearing some settings at the end of test 2024-03-27 16:22:14 +00:00
Sam Splunks
57ad29f46b Removed useless setting 2024-03-27 16:20:22 +00:00
Sam Splunks
c16d189104 Testing queues exclusion 2024-03-27 16:19:33 +00:00
Sam Splunks
5e0df47a4f Adding status exclusion test 2024-03-27 16:15:15 +00:00
Sam Splunks
e3a745f81a Testing holidays 2024-03-27 16:04:30 +00:00
Sam Splunks
acecc41ec8 Using MIDNIGHT constant instead of number 2024-03-27 15:59:25 +00:00
Sam Splunks
1d8fc2ad42 Opening hours tests and bug fix 2024-03-27 15:56:55 +00:00
Sam Splunks
3be5bbed44 Removed begining of next test 2024-03-27 14:32:56 +00:00
Sam Splunks
f0fb8039ef Adding USE_TZ = True to comply with 32bits tests 2024-03-27 14:30:56 +00:00
Sam Splunks
d6b37f1c11 Updating time_spent test with multiple follow-ups at multiple time intervals 2024-03-27 14:20:34 +00:00
Sam Splunks
f4bde19511 Fixing a bug to differentiate between 23:59:59 and 24:00:00 end times 2024-03-27 14:19:15 +00:00