Commit Graph

75 Commits (crystal/ci-bp-merge)

Author SHA1 Message Date
Lunny Xiao 900e158064
refactor auth interface to return error when verify failure () () 2 years ago
Jason Song e9bc2c77c3
Use complete SHA to create and query commit status () () 2 years ago
silverwind 14178c56bb
Add Cache-Control header to html and api responses, add no-transform () 3 years ago
Wim cb50375e2b
Add more linters to improve code readability () 3 years ago
wxiaoguang 04fc4b7e05
Call MultipartForm.RemoveAll when request finishes () 3 years ago
6543 e2a3f3d259
Federation: return useful statistic information for nodeinfo () 3 years ago
John Olheiser 3c140f0d42
Use router param for filepath in GetRawFile () 3 years ago
6543 c764355676
RepoAssignment ensure to close before overwrite () 3 years ago
Lunny Xiao 3c3d49899f
Remove dependent on session auth for api/v1 routers () 3 years ago
Lunny Xiao 783a021889
Never use /api/v1 from Gitea UI Pages () 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context () 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes () 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. () 3 years ago
6543 54e9ee37a7
format with gofumpt () 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context () 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package () 3 years ago
Gusted e4e3df6c66
Handle invalid issues () 3 years ago
wxiaoguang 4da1d97810
Refactor HTTP request context () 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo () 3 years ago
zeripath 0fa41b6dc4
Reset locale on login () 3 years ago
zeripath f8ec43dbc7
Extract constant names out for the ReverseProxy and Basic authentication methods () 3 years ago
Lunny Xiao f494776931
Use a variable but a function for IsProd because of a slight performance increment () 3 years ago
Lunny Xiao 91e21d4fca
Move twofactor to models/login () 3 years ago
zeripath 27b351aba5
Make LDAP be able to skip local 2FA () 3 years ago
6543 2289580bb7
[API] generalize list header () 4 years ago
zeripath afd88a2418
Allow setting X-FRAME-OPTIONS () 4 years ago
zeripath 7c4172ef71
Pass down SignedUserName down to AccessLogger context () 4 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form () 4 years ago
zeripath 5d2e11eedb
Refactor: Move login out of models () 4 years ago
Lunny Xiao fb3ffeb18d
Add sso.Group, context.Auth, context.APIAuth to allow auth special routes () 4 years ago
6543 16dea6cebd
[refactor] replace int with httpStatusCodes () 4 years ago
Lunny Xiao 5e20fd6dbf
Move middlewares to web/middleware () 4 years ago
Lunny Xiao 0cd87d64ff
Update docs and comments to remove macaron () 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi () 4 years ago
6543 4acb499f30
just overload to not get it by mistake again ... () 4 years ago
Kevin Zúñiga 247ab6a922
Send error message when CSRF token is missing () 4 years ago
6543 7d2700c8be
[API] Only Return Json () 4 years ago
John Olheiser b5e974c8a5
Delete tag API () 4 years ago
6543 ade9c8dc3c
[API] If User is Admin, show 500 error message on PROD mode too () 4 years ago
successgo 4dee08a6b4
Fix typo () 5 years ago
zeripath f761a37a0f
Provide diff and patch API endpoints () 5 years ago
6543 ce7510a80f
[API] on 500 error only show message if gitea in dev mode () 5 years ago
6543 9f55769804
Return json on 500 error from API () 5 years ago
zeripath d9de58beee
api.Context.NotFound(...) should tolerate nil () 5 years ago
6543 2848c5eb8f Swagger info corrections () 5 years ago
zeripath 722a7c902d
Add Close() method to gogitRepository () 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron () 6 years ago
Lunny Xiao 42729b7562
fix API link header () 6 years ago
John Olheiser 8f0182c322 API error cleanup () 6 years ago
Mario Lubenka fcbac38d6f Unifies pagination template usage () () 6 years ago