Ethan Koenig
74f13ec07b
Commitless repos should be bare
8 years ago
Lunny Xiao
5edc4aaa6c
fix admin lost permission caused by #947
8 years ago
Lunny Xiao
c694c70008
Add units to team ( #947 )
* add units to team
* fix lint
* finish team setting backend
* finished permission controll on routes
* fix import blank line
* add unit check on ssh/http pull and push and fix test failed
* fix fixtures data
* remove unused code
8 years ago
Lauris BH
f814963397
Do not allow commiting to protected branch from online editor ( #1502 )
* Do not allow commiting to protected branch from online editor
* Add editor integration tests for adding new file and not allowing to add new file to protected branch
8 years ago
Lunny Xiao
6752a4b13c
fix go get sub package and add domain on installation to let go get work defaultly ( #1518 )
* fix go get sub package and add domain on installation to let go get work defaultly
* fix import sequence
* fix .git problem
8 years ago
Bo-Yi Wu
fdf5227984
feat: Only use issue and wiki on repo. ( #1297 )
8 years ago
Ethan Koenig
cd8d811ef6
Fix nil-dereference bug
8 years ago
Ethan Koenig
9c781e8fd4
Fix typos in models/ and modules/ ( #1248 )
8 years ago
Ethan Koenig
c2ba9ca97b
Refactor and fix incorrect comment ( #1247 )
8 years ago
Ethan Koenig
19ad4b31b5
Redirects for renamed repos ( #807 )
* Redirects for renamed repos
* Remove unused phrase from locales
8 years ago
Lunny Xiao
9effd446fd
Add units concept for modulable functions of a repository ( #742 )
* Add units concept for modulable functions of a repository
* remove unused comment codes & fix lints and tests
* remove unused comment codes
* use struct config instead of map
* fix lint
* rm wrong files
* fix tests
8 years ago
Ethan Koenig
a0f224c7cf
Remove unneeded database loads ( #814 )
Remove unnecessary calls to repo.GetOwner() in context handlers
8 years ago
Lunny Xiao
b5a7692d63
Golint fixed for modules/setting ( #262 )
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Lunny Xiao
86a328cf36
Golint fixed for modules/context
8 years ago
Bo-Yi Wu
f895b6eabd
fix variable assigned and not used.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Thibault Meyer
6ef997ca64
Normalize files with gofmt
8 years ago
Sandro Santilli
cb1b3cc148
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
8 years ago
Sandro Santilli
58cc4e56fa
ACCESS_MODE_* -> AccessMode*
8 years ago
Rachid Zarouali
991135448c
Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
Disable HTTP cloning
8 years ago
Sandro Santilli
3c9693defb
Replace gogits/git-module dependency with go-gitea/git ( #94 )
* Replace gogits/git-module dependency with go-gitea/git
Fixes #92
* Remove git alias for git module import (not needed)
8 years ago
Matthias Loibl
929972fc8d
Fix imports found by goimports.
8 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Thibault Meyer
bcf2bfab4d
rename variable + fix wiki link
8 years ago
Thibault Meyer
5feedd10fb
Can disable GIT interactions by HTTP protocol
8 years ago
Unknwon
ea214daebe
#2018 able to sync now for mirrors
- Refactor code to use sync.UniqueQueue
- Closes #3509
8 years ago
Unknwon
d322f48f44
router/repo: code refactoring
8 years ago
Unknwon
11540e5abe
Web editor: improve code quality
8 years ago
Andrey Nering
10a5a8b7cf
On showing diff/file, use the tab_width specified on .editorconfig, if any ( #3241 )
Closes #3182
8 years ago
Unknwon
b04ef27a6a
#3233 code cleanup and minor issue fix
8 years ago
Andrew
1b58a11a1c
Wiki mirroring implementation ( #3233 )
* Implement wiki mirroring, add Update mirrors operation to admin dashboard
* bindata.go update after merge
* Implement checking Git repo endpoint existence, support for BB included
* Remove admin dashboard operation
Fix bindata.go
* Apply gofmt to repo model file
* Try to remove bindata from PR
* Revert accepted wiki names change in favor of better system
* Remove unused imports
8 years ago
Unknwon
8b4cb41262
#3399 500 for upstream pulls page if user has forked repository
8 years ago
Unknwon
603fd86ed1
#2825 early response 200 when ?go-get=1
8 years ago
Unknwon
3b42ab0e57
Refactor User.Id to User.ID
9 years ago
Unknwon
bc2448daaa
models/repo: remove redundant info for some repo methods
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
9 years ago
Pablo Saavedra
5a99c23938
The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true ( #3246 )
Executed go fmt
getEngine() not handles DB parameters (#2972 ) (#2974 )
Uses .AllCols() for Update in updateMirror()
Spanish traslation removed
Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
9 years ago
Unknwon
2eadcbdb03
Add APIContext
9 years ago
Alec S
d49e8cad4e
remove errant debug statement
9 years ago
Unknwon
574a4d69e8
Rename module: middleware -> context
9 years ago