Commit Graph

550 Commits (84038f33f42b03dbf455e41f5036f67ba7b61a66)

Author SHA1 Message Date
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
Gusted ebaf4c48ea
Avoid double imports (#17569) 3 years ago
zeripath 0b4a8be26b
Ensure that restricted users can access repos for which they are members (#17460) 3 years ago
qwerty287 3676fafdac
Add API to get/edit wiki (#17278) 3 years ago
zeripath a889d0cc8c
Add buttons to allow loading of incomplete diffs (#16829) 3 years ago
pricly-yellow 4afdb1eb78
API pull's head/base have correct permission (#17214) 3 years ago
Norwin 1f45b3a629
API: don't allow merged PRs to be reopened (#17192) 3 years ago
Norwin f48dce3176
Don't return binary file changes in raw PR diffs by default (#17158) 3 years ago
zeripath 920608e592
Support direct comparison (git diff a..b) as well merge comparison (a...b) (#16635) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 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
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
Norwin 0b368aa73d
OpenAPI: correct documentation of issue listing parameters (#17060) 3 years ago
zeripath 25533657f6
Add caller to cat-file batch calls (#17082) 3 years ago
Jimmy Praet 3d6cb25e31
Support unprotected file patterns (#16395) 3 years ago
6543 51578d6418
Calculate label URL on API (#16186) 3 years ago
Lunny Xiao ddc709ff7f
Add repo_id for attachment (#16958) 3 years ago
6543 63d7cbcef1
Make mirror feature more configurable (#16957) 3 years ago
zeripath eb0330a3fe
Ensure that rebase conflicts are handled in updates (#16952) 3 years ago
a1012112796 cbf05c3f79
Add option to update pull request by `rebase` (#16125) 3 years ago
Kyle Evans cad70599a6
Refactor the fork service slightly to take ForkRepoOptions (#16744) 3 years ago
Jimmy Praet a4962a9440
Add filter by owner and team to issue/pulls search endpoint (#16662) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
6543 f1a810e090
Related refactors to ctx.FormX functions (#16567) 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
KN4CK3R d9ef43a712
Replace `list.List` with slices (#16311) 3 years ago
zeripath 19e2c6a302
Set AllowedHeaders on API CORS handler (#16524) 3 years ago
Lars Hvam d686d7b052
Fix swagger doc by rename repoAddTopíc to repoAddTopic (#16580) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
a1012112796 3705168837
Add agit flow support in gitea (#14295) 3 years ago
Ion Jaureguialzo Sarasola 251d7f524a
Check user instead of organization when creating a repo from a template via API (#16346) 3 years ago
6543 56b7f53329
Return updated repository when changing repository using API (#16420) 3 years ago
6543 b81106be3f
Let branch/tag name be a valid ref to get CI status (#16400) 3 years ago
Jimmy Praet 78118a3b02
Add checkbox to delete pull branch after successful merge (#16049) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 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
KN4CK3R aac663e0da
Implemented head_commit for webhooks (#16282) 3 years ago
Sergey Dryabzhinsky 22a0636544
Add Visible modes function from Organisation to Users too (#16069) 3 years ago
Lunny Xiao e3c626834b
Let package git depend on setting but not opposite (#15241) 3 years ago
sebastian-sauer 6c3433151f
API: Allow COMMENT reviews to not specify a body (#16229) 3 years ago
Lunny Xiao b223d36195
Rework repository archive (#14723) 3 years ago
6543 eb324a9402
[API] Add repoGetTag (#16166) 3 years ago
6543 f7cd394680
[API] Add repoCreateTag (#16165) 3 years ago
6543 b3fbd37e99
[API] expose repo.GetReviewers() & repo.GetAssignees() (#16168) 3 years ago
6543 6ad5d0a306
[API] ListReleases add filter for draft and pre-releases (#16175) 3 years ago