Commit Graph

336 Commits (8188cdfcd2073001a544feea9120673c3787f20a)

Author SHA1 Message Date
KN4CK3R ba16df8da3
Fix setting HTTP headers after write (#21833) (#21874) 2 years ago
KN4CK3R 5bc3fbd511
Fix package access for admins and inactive users (#21580) (#21592) 2 years ago
Jason Song 0495544b8a
Tag list should include draft releases with existing tags (#21263) (#21365) 2 years ago
KN4CK3R bdf3be53b0
Respect `REQUIRE_SIGNIN_VIEW` for packages (#20873) (#21232) 2 years ago
wxiaoguang 20c135cd46
Use Go 1.19 fmt for Gitea 1.17, sync emoji data (#21239) 2 years ago
Lunny Xiao 04105dbb7c
Fix download archiver of a commit (#20962) (#20971) 2 years ago
Lunny Xiao eacab6b10d
Add disable download source configuration (#20548) (#20579) 2 years ago
KN4CK3R a9a440e600
Fix package permission checks for organizations (#20517) (#20520) 2 years ago
silverwind 2fe0dab2d5
Add Cache-Control header to html and api responses, add no-transform (#20432) (#20459) 2 years ago
Wim 2a48833f93
Respond with a 401 on git push when password isn't changed yet (#20027) 3 years ago
Wim 36ccb8829b
Return 404 when tag is broken (#20024) 3 years ago
Lauris BH 1f8f9c3826
Remove tab/TabName usage where it's not needed (#19973) 3 years ago
Lunny Xiao ff82a18315
Fix mirror template bug (#19959) 3 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 3 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 3 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 3 years ago
zeripath e32ab429ff
Prevent NPE on update mirror settings (#19864) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
KN4CK3R ce52514762
Fix org package owner permissions (#19742) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
Lunny Xiao d4834071da
Repository level enable package or disable (#19323) 3 years ago
Jimmy Praet 38d72d40f1
Only show accessible teams in dashboard dropdown list (#19642) 3 years ago
wxiaoguang 04fc4b7e05
Call MultipartForm.RemoveAll when request finishes (#19606) 3 years ago
Gusted 3114cd30b8
Only check for non-finished migrating task (#19601) 3 years ago
Gusted 982b726b08
Don't fetch Mirror when it's migrating (#19588) 3 years ago
6543 e2a3f3d259
Federation: return useful statistic information for nodeinfo (#19561) 3 years ago
qwerty287 8eb1cd9264
Add "Allow edits from maintainer" feature (#18002) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
John Olheiser 3c140f0d42
Use router param for filepath in GetRawFile (#19499) 3 years ago
6543 c764355676
RepoAssignment ensure to close before overwrite (#19449) 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
wxiaoguang d242511e86
Remove legacy unmaintained packages, refactor to support change default locale (#19308) 3 years ago
wxiaoguang 4f27c28947
Remove legacy `unknwon/com` package (#19298) 3 years ago
wxiaoguang 65f17bfc31
Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 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
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
wxiaoguang d4c789dfc1
Refactor repo clone button and repo clone links, fix JS error on empty repo page (#19208) 3 years ago
KN4CK3R 59b867dc2d
Add `ContextUser` to http request context (#18798) 3 years ago
zeripath 0b1686b67a
Prevent redirect to Host (2) (#19175) 3 years ago
a1012112796 d8f578412e
Redirect .wiki/* ui link to /wiki (#18831) 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
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
6543 bc0d2c8ada
RSS/Atom support for Repos (#19055) 3 years ago
zeripath a0db075f21
If rendering has failed due to a net.OpError stop rendering (attempt 2) (#19049) 3 years ago