forgejo/docs/content/doc
Gary Kim f1c414882c 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 <gary@garykim.dev>

* Add Third Option for Only Email on Mention

Signed-off-by: Gary Kim <gary@garykim.dev>

* Readd NOT NULL to new preference string

Signed-off-by: Gary Kim <gary@garykim.dev>

* Add Tests and Rewrite Comment

Signed-off-by: Gary Kim <gary@garykim.dev>

* Allow admin to set default email frequency

Signed-off-by: Gary Kim <gary@garykim.dev>

* Add new config option to docs

Signed-off-by: Gary Kim <gary@garykim.dev>

* Fix a few mistakes

Signed-off-by: Gary Kim <gary@garykim.dev>

* Only update required columns

Signed-off-by: Gary Kim <gary@garykim.dev>

* Simplify an error check

Signed-off-by: Gary Kim <gary@garykim.dev>

* Make email_notification_preference column in DB be VARCHAR(20)

Signed-off-by: Gary Kim <gary@garykim.dev>

* Handle errors

Signed-off-by: Gary Kim <gary@garykim.dev>

* Update models/migrations/v93.go

Co-Authored-By: Lauris BH <lauris@nix.lv>
2019-08-29 17:05:42 +03:00
..
advanced Add Ability for User to Customize Email Notification Frequency (#7813) 2019-08-29 17:05:42 +03:00
features Add Issue link to feature compare "reject unsigned" (#7465) 2019-07-14 21:58:58 +08:00
help Add FAQ for version downloads (#6742) 2019-04-24 14:44:58 -04:00
installation Support SSH_LISTEN_PORT env var in docker app.ini template (#7829) 2019-08-24 01:44:24 +02:00
upgrade Copyedit docs (#6275) 2019-03-09 16:15:45 -05:00
usage Fix regression in reverse proxy documentation (#7634) 2019-07-26 18:09:12 -04:00
advanced.en-us.md
advanced.fr-fr.md
advanced.zh-cn.md
features.en-us.md
features.zh-cn.md
features.zh-tw.md
help.en-us.md
help.zh-cn.md
installation.en-us.md
installation.fr-fr.md
installation.zh-cn.md
installation.zh-tw.md
upgrade.en-us.md
upgrade.fr-fr.md
upgrade.zh-cn.md
upgrade.zh-tw.md
usage.en-us.md
usage.zh-cn.md