Commit Graph

124 Commits (2c585d62a4ebbb52175b8fd8697458ae1c3b2937)

Author SHA1 Message Date
Hester Gong ca905b82df
Append `(comment)` when a link points at a comment rather than the whole issue (#23734) 2 years ago
zeripath 8f3aaef374
Improve template error reporting (#23396) 2 years ago
Yarden Shoham af0468ed8d
Set `X-Gitea-Debug` header once (#23361) 2 years ago
zeripath 1319ba6742
Use minio/sha256-simd for accelerated SHA256 (#23052) 2 years ago
KN4CK3R e8186f1c0f
Map OIDC groups to Orgs/Teams (#21441) 2 years ago
Jason Song 4011821c94
Implement actions (#21937) 2 years ago
Lunny Xiao ca67c5a8a7
refactor auth interface to return error when verify failure (#22119) 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
KN4CK3R fc7a2d5a95
Add support for HEAD requests in Maven registry (#21834) 2 years ago
KN4CK3R 43ab9324c5
Fix setting HTTP headers after write (#21833) 2 years ago
zeripath bb0ff77e46
Share HTML template renderers and create a watcher framework (#20218) 2 years ago
KN4CK3R dc0253b063
Replace `ServeStream` with `ServeContent` (#20903) 2 years ago
Lunny Xiao 98190d0024
Fix disable download button (#20701) 2 years ago
silverwind 14178c56bb
Add Cache-Control header to html and api responses, add no-transform (#20432) 2 years ago
Gusted d55a0b7238
Refactor `i18n` to `locale` (#20153) 2 years ago
wxiaoguang 04fc4b7e05
Call MultipartForm.RemoveAll when request finishes (#19606) 3 years ago
wxiaoguang 84ceaa98bd
Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337) 3 years ago
Lunny Xiao 783a021889
Never use /api/v1 from Gitea UI Pages (#19318) 3 years ago
wxiaoguang 65f17bfc31
Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 3 years ago
KN4CK3R 1d332342db
Add Package Registry (#16510) 3 years ago
KN4CK3R 59b867dc2d
Add `ContextUser` to http request context (#18798) 3 years ago
zeripath 0b1686b67a
Prevent redirect to Host (2) (#19175) 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
zeripath a0db075f21
If rendering has failed due to a net.OpError stop rendering (attempt 2) (#19049) 3 years ago
Lunny Xiao e0688995ef
Display template path of current page in dev mode (#18717) 3 years ago
wxiaoguang a60e8be8d1
Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 3 years ago
zeripath a6e657e999
If rendering has failed due to a net.OpError stop rendering (#18642) 3 years ago
zeripath be77ede954
Change some logging levels (#18421) 3 years ago
Gusted 27ee01e1e8
Disable content sniffing on `PlainTextBytes` (#18359) 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
zeripath 16adaaeaa3
Instead of using routerCtx just escape the url before routing (#18086) 3 years ago
zeripath 6e7d28cf3a
Prevent double decoding of % in url params (#17997) 3 years ago
wxiaoguang 4da1d97810
Refactor HTTP request context (#17979) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
zeripath 0fa41b6dc4
Reset locale on login (#17734) 3 years ago
zeripath f8ec43dbc7
Extract constant names out for the ReverseProxy and Basic authentication methods (#17735) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
wxiaoguang 2add8fe9be
Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 3 years ago
Lunny Xiao f494776931
Use a variable but a function for IsProd because of a slight performance increment (#17368) 3 years ago
6543 3728f1daa0
Add RSS/Atom feed support for user actions (#16002) 3 years ago
wxiaoguang 56362043d3
Frontend refactor: move Vue related code from `index.js` to `components` dir, and remove unused codes. (#17301) 3 years ago
Lunny Xiao d47798ccc7
Upgrade chi to v5 (#17298) 3 years ago
wxiaoguang 7bcbdd0707
Add user status filter to admin user management page (#16770) 3 years ago
Lunny Xiao 37b29319aa
Fix bug of get context user (#17169) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
zeripath afd88a2418
Allow setting X-FRAME-OPTIONS (#16643) 3 years ago