0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 17:34:11 -05:00
forgejo/routers/api/v1/repo
David Svantesson 69a255defb Team permission to create repository in organization (#8312)
* Add team permission setting to allow creating repo in organization.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Add test case for creating repo when have team creation access.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* build error: should omit comparison to bool constant

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Add comment on exported functions

* Fix fixture consistency, fix existing unit tests

* Fix boolean comparison in xorm query.

* addCollaborator and changeCollaborationAccessMode separate steps

More clear to use different if-cases.

* Create and commit xorm session

* fix

* Add information of create repo permission in team sidebar

* Add migration step

* Clarify that repository creator will be administrator.

* Fix some things after merge

* Fix language text that use html

* migrations file

* Create repository permission -> Create repositories

* fix merge

* fix review comments
2019-11-20 19:27:49 +08:00
..
blob.go
branch.go Update branch API endpoint to show effective branch protection. (#9031) 2019-11-16 19:39:18 +00:00
collaborators.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
commits.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
file.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
fork.go Move some repositories' operations to a standalone service package (#8557) 2019-10-26 14:54:11 +08:00
git_hook.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
git_ref.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
hook.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
hook_test.go
issue.go Fix API deadline removal (#8759) 2019-11-03 22:46:32 +08:00
issue_comment.go Move webhook codes from service to webhook notification (#8712) 2019-10-30 12:02:46 +02:00
issue_label.go Move issue label operations to issue service package (#8553) 2019-10-19 12:48:29 +03:00
issue_subscription.go Add API for Issue set Subscription (#8729) 2019-11-02 23:27:49 +08:00
issue_tracked_time.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
key.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
label.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
main_test.go
milestone.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
pull.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
release.go Extract actions on deletereleasebyid from models to release service (#8219) 2019-10-01 00:10:00 +08:00
release_attachment.go Fix API for edit and delete release attachment (#8285) 2019-09-27 10:24:06 +08:00
repo.go Team permission to create repository in organization (#8312) 2019-11-20 19:27:49 +08:00
repo_test.go
star.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
status.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
subscriber.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
tag.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
topic.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
tree.go