forgejo/modules/structs
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
..
admin_user.go
attachment.go Revert "make modules/structs as a spereate go mod (#7127)" (#7175) 2019-06-10 15:55:58 -04:00
doc.go
fork.go
git_blob.go
git_hook.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
hook.go Improve webhooks (#8583) 2019-10-18 23:42:04 +01:00
issue.go Fix API deadline removal (#8759) 2019-11-03 22:46:32 +08:00
issue_comment.go
issue_label.go
issue_milestone.go
issue_tracked_time.go
lfs_lock.go
miscellaneous.go API method to list all commits of a repository (#6408) 2019-08-26 16:09:10 +02:00
org.go Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
org_member.go
org_team.go Team permission to create repository in organization (#8312) 2019-11-20 19:27:49 +08:00
org_type.go
pull.go Fix API deadline removal (#8759) 2019-11-03 22:46:32 +08:00
release.go
repo.go Template Repositories (#8768) 2019-11-11 23:15:29 +08:00
repo_branch.go Update branch API endpoint to show effective branch protection. (#9031) 2019-11-16 19:39:18 +00:00
repo_collaborator.go
repo_commit.go
repo_file.go Be more strict with git arguments (#7715) 2019-08-05 21:39:39 +01:00
repo_key.go
repo_refs.go
repo_tag.go Fixes #2738 - Adds the /git/tags API endpoint (#7138) 2019-06-08 17:31:11 +03:00
repo_topic.go Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
repo_tree.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
repo_watch.go
status.go
task.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
user.go
user_app.go
user_email.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
user_gpgkey.go
user_key.go
utils.go