mirror of https://github.com/go-gitea/gitea.git
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.
580e21dd2e
Gitea instance keeps reporting a lot of errors like "LFS SSH transfer connection denied, pure SSH protocol is disabled". When starting debugging the problem, there are more problems found. Try to address most of them: * avoid unnecessary server side error logs (change `fail()` to not log them) * figure out the broken tests/user2/lfs.git (added comments) * avoid `migratePushMirrors` failure when a repository doesn't exist (ignore them) * avoid "Authorization" (internal&lfs) header conflicts, remove the tricky "swapAuth" and use "X-Gitea-Internal-Auth" * make internal token comparing constant time (it wasn't a serous problem because in a real world it's nearly impossible to timing-attack the token, but good to fix and backport) * avoid duplicate routers (introduce AddOwnerRepoGitLFSRoutes) * avoid "internal (private)" routes using session/web context (they should use private context) * fix incorrect "path" usages (use "filepath") * fix incorrect mocked route point handling (need to check func nil correctly) * split some tests from "git general tests" to "git misc tests" (to keep "git_general_test.go" simple) Still no correct result for Git LFS SSH tests. So the code is kept there (`tests/integration/git_lfs_ssh_test.go`) and a FIXME explains the details. |
3 months ago | |
---|---|---|
.. | ||
actions.go | 1 year ago | |
admin.go | 1 year ago | |
admin_auth.go | 9 months ago | |
admin_auth_ldap.go | 3 months ago | |
admin_auth_ldap_test.go | 1 year ago | |
admin_auth_oauth.go | 9 months ago | |
admin_auth_stmp.go | 9 months ago | |
admin_regenerate.go | 11 months ago | |
admin_user.go | 2 years ago | |
admin_user_change_password.go | 9 months ago | |
admin_user_create.go | 5 months ago | |
admin_user_create_test.go | 9 months ago | |
admin_user_delete.go | 9 months ago | |
admin_user_generate_access_token.go | 9 months ago | |
admin_user_list.go | 1 year ago | |
admin_user_must_change_password.go | 2 years ago | |
cert.go | 1 year ago | |
cmd.go | 2 years ago | |
docs.go | 2 years ago | |
doctor.go | 1 year ago | |
doctor_convert.go | 1 year ago | |
doctor_test.go | 1 year ago | |
dump.go | 9 months ago | |
dump_repo.go | 2 years ago | |
embedded.go | 9 months ago | |
generate.go | 12 months ago | |
hook.go | 4 months ago | |
hook_test.go | 2 years ago | |
keys.go | 11 months ago | |
mailer.go | 1 year ago | |
main.go | 9 months ago | |
main_test.go | 9 months ago | |
manager.go | 2 years ago | |
manager_logging.go | 9 months ago | |
migrate.go | 2 years ago | |
migrate_storage.go | 8 months ago | |
migrate_storage_test.go | 1 year ago | |
restore_repo.go | 2 years ago | |
serv.go | 3 months ago | |
web.go | 10 months ago | |
web_acme.go | 2 years ago | |
web_graceful.go | 2 years ago | |
web_https.go | 2 years ago |