https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292009-02-12T03:21:16ZRedmineRedmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=72722009-02-12T03:21:16ZEric Davis
<ul></ul><p>Ric Turley wrote:</p>
<blockquote>
<p>It would be great to be able to set an email address (or several) to be notified on user self-activation.</p>
</blockquote>
<p>To rephrase this, you would like to be able to setup an email address that gets notified when a user has been activated correct?</p>
<p>Example:</p>
<ol>
<li>User A signs up for Redmine</li>
<li>User A gets registration email</li>
<li>User A clicks the activation link</li>
<li>User B gets a notification that User A has completed activation</li>
</ol> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=72792009-02-12T12:57:53ZRic Turley
<ul></ul><p>Ideally...</p>
Scenario 1: Self Registration setting set to "account activation by email"
<ol>
<li>User A signs up for Redmine</li>
<li>User A gets registration email</li>
<li>User A clicks the activation link</li>
<li>User B (and possibly C, D, ... N) gets a notification that User A has completed activation</li>
</ol>
Scenario 2: Self Registration setting set to "automatic account activation"
<ol>
<li>User A signs up for Redmine</li>
<li>User B (and possibly C, D, ... N) gets a notification that User A has completed activation</li>
</ol> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=72882009-02-12T18:16:27ZEric Davis
<ul><li><strong>Category</strong> set to <i>Email notifications</i></li></ul> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=125552009-11-28T13:46:49ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Target version</strong> set to <i>1.0.0 (RC)</i></li></ul> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=136962010-01-19T17:14:44ZPaulo Santos
<ul></ul><p>Related to <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Request project access by new users (New)" href="https://www.redmine.org/issues/3775">#3775</a>...</p> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=173282010-06-14T22:41:39ZEric Davis
<ul><li><strong>Target version</strong> deleted (<del><i>1.0.0 (RC)</i></del>)</li></ul><p>Removing from 1.0. This hasn't been completed and 1.0 is feature frozen.</p> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=247722011-02-02T13:37:42ZArno Schoenmakers
<ul></ul><p>Hi,</p>
<p>this is exactly the feature I'm looking for in our installation. Will this be added any time soon..?</p> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=249002011-02-07T11:11:13ZTerence Mill
<ul></ul><p>+1</p>
<p>Very useful for us!</p> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=463462013-03-06T06:38:25ZAidin Abedi
<ul></ul><p>+1</p> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=542262014-01-10T23:12:56ZJean-Baptiste Martin
<ul></ul><p>+1</p> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=585602014-09-11T10:21:50ZRenzo Dani
<ul></ul><p>+1</p> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=585902014-09-12T04:44:19ZMichael Esemplare
<ul></ul><p>I wouldn't mind creating a patch that would:</p>
<ul>
<li>Create an option in either Settings->Authentication or Settings->Email notifications to "Notify Administrators of new account activation" </li>
<li>Email administrators when a new account is activated</li>
</ul>
<p>A question in my mind is when Self Registration is set to Manual Account Activation, an admin would have to manually activate the account. Would it be worth emailing other admins of this?</p>
<p>Any comments, suggestions, ideas?</p> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=588722014-09-26T14:52:20ZRenzo Dani
<ul></ul><p>The proposal is exactly what we are looking for our case.<br />Better would be if any project manager would receive the notification. In our case the manager is the one responsible to add user to a project.</p> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=640482015-06-05T19:18:34ZBrian Kirkpatrick
<ul></ul><p>This behavior can be implemented by a plugin after the solution from <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Automatically add user to project (New)" href="https://www.redmine.org/issues/1945">#1945</a> is applied. This involves inserting a single line into app/models/user.rb to declare a 'on user create' hook, which can then be referenced by plugin code that, in turn, implements the desired behaviors. In the case of <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Automatically add user to project (New)" href="https://www.redmine.org/issues/1945">#1945</a>, this means adding users to default projects; in the case of this issue (2722), this means invoking a plugin-specific Mailer class.</p>
<p>More information on implementing a plugin-specific Mailer can be found here:<br /><a class="external" href="http://stackoverflow.com/questions/10505894/send-email-from-redmine-plugin">http://stackoverflow.com/questions/10505894/send-email-from-redmine-plugin</a></p>
<p>Additional useful information on working with Action Mailer in general can be found here:<br /><a class="external" href="http://guides.rubyonrails.org/action_mailer_basics.html">http://guides.rubyonrails.org/action_mailer_basics.html</a></p>
<p>And last, but not least, don't forget to log your hooks for debugging purposes:<br /><pre>Rails.logger.info("New user stuff going down")</pre></p> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=646602015-07-05T04:06:46ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-4 priority-default" href="/issues/1945">Feature #1945</a>: Automatically add user to project</i> added</li></ul> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=939292019-09-26T00:41:56ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-3 status-1 priority-4 priority-default" href="/issues/32142">Patch #32142</a>: Send notification when a user is created via LDAP on-the-fly user creation</i> added</li></ul> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=945532019-10-25T05:26:25ZYuichi HARADA
<ul><li><strong>File</strong> <a href="/attachments/24190">add_checkbox_for_send_notification.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/24190/add_checkbox_for_send_notification.png">add_checkbox_for_send_notification.png</a> added</li><li><strong>File</strong> <a href="/attachments/24191">notification_mail_when_user_account_activated.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/24191/notification_mail_when_user_account_activated.png">notification_mail_when_user_account_activated.png</a> added</li><li><strong>File</strong> <a href="/attachments/24192">2722_new_user_notification.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/24192/2722_new_user_notification.patch">2722_new_user_notification.patch</a> added</li></ul><p>When Self-registration ("Administration" > "Settings" > "Authentication") is "account activation by email" or "automatic account activation", send account activate notification to admins can be turned on/off.</p>
<p><img src="https://www.redmine.org/attachments/download/24190/add_checkbox_for_send_notification.png" style="width:600px;border:1px solid #ccc;" alt="" /></p>
<p>If "Send notification to admins when activated" is checked, a notification will be sent to the administrators when a self-registered user account is activated.</p>
<p><img src="https://www.redmine.org/attachments/download/24191/notification_mail_when_user_account_activated.png" style="width:600px;border:1px solid #ccc;" alt="" /></p>
<p>I attached a patch.</p> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=947432019-11-03T12:35:46ZGo MAEDA
<ul></ul><p>Thank you for posting the patch.</p>
<p>I think the checkbox should be placed below "Authentication required" dropdown because the dropdown and the checkbox have a close connection.</p> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=947442019-11-03T20:04:59ZMarius BÄ‚LTEANU
<ul></ul><p>Go MAEDA wrote:</p>
<blockquote>
<p>Thank you for posting the patch.</p>
<p>I think the checkbox should be placed below "Authentication required" dropdown because the dropdown and the checkbox have a close connection.</p>
</blockquote>
<p>Why not in "Email notifications" tab where are all settings related to email notifications?</p> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=1021932021-04-23T05:15:35ZYuichi HARADA
<ul><li><strong>File</strong> <a href="/attachments/27242">2722_new_user_notification-v2.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/27242/2722_new_user_notification-v2.patch">2722_new_user_notification-v2.patch</a> added</li><li><strong>File</strong> <a href="/attachments/27243">settings-email-notifications.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/27243/settings-email-notifications.png">settings-email-notifications.png</a> added</li></ul><p>Marius BALTEANU wrote:</p>
<blockquote>
<p>Go MAEDA wrote:</p>
<blockquote>
<p>I think the checkbox should be placed below "Authentication required" dropdown because the dropdown and the checkbox have a close connection.</p>
</blockquote>
<p>Why not in "Email notifications" tab where are all settings related to email notifications?</p>
</blockquote>
<p>Moved the checkbox to the "Email notifications" tab. Unlike other notifications, this is a notification to the administrators, so I added a "Sent to administrators" checkbox.</p>
<p><img src="https://www.redmine.org/attachments/download/27243/settings-email-notifications.png" style="width:600px;border:1px solid grey;" alt="" /></p> Redmine - Feature #2722: New user notificationhttps://www.redmine.org/issues/2722?journal_id=1023022021-04-30T10:30:23ZGo MAEDA
<ul><li><strong>Target version</strong> set to <i>Candidate for next major release</i></li></ul>