forgejo-federation/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 Use git attributes to determine generated and vendored status for language stats and diffs (#16773) 2021-09-09 21:13:36 +01:00
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 hCaptcha Support (#12594) 2020-10-02 23:37:53 -04:00
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 Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
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 Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
pprof refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
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 Return nil proxy function if proxy not enabled (#16742) 2021-08-19 16:41:20 -04:00
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 refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
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 refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
sync Fix missing unlock in uniquequeue (#9790) 2020-01-15 23:58:33 +02:00
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 Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
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