Piotr Orzechowski
526c4a3c04
Hide home button when landing page is not set to home ( #4651 )
6 years ago
Piotr Orzechowski
3a6750ac98
Swagger.v1.json template ( #3572 )
* Turn swagger.v1.json into template
* Rename ENABLE_SWAGGER_ENDPOINT option to ENABLE_SWAGGER
6 years ago
Lauris BH
8ca0fd9526
Refactor and simplify redirect to url ( #3674 )
7 years ago
Piotr Orzechowski
0ea666c9b9
Add option to enable or disable swagger endpoints ( #3502 )
7 years ago
Lauris BH
57f5bb502e
Fix go-get content type ( #3426 )
7 years ago
Lauris BH
94439e7314
Add doctype to go-get=1 reponse ( #3423 )
7 years ago
Morgan Bazalgette
8c916631f0
Handle refactor ( #3339 )
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound
* Change Handle(403) to NotFound, avoid using macaron's NotFound
7 years ago
Lauris BH
d0c132552e
Add reactions to issues/PR and comments ( #2856 )
7 years ago
Lunny Xiao
9fb62a93c5
Remove GetRepositoryByRef and add GetRepositoryByOwnerAndName ( #3043 )
* remove GetRepositoryByRef and add GetRepositoryByOwnerAndName
* fix tests
* fix tests bug
* some improvements
7 years ago
Ethan Koenig
0e07dffc44
Various wiki bug fixes ( #2996 )
* Update macaron
* Various wiki bug fixes
7 years ago
Lauris BH
41db9040c1
Fix go-get, src and raw urls to new scheme ( #2978 )
7 years ago
Lauris BH
732f42c8b4
Fix go get response if only app URL is custom in configuration ( #2634 )
* Fix go get response if only app URL is custom in configuration
* Rewrite to update Domain setting to match AppURL
7 years ago
Kim "BKC" Carlbäcker
d21413b97f
Always return valid go-get meta, even if unauthorized ( #2010 )
* Always return valid go-get meta, even if unauthorized
* don't leak information
8 years ago
Sandro Santilli
dca5fdb5cc
Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION ( #1369 )
* Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION
Omit the configuration variable (the default) to be dependent.
Fixes #1363
* Move OpenID settings under Service object
* Show OpenID SignUp and SignIn status in admin panel / configuration
8 years ago
Sandro Santilli
f8863080a2
Login via OpenID-2.0 ( #618 )
8 years ago
Ethan Koenig
9c781e8fd4
Fix typos in models/ and modules/ ( #1248 )
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
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
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
Unknwon
d322f48f44
router/repo: code refactoring
8 years ago
Unknwon
d633b89ee9
#1601 support delete issue comment
9 years ago
Unknwon
3b42ab0e57
Refactor User.Id to User.ID
9 years ago
Unknwon
da092dd05b
Convert all API handers to use *context.APIContext
9 years ago
Unknwon
2eadcbdb03
Add APIContext
9 years ago
Unknwon
574a4d69e8
Rename module: middleware -> context
9 years ago