Flyspray - The bug killer!

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Feature Request
  • Category User Interface
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version 1.0-rc
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Flyspray - The bug killer!
Opened by Dominik Meyer - 07.12.2016

FS#2322 - Mention System

Hello together,

it would be nice, if you could mention user in your ticket or comment which are not following the task.
for example when i will type @nickname, the user “nickname” should be get a e-mail that he is mentioned in the ticket.

(if we are “fancy” then we can print a automcomplete after the @-sign ist typed)

Admin
peterdd commented on 07.12.2016 23:36

Mmh, there is the Notifications tab where you can add a user as listener to a task.

An implementation of this feature require implementation for both dokuwiki and HTML/CKeditor syntax.

How do you want avoid misusage of that feature (spamming users for instance)
–> use of an existing permissions?

The autocomplete feature could use the same as the current autocompleter used in Flyspay + a javascript listener that reacts whenever the typing starts with a '@' or

\s+@

(regular expression) is typed (like in github.com)

If a user is mentioned in a task or comment, should that user be added to the notification list if he is not yet there?

That would mean:

  • For dokuwiki description/comment must be parsed when saving serverside, not only on output.
  • For HTML/CKeditor the HTMLpurifier configuration must be used or extended (avail since FS 1.0-rc4)

Before implementing, the Flyspray notification system should be reviewed. So probably not before FS1.1

Dominik Meyer commented on 08.12.2016 08:07
If a user is mentioned in a task or comment, should that user be added to the notification list if he is not yet there?

hm when i compare it to other systems, then a mention would not add him to the notification list. i think it is the decision of the user to go to the list. or when the user want this user explicit in this list. i would only send him one notification when he is added to a task or a comment.
when the task/comment will be edit he dont get a e-mail.

something pseudo code like this:

if($aclAllowMentions) {
foreach(preg_match($userFromRegex == REGEX \s+@, $_POST['xyz'])  {
   $hasMention = (bool)$db->select('SELECT ID from ticket/comment where ID = $ticketID AND content LIKE "%@.$userFromRegex%"');
 
  if(!$hasMention) {
     notify::send('you go mentionted by user xyz in ticket/coment xyz (content preview)';
  }
}
}

the dokuwiki/HTML/CKeditor can we do in a second step.

(if you want i can implement it)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing