[feature request] Messaging System :: a remove similar tickets button would be nice

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
15,366
Location
www.poralix.com
Hello,

I know, there is a filter to find tickets which would match specified criteria. But a possibility to delete tickets (similar to the selected) with one click would be great.

Let's say if one wants to delete all tickets notifying about brute force attacks, now we should find all the tickets with filter (in case we have more than one page of tickets), then select them and click "Delete selected".

It would be much quicker for admins/resellers to select one ticket and click a remove similar tickets button.
 
Hmm... but what would be the criteria for matching? 90% of the words? Exact matches?
The subject lines are never usually 100% matching, and I wouldn't want a guessing system, in case, for example, a User happens to contain a few of the keywords which match the criteria.

One option is for each message type to have a unique flag, saved in the message's conf file, which can be selected for the mass delete.. but that may be more work than it's worth for the feature (we'll let discussion decide).

Or a simpler option would be to have a set of pre-define search patterns for the "Advanced Search", such as "All messages that start with 'Brute-Force Attack detected'" .. for example. This is similar to how the User/Domain search on the main Admin/Reseller pages use... that way, the Admin would know the rules as to what they're deleting, so could make an educated decision.

John
 
Hello John,

Thanks for your time and reply.

OK, since we (in our particular case, I don't speak for others who might use it) do not use built-in ticket system, it seems I miss-lead you a little. I was referring to Message System (I know it would be much more complicated dealing with Ticket System), where we have mostly messages entitled as 'Brute-Force Attack detected', 'Warning: The system load average', etc. So the most subjects there have their patterns, and they are not unique, aren't they? Since that it would not need to write a guessing system, one click would do the following:

1. search for messages, subject of which starts with <here_lets_say_30_first_characters_of_subject_of_selected_message>
2. tick them all
3. delete selected

I guess it's just a few lines of JavaScript code to get the 30 first characters of a subject of the selected message, and then as user admin/reseller click "remove similar messages" he/she get a confirmation alert, saying "Are you sure, you want to delete all the messages, subject of which starts with bla-bla-bla?". And on confirmation a special request gets sent to Directadmin, and all messages get removed.

This is what I meant, I hope it's now more clear and can be easily implemented.
 
Back
Top