forgejo/modules/structs
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_user.go Add Visible modes function from Organisation to Users too (#16069) 2021-06-26 20:53:14 +01:00
attachment.go
commit_status.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
cron.go
doc.go
fork.go - name: new parameter in CreateForkOption to give the forked repository (#18066) 2021-12-24 22:43:00 +08:00
git_blob.go
git_hook.go
hook.go Add packagist webhook (#18224) 2022-01-23 21:46:30 +08:00
issue.go Add option to define refs in issue templates (#17842) 2021-12-17 21:29:09 +00:00
issue_comment.go Add API to get issue/pull comments and events (timeline) (#17403) 2022-01-01 22:12:25 +08:00
issue_label.go
issue_milestone.go
issue_reaction.go
issue_stopwatch.go Display current stopwatch in navbar (#14122) 2021-01-21 15:51:52 +01:00
issue_tracked_time.go
lfs_lock.go
miscellaneous.go
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 2021-09-28 01:38:06 +02:00
notifications.go API: add html urls to notification subjects (#17178) 2021-09-30 07:17:39 +03:00
org.go Fix various typos (#18219) 2022-01-10 17:32:37 +08:00
org_member.go
org_team.go Team permission allow different unit has different permission (#17811) 2022-01-05 11:37:00 +08:00
org_type.go
pull.go
pull_review.go Expose resolver via API (#15167) 2021-03-28 00:37:51 +01:00
release.go
repo.go Set the default branch for repositories generated from templates (#19136) 2022-03-27 03:56:28 +01:00
repo_branch.go Support unprotected file patterns (#16395) 2021-09-11 16:21:17 +02:00
repo_collaborator.go
repo_commit.go [API] Add affected files of commits to commit struct (#14579) 2021-02-07 15:43:40 +01:00
repo_file.go Add apply-patch, basic revert and cherry-pick functionality (#17902) 2022-02-09 20:28:55 +00:00
repo_key.go
repo_note.go Add an api endpoint to fetch git notes (#15373) (#16649) 2021-08-11 03:01:40 +02:00
repo_refs.go
repo_tag.go [API] Add repoCreateTag (#16165) 2021-06-17 18:04:10 +02:00
repo_topic.go
repo_tree.go
repo_watch.go
repo_wiki.go Add API to get/edit wiki (#17278) 2021-10-25 11:43:40 +08:00
settings.go Add custom emoji support (#16004) 2021-06-29 16:28:38 +02:00
status.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
task.go
user.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
user_app.go
user_email.go
user_gpgkey.go Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
user_key.go