Commit graph

57 commits

Author SHA1 Message Date
66d67257be
Fix logging issues
All checks were successful
Toastie-stuff/SupportChild/pipeline/head This commit looks good
2024-12-27 20:22:00 +13:00
c6579beba2
Refactored log channel handling 2024-12-27 20:17:14 +13:00
dac221246c
Refactor random assignment and make it only assign staff with read access 2024-12-27 19:43:06 +13:00
0304744d9d
Improved unassign log messages 2024-12-27 19:30:30 +13:00
f5d044512a
Unassign staff member from tickets when they are removed from staff 2024-12-27 19:23:54 +13:00
586f9c8f07
Improved feedback message for /addstaff when user is already staff 2024-12-27 18:18:23 +13:00
c6c7379f20
Make some messages ephemeral 2024-12-27 18:15:54 +13:00
8e7a21c81a
Fix interview category id type in schema 2024-12-27 18:14:20 +13:00
384f046915
Update command documentation 2024-12-27 18:06:25 +13:00
bb9ef65e42
Update interview set feedback message 2024-12-27 18:01:19 +13:00
8820549927
Normalised interview terminology for "question", "path", "step" to use "step" everywhere 2024-12-27 17:23:03 +13:00
7d70cde3b4
Add some janky handling of users clicking the close button several times 2024-12-27 17:00:24 +13:00
84ad8cbca4
Tickets with assets smaller than 25MiB include them in the transcript 2024-12-27 16:58:26 +13:00
3a57fa1e02
Updated log error message 2024-12-27 16:53:40 +13:00
556f082aa2
Added command and functionality to stop interviews 2024-12-27 16:43:55 +13:00
d4be9cb849
Made registering a category no longer be a requirement for uploading a template for it 2024-12-27 16:28:27 +13:00
22dc2255bc
Delete interview if channel is no longer a ticket 2024-12-27 16:22:30 +13:00
055fd5a940
Improved error handling during template validation 2024-12-27 03:39:00 +13:00
75ee39f63c
Fixed old property in default template 2024-12-27 03:27:37 +13:00
be04edff3f
Updated some comments. 2024-12-27 02:58:17 +13:00
76462b97fb
Add JSON schema for interview templates, switched so using it internally for validation too 2024-12-27 02:47:04 +13:00
a254bc5697
Fix delete command description 2024-12-27 02:28:09 +13:00
87e5957ae9
Split interview template commands from admin and added delete command 2024-12-27 02:24:48 +13:00
78994a6263
Hide forbidden channels in /listopen and /listunassigned 2024-12-27 02:16:27 +13:00
e51afd0b47
I forgot something in the last commit 2024-12-27 02:09:08 +13:00
2ee77c89af
Promoted listinvalid to a top level command 2024-12-27 02:07:42 +13:00
e8bf4d3004
Added tickets where the user has left to /admin listinvalid 2024-12-27 02:01:09 +13:00
851a3c949c
Fix summary command description 2024-12-27 01:57:41 +13:00
414dbae62f
Moved interview templates to own table
This splits them into different entries making it possible to separately edit different ones at the same time.
2024-12-27 01:54:28 +13:00
24defe0128
Remove some unnecessary variables 2024-12-27 01:39:46 +13:00
769643a292
Fixed check for if ticket is already in destination category 2024-12-27 01:31:19 +13:00
f0e48cc2ab
Improved error detection when moving a ticket to a different category 2024-12-27 01:29:32 +13:00
f5852dae29
Added more detailed logging to log channel 2024-12-27 01:21:37 +13:00
93446ca30d
Slight update 2024-12-27 00:47:23 +13:00
4f265f44e2
Minor cleanup 2024-12-27 00:38:35 +13:00
3d2d987dfe
Add config entries for interviews 2024-12-26 23:47:55 +13:00
414ace3dcc
Added extra validation for templates 2024-12-26 23:23:25 +13:00
f1ce93ae86
Fixed restart interview command not being ephemeral 2024-12-26 20:48:50 +13:00
e2494c73d4
Add command to restart interviews 2024-12-26 20:47:07 +13:00
d9fcef449a
Get templates from database every time a new interview is started to avoid issues with the templates being passed by reference and then modified accidentally 2024-12-26 20:38:17 +13:00
839ec527df
Made interview command responses ephemeral 2024-12-26 20:22:05 +13:00
32776826ba
Created functioning interview system PoC 2024-12-26 20:12:50 +13:00
327f4d6de6
Moved button and selector logic for new tickets to event handler 2024-12-26 20:04:47 +13:00
d212f13b12
Add commands to update interview templates 2024-12-26 19:50:47 +13:00
9ef4364a13
Added option to pin the first ticket message 2024-12-26 19:25:08 +13:00
4f716dbbc9
Switched from mention to category name in move command 2024-12-26 19:01:20 +13:00
03497a28f8
Catch not found exceptions 2024-12-26 18:57:41 +13:00
5c75e1fa7d
Updated to latest 5.0.0 nightly build of DSharpPlus
Still needs a new logger implementation and some new exception handling.
2024-12-26 18:36:20 +13:00
3a94de9f23
Fix disabling ticket limit using 0 2024-12-26 17:57:58 +13:00
7f13161853
Started interview system PoC 2024-12-26 17:55:00 +13:00