How to disable email notifications?

1,298 views
Skip to first unread message

tvsd...@gmail.com

unread,
Nov 12, 2015, 5:40:18 AM11/12/15
to taigaio
Hello!

I need to completely disable all email notifications for any kind of events (I prefer to use Slack for this), except new user invitation and reset password.
Is it possible somehow?

Alejandro Alonso

unread,
Nov 12, 2015, 5:43:06 AM11/12/15
to tvsd...@gmail.com, taigaio
Yes!, just go to the notifications menu: right corner over your avatar -> Notifications and choose the "No notifications" for the projects you want.

Regards,

--
You received this message because you are subscribed to the Google Groups "taigaio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taigaio+u...@googlegroups.com.
To post to this group, send email to tai...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/taigaio/aeb75bbf-9e56-4f1c-8139-2b6cfeadbea2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

  
Alejandro Alonso Fernández  
CIO & Co-founder

www.kaleidos.net/FC8EAC/

tvsd...@gmail.com

unread,
Nov 12, 2015, 5:57:31 AM11/12/15
to taigaio, tvsd...@gmail.com
Thank you, Alejandro.

But... I had to mention some more details:

1. Taiga instance is hosted on my server.
2. I need to disable notifications systemwide, for all users/projects, with no ability to change it by regular users.

Few words about why I need this. I am trying to use taiga with google smtp server. Any action which requires sending emails takes too long to complete (i.e. 2-10 seconds for simple comment posting). If I disable emails (by changing mail backed) this problem disappears. Maybe it will be more correct to try to somehow fix issue directly, but I am not familiar with python and don't know how I should debug it. Btw, I had set up celery/rabbitmq/redis in hope that it will make email sending asynchronously, but no luck :(

четверг, 12 ноября 2015 г., 12:43:06 UTC+2 пользователь Alejandro Alonso написал:

Alejandro Alonso

unread,
Nov 12, 2015, 6:03:53 AM11/12/15
to tvsd...@gmail.com, taigaio
1. Taiga instance is hosted on my server.
2. I need to disable notifications systemwide, for all users/projects, with no ability to change it by regular users.

Actually there is no way of doing it, each user can choose the notification level they want per project and update it...
 
Few words about why I need this. I am trying to use taiga with google smtp server. Any action which requires sending emails takes too long to complete (i.e. 2-10 seconds for simple comment posting). If I disable emails (by changing mail backed) this problem disappears. Maybe it will be more correct to try to somehow fix issue directly, but I am not familiar with python and don't know how I should debug it. Btw, I had set up celery/rabbitmq/redis in hope that it will make email sending asynchronously, but no luck :(

I think you can do a bit of things here for making email work properly:
 - 1.- Instead of django sending email directly to the google smtp server you could configure django for sending email just in a local smtp server (for example postfix), that connection should be really fast. You can configure your local postfix to work as a relay to google smtp server, this way you would be using google servers without long times waiting.
 - 2.- If you set in your local.py file a value CHANGE_NOTIFICATIONS_MIN_INTERVAL different than 0 then the notification emails won't be sent when the notifications are created. If you set this value then you should call the command "python manage.py send_notifications" to really send those notifications (you could have a crontab task executing the command).

Regards,
Reply all
Reply to author
Forward
0 new messages