Commit Graph

710 Commits (02eb4b143b24f2091d82137aa3ee7d3469598499)

Author SHA1 Message Date
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
zeripath e69b7a92ed
Allow API to create file on empty repo (#19224) 3 years ago
KN4CK3R 59b867dc2d
Add `ContextUser` to http request context (#18798) 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 3 years ago
wxiaoguang 2b55422cd7
Fix the bug: deploy key with write access can not push (#19010) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
techknowlogick 0b15a729cf
rm .sample hooks which aren't used (#19101) 3 years ago
singuliere cc643284de
Add Index to comment for migrations and mirroring (#18806) 3 years ago
KN4CK3R f8898c30dc
Add note to GPG key response if user has no keys (#18961) 3 years ago
qwerty287 1563a45623
Fix page and missing return on unadopted repos API (#18848) 3 years ago
KN4CK3R 5b0cdd6155
Set is_empty in fixtures (#18869) 3 years ago
singuliere 49cab2b01f
migrations: add test for importing pull requests in gitea uploader (#18752) 3 years ago
Johan Van de Wauw 0cc2675c44
Fix ldap loginname (#18789) 3 years ago
Sven Seeberg 832ce406ae
Add LDAP group sync to Teams, fixes #1395 (#16299) 3 years ago
Martin Scholz 26718a785a
Change git.cmd to RunWithContext (#18693) 3 years ago
singuliere bc8e19ece1
tests: remove redundant comparison in repo dump/restore (#18660) 3 years ago
Clar Fon 99d14f6051
Add separate SSH_USER config option (#17584) 3 years ago
singuliere 5faf055097
more repo dump/restore tests, including pull requests (#18621) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
singuliere 8bd89ca294
preserve users if restoring a repository on the same Gitea instance (#18604) 3 years ago
Gusted aa23f477b7
Use `CryptoRandomBytes` instead of `CryptoRandomString` (#18439) 3 years ago
zeripath 2ad74a503d
Attempt to prevent intermittent failure TestGit/xxx/BranchProtectMerge/MergePR (#18451) 3 years ago
zeripath f7b152f126
Ensure git tag tests and others create test repos in tmpdir (#18447) 3 years ago
Lauris BH 8038610a42
Automatically pause queue if index service is unavailable (#15066) 3 years ago
Aravinth Manivannan 3bb028cc46
Validate migration files (#18203) 3 years ago
6543 80adbebbc8
Unexport git.GlobalCommandArgs (#18376) 3 years ago
Gusted c2e13fb763
Fix partial cloning a repo (#18373) 3 years ago
Gusted 5e5740af69
Switch to non-deprecation setting (#18358) 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
Aravinth Manivannan 69a28299e2
migrations: a deadline at January 1st, 1970 is valid (#18237) 3 years ago
Lunny Xiao 8760af752a
Team permission allow different unit has different permission (#17811) 3 years ago
Aravinth Manivannan 12ad6dd0e3
Integration test for migration (#18124) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
qwerty287 7db2f110ad
Add API to get issue/pull comments and events (timeline) (#17403) 3 years ago
Gusted e4e3df6c66
Handle invalid issues (#18111) 3 years ago
zeripath 16adaaeaa3
Instead of using routerCtx just escape the url before routing (#18086) 3 years ago
qwerty287 7cc44491fa
Add API to manage repo tranfers (#17963) 3 years ago
qwerty287 5754080eb9
Fix various typos of software names (#18083) 3 years ago
zeripath 62dcf1a6fb
Add NotFound handler (#18062) 3 years ago
qwerty287 a9ed1c5c7c
Add API to get file commit history (#17652) 3 years ago
Gusted 273bef1be3
Fix continuance tests (#18027) 3 years ago
mscherer 57d0461ac7
Make test work with different default branch config (#18038) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
zeripath e4e411821d
Abort merge if head has been updated before pressing merge (#18032) 3 years ago
zeripath 8354670708
Prevent hang in git cat-file if repository is not a valid repository and other fixes (#17991) 3 years ago
zeripath 6e7d28cf3a
Prevent double decoding of % in url params (#17997) 3 years ago
KN4CK3R bfe597c7b0
Use non-expiring key. (#17984) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago