Commit Graph

220 Commits (76a85a4ce90fead1eb2b743a42b41617b4592889)

Author SHA1 Message Date
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
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
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
qwerty287 8eb1cd9264
Add "Allow edits from maintainer" feature (#18002) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
6543 c764355676
RepoAssignment ensure to close before overwrite (#19449) 3 years ago
wxiaoguang 65f17bfc31
Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 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
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
Ghanem 185646723c
Fix redirect when using lowercase reponame (#18775) 3 years ago
Lauris BH 8038610a42
Automatically pause queue if index service is unavailable (#15066) 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
zeripath 832f987d80
Restore setting of ctx.Repo.Mirror (#18205) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
wxiaoguang 4da1d97810
Refactor HTTP request context (#17979) 3 years ago
qwerty287 c3eea2f8af
Improve behavior of "Fork" button (#17288) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
zeripath 9e6e1dc950
Improve checkBranchName (#17901) 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
zeripath 1dbc58f742
More pleasantly handle broken or missing git repositories (#17747) 3 years ago
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago
KN4CK3R ea42d3c04e
Fixed commit count. (#17698) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
zeripath 0b4a8be26b
Ensure that restricted users can access repos for which they are members (#17460) 3 years ago
a1012112796 bb39359668
Add a simple way to rename branch like gh (#15870) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
6543 77f604a928
Add skip and limit to git.GetTags (#16897) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
KN4CK3R 440039c0cc
Add push to remote mirror repository (#15157) 3 years ago
zeripath 270aab429e
On open repository open common cat file batch and batch-check (#15667) 4 years ago
a1012112796 3088866531
fix some ui bug about draft release (#15137) 4 years ago
zeripath eedc0c8324
Defer closing the gitrepo until the end of the wrapped context functions (#15653) 4 years ago
zeripath 136a20926c
Turn RepoRef and RepoAssignment back into func(*Context) (#15372) 4 years ago
6543 a4148c0f12
Repository transfer has to be confirmed, if user can not create repo for new owner (#14792) 4 years ago