Commit Graph

50 Commits (main)

Author SHA1 Message Date
wxiaoguang 3f9c3e7bc3
Refactor render system (#32492) 17 hours ago
wxiaoguang 0aedb03996
Fix LFS route mock, realm, middleware names (#32488) 2 days ago
6543 43c252dfea
Calculate `PublicOnly` for org membership only once (#32234) 4 days ago
Kemal Zebari 7adc4717ec
Include file extension checks in attachment API (#32151) 1 week ago
wxiaoguang 61c35590c7
Refactor RepoRefByType (#32413) 1 week ago
wxiaoguang 4a469c8e1b
Refactor template ctx and render utils (#32422) 1 week ago
wxiaoguang b068dbd40e
Refactor DateUtils and merge TimeSince (#32409) 1 week ago
wxiaoguang fec6b3d500
Replace DateTime with DateUtils (#32383) 2 weeks ago
Zettat123 0fe5e2b08c
Allow maintainers to view and edit files of private repos when "Allow maintainers to edit" is enabled (#32215) 1 month ago
wxiaoguang dd83cfcacc
Refactor CSRF token (#32216) 1 month ago
Lunny Xiao d6d3c96e65
Fix bug when a token is given public only (#32204) 1 month ago
Lunny Xiao a989404e23
Fix javascript error when an anonymous user visiting migration page (#32144) 1 month ago
yp05327 70b7df0e5e
Support repo license (#24872) 1 month ago
wxiaoguang 1fede04b83
Refactor CSRF protector (#32057) 2 months ago
wxiaoguang 43c7a2e7b1
Refactor names (#31405) 5 months ago
wxiaoguang 37a4b233a0
Refactor repo unit "disabled" check (#31389) 5 months ago
wxiaoguang d32648b204
Refactor route path normalization (#31381) 5 months ago
wxiaoguang 7424f27cf3
Check if reverse proxy is correctly configured (#30890) 6 months ago
wxiaoguang 67c1a07285
Refactor AppURL usage (#30885) 6 months ago
wxiaoguang 53b55223d1
Ignore useless error message "broken pipe" (#30801) 7 months ago
Chongyi Zheng e80466f734
Resolve lint for unused parameter and unnecessary type arguments (#30750) 7 months ago
wxiaoguang bffbbf5470
Improve oauth2 client "preferred username field" logic and the error handling (#30622) 7 months ago
wxiaoguang b79e3db264
Initial support for colorblindness-friendly themes (#30625) 7 months ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 7 months ago
wxiaoguang 48d4580dd5
Clarify permission "HasAccess" behavior (#30585) 7 months ago
wxiaoguang 3e2e76e248
Refactor web routes (#30519) 7 months ago
silverwind 4b1063f3db
Rewrite and restyle reaction selector and enable no-sizzle eslint rule (#30453) 7 months ago
wxiaoguang c248f010ad
Refactor cache and disable go-chi cache (#30417) 7 months ago
wxiaoguang 83f83019ef
Clean up log messages (#30313) 7 months ago
wxiaoguang ca4107dc96
Refactor external URL detection (#29973) 8 months ago
wxiaoguang 01500957c2
Refactor URL detection (#29960) 8 months ago
wxiaoguang a889381664
Remove AddParamIfExist(AddParam) (#29841) 8 months ago
wxiaoguang e0ea3811c4
Refactor AddParam to AddParamIfExist (#29834) 8 months ago
Denys Konovalov e0b002a4a8
Unify search boxes (#29530) 8 months ago
Lunny Xiao 25b842df26
Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 8 months ago
wxiaoguang c72e1a7abb
Use strict protocol check when redirect (#29642) 8 months ago
wxiaoguang 27deea7330
Make PR form use toast to show error message (#29545) 9 months ago
wxiaoguang 194479a741
Use a predictiable fork URL to allow forking repositories without providing a repo ID (#29519) 9 months ago
6543 274c0aea2e
Let ctx.FormOptionalBool() return optional.Option[bool] (#29461) 9 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
yp05327 0850be6750
Fix the display of org level badges (#26504) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
wxiaoguang 6b33152b7d
Decouple the different contexts from each other (#24786) 2 years ago
wxiaoguang 17f23182ff
Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 2 years ago
yp05327 cf29ee6dd2
Add missing tabs to org projects page (#22705) 2 years ago
Lunny Xiao 6fe3c8b398
Support org/user level projects (#22235) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
KN4CK3R 59b867dc2d
Add `ContextUser` to http request context (#18798) 3 years ago