Commit Graph

515 Commits (719bddcd76610a63dadc8555760072957a11cf30)

Author SHA1 Message Date
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
Lunny Xiao 9defddb286
Move more model into models/user (#17826) 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao c97d66d23c
Move repofiles from modules/repofiles to services/repository/files (#17774) 3 years ago
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago
Lunny Xiao 0add627182
Fix close issue but time watcher still running (#17643) 3 years ago
wxiaoguang 013fb73068
Use `hostmatcher` to replace `matchlist`, improve security (#17605) 3 years ago
Lunny Xiao fc3d082609
Move attachment into models/repo/ (#17650) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
Lunny Xiao 5233051e64
Move some functions into services/repository (#17677) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 7e1ae38097
Move migrations into services and base into modules/migration (#17663) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
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