Ethan Koenig
73d05a51e3
Remove unneeded database loads ( #814 )
...
Remove unnecessary calls to repo.GetOwner() in context handlers
8 years ago
Lunny Xiao
94da472717
Golint fixed for modules/setting ( #262 )
...
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Lunny Xiao
faabc76fd6
Golint fixed for modules/context
8 years ago
Bo-Yi Wu
d9ffe99972
fix variable assigned and not used.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Thibault Meyer
ddee4c8b58
Normalize files with gofmt
8 years ago
Sandro Santilli
4247304f5a
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
f388661bda
ACCESS_MODE_* -> AccessMode*
8 years ago
Sandro Santilli
6e4252dad4
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
1f44b01e2a
Fix imports found by goimports.
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Thibault Meyer
93f1eabe30
rename variable + fix wiki link
8 years ago
Thibault Meyer
9d66497abc
Can disable GIT interactions by HTTP protocol
8 years ago
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
...
- Refactor code to use sync.UniqueQueue
- Closes #3509
8 years ago
Unknwon
780cc2d110
router/repo: code refactoring
8 years ago
Unknwon
f8a48ffaad
Web editor: improve code quality
8 years ago
Andrey Nering
dbed39ba05
On showing diff/file, use the tab_width specified on .editorconfig, if any ( #3241 )
...
Closes #3182
8 years ago
Unknwon
5077408d78
#3233 code cleanup and minor issue fix
8 years ago
Andrew
0885784f13
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
90af997fec
#3399 500 for upstream pulls page if user has forked repository
8 years ago
Unknwon
e5bf4281b5
#2825 early response 200 when ?go-get=1
8 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 years ago
Unknwon
7ca5f8f119
models/repo: remove redundant info for some repo methods
...
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
8 years ago
Pablo Saavedra
98b152030d
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
db4da7beec
Add APIContext
9 years ago
Alec S
ebea20b4e7
remove errant debug statement
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Unknwon
0e9bc2d410
Fix pull request availability check
9 years ago
Unknwon
a5b0400be7
#1146 finish new access rights for collaborators
9 years ago
Unknwon
2d2d85bba4
#1597 support pull requests in same repository
9 years ago
Unknwon
8055a0bdac
Post work for #2637
...
Improve test cases, config settings, also show SSH config settings on admin config panel.
9 years ago
Unknwon
72ce06eab8
#2682 fix missing slash for go-get meta
9 years ago
Download-Fritz
a467184e13
#2505 Allow to fork and disallow to create PRs for mirrors.
9 years ago
Unknwon
19423957b1
rename import path
9 years ago
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
9 years ago
Unknwon
a576224d0e
unified name: IsViewBranch, IsViewCommit and IsViewTag
9 years ago
Unknwon
120cd4e471
#1984 Better mirror repo management
9 years ago
Unknwon
e538ff2770
fix #1829 and fix #890
9 years ago
Unknwon
942fd6be53
fix panic for #2045
9 years ago
Unknwon
56dd430a10
refactor API routes and some work for #976
9 years ago
Unknwon
e350d74c8a
fix #2085
9 years ago
Unknwon
830d000667
finish wiki
9 years ago
Unknwon
e42fcb033d
wiki: finish edit
9 years ago
Unknwon
c50a3503e6
introduce git-shell
9 years ago
Unknwon
2b10fdc4dc
Wiki: UI for page new
9 years ago
Unknwon
2158e6fc43
fix #1997
9 years ago
Unknwon
df339ad8b0
#1401 #493 Admin should be able to see private repositories
9 years ago
Unknwon
4f03b81ec7
#1931 Test patch does not checkout correct base branch
9 years ago
Unknwon
b4970b3cc3
fix #1948
9 years ago
Unknwon
9c12ed3b6e
clean up
9 years ago
Unknwon
3a81fdf092
rename fields
9 years ago