0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-21 06:16:09 +01:00
gitea/routers/web/repo
Gusted 492e1c2fbd
Refactor commentTags functionality (#17558)
* feat: Allow multiple tags on comments

- Allow for multiples tags(Currently Poster + {Owner, Writer}).
- Utilize the Poster tag within the commentTag function and remove the
checking from templates.
- Use bitwise on CommentTags to enable specific tags.
- Don't show poster tag(view_content.tmpl) on the initial issue comment.

* Change parameters naming

* Change function name

* refactor variable wording

* Merge 'master' branch into 'tags-comments' branch

* Change naming

* `tag` -> `role`

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-11-11 14:29:30 +08:00
..
activity.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
attachment.go
blame.go Stop double encoding blame commit messages (#17498) 2021-10-31 10:25:24 +02:00
branch.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
commit.go
compare.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
download.go
editor_test.go
editor.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
http_test.go
http.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
issue_content_history.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
issue_dependency.go
issue_label_test.go
issue_label.go
issue_lock.go
issue_stopwatch.go
issue_test.go Hide label comments if labels were added and removed immediately (#17455) 2021-11-04 22:51:30 +08:00
issue_timetrack.go
issue_watch.go
issue.go Refactor commentTags functionality (#17558) 2021-11-11 14:29:30 +08:00
lfs.go
main_test.go
middlewares.go
migrate.go
milestone.go
projects_test.go
projects.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
pull_review.go
pull.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
release_test.go
release.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
repo.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
search.go
setting_protected_branch.go
setting.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
settings_test.go
tag.go
topic.go
view.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
webhook.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
wiki_test.go
wiki.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00