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/models/user
qwerty287 1f40933d38
Add config options to hide issue events (#17414)
* Add config option to hide issue events
Adds a config option `HIDE_ISSUE_EVENTS` to hide most issue events (changed labels, milestones, projects...) on the issue detail page.
If this is true, only the following events (comment types) are shown:
* plain comments
* closed/reopned/merged
* reviews

* Make configurable using a list

* Add docs

* Add missing newline

* Fix merge issues

* Allow changes per user settings

* Fix lint

* Rm old docs

* Apply suggestions from code review

* Use bitsets

* Rm comment

* fmt

* Fix lint

* Use variable/constant to provide key

* fmt

* fix lint

* refactor

* Add a prefix for user setting key

* Add license comment

* Add license comment

* Update services/forms/user_form_hidden_comments.go

Co-authored-by: Gusted <williamzijl7@hotmail.com>

* check len == 0

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: 6543 <6543@obermui.de>
2 years ago
..
avatar.go Move user related model into models/user (#17781) 3 years ago
email_address.go format with gofumpt (#18184) 2 years ago
email_address_test.go Move more model into models/user (#17826) 3 years ago
error.go Move user related model into models/user (#17781) 3 years ago
external_login_user.go Add Option to synchronize Admin & Restricted states from OIDC/OAuth2 along with Setting Scopes (#16766) 3 years ago
follow.go Remove NewSession method from db.Engine interface (#17577) 3 years ago
follow_test.go Move user follow and openid into models/user/ (#17613) 3 years ago
list.go Refactor auth package (#17962) 3 years ago
main_test.go Move user related model into models/user (#17781) 3 years ago
openid.go Move user follow and openid into models/user/ (#17613) 3 years ago
openid_test.go Move user follow and openid into models/user/ (#17613) 3 years ago
redirect.go Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago
redirect_test.go Decouple unit test code from business code (#17623) 3 years ago
search.go Improve the comment for 2FA filter in admin panel (#18017) 3 years ago
setting.go Add config options to hide issue events (#17414) 2 years ago
setting_keys.go Add config options to hide issue events (#17414) 2 years ago
setting_test.go Add config options to hide issue events (#17414) 2 years ago
user.go Fix update user bug (#18250) 3 years ago
user_test.go Refactor auth package (#17962) 3 years ago