1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-30 07:11:18 +02:00
gitea/models
Denis Denisov fd941db246 Protected branches system (#339)
* Protected branches system

* Moved default branch to branches section (`:org/:reponame/settings/branches`).
* Initial support Protected Branch.
  - Admin does not restrict
  - Owner not to limit
  - To write permission restrictions

* reformat tmpl

* finished the UI and add/delete protected branch response

* remove unused comment

* indent all the template files and remove ru translations since we use crowdin

* fix the push bug
2017-02-21 23:02:10 +08:00
..
fixtures
migrations
access_test.go
access.go
action_test.go
action.go
admin_test.go
admin.go
attachment.go
branches.go
consistency_test.go
error.go
git_diff_test.go
git_diff.go
graph_test.go
graph.go
issue_comment.go
issue_indexer.go
issue_label_test.go
issue_label.go
issue_mail.go
issue_milestone_test.go
issue_milestone.go
issue_user_test.go
issue_user.go
issue.go
lfs.go
login_source.go
mail.go
models_sqlite.go
models_test.go
models_tidb.go
models.go
notification_test.go
notification.go
org_team.go
org_test.go
org.go
pull_test.go
pull.go
release.go
repo_branch.go
repo_collaboration.go
repo_editor.go
repo_mirror.go
repo_redirect_test.go
repo_redirect.go
repo_test.go
repo_unit.go
repo_watch_test.go
repo_watch.go
repo.go
setup_for_test.go
ssh_key_test.go
ssh_key.go
star_test.go
star.go
token_test.go
token.go
twofactor.go
unit.go
update_test.go
update.go
user_mail_test.go
user_mail.go
user_test.go
user.go
webhook_slack.go
webhook_test.go
webhook.go
wiki_test.go
wiki.go