You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web
Jason Song a4bcfb8ef1
Detect broken git hooks (#29494)
Detect broken git hooks by checking if the commit id of branches in DB
is the same with the git repo.

It can help #29338 #28277 and maybe more issues.

Users could complain about actions, webhooks, and activities not
working, but they were not aware that it is caused by broken git hooks
unless they could see a warning.

<img width="1348" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/2b92a46d-7f1d-4115-bef4-9f970bd695da">


It should be merged after #29493. Otherwise, users could see a ephemeral
warning after committing and opening the repo home page immediately.

And it also waits for #29495, since the doc link (the anchor part) will
be updated.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
11 months ago
..
admin Skip email domain check when admins edit user emails (#29609) 11 months ago
auth Make "/user/login" page redirect if the current user has signed in (#29583) 11 months ago
devtest Move context from modules to services (#29440) 12 months ago
events Move context from modules to services (#29440) 12 months ago
explore Filter Repositories by type (#29231) 11 months ago
feed Rename Str2html to SanitizeHTML and clarify its behavior (#29516) 11 months ago
healthcheck Always enable caches (#28527) 1 year ago
misc Move context from modules to services (#29440) 12 months ago
org Add user blocking (#29028) 11 months ago
repo Detect broken git hooks (#29494) 11 months ago
shared Add user blocking (#29028) 11 months ago
user Move some asymkey functions to service layer (#28894) 11 months ago
base.go Fix panic in storageHandler (#27446) 1 year ago
githttp.go Move context from modules to services (#29440) 12 months ago
goget.go Move context from modules to services (#29440) 12 months ago
home.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 11 months ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Move context from modules to services (#29440) 12 months ago
passkey.go Move context from modules to services (#29440) 12 months ago
swagger_json.go Move context from modules to services (#29440) 12 months ago
web.go Add user blocking (#29028) 11 months ago
webfinger.go Move context from modules to services (#29440) 12 months ago