[PR #50] [MERGED] Disable HTTP cloning #15114

Closed
opened 2025-11-02 11:39:10 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/50
Author: @thibaultmeyer
Created: 11/3/2016
Status: Merged
Merged: 11/7/2016
Merged by: @xinity

Base: masterHead: feature/2583-disablehttpcloning


📝 Commits (3)

  • 9d66497 Can disable GIT interactions by HTTP protocol
  • 93f1eab rename variable + fix wiki link
  • e54dec7 missing space

📊 Changes

7 files changed (+40 additions, -12 deletions)

View changed files

📝 conf/app.ini (+2 -0)
📝 modules/context/repo.go (+1 -0)
📝 modules/setting/setting.go (+2 -0)
📝 routers/repo/http.go (+5 -0)
📝 templates/repo/bare.tmpl (+10 -4)
📝 templates/repo/home.tmpl (+10 -4)
📝 templates/repo/wiki/view.tmpl (+10 -4)

📄 Description

Relative to #2583, this Pull Request allow administrator to disable any Git interactions by HTTP protocol.

[repository]
DISABLE_HTTP_GIT = true

image

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/50 **Author:** [@thibaultmeyer](https://github.com/thibaultmeyer) **Created:** 11/3/2016 **Status:** ✅ Merged **Merged:** 11/7/2016 **Merged by:** [@xinity](https://github.com/xinity) **Base:** `master` ← **Head:** `feature/2583-disablehttpcloning` --- ### 📝 Commits (3) - [`9d66497`](https://github.com/go-gitea/gitea/commit/9d66497abca96905fbeba53bf8983301710d6064) Can disable GIT interactions by HTTP protocol - [`93f1eab`](https://github.com/go-gitea/gitea/commit/93f1eabe3087ac723f8f404def8dba40359f0d64) rename variable + fix wiki link - [`e54dec7`](https://github.com/go-gitea/gitea/commit/e54dec7ce518b170ec148f1c35bc1e5ad174dc2b) missing space ### 📊 Changes **7 files changed** (+40 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `conf/app.ini` (+2 -0) 📝 `modules/context/repo.go` (+1 -0) 📝 `modules/setting/setting.go` (+2 -0) 📝 `routers/repo/http.go` (+5 -0) 📝 `templates/repo/bare.tmpl` (+10 -4) 📝 `templates/repo/home.tmpl` (+10 -4) 📝 `templates/repo/wiki/view.tmpl` (+10 -4) </details> ### 📄 Description Relative to #2583, this Pull Request allow administrator to disable any Git interactions by HTTP protocol. ``` [repository] DISABLE_HTTP_GIT = true ``` ![image](https://cloud.githubusercontent.com/assets/1005086/18614435/027b1500-7d8f-11e6-84ae-7d6f675b4c45.png) ![image](https://cloud.githubusercontent.com/assets/1005086/18614445/33fb5c0c-7d8f-11e6-8972-0c68ab1c7f70.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:39:10 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15114