Commit Graph

212 Commits

Author SHA1 Message Date
df46695bb1 Moving python time_spent calculation to database aggregation 2024-07-10 10:54:17 +00:00
81f9226f7c Removed unused webhooks import 2024-04-17 10:09:15 +00:00
9a6939b564 Attach send_new_ticket_webhook to the new_ticket_done signal 2024-04-17 10:02:44 +00:00
f4ab7a5226 Refactored time_spent calculation queue exclusions to reflect queue changes over time 2024-04-09 13:25:35 +00:00
f4bde19511 Fixing a bug to differentiate between 23:59:59 and 24:00:00 end times 2024-03-27 14:19:15 +00:00
7a7a39d567 Extracting previous ticket status from latest follow-up with new_status set 2024-02-15 16:16:24 +00:00
5482d7b6df Adding year to HELPDESK_FOLLOWUP_TIME_SPENT_EXCLUDE_HOLIDAYS dates 2024-02-15 15:42:29 +00:00
02e333cf52 Precise selection of previous status 2024-02-15 09:55:57 +00:00
ae89d182a9 Removed duplicate format_time_spent function definition 2024-02-15 09:30:02 +00:00
99b49e3f39 Refactoring earliest and latest follow-up time selection logic, also allows for time_spent recalculation if unset 2024-02-15 09:08:25 +00:00
b1759520d8 Merge exclusion conditions for time_spent calculation 2024-02-14 14:52:23 +00:00
b3cbfdbe09 Added HELPDESK_FOLLOWUP_TIME_SPENT_EXCLUDE_QUEUES setting 2024-02-14 13:36:46 +00:00
7e65e3d367 Renamed setting to HELPDESK_FOLLOWUP_TIME_SPENT_EXCLUDE_STATUSES 2024-02-14 13:23:15 +00:00
90666a47ba Adding HELPDESK_FOLLOWUP_TIME_CALCULATION_EXCLUDE_STATUSES setting 2024-02-14 13:21:19 +00:00
220f6d56a8 Adding HELPDESK_FOLLOWUP_TIME_SPENT_EXCLUDE_HOLIDAYS setting 2024-02-14 13:03:58 +00:00
a671a9e8dc Fixed undefined timedelta error 2024-02-14 10:23:31 +00:00
05dfde59cb Include opening hours for follow-up time_spent calculation 2024-02-14 10:16:20 +00:00
ed6aa132f3 timedelta seconds property is limited to 86400 2024-02-13 10:31:06 +00:00
cd77ac7a9d Update FollowUp time calculation method 2024-02-13 09:27:12 +00:00
f7e3a2b8aa Automatic absolute time_spent calculation for ticket FollowUp 2024-02-13 08:59:48 +00:00
40ef247844 Handle "no label" for status id case (shouldn't happen) 2024-02-05 11:39:45 +01:00
8b53ef9505 Passing ticket status flow logic to Ticket model 2024-02-05 10:58:42 +01:00
ab2c2f79a4 Allow Tickets status choices customization 2024-02-01 15:38:02 +01:00
3e791d98fa Explicit property naming 2024-01-22 14:39:53 +00:00
3537ec7447 Customization of Ticket PRIORITY_CHOICES in project settings 2024-01-22 14:30:44 +00:00
7aa7f0eca2 Fix custom field sending in new ticket webhook 2023-12-27 19:39:12 +00:00
11327e7469 Added the default permission in settings.py 2023-10-11 11:50:56 +06:00
90bcac954f Fixed file permission(s) in models.py/attachment_path 2023-10-06 17:33:18 +06:00
ef88a2ee8a Better workflow for creating new ticket checklist, into a modal 2023-04-30 03:11:27 +02:00
308f69a03b CRUD Checklist Template 2023-04-30 01:15:05 +02:00
af1ba5f205 Create a page to edit checklist name and tasks + another page for deletion 2023-04-29 00:24:06 +02:00
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
8be55fb7f2 Display checklists on ticket page 2023-04-22 23:56:23 +02:00
9e9ebd45a7 Create models and admin for Checklist 2023-04-22 22:55:41 +02:00
9192779889 Add IMAP OAUTH Mail Box Type 2023-04-15 22:11:41 +10:00
d7ebc8e1c2 Revert "Add IMAP OAUTH Mail Box Type"
This reverts commit d57f11f40a.
2023-04-15 21:56:05 +10:00
d57f11f40a Add IMAP OAUTH Mail Box Type 2023-04-15 21:52:44 +10:00
3a13bbfeef Fix. Add test markdown and rewrite for last markdown is working 2022-08-08 20:20:00 +07:00
cf5be66fae Fix. Fix problem wich version package in requirements and add test markdown and rewrite for new markdown 2022-08-06 18:34:16 +07:00
bed7f0e493 Add default value property to TicketCustomField
Property of the model, so add it there to keep consistency
2022-07-25 04:00:57 +02:00
25542f929e Initial isort configuration
Will fail build if imports are not sorted correctly
2022-07-22 03:26:41 +02:00
280462c2fe Remove 'f-string', no place holders present 2022-07-22 01:18:45 +02:00
fa91620bf9 EscapeHtml.extendMarkdown disabled
Updated markdown caused failures.
Not sure what is going on with this class, 0 comments :-(
If someone could give me a hint as to what this is trying to achieve, I
can investigate further
2022-07-20 16:32:51 +02:00
aa876f8016 pycodestyle formatting 2022-07-12 12:34:19 +02:00
b8511dd70b Fix conflicts for Django 4 support 2022-04-23 02:23:51 -04:00
5701bf0229 Fix a bug with get_choices function which doesn't return anything if empty_selection_list is False 2022-04-11 00:15:48 +02: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
358080926c Added Django 4 support. 2022-03-16 22:29:09 -04:00
0d79b6266d Backport patch for #985 2021-11-21 23:25:54 -05:00
e016e6699d fix minutes representation in models.py, see #978 2021-10-20 08:11:08 -04:00