Commit Graph

3578 Commits (c04ad7632f92c70a8db2131cb6a3ce5fc6846505)

Author SHA1 Message Date
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
Chongyi Zheng f029b9ae4f
Document 409 error returned by repos/migrate api (#19376) 3 years ago
Gusted 0d3d9675c6
Fix middleware function's placements for some `/user/...` (#19377) 3 years ago
delvh d139c23967
Fix panic in teams API when requesting members (#19360) 3 years ago
Gusted ee769f7459
Add logic to switch between source/rendered on Markdown (#19356) 3 years ago
KN4CK3R c003491cfb
Allow package linking to private repository (#19348) 3 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ (#19278) 3 years ago
wxiaoguang 84ceaa98bd
Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337) 3 years ago
Lunny Xiao 3c3d49899f
Remove dependent on session auth for api/v1 routers (#19321) 3 years ago
Lunny Xiao 783a021889
Never use /api/v1 from Gitea UI Pages (#19318) 3 years ago
KN4CK3R 5e242e021b
Package registry changes (#19305) 3 years ago
wxiaoguang d242511e86
Remove legacy unmaintained packages, refactor to support change default locale (#19308) 3 years ago
Peter Gardfjäll 43ff92e122
An attempt to sync a non-mirror repo must give 400 (Bad Request) (#19300) 3 years ago
wxiaoguang 65f17bfc31
Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 3 years ago
wxiaoguang 5b7466053d
Skip frontend ROOT_URL check on installation page, remove unnecessary global var (#19291) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
KN4CK3R 08d199245a
Fix container download counter (#19287) 3 years ago
Lunny Xiao 420851ca1f
Fix global packages enabled avaiable (#19276) 3 years ago
zeripath c88547ce71
Add Goroutine stack inspector to admin/monitor (#19207) 3 years ago
6543 9c349a4277
Move checks for pulls before merge into own function (#19271) 3 years ago
wxiaoguang b877504b03
Refactor `git.Command.Run*`, introduce `RunWithContextString` and `RunWithContextBytes` (#19266) 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
Lunny Xiao bd97736b9c
Move project files into models/project sub package (#17704) 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
wxiaoguang d4c789dfc1
Refactor repo clone button and repo clone links, fix JS error on empty repo page (#19208) 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
zeripath d6fa138e7c
Only send webhook events to active system webhooks and only deliver to active hooks (#19234) 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
Gusted a5f2894071
Fix showing issues in your repositories (#18916) 3 years ago
a1012112796 0eff23dae0
Fix compare link in active feeds for new branch (#19149) 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 3 years ago
zeripath 3f71ab9a12
Clean paths when looking in Storage (#19124) 3 years ago
zeripath d2c165811a
Use the new/choose link for New Issue on project page (#19172) 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
Abheek Dhawan f96e8be41f
Use custom favicon when viewing static files if it exists (#19130) 3 years ago
zeripath fb08d2b3fd
Do not send notification emails to inactive users (#19131) 3 years ago
zeripath 7fc5fd6415
Do not send activation email if manual confirm is set (#19119) 3 years ago
KN4CK3R c88f2e2acc
Handle email address not exist. (#19089) 3 years ago
Lunny Xiao 18033f49ba
Restrict email address validation (#17688) 3 years ago