Commit Graph

718 Commits (a701fd35cf6efdecf8047cb1ee9eb683d95b1db5)

Author SHA1 Message Date
Peter Gardfjäll 43ff92e122
An attempt to sync a non-mirror repo must give 400 (Bad Request) (#19300) 3 years ago
wxiaoguang 4f27c28947
Remove legacy `unknwon/com` package (#19298) 3 years ago
Peter Gardfjäll 58c9d12933
A pull-mirror repo should be marked as such on creation (#19295) 3 years ago
wxiaoguang 65f17bfc31
Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
silverwind 1eb0da58c3
Update JS dependencies (#19281) 3 years ago
Gusted 43332a483f
Update reserved usernames list (#18438) 3 years ago
KN4CK3R 1d332342db
Add Package Registry (#16510) 3 years ago
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