Commit Graph

76 Commits (3b2ed4762e1f8e5b4e2b7f0c03b90d9fbcde5c19)

Author SHA1 Message Date
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
zeripath 7c4172ef71
Pass down SignedUserName down to AccessLogger context (#16605) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 3 years ago
Lunny Xiao b223d36195
Rework repository archive (#14723) 3 years ago
6543 6ad5d0a306
[API] ListReleases add filter for draft and pre-releases (#16175) 4 years ago
Lunny Xiao fb3ffeb18d
Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) 4 years ago
zeripath 3183a465d7
Make modules/context.Context a context.Context (#16031) 4 years ago
zeripath 17c5c654a5
Prevent double-login for Git HTTP and LFS and simplify login (#15303) 4 years ago
zeripath 47fd156936
Use route rather than use thus reducing the number of stack frames (#15301) 4 years ago
Kyle D f44543a1bb
Disable Stars config option (#14653) 4 years ago
6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282) 4 years ago
a1012112796 43fb4921e3
response simple text message for not html request when 404 (#15229) 4 years ago
zeripath 9b261f52f0
Add SameSite setting for cookies (#14900) 4 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
Lunny Xiao bd9361384a
Fix go get (#14758) 4 years ago
zeripath 65c940f66c
Prevent endless loop if templates missing (#14752) 4 years ago
Lunny Xiao 5e20fd6dbf
Move middlewares to web/middleware (#14480) 4 years ago
Lunny Xiao 87b098f3b6
Fix json charset bug (#14514) 4 years ago
Lunny Xiao f761c82c94
Fix load time bug (#14508) 4 years ago
6543 a7cfb9f2c3
Fix JSON Header response (#14499) 4 years ago
Lunny Xiao a51cc6dea4
Fix access log (#14475) 4 years ago
Lunny Xiao 41c0776568
Fix captcha (#14488) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
Andrew Bezold bc05ddc0eb
Redirect on changed user and org name (#11649) 4 years ago
Lunny Xiao a1c9e8f266
Fix windows build error (#14263) 4 years ago
Lunny Xiao 15a475b7db
Fix recovery middleware to render gitea style page. (#13857) 4 years ago
silverwind 3a21f8a986
Inline manifest.json (#14038) 4 years ago
Paweł Bogusławski 839daa85aa
Added option to disable migrations (#13114) 4 years ago
Lunny Xiao 62e6c9bc6c
Add a storage layer for attachments (#11387) 4 years ago
zeripath 2ef318e6f1
Add Access-Control-Expose-Headers (#12446) 4 years ago
mrsdizzie 2842f6cf42
Include query in sign in redirect (#11579) 5 years ago
zeripath 6c46a56360 Prevent redirect to Host (#9678) 5 years ago
Brad Albright f6b29012e0 Add /milestones endpoint (#8733) 5 years ago
Lunny Xiao 88e1c29df1
Fix Go 1.13 private repository go get issue (#8112) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
zeripath 69d81b6569
Handle insecure and ports in go get (#7041) 6 years ago
zeripath 0af0b078f9 wrap the ServerError and NotFound and log from the caller (#6550) 6 years ago
Vasek Sraier 49b2f45f75 Cleaned permission checks for API -> site admin can now do anything (#6483) 6 years ago
zeripath 704da08fdc
Better logging (#6038) (#6095) 6 years ago
mrsdizzie ca46385637 Clean up various use of escape/unescape functions for URL generation (#6334) 6 years ago
zeripath d78bb1d564 Add lang specific font stacks for CJK (#6007) 6 years ago
John Olheiser d26d249748 Minor UI tweaks (#5980) 6 years ago
zeripath ca00ca8ee4 Provide better panic handling (#5902) 6 years ago
Lauris BH 80098bd752 Fix go-get URL generation (#5905) 6 years ago
Piotr Orzechowski 56d931aeac Hide home button when landing page is not set to home (#4651) 6 years ago
Piotr Orzechowski a74426d631 Swagger.v1.json template (#3572) 6 years ago