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 Add repo_id for attachment (#16958) 2021-09-08 17:19:30 +02:00
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 Add buttons to allow loading of incomplete diffs (#16829) 2021-10-15 17:05:33 +01:00
compare.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
download.go Download lfs in git and web workflow from minio/s3 directly (#16731) 2021-08-21 20:22:06 +02:00
editor_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
editor.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
http_test.go Fix http path bug (#16117) 2021-06-09 14:53:12 +02:00
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 Rename context.Query to context.Form (#16562) 2021-07-29 03:42:15 +02:00
issue_label_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_label.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
issue_lock.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
issue_stopwatch.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
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 Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
issue_watch.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
issue.go Refactor commentTags functionality (#17558) 2021-11-11 14:29:30 +08:00
lfs.go Read expected buffer size (#17409) 2021-10-24 22:12:43 +01:00
main_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
middlewares.go Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 2021-08-11 02:31:13 +02:00
migrate.go Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
milestone.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
projects_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
projects.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
pull_review.go Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 2021-08-11 02:31:13 +02:00
pull.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
release_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
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 Related refactors to ctx.FormX functions (#16567) 2021-08-11 18:08:52 +03:00
setting_protected_branch.go Add a simple way to rename branch like gh (#15870) 2021-10-08 19:03:04 +02:00
setting.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
settings_test.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
tag.go Rename context.Query to context.Form (#16562) 2021-07-29 03:42:15 +02:00
topic.go Related refactors to ctx.FormX functions (#16567) 2021-08-11 18:08:52 +03:00
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 refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
wiki.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00