Commit Graph

264 Commits (900e1580648e153d40f9da005eb745705410ac73)

Author SHA1 Message Date
Lunny Xiao 9b4da56963
Remove ReverseProxy authentication from the API (#22219) (#22251) 2 years ago
Jason Song ac409fcfba
Load GitRepo in API before deleting issue (#21720) (#21796) 2 years ago
qwerty287 1dfa28ffa5
Add API endpoint to get changed files of a PR (#21177) 2 years ago
John Olheiser a48d6ba4b4
Go 1.19 format (#20758) 2 years ago
zeripath bb0ff77e46
Share HTML template renderers and create a watcher framework (#20218) 2 years ago
Mohamed Sekour 0e61a74e5a
Add new API endpoints for push mirrors management (#19841) 2 years ago
Gusted 3aec32ad16
Add write check for creating Commit status (#20332) 3 years ago
Anthony Wang e86f18a05a
User keypairs and HTTP signatures for ActivityPub federation using go-ap (#19133) 3 years ago
Wim e528e2b435
Implement http signatures support for the API (#17565) 3 years ago
qwerty287 df9612bb53
Add API to serve blob or LFS file content (#19689) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
kolaente 59b30f060a
Auto merge pull requests when all checks succeeded via API (#9307) 3 years ago
qwerty287 ac6c338428
Add API to check if team has repo access (#19540) 3 years ago
6543 1597e2da3e
Use middleware to open gitRepo (#19559) 3 years ago
Florin Hillebrand ad6d08d155
Add API to query collaborators permission for a repository (#18761) 3 years ago
qwerty287 8eb1cd9264
Add "Allow edits from maintainer" feature (#18002) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
6543 c764355676
RepoAssignment ensure to close before overwrite (#19449) 3 years ago
Lunny Xiao 3c3d49899f
Remove dependent on session auth for api/v1 routers (#19321) 3 years ago
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