1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 09:21:32 +02:00
gitea/models
John Olheiser 0118b6aaf8 Add option to initialize repository with labels (#6061)
* Add optional label sets on repo creation

* Fix CRLF

* Instead of hardcoding default, make it the helper

* Move label set init out of repo init

Add a new error for the router
Combine router label init with repo creation label init

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Add issue labels to Swagger for repo creation

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Update models/issue_label.go

Co-Authored-By: Lauris BH <lauris@nix.lv>

* Update models/issue_label.go

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
2019-09-08 11:28:40 +03:00
..
fixtures Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
migrations Add Ability for User to Customize Email Notification Frequency (#7813) 2019-08-29 17:05:42 +03:00
access_test.go
access.go
action_list.go
action_test.go feat: highlight issue references with : (#8101) 2019-09-05 20:39:54 -04:00
action.go feat: highlight issue references with : (#8101) 2019-09-05 20:39:54 -04:00
admin_test.go
admin.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
attachment_test.go
attachment.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
branches_test.go
branches.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
commit_status_test.go
commit_status.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
consistency.go
convert.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
error_oauth2.go
error.go Add option to initialize repository with labels (#6061) 2019-09-08 11:28:40 +03:00
external_login_user.go
gpg_key_test.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
gpg_key.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
graph_test.go
graph.go
helper_directory.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
helper_environment.go
helper.go
issue_assignees_test.go
issue_assignees.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
issue_comment_list.go
issue_comment_test.go
issue_comment.go Move git diff codes from models to services/gitdiff (#7889) 2019-09-05 22:20:09 -04:00
issue_dependency_test.go
issue_dependency.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
issue_label_test.go
issue_label.go Add option to initialize repository with labels (#6061) 2019-09-08 11:28:40 +03:00
issue_list_test.go
issue_list.go
issue_lock.go
issue_mail.go Add Ability for User to Customize Email Notification Frequency (#7813) 2019-08-29 17:05:42 +03:00
issue_milestone_test.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
issue_milestone.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
issue_reaction_test.go
issue_reaction.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
issue_stopwatch_test.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
issue_stopwatch.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
issue_test.go
issue_tracked_time_test.go
issue_tracked_time.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
issue_user_test.go
issue_user.go
issue_watch_test.go
issue_watch.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
issue.go Add reviewrs as participants (#8121) 2019-09-07 22:53:35 +08:00
lfs_lock.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
lfs.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
log.go
login_source.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
mail_test.go
mail.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
main_test.go
migrate.go
models_test.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
models.go Move git diff codes from models to services/gitdiff (#7889) 2019-09-05 22:20:09 -04:00
notification_test.go
notification.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
oauth2_application_test.go
oauth2_application.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
oauth2.go
org_team_test.go
org_team.go
org_test.go Add support for DEFAULT_ORG_MEMBER_VISIBLE (#7669) 2019-08-24 15:28:59 +03:00
org.go Add support for DEFAULT_ORG_MEMBER_VISIBLE (#7669) 2019-08-24 15:28:59 +03:00
pull_test.go
pull.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
release_test.go
release.go fix wrong sender when send slack webhook (#7918) 2019-08-20 17:05:30 +02:00
repo_activity.go
repo_branch.go
repo_collaboration_test.go
repo_collaboration.go
repo_indexer.go
repo_issue.go
repo_list_test.go Include description in repository search. (#7942) 2019-08-25 20:06:36 +03:00
repo_list.go Include description in repository search. (#7942) 2019-08-25 20:06:36 +03:00
repo_mirror.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
repo_permission_test.go
repo_permission.go
repo_redirect_test.go
repo_redirect.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
repo_tag.go
repo_test.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
repo_unit.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
repo_watch_test.go
repo_watch.go
repo.go Add option to initialize repository with labels (#6061) 2019-09-08 11:28:40 +03:00
review_test.go
review.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
ssh_key_test.go
ssh_key.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
star_test.go
star.go
test_fixtures.go
token_test.go
token.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
topic_test.go Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
topic.go Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
twofactor.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
u2f_test.go
u2f.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
unit_tests.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
unit.go
update_test.go
update.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
upload.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
user_follow_test.go
user_follow.go
user_heatmap_test.go
user_heatmap.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
user_mail_test.go
user_mail.go
user_openid_test.go
user_openid.go
user_test.go Add Ability for User to Customize Email Notification Frequency (#7813) 2019-08-29 17:05:42 +03:00
user.go Add Ability for User to Customize Email Notification Frequency (#7813) 2019-08-29 17:05:42 +03:00
userlist_test.go
userlist.go
webhook_dingtalk.go
webhook_discord.go
webhook_msteams.go
webhook_slack.go
webhook_telegram.go
webhook_test.go
webhook.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
wiki_test.go
wiki.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00