Commit Graph

328 Commits (031f5f7b7ceb57283171f7654798fad54873e03f)

Author SHA1 Message Date
zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 3 years ago
zeripath d06f9ce274
Redirect on bad CSRF instead of presenting bad page (#14937) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 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) 3 years ago
KN4CK3R 440039c0cc
Add push to remote mirror repository (#15157) 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 2d87a84709
Stop calling WriteHeader in Write (#15862) 4 years ago
silverwind 1e6fa57acb
Use single shared random string generation function (#15741) 4 years ago
zeripath 270aab429e
On open repository open common cat file batch and batch-check (#15667) 4 years ago
a1012112796 3088866531
fix some ui bug about draft release (#15137) 4 years ago
zeripath eedc0c8324
Defer closing the gitrepo until the end of the wrapped context functions (#15653) 4 years ago
zeripath 47fd156936
Use route rather than use thus reducing the number of stack frames (#15301) 4 years ago
KN4CK3R c80d7f33b6
Unified link creation. (#15619) 4 years ago
Kyle D f44543a1bb
Disable Stars config option (#14653) 4 years ago
zeripath 8e2a8efd84
Prevent superfluous response.WriteHeader (#15456) 4 years ago
zeripath 136a20926c
Turn RepoRef and RepoAssignment back into func(*Context) (#15372) 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
6543 a4148c0f12
Repository transfer has to be confirmed, if user can not create repo for new owner (#14792) 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
6543 0d1444751f
[API] Add pagination to ListBranches (#14524) 4 years ago
Lunny Xiao 5e20fd6dbf
Move middlewares to web/middleware (#14480) 4 years ago
Lunny Xiao 0cd87d64ff
Update docs and comments to remove macaron (#14491) 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
Jui-Nan Lin c10503afec
[Feature] add precise search type for Elastic Search (#12869) 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
6543 4acb499f30
just overload to not get it by mistake again ... (#14440) 4 years ago
Lunny Xiao 135b0e502d
Fix log http status is always zero (#14400) 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
Lauris BH 57fa9b0f25
Support shortened commit SHAs in URLs (#13686) 4 years ago
Kevin Zúñiga 247ab6a922
Send error message when CSRF token is missing (#13676) 4 years ago
6543 7d2700c8be
[API] Only Return Json (#13511) 4 years ago
zeripath c05a8abc76
Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links, Show only certain branches, (#12766) 4 years ago
John Olheiser 7c68ac8f7d
Tags cleanup (#13428) 4 years ago
John Olheiser b5e974c8a5
Delete tag API (#13358) 4 years ago
zeripath 2f1353a2f3
Move install pages out of main macaron routes (#13195) 4 years ago