forgejo/modules/structs
Zettat123 8e1de85980
Support using label names when changing issue labels (#30943)
Resolve #30917

Make the APIs for adding labels and replacing labels support both label
IDs and label names so the
[`actions/labeler`](https://github.com/actions/labeler) action can work
in Gitea.

<img width="600px"
src="https://github.com/go-gitea/gitea/assets/15528715/7835c771-f637-4c57-9ce5-e4fbf56fa0d3"
/>

(cherry picked from commit b3beaed147466739de0c24fd80206b5af8b71617)

Conflicts:
	- modules/structs/issue_label.go
	  Resolved by applying the Gitea change by hand.
	- tests/integration/api_issue_label_test.go
	  Resolved by copying the new tests.
2024-05-19 13:12:35 +02:00
..
activity.go
activitypub.go
admin_user.go Do not require login_name & source_id for /admin/user/{username} 2024-04-17 10:33:52 +02:00
attachment.go
commit_status.go Restore warning commit status (#27504) 2023-10-08 22:16:06 +00:00
commit_status_test.go refactor improve NoBetterThan (#26126) 2023-07-26 08:52:07 +00:00
cron.go
doc.go
fork.go
git_blob.go
git_hook.go
hook.go [REFACTOR] webhook.Handler interface 2024-03-24 10:35:06 +01:00
issue.go Extend issue template yaml engine (#29274) 2024-03-06 12:10:47 +08:00
issue_comment.go [FEAT] allow setting the update date on issues and comments 2024-02-05 14:44:33 +01:00
issue_label.go Support using label names when changing issue labels (#30943) 2024-05-19 13:12:35 +02:00
issue_milestone.go
issue_reaction.go
issue_stopwatch.go
issue_test.go
issue_tracked_time.go
lfs_lock.go
mirror.go Fix push mirror, wrong timestamp format (#27153) 2023-09-23 12:15:05 +00:00
miscellaneous.go
moderation.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
nodeinfo.go
notifications.go
org.go Allow Organisations to have a E-Mail (#25082) 2023-07-25 08:26:27 +00:00
org_member.go
org_team.go Doc update swagger doc for POST /orgs/{org}/teams (#26155) 2023-07-26 10:22:56 +00:00
package.go Fix package webhook (#27839) 2023-10-31 04:43:38 +00:00
pull.go Fix no edit history after editing issue's title and content (#30814) 2024-05-05 12:15:40 +01:00
pull_review.go [GITEA] POST /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments 2024-02-05 16:09:42 +01:00
release.go [FEAT]Add Option to hide Release Archive links (#3139) 2024-04-24 15:15:55 +00:00
repo.go Allow changing global wiki editability via the API 2024-04-16 22:51:36 +02:00
repo_actions.go Add API endpoints for getting action jobs status (#26673) 2024-05-05 12:15:40 +01:00
repo_branch.go [FEAT] Configure if protected branch rule should apply to admins 2024-03-29 00:21:49 +01:00
repo_collaborator.go
repo_commit.go Add file status for API "Get a single commit from a repository" (#16205) (#25831) 2023-07-20 16:35:47 +08:00
repo_compare.go feat(api): implement branch/commit comparison API (#30349) 2024-04-21 11:58:18 +02:00
repo_file.go Refactor "Content" for file uploading (#25851) 2023-07-18 18:14:47 +00:00
repo_flags.go [FEAT] API support for repository flags 2024-02-05 16:09:42 +01:00
repo_key.go
repo_note.go
repo_refs.go
repo_tag.go Count downloads for tag archives 2024-04-08 12:51:27 +02:00
repo_topic.go
repo_tree.go
repo_watch.go
repo_wiki.go
secret.go refactor(API): refactor secret creation and update functionality (#26751) 2023-08-28 13:08:19 +08:00
settings.go Allow instance-wide disabling of forking 2024-02-25 12:00:17 +01:00
status.go
task.go
user.go Update API to return 'source_id' for users (#29718) 2024-04-21 12:04:18 +02:00
user_app.go
user_email.go
user_gpgkey.go
user_key.go
variable.go Add API for Variables (#29520) 2024-04-07 10:57:53 +02:00
visible_type.go