147 Commits (35db5a373babd9af157fd63eeb20d6da53320b73)

Author SHA1 Message Date
  wxiaoguang 511298e452
Use general token signing secret (#29205) (#29325) 4 months ago
  wxiaoguang 6ac2ade97d
Clean up template locale usage (#27856) (#27857) 8 months ago
  wxiaoguang 412e5c0946
Make web context initialize correctly for different cases (#26726) 10 months ago
  wxiaoguang a370efc13f
Use template context function for avatar rendering (#26385) 10 months ago
  wxiaoguang 6913053223
Start using template context function (#26254) 10 months ago
  wxiaoguang dcd3a63128
Move web JSON functions to web context and simplify code (#26132) 11 months ago
  silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
  wxiaoguang 4e2f1ee58d
Refactor web package and context package (#25298) 1 year ago
  wxiaoguang abcf5a7b5e
Fix install page context, make the install page tests really test (#24858) 1 year ago
  wxiaoguang 6b33152b7d
Decouple the different contexts from each other (#24786) 1 year ago
  wxiaoguang def4956122
Improve Gitea's web context, decouple "issue template" code into service package (#24590) 1 year ago
  wxiaoguang cb700aedd1
Split "modules/context.go" to separate files (#24569) 1 year ago
  wxiaoguang 5d77691d42
Improve template system and panic recovery (#24461) 1 year ago
  wxiaoguang e3750370df
Use globally shared HTMLRender (#24436) 1 year ago
  wxiaoguang 92fd3fc4fd
Refactor "route" related code, fix Safari cookie bug (#24330) 1 year ago
  wxiaoguang d44e1565da
Refactor `setting.Other` and remove unused `SHOW_FOOTER_BRANDING` (#24270) 1 year ago
  wxiaoguang 722dab5286
Make HTML template functions support context (#24056) 1 year ago
  wxiaoguang e422342eeb
Allow adding new files to an empty repo (#24164) 1 year ago
  wxiaoguang 1c8bc4081a
Show friendly 500 error page to users and developers (#24110) 1 year ago
  wxiaoguang 5b9557aef5
Refactor cookie (#24107) 1 year ago
  wxiaoguang 50a72e7a83
Use a general approach to access custom/static/builtin assets (#24022) 1 year ago
  wxiaoguang fdbd646113
Group template helper functions, remove `Printf`, improve template error messages (#23982) 1 year ago
  wxiaoguang 8f00979f73
Drop "unrolled/render" package (#23965) 1 year ago
  Hester Gong ca905b82df
Append `(comment)` when a link points at a comment rather than the whole issue (#23734) 1 year ago
  zeripath 8f3aaef374
Improve template error reporting (#23396) 1 year ago
  Yarden Shoham af0468ed8d
Set `X-Gitea-Debug` header once (#23361) 1 year ago
  zeripath 1319ba6742
Use minio/sha256-simd for accelerated SHA256 (#23052) 1 year ago
  KN4CK3R e8186f1c0f
Map OIDC groups to Orgs/Teams (#21441) 1 year ago
  Jason Song 4011821c94
Implement actions (#21937) 1 year ago
  Lunny Xiao ca67c5a8a7
refactor auth interface to return error when verify failure (#22119) 1 year ago
  Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 1 year ago
  flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 1 year ago
  KN4CK3R fc7a2d5a95
Add support for HEAD requests in Maven registry (#21834) 1 year ago
  KN4CK3R 43ab9324c5
Fix setting HTTP headers after write (#21833) 1 year ago
  zeripath bb0ff77e46
Share HTML template renderers and create a watcher framework (#20218) 1 year ago
  KN4CK3R dc0253b063
Replace `ServeStream` with `ServeContent` (#20903) 1 year ago
  Lunny Xiao 98190d0024
Fix disable download button (#20701) 1 year ago
  silverwind 14178c56bb
Add Cache-Control header to html and api responses, add no-transform (#20432) 1 year ago
  Gusted d55a0b7238
Refactor `i18n` to `locale` (#20153) 2 years ago
  wxiaoguang 04fc4b7e05
Call MultipartForm.RemoveAll when request finishes (#19606) 2 years ago
  wxiaoguang 84ceaa98bd
Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337) 2 years ago
  Lunny Xiao 783a021889
Never use /api/v1 from Gitea UI Pages (#19318) 2 years ago
  wxiaoguang 65f17bfc31
Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 2 years ago
  KN4CK3R 1d332342db
Add Package Registry (#16510) 2 years ago
  KN4CK3R 59b867dc2d
Add `ContextUser` to http request context (#18798) 2 years ago
  zeripath 0b1686b67a
Prevent redirect to Host (2) (#19175) 2 years ago
  KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 2 years ago
  KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
  zeripath a0db075f21
If rendering has failed due to a net.OpError stop rendering (attempt 2) (#19049) 2 years ago
  Lunny Xiao e0688995ef
Display template path of current page in dev mode (#18717) 2 years ago