Commit Graph

344 Commits (4dc3b2ec57cb8295a926a61c20cd0389ec1277c7)

Author SHA1 Message Date
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
wxiaoguang dd712b77f7
Refactor admin user filter query parameters (#18965) 3 years ago
Otto Richter (fnetX) aee0fa68a7
Fix admin user list pagination (#18957) 3 years ago
Gusted 962725cdbb
Allow adminstrator teams members to see other teams (#18918) 3 years ago
Ghanem 185646723c
Fix redirect when using lowercase reponame (#18775) 3 years ago
Lunny Xiao e0688995ef
Display template path of current page in dev mode (#18717) 3 years ago
wxiaoguang a60e8be8d1
Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 3 years ago
zeripath a6e657e999
If rendering has failed due to a net.OpError stop rendering (#18642) 3 years ago
zeripath be77ede954
Change some logging levels (#18421) 3 years ago
Lauris BH 8038610a42
Automatically pause queue if index service is unavailable (#15066) 3 years ago
Gusted 27ee01e1e8
Disable content sniffing on `PlainTextBytes` (#18359) 3 years ago
qwerty287 1f40933d38
Add config options to hide issue events (#17414) 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
Lunny Xiao 8760af752a
Team permission allow different unit has different permission (#17811) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
Gusted e4e3df6c66
Handle invalid issues (#18111) 3 years ago
zeripath 16adaaeaa3
Instead of using routerCtx just escape the url before routing (#18086) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
zeripath 6e7d28cf3a
Prevent double decoding of % in url params (#17997) 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 1fee11d69a
Move accessmode into models/perm (#17828) 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
zeripath 0fa41b6dc4
Reset locale on login (#17734) 3 years ago
zeripath f8ec43dbc7
Extract constant names out for the ReverseProxy and Basic authentication methods (#17735) 3 years ago
Gusted 9f14fe43c6
Fix correct usage of teams (#17732) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
KN4CK3R ea42d3c04e
Fixed commit count. (#17698) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 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
wxiaoguang 2add8fe9be
Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 3 years ago
Lunny Xiao f494776931
Use a variable but a function for IsProd because of a slight performance increment (#17368) 3 years ago