Commit Graph

3 Commits (d68a613ba8fd860863a3465b5b5945b191b87b25)

Author SHA1 Message Date
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
Ethan Koenig 7ea4bfc561 API endpoint for testing webhook (#3550) 7 years ago
Ethan Koenig befa7445d2 Unit tests for routers/repo/issue_label (#3198) 7 years ago
Lunny Xiao 41d6afe0e7 Fix compile failed without gcc (#3130) 7 years ago
Ethan Koenig 596308f213 Fix missing branch in release bug (#3108) 7 years ago
Lunny Xiao b3d5ba6f90 Fix missing password length check when change password (#3039) 7 years ago
Ethan Koenig 91f3d77ceb Unit tests for wiki routers (#3022) 7 years ago
Ethan Koenig 7e0654bd9e Fix counts on issues dashboard (#2215) 7 years ago