0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 01:05:14 +01:00
gitea/routers
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
..
api/v1 Fix 500 when a comment was deleted which has a notification (#17550) 2021-11-10 13:48:45 +08:00
common
install
private Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
utils
web Refactor commentTags functionality (#17558) 2021-11-11 14:29:30 +08:00
init.go tune sqlite3 message (#17601) 2021-11-09 13:55:24 -05:00