Ethan Koenig
a0f224c7cf
Remove unneeded database loads ( #814 )
Remove unnecessary calls to repo.GetOwner() in context handlers
8 years ago
Ethan Koenig
9015c12eb8
Repo permission bug fixes ( #513 )
8 years ago
Kim "BKC" Carlbäcker
b20aadde50
[API] Pull Requests ( #248 )
8 years ago
Bwko
7d36a1293c
Fixes xss, clickjacking & password autocompletion
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
Ethan Koenig
4503176480
API endpoints for stars
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
Thomas Boerger
d9a7026ca3
Set correct doc url for go-sdk
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
Unknwon
1b8df92497
Minor naming improvement
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
9 years ago
Unknwon
603fd86ed1
#2825 early response 200 when ?go-get=1
9 years ago
Unknwon
d633b89ee9
#1601 support delete issue comment
9 years ago
Unknwon
b85aba0b67
Add org.getUserTeams to reduce redundant code
9 years ago
Unknwon
3b42ab0e57
Refactor User.Id to User.ID
9 years ago
Unknwon
607de5e909
#2937 able to prohibit user login
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
8328452c5a
#1692 add admin APIs to add/remove a user from teams
9 years ago
Unknwon
5b25440502
#1692 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to #809
9 years ago
Unknwon
da092dd05b
Convert all API handers to use *context.APIContext
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