GithubHelp home page GithubHelp logo

bobweston / osticket-plugin-mentioner Goto Github PK

View Code? Open in Web Editor NEW

This project forked from clonemeagain/osticket-plugin-mentioner

0.0 0.0 1.0 35 KB

Finds Staff mentions in a thread and add's them as collaborators to the ticket.

License: GNU General Public License v2.0

PHP 100.00%

osticket-plugin-mentioner's Introduction

osTicket plugin: Mentioner

Parses incoming messages for @mentions, adds users/agents emails or names as collaborators on a ticket. Can also notice #mentions and send a notification to that person that they've been mentioned.

eg:

You'll want to have @clonemeagain have a look at it.

Will add user clonemeagain as a collaborator on the ticket. If that is a Staff member, a User account will be created with the same Name & Email as the Staff account then added.

Guys, pick amongst yourselves who needs to deal with this.
#tim #beerguy #additionalgenericcop

Will send three "You've been mentioned in a ticket" emails, one to each.

Bonus feature: You can use @name and #name's inside Canned Responses!

Concept pinched from: http://osticket.com/forum/discussion/comment/115623

To Install

Download master zip or release and extract into /include/plugins/mentioner and Install and enable as per normal osTicket Plugins

To configure

Visit the Admin-panel, select Manage => Plugins, choose the Mentioner plugin

  • Option to Enable or disable the adding of collaborators via @mention (Notice @mentions)
  • Option to Filter @mention collaborator adding to only Staff members (Only allow @mentions OF Agents(staff))
  • Option to Filter for @mention and #mention to only BY Staff (Only allow #/@ mentions BY Agents)
  • Option to Override Notifications: Ensures collaborators get notified about activity in the thread. The default is to only tell them about Messages sent by the thread originator, if you want Staff collaborators to know about internal notes or Messages sent by collaborators etc, then tick this. Note: This can be dangerous, if a Staff User is added incorrectly or in error as a collaborator, they will receive all internal notes! (including attachments if enabled). (Override Notifications).
  • Option to enter a domain-name which allows email matching. This means, if you have domain "github.com" entered, using #someting will match email address [email protected] and will perform a Staff lookup for that address, if none found, will perform a User lookup for that address.
  • Option to Enable checking for #mentions (Notice #Mentions)
  • Option to configure the Notification template for #mentions Uses same template variables as a Staff ticket.

What constitutes an @mention?

A few extra checks are done beyond a simple Staff username test!

  1. We check for Staff/User email address (if enabled) first (most accurate)
  2. Then we check for Staff firstname.lastname (quite accurate)
  3. Then we check for Staff Username (unlikely that all staff/users even know the usernames, doesn't work with spaces)
  4. Then we check for User's name (Quite difficult to match.. likely useless, doesn't work with spaces)

What constitutes an #mention?

Same criteria as @mention, but only Staff/Agents are matched.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.