Piotr Orzechowski
a74426d631
Swagger.v1.json template ( #3572 )
...
* Turn swagger.v1.json into template
* Rename ENABLE_SWAGGER_ENDPOINT option to ENABLE_SWAGGER
7 years ago
Lauris BH
7b2b900e13
Refactor and simplify redirect to url ( #3674 )
7 years ago
Piotr Orzechowski
b104ab3ca1
Add option to enable or disable swagger endpoints ( #3502 )
7 years ago
Lauris BH
aef30071c9
Fix go-get content type ( #3426 )
7 years ago
Lauris BH
28b81899d0
Add doctype to go-get=1 reponse ( #3423 )
7 years ago
Morgan Bazalgette
65861900cd
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
5dc37b187c
Add reactions to issues/PR and comments ( #2856 )
7 years ago
Lunny Xiao
35cc5b0402
Remove GetRepositoryByRef and add GetRepositoryByOwnerAndName ( #3043 )
...
* remove GetRepositoryByRef and add GetRepositoryByOwnerAndName
* fix tests
* fix tests bug
* some improvements
7 years ago
Ethan Koenig
b7ebaf6d20
Various wiki bug fixes ( #2996 )
...
* Update macaron
* Various wiki bug fixes
7 years ago
Lauris BH
0d4c63fd70
Fix go-get, src and raw urls to new scheme ( #2978 )
7 years ago
Lauris BH
46cc45f049
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
5db8cf3bd1
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
129b0d6a4b
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
71d16f69ff
Login via OpenID-2.0 ( #618 )
8 years ago
Ethan Koenig
021904e4e6
Fix typos in models/ and modules/ ( #1248 )
8 years ago
Bwko
1e9730a779
Fixes xss, clickjacking & password autocompletion
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
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
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
Unknwon
780cc2d110
router/repo: code refactoring
8 years ago
Unknwon
899e799459
#1601 support delete issue comment
9 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
9 years ago
Unknwon
dd6faf7f9b
Convert all API handers to use *context.APIContext
9 years ago
Unknwon
db4da7beec
Add APIContext
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
Florian Kaiser
8c4588c4c9
Refactor .IsAdminTeam to .IsTeamAdmin and requireAdminTeam to requireTeamAdmin
9 years ago
Florian Kaiser
e35791b2b2
Only show teams the user has access to
9 years ago
Unknwon
a49af93faf
#1692 APIs: Users Followers
...
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon
c62a6b7a12
#2014 allow switch branches between two orgs in compose PR
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
942fd6be53
fix panic for #2045
9 years ago
Unknwon
e42fcb033d
wiki: finish edit
9 years ago
Unknwon
9330c943cd
work on #1891
9 years ago
Gibheer
56006da34b
fix #1957 - disable version display
...
This allows the admin to disable the version information about gogs and
go in use in the footer.
9 years ago
Unknwon
1559bd58e7
save custom avatar as PNG
9 years ago
Unknwon
932dbccb67
fix import path, fix #1782
9 years ago
Unknwon
aff49b1c9e
unified API error response
9 years ago
Unknwon
2ac8e11f46
#842 able to use access token replace basic auth
9 years ago
Unknwon
1ca257ad9f
rename fields
9 years ago
Unknwon
4217c2333c
new create webhook UI
9 years ago
Unknwon
87f5ca8e1f
able edit issue title
9 years ago
Unknwon
cec38f2a8c
able edit issue labels/milestone/assignee
10 years ago
Unknwon
817b48ed1e
Show owner/poster tags of comments and fix #1312
10 years ago
Unknwon
5cf3732339
UI: install - new version
10 years ago