Commit Graph

11 Commits

Author SHA1 Message Date
Mykhailo Bykhovtsev
81e7f29878 Reworking Bot API and optimizing for loops in admin code (#6355) 2019-05-01 14:14:26 +02:00
Erki
14d132ddef API refactor + update (#6127) 2019-03-23 22:12:59 +01:00
Erki
be323e7fac Fixes final ticket logging bugs (#4643) 2018-04-19 22:42:43 +02:00
Erki
185834e0ca DM is not C. DM is not C. DM is not C. DM is not C. (#4640) 2018-04-18 23:21:05 +02:00
Erki
32b47e409f Fixes tickets not logging (#4636)
Since tickets can't ever be reopened, this is fine. Also more data-proof.
2018-04-18 00:19:47 +03:00
Erki
18baa01d0a Ticket improvements (#4432)
Adds some features and fixes some shit:

Closing of tickets sent to Discord will now alert discord as well.
Adds a reminder period for tickets which starts after they're opened. It's intended to remind staff to close their tickets. Say, something like 10 minutes since opening sounds like a solid idea. If the staff who claimed it is offline, then all staff are reminded of it.
Adds the logging of all tickets to the database at the end of round. Sortable by staff closing, person opening, time opened, time closed, and round ID. This is primarily for Aboshehab.
2018-03-25 16:32:12 +03:00
Erki
5c9a3dc675 Tickets and assorted (#4433)
* Fixes #4407
* Fixes #4393
* Fixes #4413
* Fixes #4231
2018-03-18 12:30:27 +02:00
Erki
8607bd3e1f Fixes ticket security issue (#4398)
Turns out, ticket panels are updated for everyone if anyone presses specific buttons. At which point, the usr may as well be an admin, and this will then give access to all the tickets for everyone. So i fix it.
2018-03-12 10:00:28 +02:00
Erki
aef060e166 Fixes ticket access (#4374) 2018-03-10 23:08:33 +02:00
Alberyk
443f250846 March update bugfixes (#4373)
-fixes lack of light in the forensic lower area of the brig
-fixes the window tinting button missing from the bar
-fixes #4371
-fixes #4370
-fixes the escape shuttle transit
-fixes the wizard coat missing in the map
-changes the color of when someone takes a tick to red, instead of blue
-removes the extra escape shuttles that were left somewhere on the map for some reason
2018-03-10 22:42:15 +02:00
Mustafa Kalash
511e9c4e22 Replaces dibs with Bay's ticket system. (#3984)
A user ahelping creates a ticket. Any further ahelps while that ticket is open will go to that ticket (and either adminhelp or pm an admin assigned to the ticket, if one has taken it).
A user can close their own ticket up until an admin takes it.
Admins can take tickets either manually or just by replying to the PM.
An admin taking a ticket notifies other admins.
If another admin attempts to take or respond to an assigned ticket, they receive a notification asking if they would like to join the ticket or cancel (any number of admins can join a ticket).
When an admin finishes with a ticket, they must close it -- both for logistics and closure for the user.
If there is an open ticket assigned to an active admin, round end is automatically delayed (unassigned tickets or tickets assigned to disconnected or afk admins do not delay). Round end will automatically continue once all active tickets are closed.
Both staff and non-staff have access to a ticket panel listing tickets, their statuses, and their messages. Non-staff can only see their own tickets. This panel is optional and all features are available inline with chat.
2018-03-02 21:54:39 +02:00