Commit Graph

7 Commits (fc641b3a28300e13c822140556eca8d00f2b5196)

Author SHA1 Message Date
wxiaoguang 7424f27cf3
Check if reverse proxy is correctly configured (#30890) 7 months ago
Lunny Xiao ebf0c96940
Move database operations of merging a pull request to post receive hook and add a transaction (#30805) 7 months ago
wxiaoguang bffbbf5470
Improve oauth2 client "preferred username field" logic and the error handling (#30622) 7 months ago
wxiaoguang ca5c895efb
Render embedded code preview by permlink in markdown (#30234) 8 months ago
wxiaoguang df1268ca08
Make "/user/login" page redirect if the current user has signed in (#29583) 9 months ago
wxiaoguang 8553b4600e
Add an trailing slash to dashboard links (#29555) 9 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
wxiaoguang a4859dcfea
Improve user experience for outdated comments (#29050) 10 months ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
Nanguan Lin dc04044716
Replace assert.Fail with assert.FailNow (#27578) 1 year ago
wxiaoguang f01bed2443
Avoid double-unescaping of form value (#26853) 1 year ago
wxiaoguang e8aae43f56
Move web/api context related testing function into a separate package (#26859) 1 year ago
wxiaoguang 412e5c0946
Make web context initialize correctly for different cases (#26726) 1 year ago
wxiaoguang 6913053223
Start using template context function (#26254) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
wxiaoguang 4e2f1ee58d
Refactor web package and context package (#25298) 1 year ago
wxiaoguang 6b33152b7d
Decouple the different contexts from each other (#24786) 2 years ago
wxiaoguang 6f9c278559
Rewrite queue (#24505) 2 years ago
wxiaoguang 5d77691d42
Improve template system and panic recovery (#24461) 2 years ago
wxiaoguang 722dab5286
Make HTML template functions support context (#24056) 2 years ago
wxiaoguang 7681d582cd
Refactor locale number (#24134) 2 years ago
wxiaoguang fdbd646113
Group template helper functions, remove `Printf`, improve template error messages (#23982) 2 years ago
wxiaoguang 8f00979f73
Drop "unrolled/render" package (#23965) 2 years ago
yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
wxiaoguang 04fc4b7e05
Call MultipartForm.RemoveAll when request finishes (#19606) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 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 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
wxiaoguang e61b390d54
Unify and simplify TrN for i18n (#18141) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
Lunny Xiao d47798ccc7
Upgrade chi to v5 (#17298) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
Lunny Xiao 5e20fd6dbf
Move middlewares to web/middleware (#14480) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
techknowlogick c5d5d63c9c
Macaron 1.5 (#12596) 4 years ago
mrsdizzie 8d99ee2773
Add Organization Wide Labels (#10814) 5 years ago
6543 084a2b0026
Code Refactor of IssueWatch related things (#10401) 5 years ago
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
Lunny Xiao d578b71d61
move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 6 years ago
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems (#5314) 6 years ago