Commit Graph

939 Commits (460c03ca499bef84bae4ad40843179006bbb1ca5)

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
6543 9c349a4277
Move checks for pulls before merge into own function (#19271) 3 years ago
Lunny Xiao d4f84f1c93
Move reaction to models/issues/ (#19264) 3 years ago
wxiaoguang c83168104b
Use a more general (and faster) method to sanitize URLs with credentials (#19239) 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 74731c3a5a
Move some issue methods as functions (#19255) 3 years ago
John Olheiser ea6efba9b3
Granular webhook events in editHook (#19251) 3 years ago
Lunny Xiao 76aa33d884
Move init repository related functions to modules (#19159) 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
Lunny Xiao 6526733a58
Let web and API routes have different auth methods group (#19168) 3 years ago
Abheek Dhawan f316582458
Set the default branch for repositories generated from templates (#19136) 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 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 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
Gusted 49c5fc565c
Fix NPE `/repos/issues/search` when not signed in (#19154) 3 years ago
Lunny Xiao 18033f49ba
Restrict email address validation (#17688) 3 years ago
Jimmy Praet 5184c83f6b
Add config option to disable "Update branch by rebase" (#18745) 3 years ago
eladyn 7a893dab39
ignore missing comment for user notifications (#18954) 3 years ago
Otto Richter (fnetX) 062fd4c217
[API] Allow removing issues (#18879) 3 years ago
qwerty287 1563a45623
Fix page and missing return on unadopted repos API (#18848) 3 years ago
zeripath eb748f5f3c
Add apply-patch, basic revert and cherry-pick functionality (#17902) 3 years ago
Hugo Hoitink 5579345549
Update object repo with the migrated repository (#18684) 3 years ago
Gusted d3b31cc1ee
Add `GetUserTeams` (#18499) 3 years ago
Lauris BH 8038610a42
Automatically pause queue if index service is unavailable (#15066) 3 years ago
Lauris BH 6392f4691a
API: Return primary language and repository language stats API URL (#18396) 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
wxiaoguang 84f8ef3df6
Fix PR comments UI (#18323) 3 years ago
zeripath 089b4e6a45
Use indirect comparison when showing pull requests (#18313) 3 years ago
6543 ff00b8688b
Fix NPE on try to get tag reference via API (#18245) 3 years ago
luzpaz 8c647bf0f6
Fix various typos (#18219) 3 years ago
Lunny Xiao 8760af752a
Team permission allow different unit has different permission (#17811) 3 years ago
a1012112796 637c3ec5d8
Don't delete branch if other PRs with this branch are open (#18164) 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
Aravinth Manivannan c7151c2fb6
- name: new parameter in CreateForkOption to give the forked repository (#18066) 3 years ago
zeripath 532383d7dd
When attempting to subscribe other user to issue report why access denied (#18091) 3 years ago
qwerty287 7cc44491fa
Add API to manage repo tranfers (#17963) 3 years ago
qwerty287 a9ed1c5c7c
Add API to get file commit history (#17652) 3 years ago
zeripath bef93abd49
Ensure that git repository is closed before transfer (#18049) 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 d29b689f81
Ensure complexity, minlength and ispwned are checked on password setting (#18005) 3 years ago
wxiaoguang 4da1d97810
Refactor HTTP request context (#17979) 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs (#17968) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago