forgejo/templates
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 Add replay of webhooks. (#18191) 2022-01-05 15:00:20 -06:00
base Support webauthn (#17957) 2022-01-14 16:03:31 +01:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
mail Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
org In the Organization member page, 2fa column is too narrow for Simplified Chinese and Chinese Traditional. (#18213) 2022-01-09 00:21:10 +08:00
repo Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01:00
shared Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
status Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
swagger Add MirrorUpdated field to Repository API type (#18267) 2022-01-18 13:18:30 +00:00
user Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01:00
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
install.tmpl Refactor install page (db type) (#17919) 2021-12-07 13:44:08 +08:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00