Commit Graph

2597 Commits

Author SHA1 Message Date
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
Sam Splunks
cf81e0d452 Update simple follow-up time spent calculation 2024-03-26 11:54:23 +00:00
Sam Splunks
0e718a696d
Merge branch 'django-helpdesk:main' into main 2024-03-26 12:49:46 +01:00
Christopher Broderick
b00afd368d
Merge pull request #1165 from django-helpdesk/fix/make-demo-and-docs
Fix `make rundemo` and Documentation files
2024-03-17 15:14:29 +00:00
Benbb96
ed1fd8c1f1
docs: 📝 hamronize all docs files (fix indent, code blocks, links, and some wording) 2024-03-12 12:50:16 +01:00
Benbb96
4b096a3010
docs: 📝 fix formatting errors in demo README.rst 2024-03-12 12:50:05 +01:00
Benbb96
cc74b82dee
docs: 📝 Update README.rst with better explanations and formatting + fix broken link 2024-03-12 12:49:58 +01:00
Benbb96
ceb137eb97
chore: 🙈 add .venv folder to gitignore 2024-03-12 12:49:50 +01:00
Benbb96
21799ba142
Revert "Set an absolute path to get the module recognized when running from root folder"
This reverts commit c2276ce7e1.
2024-03-12 12:49:26 +01:00
Timothy Hobbs
128a465d44 Enabling filtering of tickets by status in API 2024-03-02 00:28:00 +01:00
Sam Splunks
0be6282bfe Basic auto time_spent calculation test 2024-02-27 14:49:18 +00:00
Sam Splunks
3bfa0cd8c8 Documen,ting testing a single file set of tests 2024-02-27 09:58:15 +00:00
Christopher Broderick
ed321159fe
Merge pull request #1159 from samsplunks/main
Time tracking features
2024-02-27 03:18:24 +00:00
Timothy Hobbs
50b5069399 Add documentation for new redirect gates for views 2024-02-26 20:31:37 +01:00
Timothy Hobbs
9a353bf4a5 You can now turn off file attachment filtering, fixes #1162 2024-02-26 19:34:35 +01:00
Sam Splunks
6724e29e28
Fixed holidays exclusion format in documentation 2024-02-21 15:36:21 +01:00
Timothy Hobbs
b1b83cd593 Add some convenient functions for protecting views in custom installations 2024-02-18 16:01:44 +01:00
Sam Splunks
7a7a39d567 Extracting previous ticket status from latest follow-up with new_status set 2024-02-15 16:16:24 +00:00
Sam Splunks
5482d7b6df Adding year to HELPDESK_FOLLOWUP_TIME_SPENT_EXCLUDE_HOLIDAYS dates 2024-02-15 15:42:29 +00:00
Sam Splunks
ae7c8c7aea Raise ImproperlyConfigured if HELPDESK_FOLLOWUP_TIME_SPENT_OPENING_HOURS is out of (0, 23.9999) boundary values 2024-02-15 15:24:55 +00:00
Sam Splunks
02e333cf52 Precise selection of previous status 2024-02-15 09:55:57 +00:00
Sam Splunks
ae89d182a9 Removed duplicate format_time_spent function definition 2024-02-15 09:30:02 +00:00
Sam Splunks
cec1035c2d Return precisely 86400 seconds for a full day 2024-02-15 09:18:36 +00:00
Sam Splunks
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
Sam Splunks
b1759520d8 Merge exclusion conditions for time_spent calculation 2024-02-14 14:52:23 +00:00
Sam Splunks
b3cbfdbe09 Added HELPDESK_FOLLOWUP_TIME_SPENT_EXCLUDE_QUEUES setting 2024-02-14 13:36:46 +00:00
Sam Splunks
7e65e3d367 Renamed setting to HELPDESK_FOLLOWUP_TIME_SPENT_EXCLUDE_STATUSES 2024-02-14 13:23:15 +00:00
Sam Splunks
90666a47ba Adding HELPDESK_FOLLOWUP_TIME_CALCULATION_EXCLUDE_STATUSES setting 2024-02-14 13:21:19 +00:00
Sam Splunks
220f6d56a8 Adding HELPDESK_FOLLOWUP_TIME_SPENT_EXCLUDE_HOLIDAYS setting 2024-02-14 13:03:58 +00:00
Sam Splunks
eb9d947dd6 Update comments 2024-02-14 12:33:20 +00:00
Sam Splunks
a671a9e8dc Fixed undefined timedelta error 2024-02-14 10:23:31 +00:00
Sam Splunks
c3f6a1caa2 Adding second precision for float conversion 2024-02-14 10:21:34 +00:00
Sam Splunks
05dfde59cb Include opening hours for follow-up time_spent calculation 2024-02-14 10:16:20 +00:00
Sam Splunks
ed6aa132f3 timedelta seconds property is limited to 86400 2024-02-13 10:31:06 +00:00
Sam Splunks
ab8bd7637d Adding comment header according to documentation header 2024-02-13 09:30:21 +00:00
Sam Splunks
cd77ac7a9d Update FollowUp time calculation method 2024-02-13 09:27:12 +00:00
Sam Splunks
13e42f1956 Document HELPDESK_FOLLOWUP_TIME_SPENT_AUTO setting 2024-02-13 09:06:58 +00:00
Sam Splunks
f7e3a2b8aa Automatic absolute time_spent calculation for ticket FollowUp 2024-02-13 08:59:48 +00:00
Christopher Broderick
f379bbe80e
Merge pull request #1157 from samsplunks/main
Allow new ticket statuses configuration in settings
2024-02-07 22:21:39 +00:00
Sam Splunks
bfb58a1ccf
Documenting HELPDESK_TICKET_STATUS_CHOICES_FLOW setting 2024-02-05 11:54:25 +01:00
Sam Splunks
40ef247844
Handle "no label" for status id case (shouldn't happen) 2024-02-05 11:39:45 +01:00
Sam Splunks
c7a9a1ab54
Removed ticket new status logic from templates 2024-02-05 11:34:56 +01:00
Sam Splunks
8b53ef9505
Passing ticket status flow logic to Ticket model 2024-02-05 10:58:42 +01:00
Sam Splunks
6498126b87
Forgot {% endif %} line while pasting code 2024-02-02 16:20:08 +01:00
Sam Splunks
302769e59c
Merge branch 'main' into main 2024-02-02 16:08:33 +01:00