| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Signed-off-by: Wendell Sun <iwendellsun@gmail.com>
|
|
|
|
| |
XORM supports automatic roll back in session Close() already.
|
| |
|
|
|
|
|
|
|
|
| |
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
List teams without write access to the repository cause confusion
to make users think members of team could push to the branch.
|
|
|
|
|
| |
Add options to add users and teams to whitelist of a protected
branch. This is only available for organizational repositories.
|
|
|
|
|
| |
- Able to restrict force push and deletion
- Able to restrict direct push
|
| |
|
|
|