forgejo/routers/web/repo
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
..
activity.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
attachment.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
blame.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
branch.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
commit.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
compare.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
download.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
editor.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
editor_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
http.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
http_test.go
issue.go Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01:00
issue_content_history.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
issue_dependency.go
issue_label.go Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
issue_label_test.go Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
issue_lock.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
issue_stopwatch.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
issue_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
issue_timetrack.go
issue_watch.go
lfs.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
middlewares.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
migrate.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
milestone.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
projects.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
projects_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
pull.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
pull_review.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
release.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
release_test.go Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
repo.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
search.go
setting.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
setting_protected_branch.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
settings_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
tag.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
topic.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
view.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
webhook.go Add replay of webhooks. (#18191) 2022-01-05 15:00:20 -06:00
wiki.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
wiki_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00