aboutsummaryrefslogtreecommitdiff
path: root/models/repo_branch.go
Commit message (Collapse)AuthorAge
* internal: move packages under this directory (#5836)Unknwon2019-10-24
| | | | | | | | | | | | | | | | | | * Rename pkg -> internal * Rename routes -> route * Move route -> internal/route * Rename models -> db * Move db -> internal/db * Fix route2 -> route * Move cmd -> internal/cmd * Bump version
* Enable Go modules (#5835)Unknwon2019-10-23
| | | | | | | | | | | | | | | | * Remove vendor * Enable Go modules * ci: add command to fetch dependencies * ci: update setting * ci: update settings * Require Go 1.11 * Rename module name to gogs.io/gogs
* models: rename Id to IDUnknwon2018-08-16
|
* *: rename "gogits" to "gogs"Unknwon2018-05-27
|
* repo_branch: fix SQL builder (#5054)Unknwon2018-03-20
|
* models: move ErrBranchNotExist to errors packageUnknwon2018-03-08
|
* models: bug fix for query protected branches (#5054)Wendell Sun2018-03-06
| | | Signed-off-by: Wendell Sun <iwendellsun@gmail.com>
* Refactoring: remove sessionRelease()Unknwon2017-06-11
| | | | XORM supports automatic roll back in session Close() already.
* 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