1
0
Fork 0
forgejo/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 Rename db Engines related functions (#17481) 2021-10-30 22:32:11 +08:00
install Fix bug on admin subcommand (#17533) 2021-11-07 11:11:27 +08:00
private Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
utils just add some unit tests (#16291) 2021-06-29 22:00:02 +01:00
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