25 Commits (6b5563c54a05e3ed925822d3126da38fac241b08)

Author SHA1 Message Date
wxiaoguang 6b5563c54a
Support selecting theme on the footer (#35741) 2 months ago
a1012112796 a4e23b81d3
fix attachment file size limit in server backend (#35519) 2 months ago
NorthRealm 1e2f3514b9
Add endpoint deleting workflow run (#34337) 7 months ago
wxiaoguang 0148d03f21
Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187) 8 months ago
TheFox0x7 ee3c82f874
Enable addtional linters (#34085) 9 months ago
wxiaoguang 3996518ed4
Refactor cache-control (#33861) 9 months ago
Guillaume 303af554c9
Improve "generate new access token" form (#33730) 10 months ago
wxiaoguang f58f5bb3d8
Avoid duplicate SetContextValue call (#33564) 10 months ago
wxiaoguang 245ac321c3
Fix context usage (#33554) 10 months ago
wxiaoguang 30993e9508
Feature: Support workflow event dispatch via API (#33545) 10 months ago
wxiaoguang 2c1ff8701a
Refactor context flash msg and global variables (#33375) 11 months ago
wxiaoguang 6d5aa9218e
Refactor request context (#32956) 12 months ago
wxiaoguang a163c53a60
Refactor template & test related code (#32938) 1 year ago
wxiaoguang 0aedb03996
Fix LFS route mock, realm, middleware names (#32488) 1 year ago
wxiaoguang 4a469c8e1b
Refactor template ctx and render utils (#32422) 1 year ago
wxiaoguang b068dbd40e
Refactor DateUtils and merge TimeSince (#32409) 1 year ago
wxiaoguang fec6b3d500
Replace DateTime with DateUtils (#32383) 1 year ago
wxiaoguang 1fede04b83
Refactor CSRF protector (#32057) 1 year ago
wxiaoguang 37a4b233a0
Refactor repo unit "disabled" check (#31389) 2 years ago
wxiaoguang bffbbf5470
Improve oauth2 client "preferred username field" logic and the error handling (#30622) 2 years ago
wxiaoguang b79e3db264
Initial support for colorblindness-friendly themes (#30625) 2 years ago
wxiaoguang 3e2e76e248
Refactor web routes (#30519) 2 years ago
silverwind 4b1063f3db
Rewrite and restyle reaction selector and enable no-sizzle eslint rule (#30453) 2 years ago
wxiaoguang c248f010ad
Refactor cache and disable go-chi cache (#30417) 2 years ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 2 years ago
wxiaoguang 29a26d9d8c
Customizable "Open with" applications for repository clone (#29320) 2 years ago
wxiaoguang 8be198cdef
Use general token signing secret (#29205) 2 years ago
wxiaoguang f3eb835886
Refactor locale&string&template related code (#29165) 2 years ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 2 years ago
wxiaoguang a4b242ae7a
Clean up template locale usage (#27856) 2 years ago
wxiaoguang 412e5c0946
Make web context initialize correctly for different cases (#26726) 2 years ago
wxiaoguang a370efc13f
Use template context function for avatar rendering (#26385) 2 years ago
wxiaoguang 6913053223
Start using template context function (#26254) 2 years ago
wxiaoguang dcd3a63128
Move web JSON functions to web context and simplify code (#26132) 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 abcf5a7b5e
Fix install page context, make the install page tests really test (#24858) 3 years ago
wxiaoguang 6b33152b7d
Decouple the different contexts from each other (#24786) 3 years ago
wxiaoguang def4956122
Improve Gitea's web context, decouple "issue template" code into service package (#24590) 3 years ago
wxiaoguang cb700aedd1
Split "modules/context.go" to separate files (#24569) 3 years ago
wxiaoguang 5d77691d42
Improve template system and panic recovery (#24461) 3 years ago
wxiaoguang e3750370df
Use globally shared HTMLRender (#24436) 3 years ago
wxiaoguang 92fd3fc4fd
Refactor "route" related code, fix Safari cookie bug (#24330) 3 years ago
wxiaoguang d44e1565da
Refactor `setting.Other` and remove unused `SHOW_FOOTER_BRANDING` (#24270) 3 years ago
wxiaoguang 722dab5286
Make HTML template functions support context (#24056) 3 years ago
wxiaoguang e422342eeb
Allow adding new files to an empty repo (#24164) 3 years ago
wxiaoguang 1c8bc4081a
Show friendly 500 error page to users and developers (#24110) 3 years ago
wxiaoguang 5b9557aef5
Refactor cookie (#24107) 3 years ago
wxiaoguang 50a72e7a83
Use a general approach to access custom/static/builtin assets (#24022) 3 years ago
wxiaoguang fdbd646113
Group template helper functions, remove `Printf`, improve template error messages (#23982) 3 years ago