gitea/models
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>
2022-01-21 18:59:26 +01:00
..
admin
appstate
asymkey
auth
avatars
db
fixtures Support webauthn (#17957) 2022-01-14 16:03:31 +01:00
issues
migrations format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
perm
repo
unit
unittest
user Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01:00
webhook
access.go
access_test.go
action.go
action_list.go
action_test.go
branches.go
branches_test.go
commit.go
commit_status.go
commit_status_test.go
consistency.go
consistency_test.go
engine_test.go
error.go
fixture_generation.go
fixture_test.go
helper.go
helper_directory.go
helper_environment.go
issue.go
issue_assignees.go
issue_assignees_test.go
issue_comment.go Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01:00
issue_comment_list.go
issue_comment_test.go
issue_dependency.go
issue_dependency_test.go
issue_label.go
issue_label_test.go
issue_list.go
issue_list_test.go
issue_lock.go
issue_milestone.go
issue_milestone_test.go
issue_reaction.go
issue_reaction_test.go
issue_stopwatch.go
issue_stopwatch_test.go
issue_test.go
issue_tracked_time.go
issue_tracked_time_test.go
issue_user.go
issue_user_test.go
issue_watch.go
issue_watch_test.go
issue_xref.go
issue_xref_test.go
lfs.go
lfs_lock.go
main_test.go
migrate.go Fix CheckRepoStats and reuse it during migration (#18264) 2022-01-17 19:31:58 +01:00
migrate_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
notification.go
notification_test.go
org.go
org_team.go
org_team_test.go
org_test.go
project.go
project_board.go
project_issue.go
project_test.go
protected_tag.go
protected_tag_test.go
pull.go
pull_list.go
pull_test.go
release.go
repo.go
repo_activity.go
repo_collaboration.go
repo_collaboration_test.go
repo_generate.go
repo_generate_test.go
repo_list.go
repo_list_test.go
repo_permission.go
repo_permission_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go
review.go
review_test.go
statistic.go
task.go
token.go
token_test.go
upload.go
user.go
user_heatmap.go
user_heatmap_test.go
user_test.go
userlist.go Move more model into models/user (#17826) 2021-11-28 22:11:58 +08:00
userlist_test.go