forgejo/modules/structs
Jason Song d3f850cc0e
Support comma-delimited string as labels in issue template (#21831)
The [labels in issue YAML
templates](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms#top-level-syntax)
can be a string array or a comma-delimited string, so a single string
should be valid labels.

The old codes committed in #20987 ignore this, that's why the warning is
displayed:

<img width="618" alt="image"
src="https://user-images.githubusercontent.com/9418365/202112642-93dc72d0-71c3-40a2-9720-30fc2d48c97c.png">

Fixes #17877.
2022-11-19 15:22:15 +00:00
..
activitypub.go
admin_user.go Improve valid user name check (#20136) 2022-11-04 17:04:08 +08:00
attachment.go
commit_status.go
cron.go
doc.go
fork.go
git_blob.go
git_hook.go
hook.go Add Webhook authorization header (#20926) 2022-11-03 20:23:20 +02:00
issue.go Support comma-delimited string as labels in issue template (#21831) 2022-11-19 15:22:15 +00:00
issue_comment.go
issue_label.go
issue_milestone.go
issue_reaction.go
issue_stopwatch.go
issue_test.go Support comma-delimited string as labels in issue template (#21831) 2022-11-19 15:22:15 +00:00
issue_tracked_time.go
lfs_lock.go
mirror.go Add new API endpoints for push mirrors management (#19841) 2022-07-30 18:45:59 +02:00
miscellaneous.go
nodeinfo.go
notifications.go
org.go Add name field for org api (#21270) 2022-09-29 05:27:33 +02:00
org_member.go
org_team.go Fix typo in API comment document (#21347) 2022-10-05 21:26:34 +01:00
org_type.go
package.go
pull.go Add API endpoint to get changed files of a PR (#21177) 2022-09-29 04:27:20 +02:00
pull_review.go Add updated_at field to PullReview API object (#21812) 2022-11-15 11:33:52 +02:00
release.go
repo.go Make external issue tracker regexp configurable via API (#21338) 2022-10-07 20:49:30 +08:00
repo_branch.go
repo_collaborator.go
repo_commit.go
repo_file.go Add latest commit's SHA to content response (#20398) 2022-07-30 16:09:04 +08:00
repo_key.go
repo_note.go
repo_refs.go
repo_tag.go
repo_topic.go
repo_tree.go
repo_watch.go
repo_wiki.go
settings.go
status.go
task.go
user.go Include login_name in adminCreateUser response (#20283) 2022-07-15 16:52:11 +08:00
user_app.go Record OAuth client type at registration (#21316) 2022-10-24 15:59:24 +08:00
user_email.go
user_gpgkey.go
user_key.go