56 Commits (94a6da3bc8204daebef7dd493d9a891c0d331d9c)

Author SHA1 Message Date
Kemal Zebari 47d69b7749
Validate hex colors when creating/editing labels (#34623) 6 months ago
TheFox0x7 ee3c82f874
Enable addtional linters (#34085) 9 months ago
wxiaoguang a163c53a60
Refactor template & test related code (#32938) 1 year ago
wxiaoguang 6106a61eff
Remove sub-path from container registry realm (#31293) 2 years ago
wxiaoguang e8aae43f56
Move web/api context related testing function into a separate package (#26859) 2 years ago
wxiaoguang 412e5c0946
Make web context initialize correctly for different cases (#26726) 2 years ago
wxiaoguang 6913053223
Start using template context function (#26254) 2 years ago
wxiaoguang d92b4cd093
Fix incorrect CLI exit code and duplicate error message (#26346) 2 years ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 2 years ago
wxiaoguang 4e2f1ee58d
Refactor web package and context package (#25298) 3 years ago
wxiaoguang b71cb7acdc
Use fetch to send requests to create issues/comments (#25258) 3 years ago
wxiaoguang ca5f302876
Fix admin config page error, use tests to cover the admin config and 500 error page (#24965) 3 years ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 3 years ago
wxiaoguang 6b33152b7d
Decouple the different contexts from each other (#24786) 3 years ago
wxiaoguang 6f9c278559
Rewrite queue (#24505) 3 years ago
wxiaoguang 5d77691d42
Improve template system and panic recovery (#24461) 3 years ago
KN4CK3R f1173d6879
Use more specific test methods (#24265) 3 years ago
wxiaoguang 911975059a
Improve test logger (#24235) 3 years ago
wxiaoguang 722dab5286
Make HTML template functions support context (#24056) 3 years ago
wxiaoguang 7681d582cd
Refactor locale number (#24134) 3 years ago
wxiaoguang fdbd646113
Group template helper functions, remove `Printf`, improve template error messages (#23982) 3 years ago
wxiaoguang 8f00979f73
Drop "unrolled/render" package (#23965) 3 years ago
yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 3 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 3 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 3 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 4 years ago
wxiaoguang 04fc4b7e05
Call MultipartForm.RemoveAll when request finishes (#19606) 4 years ago
6543 06e4687cec
more context for models (#19511) 4 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 4 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 4 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 4 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 4 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 4 years ago
wxiaoguang e61b390d54
Unify and simplify TrN for i18n (#18141) 4 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 4 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 4 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 4 years ago
Lunny Xiao d47798ccc7
Upgrade chi to v5 (#17298) 4 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 4 years ago
Lunny Xiao 5e20fd6dbf
Move middlewares to web/middleware (#14480) 5 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 5 years ago
techknowlogick c5d5d63c9c
Macaron 1.5 (#12596) 5 years ago
mrsdizzie 8d99ee2773
Add Organization Wide Labels (#10814) 6 years ago
6543 084a2b0026
Code Refactor of IssueWatch related things (#10401) 6 years ago
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901) 6 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 6 years ago
Lunny Xiao d578b71d61
move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 7 years ago
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems (#5314) 7 years ago
Ethan Koenig 7ea4bfc561 API endpoint for testing webhook (#3550) 8 years ago