From f1c414882cbbdb22c6bcc6315c03a1d3c8454164 Mon Sep 17 00:00:00 2001 From: Gary Kim Date: Thu, 29 Aug 2019 14:05:42 +0000 Subject: Add Ability for User to Customize Email Notification Frequency (#7813) * Add Backend Logic for Toggling Email Notification This commit adds the backend logic for allowing users to enable or disable email notifications. The implementation ensures that only issue notification emails get disabled and important emails are still sent regardless of the setting. The UI to toggle this setting has not yet been implemented. * Add UI and complete user email notification enable This commit completes the functionality to allow users to disable their own email notifications. Signed-off-by: Gary Kim * Add Third Option for Only Email on Mention Signed-off-by: Gary Kim * Readd NOT NULL to new preference string Signed-off-by: Gary Kim * Add Tests and Rewrite Comment Signed-off-by: Gary Kim * Allow admin to set default email frequency Signed-off-by: Gary Kim * Add new config option to docs Signed-off-by: Gary Kim * Fix a few mistakes Signed-off-by: Gary Kim * Only update required columns Signed-off-by: Gary Kim * Simplify an error check Signed-off-by: Gary Kim * Make email_notification_preference column in DB be VARCHAR(20) Signed-off-by: Gary Kim * Handle errors Signed-off-by: Gary Kim * Update models/migrations/v93.go Co-Authored-By: Lauris BH --- public/less/_repository.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/less/_repository.less') diff --git a/public/less/_repository.less b/public/less/_repository.less index ef05beb6fa..a66d13891b 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -2013,7 +2013,7 @@ .list { > .item { - .green { + .green:not(.ui.button) { color: #21ba45; } -- cgit v1.2.3