forgejo/modules
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
..
activitypub format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
analyze
appstate format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
auth format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
avatar format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
base format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
cache format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
charset format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
context Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01:00
convert format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
csv format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
doctor format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
emoji format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
eventsource Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
generate Support webauthn (#17957) 2022-01-14 16:03:31 +01:00
git format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
gitgraph format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
graceful format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
hcaptcha
highlight format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
hostmatcher Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
httpcache format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
httplib refactor httplib (#18338) 2022-01-19 19:31:39 -05:00
indexer format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
json
lfs format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
log format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
markup format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
metrics format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
migration format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
nosql format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
notification Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01:00
options format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
password
pprof
private format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
process format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
proxy
public format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
queue format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
recaptcha
references format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
repository format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
secret Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
session format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
setting format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
ssh format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
storage format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
structs format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
svg
sync
templates format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
test format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
timeutil format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
translation Sort locales according to their names (#18211) 2022-01-08 12:18:39 +00:00
typesniffer format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
updatechecker format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
upload Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
uri Prevent NPE if gitea uploader fails to open url (#18080) 2021-12-23 16:27:33 +00:00
user
util format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
validation format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
web format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00