Commit Graph

237 Commits (1f40933d38b58b60938a77cbea1c847fc8f8c3e5)

Author SHA1 Message Date
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
qwerty287 7db2f110ad
Add API to get issue/pull comments and events (timeline) (#17403) 3 years ago
qwerty287 7cc44491fa
Add API to manage repo tranfers (#17963) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Gusted ed23a6c397
Make `bind` error more readable (#17750) 3 years ago
zeripath f8ec43dbc7
Extract constant names out for the ReverseProxy and Basic authentication methods (#17735) 3 years ago
Paweł Bogusławski d4e281bc02
Allow Token API calls be authorized using the reverse-proxy header (#15119) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
qwerty287 3676fafdac
Add API to get/edit wiki (#17278) 3 years ago
wxiaoguang e18ea9e349
Update documents for Gitea behind reverse proxy. Fix some small bugs (some URLs are generated without sub-path) (#17320) 3 years ago
Romain d0a681fbc3
[API] Add endpount to get user org permissions (#17232) 3 years ago
techknowlogick babab0bf5e
Add nodeinfo endpoint for federation purposes (#16953) 3 years ago
qwerty287 0fa153f421
Merge endpoints for pull diff/patch (#17104) 3 years ago
qwerty287 5ac857f4d4
Add API to get commit diff/patch (#17095) 3 years ago
zeripath a334a95a3c
Use common sessioner for API and Web (#17027) 3 years ago
nitul1991 2d25b7d44b
Add an api endpoint to fetch git notes (#15373) (#16649) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
zeripath 19e2c6a302
Set AllowedHeaders on API CORS handler (#16524) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
zeripath b82293270c
Add option to provide signature for a token to verify key ownership (#14054) 3 years ago
a1012112796 5bb97a12d7
Creating a repo from a template repo via API (#15958) 3 years ago
sebastian-sauer 92328a3394
Add API to get commits of PR (#16300) 3 years ago
6543 eb324a9402
[API] Add repoGetTag (#16166) 3 years ago
6543 58501a2682
[API] GET / SET User Settings (#16169) 3 years ago
zeripath 681e81babd
reqOrgMembership calls need to be preceded by reqToken (#16198) 3 years ago
6543 f7cd394680
[API] Add repoCreateTag (#16165) 3 years ago
6543 b3fbd37e99
[API] expose repo.GetReviewers() & repo.GetAssignees() (#16168) 3 years ago
Lunny Xiao fb3ffeb18d
Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) 4 years ago
zeripath cbf30830d2
Add missing SameSite settings for the i_like_gitea cookie (#16037) 4 years ago
Norwin e542b416a7
api: fix overly strict edit pr permissions (#15900) 4 years ago
6543 e278614753
[API] make change repo settings work on empty repos (#15778) 4 years ago
zeripath 47fd156936
Use route rather than use thus reducing the number of stack frames (#15301) 4 years ago
zeripath fa3895ce81
Move modules/forms to services/forms (#15305) 4 years ago
6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282) 4 years ago
zeripath 91ee3be588
Prevent incorrect HTML escaping in swagger.json (#14957) 4 years ago
zeripath c8e5c79cfd
Add ui.explore settings to control view of explore pages (2) (#14094) 4 years ago
techknowlogick a3cc842e15
Show Gitea version in swagger (#14654) 4 years ago
Paweł Bogusławski 7d7007dca7
Added option to disable webhooks (#13176) 4 years ago
a1012112796 ac701637b4
Add dismiss review feature (#12674) 4 years ago
6543 5f248d0df2
[API] Add delete release by tag & fix unreleased inconsistency (#14563) 4 years ago
6543 6d27703f14
[API] List, Check, Add & delete endpoints for repository teams (#13630) 4 years ago
Lunny Xiao a51cc6dea4
Fix access log (#14475) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
Andrew Bezold bc05ddc0eb
Redirect on changed user and org name (#11649) 4 years ago
Lunny Xiao dc66e4740f
Fix middlewares sequences (#14354) 4 years ago