gitea/models
Abheek Dhawan f316582458
Set the default branch for repositories generated from templates (#19136)
* Set the default branch for repositories generated from templates
* Allows default branch to be set through the API for repos generated from templates
* Update swagger API template
* Only set default branch to the one from the template if not specified
* Use specified default branch if it exists while generating git commits

Fix #19082 

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
2022-03-27 03:56:28 +01:00
..
admin
appstate
asymkey Fix the bug: deploy key with write access can not push (#19010) 2022-03-22 17:29:07 +08:00
auth Attempt to fix the webauthn migration again - part 3 (#18770) 2022-02-16 21:03:58 +00:00
avatars
db Move deletebeans into models/db (#18781) 2022-02-17 16:37:48 +08:00
fixtures Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
foreignreference Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
issues Show fullname on issue edits and gpg/ssh signing info (#18827) 2022-02-20 19:50:11 +00:00
migrations nit fix (#19116) 2022-03-17 20:04:36 +02:00
perm
repo Add config option to disable "Update branch by rebase" (#18745) 2022-03-04 03:30:49 -05:00
unit Let MinUnitAccessMode return correct perm (#18675) 2022-02-08 21:16:17 +00:00
unittest Add separate SSH_USER config option (#17584) 2022-02-07 16:56:45 -05:00
user Restrict email address validation (#17688) 2022-03-14 18:39:54 +01:00
webhook
access_test.go
access.go
action_list.go RSS/Atom support for Repos (#19055) 2022-03-13 17:40:47 +01:00
action_test.go RSS/Atom support for Repos (#19055) 2022-03-13 17:40:47 +01:00
action.go RSS/Atom support for Repos (#19055) 2022-03-13 17:40:47 +01:00
branches_test.go
branches.go
commit_status_test.go
commit_status.go
commit.go Collaborator trust model should trust collaborators (#18539) 2022-02-02 11:10:06 +01:00
consistency_test.go
consistency.go
engine_test.go
error.go
fixture_generation.go
fixture_test.go
helper_directory.go
helper_environment.go Fix the bug: deploy key with write access can not push (#19010) 2022-03-22 17:29:07 +08:00
helper.go
issue_assignees_test.go
issue_assignees.go
issue_comment_list.go
issue_comment_test.go
issue_comment.go Delete related notifications on issue deletion too (#18953) 2022-03-17 23:04:09 +01:00
issue_dependency_test.go
issue_dependency.go
issue_label_test.go Be more lenient with label colors (#17752) 2022-02-07 21:21:02 +00:00
issue_label.go Be more lenient with label colors (#17752) 2022-02-07 21:21:02 +00:00
issue_list_test.go
issue_list.go
issue_lock.go
issue_milestone_test.go
issue_milestone.go
issue_reaction_test.go
issue_reaction.go add test coverage for original author conversion during migrations (#18506) 2022-02-01 13:20:28 -05:00
issue_stopwatch_test.go
issue_stopwatch.go Fix display time of milestones (#18753) 2022-02-16 00:50:10 +08:00
issue_test.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
issue_tracked_time_test.go Refactor SecToTime() function (#18863) 2022-02-28 23:57:20 +01:00
issue_tracked_time.go Fix display time of milestones (#18753) 2022-02-16 00:50:10 +08:00
issue_user_test.go
issue_user.go
issue_watch_test.go
issue_watch.go
issue_xref_test.go
issue_xref.go Lock gofumpt to v0.3.0 and run it (#18866) 2022-02-23 20:16:07 +00:00
issue.go Fix showing issues in your repositories (#18916) 2022-03-23 23:57:09 +01:00
lfs_lock.go
lfs.go Improve SyncMirrors logging (#19045) 2022-03-10 10:09:48 +00:00
main_test.go
migrate_test.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
migrate.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
notification_test.go
notification.go ignore missing comment for user notifications (#18954) 2022-03-03 16:18:26 +01:00
org_team_test.go Add GetUserTeams (#18499) 2022-02-01 14:09:24 -05:00
org_team.go Cleanup protected branches when deleting users & teams (#19158) 2022-03-22 09:09:45 +08:00
org_test.go
org.go Move deletebeans into models/db (#18781) 2022-02-17 16:37:48 +08:00
project_board.go
project_issue.go
project_test.go
project.go
protected_tag_test.go
protected_tag.go
pull_list.go
pull_test.go
pull.go
release.go add test coverage for original author conversion during migrations (#18506) 2022-02-01 13:20:28 -05:00
repo_activity.go
repo_collaboration_test.go
repo_collaboration.go
repo_generate_test.go
repo_generate.go Set the default branch for repositories generated from templates (#19136) 2022-03-27 03:56:28 +01:00
repo_list_test.go
repo_list.go
repo_permission_test.go
repo_permission.go
repo_test.go Allow users to self-request a PR review (#19030) 2022-03-08 22:48:47 +01:00
repo_transfer_test.go
repo_transfer.go
repo.go use xorm builder for models.getReviewers() (#19033) 2022-03-10 19:12:10 +01:00
review_test.go
review.go add test coverage for original author conversion during migrations (#18506) 2022-02-01 13:20:28 -05:00
statistic.go
task.go
token_test.go
token.go
upload.go
user_heatmap_test.go RSS/Atom support for Repos (#19055) 2022-03-13 17:40:47 +01:00
user_heatmap.go
user_test.go
user.go Cleanup protected branches when deleting users & teams (#19158) 2022-03-22 09:09:45 +08:00
userlist_test.go
userlist.go