]> source.dussan.org Git - gitea.git/commit
improve protected branch to add whitelist support (#2451)
authorLunny Xiao <xiaolunwen@gmail.com>
Thu, 14 Sep 2017 08:16:22 +0000 (16:16 +0800)
committerGitHub <noreply@github.com>
Thu, 14 Sep 2017 08:16:22 +0000 (16:16 +0800)
commit1739e84ac02c0384c04576a00abab9348293f9c7
tree1015e68f36421f274d2e883ff3ddb0cb29b6af71
parentbe3319b3d545289b772d7a92b4b62205863954d9
improve protected branch to add whitelist support (#2451)

* improve protected branch to add whitelist support

* fix lint

* fix style check

* fix tests

* fix description on UI and import

* fix test

* bug fixed

* fix tests and languages

* move isSliceInt64Eq to util pkg; improve function names & typo
29 files changed:
cmd/hook.go
integrations/editor_test.go
integrations/integration_test.go
integrations/internal_test.go
models/branches.go
models/migrations/migrations.go
models/migrations/v40.go [new file with mode: 0644]
models/org.go
models/org_team.go
models/repo.go
modules/auth/repo_form.go
modules/base/tool.go
modules/context/repo.go
modules/private/branch.go
modules/util/compare.go [new file with mode: 0644]
options/locale/locale_en-US.ini
public/css/index.css
public/js/index.js
public/less/_repository.less
routers/private/branch.go
routers/private/internal.go
routers/repo/editor.go
routers/repo/issue.go
routers/repo/pull.go
routers/repo/setting.go
routers/repo/setting_protected_branch.go [new file with mode: 0644]
routers/routes/routes.go
templates/repo/settings/branches.tmpl
templates/repo/settings/protected_branch.tmpl [new file with mode: 0644]