Commit Graph

375 Commits (73382d2132f8f242245d83f66c92761e0b477b91)

Author SHA1 Message Date
Gusted 0d3d9675c6
Fix middleware function's placements for some `/user/...` (#19377) 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
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
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
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
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
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
Abheek Dhawan f96e8be41f
Use custom favicon when viewing static files if it exists (#19130) 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
Lunny Xiao 49db87a035
Fix lfs bug (#19072) 3 years ago
6543 bc0d2c8ada
RSS/Atom support for Repos (#19055) 3 years ago
Norwin 9cca834aac
Feeds: render markdown to html (#19058) 3 years ago
zeripath a223bc8765
Prevent 500 when there is an error during new auth source post (#19041) 3 years ago
6543 cc98737ca8
RSS/Atom support for Orgs (#17714) 3 years ago
Otto Richter (fnetX) ea46142bce
Add button for issue deletion (#19032) 3 years ago
wxiaoguang e73c5fd698
Fix wrong scopes caused by empty scope input (#19029) 3 years ago
Jimmy Praet 5184c83f6b
Add config option to disable "Update branch by rebase" (#18745) 3 years ago
KN4CK3R f8898c30dc
Add note to GPG key response if user has no keys (#18961) 3 years ago
wxiaoguang dd712b77f7
Refactor admin user filter query parameters (#18965) 3 years ago