forgejo/templates/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
..
branch Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
diff Remove accidental debugging in blob_excerpt.tmpl (#18287) 2022-01-16 09:31:41 +00:00
editor Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
graph Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
issue Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01:00
migrate Use disable_form_autofill on Codebase and Gitbucket (#17936) 2021-12-08 22:33:14 +00:00
projects
pulls Improvements to content history (#17746) 2021-11-22 20:20:16 +08:00
release Fix release link broken (#18252) 2022-01-13 15:14:53 +02:00
settings Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
wiki Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
activity.tmpl Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
blame.tmpl Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
branch_dropdown.tmpl
clone_buttons.tmpl Add new JS linter rules (#17699) 2021-11-22 16:19:01 +08:00
commit_page.tmpl Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
commits_list_small.tmpl Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
commits_table.tmpl
create.tmpl Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
empty.tmpl More pleasantly handle broken or missing git repositories (#17747) 2021-11-22 22:32:16 +00:00
forks.tmpl
graph.tmpl
header.tmpl Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
home.tmpl Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
icon.tmpl
search.tmpl
shabox_badge.tmpl
sub_menu.tmpl Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
unicode_escape_prompt.tmpl Left-Align text in Unicode warning boxes (#18331) 2022-01-19 19:25:08 +00:00
upload.tmpl
user_cards.tmpl
view_file.tmpl Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
view_list.tmpl Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
watchers.tmpl