aboutsummaryrefslogtreecommitdiff
path: root/models/repo_branch.go
Commit message (Collapse)AuthorAge
* Refactoring: rename pkg/base -> pkg/toolUnknwon2017-04-05
|
* Refactoring: rename modules -> pkgUnknwon2017-04-04
| | | | | | | | Reasons to change: 1. Shorter than 'modules' 2. More generally used by other Go projects 3. Corresponds to the naming of '$GOPATH/pkg' directory
* models/protect_branch: fix whitelist with invalid 'protect_branch_id' (#4333)Unknwon2017-03-27
| | | | | | | | If user creates a protect branch for the first time (which has ID=0), it generates invalid whitelist records with 'protect_branch_id=0'. This prevents future updates of protect branch whitelist. Migration: remove existing invalid protect branch whitelist records.
* repo/branches: overview and all (#2310)Unknwon2017-03-11
|
* repo_branch: fix inapproriate logicUnknwon2017-02-28
|
* protect_branch: only list teams have write accessUnknwon2017-02-24
| | | | | List teams without write access to the repository cause confusion to make users think members of team could push to the branch.
* repo: add protect branch whitelist (#4177)Unknwon2017-02-23
| | | | | Add options to add users and teams to whitelist of a protected branch. This is only available for organizational repositories.
* Initial version of protected branches (#776)Unknwon2017-02-17
| | | | | - Able to restrict force push and deletion - Able to restrict direct push
* Minor fix for #2506Unknwon2016-02-02
|
* Corrections following recommendationsAntoine GIRARD2016-01-28