Commit Graph

244 Commits (f6145a69c4814d9aaaeac5d73c743b2f65bc586c)

Author SHA1 Message Date
KN4CK3R 1d332342db
Add Package Registry (#16510) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
Lunny Xiao 6526733a58
Let web and API routes have different auth methods group (#19168) 3 years ago
KN4CK3R 59b867dc2d
Add `ContextUser` to http request context (#18798) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
Otto Richter (fnetX) 062fd4c217
[API] Allow removing issues (#18879) 3 years ago
zeripath eb748f5f3c
Add apply-patch, basic revert and cherry-pick functionality (#17902) 3 years ago
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) 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