https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292013-05-03T14:28:41ZRedmineRedmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=490612013-05-03T14:28:41ZJelle Bekker
<ul></ul><p>I've tried to implement this at <a class="external" href="https://github.com/Jbekker/redmine_mention_plugin/tree/autocomplete">https://github.com/Jbekker/redmine_mention_plugin/tree/autocomplete</a><br />I changed the syntax to :user instead of <a class="user active" href="https://www.redmine.org/users/1669">user user</a> because that doesn't get triggered when typing a email-address :-( I'm sure there is a way to filter a email adress out but im not a Ruby/JavaScript pro yet.<br />Currently im not checking if jquery is loaded and there are a few other things that could be done better I suppose. Patches and pull requests are welcome!</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=556362014-04-02T05:50:23ZArkhitech - More, Better, Faster!
<ul></ul><p>+1 for this feature. Mentioned user should not get added to the watcher's list though. Only a one time email should be triggered saying that 'You were mentioned....' or something. Also, there should be email notification setting, where you can appropriately adjust that you want to receive mention email notifications only, etc.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=561132014-04-30T09:38:13ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/16478">Feature #16478</a>: Several people involved / Mention someone</i> added</li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=564632014-05-24T08:50:56ZAndriy Lesyuk
<ul></ul><p>FYI, mentions with email notifications are implemented in <a href="http://projects.andriylesyuk.com/projects/wiking/wiki#Mentions" class="external">WikiNG 1.0.0b</a>.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=569442014-06-22T03:19:57ZToshi MARUYAMA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/15828">Feature #15828</a>: mention system.</i> added</li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=569452014-06-22T03:21:29ZToshi MARUYAMA
<ul><li><strong>Related to</strong> deleted (<i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/16478">Feature #16478</a>: Several people involved / Mention someone</i>)</li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=569492014-06-22T03:22:30ZToshi MARUYAMA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/16478">Feature #16478</a>: Several people involved / Mention someone</i> added</li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=574242014-07-09T05:47:36ZDmitry Beloglazov
<ul></ul><p>+1 for this one. Would be really nice to have.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=583152014-08-27T14:46:30ZAlex Sherman
<ul></ul><p>+1<br />I also tried this one: <a class="external" href="http://www.redmine.org/plugins/redmine-mentions">http://www.redmine.org/plugins/redmine-mentions</a></p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=650732015-07-26T06:39:53ZLai Wei-Hwa
<ul></ul><p>The <a href="http://www.redmine.org/plugins/redmine-mentions" class="external">plugin</a> that Alex Sherman posted is cool but doesn't work on comments. +1 to get this implemented.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=685592016-01-14T19:45:39ZKamil Franckiewicz
<ul></ul><p>Arkhitech - More, Better, Faster! wrote:</p>
<blockquote>
<p>+1 for this feature. Mentioned user should not get added to the watcher's list though. Only a one time email should be triggered saying that 'You were mentioned....' or something. Also, there should be email notification setting, where you can appropriately adjust that you want to receive mention email notifications only, etc.</p>
</blockquote>
<p>I agree. +1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=685772016-01-15T12:19:24Zbudo kaiman
<ul></ul><p>+1 to single email. Plugins for this feature have always been unreliable and trying to communicate on redmine without setting people as watchers is awkward and inefficient.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=689022016-01-28T11:10:31ZKonstantin Ladutenko
<ul></ul><p>Lai Wei-Hwa wrote:</p>
<blockquote>
<p>The <a href="http://www.redmine.org/plugins/redmine-mentions" class="external">plugin</a> that Alex Sherman posted is cool but doesn't work on comments. +1 to get this implemented.</p>
</blockquote>
<p>Alex Sherman wrote:</p>
<blockquote>
<p>+1<br />I also tried this one: <a class="external" href="http://www.redmine.org/plugins/redmine-mentions">http://www.redmine.org/plugins/redmine-mentions</a></p>
</blockquote>
<p>I used the same plugin by Arkhitech, it looks to work as expected for comments, however, does not notify user when mentioned in description of the task. To make autocomplete feature to work with redmine 2.5.2 I used a patch (see pull requtest on GitHub <a class="external" href="https://github.com/arkhitech/redmine_mentions/pull/34">https://github.com/arkhitech/redmine_mentions/pull/34</a> )</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=705392016-04-25T14:22:02ZSteve Légaré
<ul></ul><p>Arkhitech - More, Better, Faster! wrote:</p>
<blockquote>
<p>+1 for this feature. Mentioned user should not get added to the watcher's list though. Only a one time email should be triggered saying that 'You were mentioned....' or something. Also, there should be email notification setting, where you can appropriately adjust that you want to receive mention email notifications only, etc.</p>
</blockquote>
<p>I agree! +1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=725042016-08-01T06:55:01ZAnh Le Giang
<ul></ul><p>+ 1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=740852016-10-19T07:31:23Zsch uess
<ul></ul><p>+1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=743642016-11-03T22:44:16ZFrank Paaske
<ul></ul><p>Yes, please add this feature!</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=745322016-11-17T19:12:16ZY Z
<ul></ul><p>+1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=762332017-01-23T10:23:26ZRoman Kovtyukh
<ul></ul><p>+1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=803942017-07-31T03:49:27ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/26127">Feature #26127</a>: Display user logins on profiles</i> added</li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=807452017-08-21T03:53:31ZYasukazu Nagatomi
<ul></ul><p>I agree! +1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=810362017-09-12T03:44:26ZJoe Price
<ul></ul><p>+1 Keep the dream alive!</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=812262017-09-22T16:39:54ZAlexandre Audige
<ul></ul><p>+1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=835042018-02-09T07:42:10ZC F
<ul></ul><p>+1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=843672018-04-04T06:22:32ZKevin Palm
<ul></ul><p>+1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=854272018-06-06T10:38:52ZAleksei Trubnikov
<ul></ul><p>+1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=858202018-06-25T14:33:06Zsebastien lemaitre
<ul></ul><p>+1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=867402018-08-23T12:49:55ZMaickel Neitzke
<ul></ul><p>+1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=868712018-08-31T23:56:01ZKamil .
<ul></ul><p>+1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=868822018-09-01T03:27:34ZGo MAEDA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/29471">Feature #29471</a>: Allow for calling users by their username</i> added</li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=890942018-12-19T05:58:47ZAnonymous
<ul></ul><p>+1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=893972019-01-14T20:50:59ZTantic o
<ul></ul><p>+1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=898222019-02-05T15:40:58ZMuhammad Yusuf
<ul></ul><p>+1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=906342019-03-07T04:41:09ZMizuki ISHIKAWA
<ul><li><strong>File</strong> <a href="/attachments/22583">feature_13919_v1.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/22583/feature_13919_v1.patch">feature_13919_v1.patch</a> added</li></ul>The attached patch adds a feature to mention to the user.
<ul>
<li>Use user link such as "user:jsmith" "@jsmith" "user#2".</li>
<li>Notify when the user mentioned by the user link has the authority to view the element and has not rejected the notification.</li>
</ul>
<p>The test has not been written yet for this patch.<br />There is room for improvement in this patch.<br />I'm looking forward to getting your feedback.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=907032019-03-12T13:22:24ZYuuki NARA
<ul></ul><p>+1</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=908972019-03-24T02:44:30ZGo MAEDA
<ul><li><strong>Category</strong> changed from <i>Core Plugins</i> to <i>Email notifications</i></li><li><strong>Target version</strong> set to <i>Candidate for next major release</i></li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=909412019-03-26T06:16:07ZMizuki ISHIKAWA
<ul><li><strong>File</strong> <a href="/attachments/22703">feature_13919_v2.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/22703/feature_13919_v2.patch">feature_13919_v2.patch</a> added</li></ul><p>I attached a patch to which test code was added.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=911372019-04-07T07:49:21ZGo MAEDA
<ul><li><strong>Target version</strong> changed from <i>Candidate for next major release</i> to <i>4.1.0</i></li></ul><p>Setting the target version to 4.1.0.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=913412019-04-25T06:25:26ZMarius BĂLTEANU
<ul><li><strong>Assignee</strong> set to <i>Marius BĂLTEANU</i></li></ul><p>I would like to test the solution proposed because looking over the patch proposed, I think that it cannot be committed as it is and it'll require more work.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=917592019-05-14T12:03:53ZAleksandar Pavic
<ul></ul><p>+1</p>
<p>Mention should actually trigger email notification (add user as watcher if it's not added)</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=917862019-05-16T00:40:08ZJohn Ramsden
<ul></ul><p>We've been looking at this feature, and we're hoping to move from to it from the redmine_mention_plugin plugin<sup><a href="#fn1">1</a></sup>. The issue we're having with the current plugin is that it doesn't support our usernames that are emails. Are there any plans to support that in this feature? Or if we plan to use this feature should we move away from emails as usernames?</p>
<p>In the existing plugin when we write <code>@</code>, an autocomplete box opens, when we choose a user that is not an email, it converts it to a link to the user correctly, whereas when using an email it does not. We tried modifying <a href="https://github.com/stpl/redmine_mention_plugin/blob/1622e2e039ebbb2aaa68033e2eea6bd609e0de9e/lib/mention.rb#L15" class="external">the regex</a> but I guess there's more to it than that.</p>
<p id="fn1" class="footnote"><sup>1</sup> <a class="external" href="https://github.com/stpl/redmine_mention_plugin">https://github.com/stpl/redmine_mention_plugin</a></p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=920272019-05-25T03:45:24ZGo MAEDA
<ul></ul><p>Marius BALTEANU wrote:</p>
<blockquote>
<p>I would like to test the solution proposed because looking over the patch proposed, I think that it cannot be committed as it is and it'll require more work.</p>
</blockquote>
<p>Could you point out what needs to be corrected? Maybe Mizuki can work on correcting the patch.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=923642019-06-16T12:07:55ZMarius BĂLTEANU
<ul></ul><p>Thanks Mizuki for writing the patch.</p>
<p>My main concern regarding the proposed solution is that there is no way for the user to control the notification emails, he'll be notified every time when someone will mention him.</p>
<p>I see 2 options:<br />1. We add a new event type ("On mention") and some options for the user to control when he should be notified or not. But this solution it's quite complex and it'll require more time to work on it. Also, the message from the notification emails should contain something like "You received this email because someone mentioned you".<br />2. We just add the user as watcher and the notifications will be controlled by the actual notification rules. In addition, we can add in the user preferences an option regarding if he wants to auto watch the objects where he is mentioned.</p>
<p>My proposal is to go with 2 for now and see in the future how can develop more this feature.</p>
<p>Anyway, another main improvement here is to have a client side feature to allow users to mention someone using an autocomplete dropdown.</p>
<p>Any other feedback on this is welcome.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=923722019-06-16T20:11:10ZAnders Thomsen
<ul></ul><p>Marius BALTEANU wrote:</p>
<blockquote>
<p>...<br />My main concern regarding the proposed solution is that there is no way for the user to control the notification emails, he'll be notified every time when someone will mention him. <br />...<br />I see 2 options:<br />...<br />2. We just add the user as watcher and the notifications will be controlled by the actual notification rules. In addition, we can add in the user preferences an option regarding if he wants to auto watch the objects where he is mentioned.</p>
</blockquote>
<p>Won't adding mentioned users as watchers cause them to get even more e-mails? Consider a scenario where developers (watching the issue) frequently adds notes to an issue. Once in a while they need to notify some stakeholder (not watching as this would cause too many irrelevant notifications) which they do by mentioning them.<br />Or perhaps I misunderstand - by "add the user as watcher" do you mean only for that one request (not persisting the setting)?</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=923782019-06-17T12:38:22ZMarius BĂLTEANU
<ul></ul><p>Anders Thomsen wrote:</p>
<blockquote>
<p>Won't adding mentioned users as watchers cause them to get even more e-mails? Consider a scenario where developers (watching the issue) frequently adds notes to an issue. Once in a while they need to notify some stakeholder (not watching as this would cause too many irrelevant notifications) which they do by mentioning them.<br />Or perhaps I misunderstand - by "add the user as watcher" do you mean only for that one request (not persisting the setting)?</p>
</blockquote>
<p>You're right, it'll generate more emails.</p>
<p>How do you see the implementation?</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=923942019-06-18T18:23:46ZAnders Thomsen
<ul></ul><p>In a company there should be no problem as mentioning a user would have the same effect as sending an email to the user. So I believe the main concern would be in public websites like this one.</p>
<p>It could be controlled by a new permission: "Notify mentioned users". If one don't have that permission, no drop-down should be displayed typing in @ and of cause no notification e-mail should be sent.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=924322019-06-20T05:24:18ZGo MAEDA
<ul></ul><p>Marius BALTEANU wrote:</p>
<blockquote>
<p>My main concern regarding the proposed solution is that there is no way for the user to control the notification emails, he'll be notified every time when someone will mention him.</p>
</blockquote>
<p>I think it is the ideal behavior because this feature is to forcefully send a notification to another user. Since the notification is sent only when a user used "@login" or other special markup, I think it is not a big problem.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=924602019-06-20T07:53:08ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Target version</strong> changed from <i>4.1.0</i> to <i>4.2.0</i></li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=928322019-07-22T05:59:01ZMizuki ISHIKAWA
<ul></ul><p>I agree with <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Mention user on issues and wiki pages using @user with autocomplete (Closed)" href="https://www.redmine.org/issues/13919#note-47">#13919#note-47</a>.</p>
<blockquote>
<p><a class="external" href="http://www.redmine.org/projects/redmine/repository/entry/trunk/app/models/user.rb#L790">http://www.redmine.org/projects/redmine/repository/entry/trunk/app/models/user.rb#L790</a><br />always send to project members except when mail_notification is set to 'none'</p>
</blockquote>
<p>If mail_notification is not none, a notification will be sent when the news is created(<a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Adding news does not send notification to all project members (Closed)" href="https://www.redmine.org/issues/4700">#4700</a>).</p>
<p>I think that notifications when mentioned are as important as news notifications.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=934222019-09-01T03:22:32ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/31989">Feature #31989</a>: Inline issue auto complete (#) in fields with text-formatting enabled</i> added</li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=936432019-09-10T17:07:19ZMarius BĂLTEANU
<ul><li><strong>File</strong> <a href="/attachments/23824">0001-Demo-for-acts_as_mentionable.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/23824/0001-Demo-for-acts_as_mentionable.patch">0001-Demo-for-acts_as_mentionable.patch</a> added</li></ul><p><a class="user active" href="https://www.redmine.org/users/41705">汪婷 汪</a> ISHIKAWA, what do you think if we try to implement this feature using a new plugin named "acts_as_mentionable" which will be able to look for mentioned users (for now, it can be extended to another entities in the future) only on the changed values and only on configured attributes per entity (for example: Issue#description, Journal#notes, CustomFieldValue#value, etc)?</p>
<p>I'm attaching a patch for demo purposes which:<br />- gives you access to all attributes that are changed during an update using <code>saved_changes</code><br />- gives you access to the attributes where we should look after mentions through <code>mentionable_attributes</code></p>
<p>Further more, I think we should have a mechanism that calculates the users that should be notified by making a diff between the users that were been notified based on the old value and the users that should be notified based on the new value. In this way, we avoid sending another mention if someone just append a short text to an existing description which already contains a mention. Also, the email send to the user should be a new mail template, something like "You have been mentioned in #{issue} by #{user}".</p>
<p>Please let me know what do you think about this. Any other ideas are welcome!</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=936472019-09-11T00:24:07ZMizuki ISHIKAWA
<ul></ul><p>Marius BALTEANU wrote:</p>
<blockquote>
<p>Please let me know what do you think about this.</p>
</blockquote>
<p>Thank you for your activity on this Issue(feature)!<br />The implementation using the "acts_as_mentionable" plugin looks more beautiful than the patch implementation I attached in <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Mention user on issues and wiki pages using @user with autocomplete (Closed)" href="https://www.redmine.org/issues/13919#note-34">#13919#note-34</a>.</p>
<blockquote>
<p>Also, the email send to the user should be a new mail template, something like "You have been mentioned in #{issue} by #{user}".</p>
</blockquote>
<p>That looks good.</p>
<p>If the mention user is always notified of changes to mentionable attribute(eg issue),<br />I think it would be ideal to send only the email "You have been mentioned in #{issue} by #{user}". (Do not send existing email "Issue#1 has been updated by #{user}")</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=936632019-09-11T20:19:10ZMarius BĂLTEANU
<ul></ul><p>Mizuki ISHIKAWA wrote:</p>
<blockquote>
<p>Thank you for your activity on this Issue(feature)!<br />The implementation using the "acts_as_mentionable" plugin looks more beautiful than the patch implementation I attached in <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Mention user on issues and wiki pages using @user with autocomplete (Closed)" href="https://www.redmine.org/issues/13919#note-34">#13919#note-34</a>.</p>
</blockquote>
<p>Thanks for you quick feedback. Do you like to continue from here? I would be very happy to review the patch.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=962342020-02-13T01:37:01ZMizuki ISHIKAWA
<ul><li><strong>File</strong> <a href="/attachments/24814">draft-feature-13919-v3.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/24814/draft-feature-13919-v3.patch">draft-feature-13919-v3.patch</a> added</li><li><strong>File</strong> <a href="/attachments/24815">draft-acts_as_mentionable.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/24815/draft-acts_as_mentionable.patch">draft-acts_as_mentionable.patch</a> added</li></ul><p>I am developing a patch based on 0001-Demo-for-acts_as_mentionable.patch, but I thought that there are some problems by sharing the process with acts_as_mentionable.</p>
<p>Existing notification emails have been optimized to deliver more information per event, such as <a href="https://redmine.org/projects/redmine/repository/revisions/19513/entry/trunk/app/views/mailer/issue_add.html.erb" class="external">mailer/issue_add.html.erb</a>, <a href="https://redmine.org/projects/redmine/repository/changes/trunk/app/views/mailer/issue_edit.html.erb?rev=19513" class="external">mailer/issue_edit.html.erb</a> and <a href="https://redmine.org/projects/redmine/repository/revisions/19513/entry/trunk/app/views/mailer/news_added.html.erb" class="external">mailer/news_added.html.erb</a> .<br />For example, issue_edit includes Issue information as well as Journal information as shown below.</p>
<pre>
Issue #1 has been updated by Redmine Admin.
・ Description updated (diff)
Change description.
Bug #25: Subject
Author: Redmine Admin
Status: New
Priority: Normal
Start date: 2020-02-04
Searchable field: Default string
John Smith Dave Lopper
Description
Description comment.
</pre>
<p>I find it difficult to replace these optimized emails with a common email template created based on <a class="attachment" href="https://www.redmine.org/attachments/25155">0001-Demo-for-acts_as_mentionable.patch</a>.</p>
<p>Therefore, I am planning to develop a patch that replaces the subject or the first sentence(example: Issue <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: fetch_changesets broken (Closed)" href="https://www.redmine.org/issues/25">#25</a> has been updated by Redmine Admin) of the existing notification email with "You have been mentioned in Issue <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: fetch_changesets broken (Closed)" href="https://www.redmine.org/issues/25">#25</a> by Redmine Admin" based on the <a class="attachment" href="https://www.redmine.org/attachments/22703">feature_13919_v2.patch</a>.</p>
I have created a draft patch that works with two designs.
<ul>
<li>Patch with common processing based on <a class="attachment" href="https://www.redmine.org/attachments/25155">0001-Demo-for-acts_as_mentionable.patch</a>: <a class="attachment" href="https://www.redmine.org/attachments/24815">draft-acts_as_mentionable.patch</a></li>
<li>Patch that adds a function to change the email subject to the <a class="attachment" href="https://www.redmine.org/attachments/22703">feature_13919_v2.patch</a>: <a class="attachment" href="https://www.redmine.org/attachments/24814">draft-feature-13919-v3.patch</a></li>
</ul>
<p>I welcome feedback on code design, etc.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=965692020-03-04T09:49:31ZDe Lo
<ul></ul><p>In Gitlab, when you mention someone, they gets automatically subscribed to the thread and receives all further updates on the issue. We use that behaviour in our company and it very well suits our needs.</p>
<p>Having a different paradigm in another tool is misleading. IMHO, the fact that mentioned user could be added to watcher list should be controlled via a flag in the settings. As I can see on this plugin: <a class="external" href="https://github.com/arkhitech/redmine_mentions">https://github.com/arkhitech/redmine_mentions</a>, its a feature which has been multiple times been requested.</p>
<p>What's your opinion ?</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=970662020-04-02T20:23:18ZMarius BĂLTEANU
<ul><li><strong>File</strong> <i>0001-wip-for-acts_as_mentionable.patch</i> added</li></ul><p>Mizuki ISHIKAWA wrote:</p>
<blockquote>
<p>I am developing a patch based on 0001-Demo-for-acts_as_mentionable.patch, but I thought that there are some problems by sharing the process with acts_as_mentionable.</p>
<p>Existing notification emails have been optimized to deliver more information per event, such as <a href="https://redmine.org/projects/redmine/repository/revisions/19513/entry/trunk/app/views/mailer/issue_add.html.erb" class="external">mailer/issue_add.html.erb</a>, <a href="https://redmine.org/projects/redmine/repository/changes/trunk/app/views/mailer/issue_edit.html.erb?rev=19513" class="external">mailer/issue_edit.html.erb</a> and <a href="https://redmine.org/projects/redmine/repository/revisions/19513/entry/trunk/app/views/mailer/news_added.html.erb" class="external">mailer/news_added.html.erb</a> .<br />For example, issue_edit includes Issue information as well as Journal information as shown below.</p>
<p>[...]</p>
<p>I find it difficult to replace these optimized emails with a common email template created based on <a class="attachment" href="https://www.redmine.org/attachments/25155">0001-Demo-for-acts_as_mentionable.patch</a>.</p>
<p>Therefore, I am planning to develop a patch that replaces the subject or the first sentence(example: Issue <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: fetch_changesets broken (Closed)" href="https://www.redmine.org/issues/25">#25</a> has been updated by Redmine Admin) of the existing notification email with "You have been mentioned in Issue <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: fetch_changesets broken (Closed)" href="https://www.redmine.org/issues/25">#25</a> by Redmine Admin" based on the <a class="attachment" href="https://www.redmine.org/attachments/22703">feature_13919_v2.patch</a>.</p>
I have created a draft patch that works with two designs.
<ul>
<li>Patch with common processing based on <a class="attachment" href="https://www.redmine.org/attachments/25155">0001-Demo-for-acts_as_mentionable.patch</a>: <a class="attachment" href="https://www.redmine.org/attachments/24815">draft-acts_as_mentionable.patch</a></li>
<li>Patch that adds a function to change the email subject to the <a class="attachment" href="https://www.redmine.org/attachments/22703">feature_13919_v2.patch</a>: <a class="attachment" href="https://www.redmine.org/attachments/24814">draft-feature-13919-v3.patch</a></li>
</ul>
<p>I welcome feedback on code design, etc.</p>
</blockquote>
<p>Thanks Mizuki for the work made on top of my patch. I took a look over your patches and I'm not sure why all those changes made to <code>ApplicationHelper#parse_redmine_links</code> and <code>User</code> are needed, most probably I missed something.</p>
<p>I made a new version of my patch (still WIP) which includes the auto complete feature for users and a working version of <code>acts_as_mentionable</code>. For now, <code>notified_mentions</code> receive the same existing email from Redmine, but we can easily made some changes to the email template in order to include a message like "You have been mentioned" or something similar. I'm attaching the patch for testing purposes.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=971632020-04-05T19:03:03ZMarius BĂLTEANU
<ul><li><strong>File</strong> deleted (<del><i>0001-wip-for-acts_as_mentionable.patch</i></del>)</li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=971642020-04-05T19:17:27ZMarius BĂLTEANU
<ul><li><strong>File</strong> <a href="/attachments/25154">email_template.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/25154/email_template.png">email_template.png</a> added</li><li><strong>File</strong> <a href="/attachments/25155">0001-Demo-for-acts_as_mentionable.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/25155/0001-Demo-for-acts_as_mentionable.patch">0001-Demo-for-acts_as_mentionable.patch</a> added</li></ul>I've updated the patch in order to:
<ol>
<li>ignore the users mentioned in quoted text or pre tags.</li>
<li>add in the email template the sentence "You have been mentioned in it." (for now only when adding/editing issue)</li>
</ol>
<p><img src="https://www.redmine.org/attachments/download/25154/email_template.png" style="width:50%;border: 1px solid grey;" alt="" /></p>
<p>This patch is good enough to demonstrate how the feature will work from a user perspective. Please let me know what do you think. If we decide that it's good enough, I will finish the work needed (tests, update all email templates, etc) in order to finally include this feature in Redmine core.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=972942020-04-16T02:47:41ZMizuki ISHIKAWA
<ul><li><strong>File</strong> <a href="/attachments/25199">0002-Prevent-multiple-emails-from-being-sent-to-a-user.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/25199/0002-Prevent-multiple-emails-from-being-sent-to-a-user.patch">0002-Prevent-multiple-emails-from-being-sent-to-a-user.patch</a> added</li><li><strong>File</strong> <a href="/attachments/25200">0003-Add-permission-check-before-sending-email.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/25200/0003-Add-permission-check-before-sending-email.patch">0003-Add-permission-check-before-sending-email.patch</a> added</li></ul><p>Marius BALTEANU wrote:</p>
<blockquote>
<p>Thanks Mizuki for the work made on top of my patch. I took a look over your patches and I'm not sure why all those changes made to <code>ApplicationHelper#parse_redmine_links</code> and <code>User</code> are needed, most probably I missed something.</p>
</blockquote>
<ul>
<li>Changes to User is to check if the mentioned user has permission to access that object. Do not send notification emails to users who do not have access to the mentioned object.</li>
<li>Changes to ApplicationHelper#parse_redmine_links is to change the color of the link only to the user who is sent the permission check result email. (This is not absolutely necessary)</li>
</ul>
<hr />
<p>Marius BALTEANU wrote:</p>
<blockquote>
<p>I made a new version of my patch (still WIP) which includes the auto complete feature for users and a working version of <code>acts_as_mentionable</code>. For now, <code>notified_mentions</code> receive the same existing email from Redmine, but we can easily made some changes to the email template in order to include a message like "You have been mentioned" or something similar. I'm attaching the patch for testing purposes.</p>
</blockquote>
<p>Thanks for developing the patch, I think <a class="attachment" href="https://www.redmine.org/attachments/25155">0001-Demo-for-acts_as_mentionable.patch</a> is a much better design than the <a class="attachment" href="https://www.redmine.org/attachments/24815">draft-acts_as_mentionable.patch</a> I wrote.</p>
<p>I attached some patches to solve it because I had some concerns.</p>
<ul>
<li><a class="attachment" href="https://www.redmine.org/attachments/25199">0002-Prevent-multiple-emails-from-being-sent-to-a-user.patch</a></li>
</ul>
<p>Fix an issue where one user receives two notification emails when mentioning a user who originally planned to be notified(Issue#notified_users).</p>
<ul>
<li><a class="attachment" href="https://www.redmine.org/attachments/25200">0003-Add-permission-check-before-sending-email.patch</a></li>
</ul>
<p>@dummy_user who is not a member of the C project cannot see issues in the C project. Even if @dummy_user is mentioned in the C project issue, I don't think the notification email should reach @dummy_user.</p>
<p>This patch adds a process to decide whether to send a notification email according to the permissions of the mentioned user.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=972952020-04-16T02:48:56ZMizuki ISHIKAWA
<ul></ul><p>De Lo wrote:</p>
<blockquote>
<p>In Gitlab, when you mention someone, they gets automatically subscribed to the thread and receives all further updates on the issue. We use that behaviour in our company and it very well suits our needs.</p>
<p>Having a different paradigm in another tool is misleading. IMHO, the fact that mentioned user could be added to watcher list should be controlled via a flag in the settings. As I can see on this plugin: <a class="external" href="https://github.com/arkhitech/redmine_mentions">https://github.com/arkhitech/redmine_mentions</a>, its a feature which has been multiple times been requested.</p>
<p>What's your opinion ?</p>
</blockquote>
<p>I think the above feature to add mentioned users to watchers should be considered as an additional implementation after this feature (<a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Mention user on issues and wiki pages using @user with autocomplete (Closed)" href="https://www.redmine.org/issues/13919">#13919</a>) is committed.</p>
<p>Example, Add the mentioned user to watcher if Setting.add_mentioned_users_to_watchers is true.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1014102021-03-17T21:37:20ZMarius BĂLTEANU
<ul><li><strong>Target version</strong> changed from <i>4.2.0</i> to <i>5.0.0</i></li></ul><p>Unfortunately, I'm not able to finish this for <a class="version" href="https://www.redmine.org/versions/152">4.2.0</a>.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1040852021-09-09T12:58:41ZFabiano Souza
<ul></ul><p>Hi,</p>
<p>On track for 5.0.0 ?</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1045382021-11-06T08:15:51ZDiego Antunes
<ul></ul><p>Fabiano Souza wrote:</p>
<blockquote>
<p>Hi,</p>
<p>On track for 5.0.0 ?</p>
</blockquote>
<p>What the hell, I check this email every now and then "about once a year, lol". I added this 8 years ago, 8 YEARS!!! glad I stopped using Redmine about 7 years ago.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1045542021-11-08T12:53:56ZDmitry Babenko
<ul></ul><p>Diego Antunes wrote:</p>
<blockquote>
<p>What the hell, I check this email every now and then "about once a year, lol". I added this 8 years ago, 8 YEARS!!! glad I stopped using Redmine about 7 years ago.</p>
</blockquote>
<p>Diego, it's free and open-source software. And since we are not paying for its development or usage we can't really claim for anything.<br />We can support and encourage the developers and maintainers, but definitely not blame them. Especially, when a requested issue is not a bug, but a new feature.</p>
<p>PS: I'm also looking forward to this feature. And it's probably the last feature I really miss in Redmine :)</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1045622021-11-08T22:15:06ZMarius BĂLTEANU
<ul></ul><p>Dmitry Babenko wrote:</p>
<blockquote>
<p>Diego, it's free and open-source software. And since we are not paying for its development or usage we can't really claim for anything.<br />We can support and encourage the developers and maintainers, but definitely not blame them. Especially, when a requested issue is not a bug, but a new feature.</p>
</blockquote>
<p>Thanks for the nice words!</p>
<p>I'm confident that we can deliver this in <a class="version" href="https://www.redmine.org/versions/155">5.0.0</a>. I've a functional version with both issues reported by Mizuki in <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Mention user on issues and wiki pages using @user with autocomplete (Closed)" href="https://www.redmine.org/issues/13919#note-59">#13919#note-59</a> fixed, but it depends on the newly <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Add notification reason to the email instead of the default static email footer (New)" href="https://www.redmine.org/issues/36162">#36162</a> that changes the notification reason from a static and generic text to a dynamic text.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1045632021-11-08T22:15:52ZMarius BĂLTEANU
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-4 priority-default" href="/issues/36162">Feature #36162</a>: Add notification reason to the email instead of the default static email footer</i> added</li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1045912021-11-09T10:10:31ZDmitry Babenko
<ul></ul><p>Marius BALTEANU wrote:</p>
<blockquote>
<p>I'm confident that we can deliver this in <a class="version" href="https://www.redmine.org/versions/155">5.0.0</a>.</p>
</blockquote>
<p>Great! Thanks! It will be a huge leap for Redmine! :)</p>
<blockquote>
<p>I've a functional version with both issues reported by Mizuki in <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Mention user on issues and wiki pages using @user with autocomplete (Closed)" href="https://www.redmine.org/issues/13919#note-59">#13919#note-59</a> fixed, but it depends on the newly <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Add notification reason to the email instead of the default static email footer (New)" href="https://www.redmine.org/issues/36162">#36162</a> that changes the notification reason from a static and generic text to a dynamic text.</p>
</blockquote>
<p>Actually, the default static email footer is just fine.<br />I think it is better to put <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Add notification reason to the email instead of the default static email footer (New)" href="https://www.redmine.org/issues/36162">#36162</a> for one of the future releases and not block the mentions feature if it is possible.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1045922021-11-09T10:13:26ZAdrien Crivelli
<ul></ul><p>I agree with Dmitry here, while <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Add notification reason to the email instead of the default static email footer (New)" href="https://www.redmine.org/issues/36162">#36162</a> would be nice, mentions would definitely be more useful and should not be blocked by improvements that can be made later.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1046302021-11-15T21:53:52ZMarius BĂLTEANU
<ul><li><strong>File</strong> <i>0001-Allow-users-to-be-mention.patch</i> added</li></ul><p>I'm attaching a patch that contains a fully working version without any known issue, it can be used for testing. In the meantime, I'm adding the automated tests.</p>
<p>Please note that there is no difference between a mail received because you're the assignee and an email received because you have been mentioned, we will add this as part of <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Add notification reason to the email instead of the default static email footer (New)" href="https://www.redmine.org/issues/36162">#36162</a>.</p>
<p>Please let me know what do you think and if something is missing.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1048132021-12-09T14:52:29ZMiodrag Milic
<ul></ul><p>Can't wait for this one! Thx guys, you are awesome.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1049122021-12-20T12:34:55Zjontofront jontofront
<ul></ul><p>+</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1051972022-01-12T18:12:41ZMarius BĂLTEANU
<ul><li><strong>File</strong> deleted (<del><i>0001-Allow-users-to-be-mention.patch</i></del>)</li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1051982022-01-12T18:22:43ZMarius BĂLTEANU
<ul><li><strong>File</strong> <a href="/attachments/28663">0001-Allow-users-to-be-mentioned-using.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/28663/0001-Allow-users-to-be-mentioned-using.patch">0001-Allow-users-to-be-mentioned-using.patch</a> added</li></ul><p>I'm attaching an updated patch which includes some fixes and tests for the mentioning system.</p>
<p>I still need to change the user autocomplete in order to propose only users that are able to see the object in order to avoid those cases when you mention a visible user, but he won't receive the notification because he cannot see that object (the same issue that we had on watchers). After I do this, I'll commit the patch.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1052172022-01-14T01:20:51ZKohei Nakamura
<ul></ul><p>+1</p>
<p>I've been really waiting for this feature.<br />This will be a great motivation for us to update Redmine 5.<br />Thanks for the development!</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1054232022-01-24T17:41:42ZMarius BĂLTEANU
<ul><li><strong>File</strong> <a href="/attachments/28738">0001-Allow-users-to-be-mentioned-using-in-issues-and-wiki.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/28738/0001-Allow-users-to-be-mentioned-using-in-issues-and-wiki.patch">0001-Allow-users-to-be-mentioned-using-in-issues-and-wiki.patch</a> added</li></ul>I'm adding a new version of the patch that brings two important changes:
<ul>
<li>only users that are able to see the object are proposed in users autocomplete.</li>
<li>integrates with watchers permission (because this feature has a notification component) in order to allow mentioning only by users with permission to add watchers on that object. For ex: only users with <code>add_issue_watchers</code> permission can mention users on issues.</li>
</ul>
I'm not sure if reusing the watcher permission is the best option or:
<ul>
<li>we should add a specific permission <code>mention_user</code> for each type of object (issue, wiki pages, etc)</li>
<li>adds a "global" permission</li>
</ul>
<p>I would like some feedback before moving forward with the implementation.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1054272022-01-24T22:27:57ZAdrien Crivelli
<ul></ul><p>Using the existing permission sounds good to me. If future, real usage shows that it's not optimal we could always move to a dedicated permissions. But until then I wouldn't overcomplicate things.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1057532022-02-23T21:20:58ZMarius BĂLTEANU
<ul><li><strong>Subject</strong> changed from <i>Mention user on comment/description using @user with autocomplete</i> to <i>Mention user on issues and wiki pages using @user with autocomplete</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Feature added in <a class="changeset" title="Allow users to be mentioned using @ in issues and wiki pages (#13919): * the user must have add ..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/21435">r21435</a>.</p>
Now you can mention other users in issues and wiki pages:
<ul>
<li>the user must have add watchers permission on that object in order to mention other users</li>
<li>mentioned user will receive a notification email</li>
<li>only visible users who can view the object can be mentioned</li>
</ul>
<p>I'll leave this open for a while in order to get some feedback on the implementation.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1057782022-02-24T21:33:14ZMarius BĂLTEANU
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/36699">Feature #36699</a>: Change the text of the user link when converting @user notation to html</i> added</li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1060002022-03-19T10:03:05ZMarius BĂLTEANU
<ul><li><strong>File</strong> <a href="/attachments/28971">highlight.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/28971/highlight.png">highlight.png</a> added</li></ul><p>Feature completed!</p>
<p>Users mentions are now highlighted and rendered using a leading @:</p>
<p><img src="https://www.redmine.org/attachments/download/28971/highlight.png" style="border: 1px solid grey;width: 50%;" alt="" /></p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1060012022-03-19T10:03:59ZMarius BĂLTEANU
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1066642022-05-11T20:11:55ZMarius BĂLTEANU
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/36909">Defect #36909</a>: Mentions not working if status is changed</i> added</li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1078832022-09-13T21:25:24ZMarius BĂLTEANU
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/37369">Defect #37369</a>: Mention auto-complete not works in bulk-edit comments</i> added</li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1082932022-10-21T12:33:30ZMarcin Szewczyk
<ul></ul><p>I think that the <code>:mention_users</code> "Mention Users" permission was left behind (available in the Administration section) but doesn't do anything.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1085522022-11-16T14:26:43ZHolger Just
<ul><li><strong>Related to</strong> <i><a class="issue tracker-3 status-5 priority-4 priority-default closed" href="/issues/37938">Patch #37938</a>: Unused permission "Mention user"</i> added</li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1100602023-05-15T12:07:20ZGo MAEDA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/38542">Feature #38542</a>: Better username completion in the editor</i> added</li></ul> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1105842023-08-23T01:00:58ZFrederico Oliveira
<ul></ul><p>Marius BALTEANU wrote in <a href="#note-79">#note-79</a>:</p>
<blockquote>
<p>Feature completed!</p>
<p>Users mentions are now highlighted and rendered using a leading @:</p>
<p><img src="https://www.redmine.org/attachments/download/28971/highlight.png" style="border: 1px solid grey;width: 50%;" alt="" /></p>
</blockquote>
<p>Hello <a class="user active" href="https://www.redmine.org/users/107353">Marius BĂLTEANU</a>,</p>
<p>In order for the user mention to work, it is necessary to have the edit task permission. Is it not possible to leave only the permission to add observers?</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1116222023-11-23T08:08:13ZCristian Spiescu
<ul></ul><p>Hi there,</p>
<p>I see the discussion mentions the notion of "watcher". When mentioning an user, should that user also be added as watcher of the issue? Was the "mention feature" designed in such a way?</p>
<p>I observe that this doesn't happen, although the users expect this. E.g. in GitHub the purpose of mentioning, is to add as watchers.</p> Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompletehttps://www.redmine.org/issues/13919?journal_id=1129402024-02-16T10:23:16ZDennis Buehring
<ul></ul><p>Im not sure if anyone here ever tried/used the plugins that implemented this feature a long time ago...</p>
<p>You were discussing permissions and stuff while missing the point of the mentions.<br />Mentions are a special case, i need to know that the person mentioned gets the info... missing email config aside, i dont want redmine to check the users default email notification settings and then decide not to inform him <img src="?" alt="" />?</p>
<ul>
<li>Add an extra option to configure if i want to receive mentions-notifications</li>
<li>Dont use default notification mail template, users tend to use rules to filter out notifications that do not directly address them.</li>
<li>Dont list users that have no email or have notifications disabled in the <a class="user active" href="https://www.redmine.org/users/10301">User First Name User Last Name</a> popup list</li>
<li>add maybe an envelope icon next to users in that list, that will be notified by mail ( all this info is checked in mentionable.rb already, so why not use it for something good ? )</li>
</ul>
<p>Sorry if this sounds like a rant, but you guys took 11 years to reinvent the wheel and finally came up with some square rock with a wooden stick in the middle...</p>