Commit Graph

233 Commits (b300e3f48524cf16f3898cad6b843f52196a22a3)

Author SHA1 Message Date
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) 4 years ago
a1012112796 5bb97a12d7
Creating a repo from a template repo via API (#15958) 4 years ago
sebastian-sauer 92328a3394
Add API to get commits of PR (#16300) 4 years ago
6543 eb324a9402
[API] Add repoGetTag (#16166) 4 years ago
6543 58501a2682
[API] GET / SET User Settings (#16169) 4 years ago
zeripath 681e81babd
reqOrgMembership calls need to be preceded by reqToken (#16198) 4 years ago
6543 f7cd394680
[API] Add repoCreateTag (#16165) 4 years ago
6543 b3fbd37e99
[API] expose repo.GetReviewers() & repo.GetAssignees() (#16168) 4 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
6543 7d2700c8be
[API] Only Return Json (#13511) 4 years ago
John Olheiser b5e974c8a5
Delete tag API (#13358) 4 years ago
a1012112796 b9850375fc
Add review request api (#11355) 4 years ago
zeripath f2858600af
Return 404 not 500 from API if team does not exist (#13118) 4 years ago