Bo-Yi Wu
d76d67de23
feat: expose url field on issue api. ( #982 )
...
* Add api url func.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* fix: Add unit testing.
* fix: conflicts
* fix: remove trim
* fix: revert test function name.
8 years ago
Bo-Yi Wu
e83c8afc56
refactor: move SearchRepositoryByName testing. ( #1083 )
8 years ago
Bo-Yi Wu
83b6d03231
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
43c94d0a6c
test: Add testing for GetUserFork function ( #944 )
8 years ago
Morgan Bazalgette
442145dbd3
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
d2329e1c26
Use assert in legacy unit tests ( #867 )
8 years ago
Bo-Yi Wu
71d35dae8c
fix: wrong pages number which includes private repository count. ( #844 )
8 years ago
Lunny Xiao
8a421b1fd7
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
76604d8f90
fixed test build error
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
Matthias Loibl
a4fa889ced
Run goimports on the whole project ( #34 )
...
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
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
Cosmin Stroe
ba314a7a36
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
9 years ago