You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/docs/content/doc/advanced
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>
5 years ago
..
api-usage.en-us.md Add documentation for OTP/2FA header in API for basic auth (#6872) 5 years ago
api-usage.zh-cn.md Adapt documentation to renamed ENABLE_SWAGGER option (#5811) 6 years ago
config-cheat-sheet.en-us.md Add Ability for User to Customize Email Notification Frequency (#7813) 5 years ago
config-cheat-sheet.zh-cn.md Move database settings from models to setting (#7806) 5 years ago
customizing-gitea.en-us.md Add section about customizing mail (#7419) 5 years ago
customizing-gitea.zh-cn.md Fix translation errors in doc advanced part (zh-cn) (#5112) 6 years ago
external-renderers.en-us.md Correct formatting of bullet list (#7794) 5 years ago
hacking-on-gitea.en-us.md Use vendors when go generate (#7340) 5 years ago
hacking-on-gitea.zh-cn.md ZH-CN translation of Advanced part (#5090) 6 years ago
logging-documentation.en-us.md Move serv hook functionality & drop GitLogger (#6993) 5 years ago
make.en-us.md General documentation cleanup (#3317) 7 years ago
make.fr-fr.md General documentation cleanup (#3317) 7 years ago
make.zh-cn.md ZH-CN translation of Advanced part (#5090) 6 years ago
migrations.en-us.md Import topics during migration (#7851) 5 years ago
oauth2-provider.md Add oauth2 documentation (#6604) 5 years ago
specific-variables.en-us.md Copyedit docs (#6275) 5 years ago
specific-variables.zh-cn.md ZH-CN translation of Advanced part (#5090) 6 years ago
third-party-tools.en-us.md Update third-party-tools.en-us.md (#6301) 5 years ago