Bo-Yi Wu
e7dd2573ca
fix: Wrong repo list on Explore page if user already loggin. ( #1009 )
* fix: Wrong repo list on Explore page if user already loggin.
* fix: code readable.
* fix: declare variable
8 years ago
Bo-Yi Wu
58b11237a0
test: Add testing for GetUserFork function ( #944 )
8 years ago
Morgan Bazalgette
4cd7d1644d
Fix public activity showing private repos ( #892 )
* Fix public activity showing private repos (#811 )
Signed-off-by: Morgan Bazalgette <the@howl.moe>
* error check after setting is_private to true
* Add test for UpdateRepository w/ visibility change
8 years ago
Ethan Koenig
4193211b01
Use assert in legacy unit tests ( #867 )
8 years ago
Bo-Yi Wu
d039f235ed
fix: wrong pages number which includes private repository count. ( #844 )
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
Lunny Xiao
f677c76805
fixed test build error
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
Matthias Loibl
f569b344f3
Run goimports on the whole project ( #34 )
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
8 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 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
Cosmin Stroe
561a81df44
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
9 years ago