[PR #4035] [MERGED] LFS: make HTTP auth period configurable #17207

Closed
opened 2025-11-02 12:29:31 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4035
Author: @InonS
Created: 5/24/2018
Status: Merged
Merged: 5/29/2018
Merged by: @lunny

Base: masterHead: feature/lfs-http-auth-period-configurable


📝 Commits (10+)

  • 1da0da1 LFS: make HTTP auth period configurable
  • 788423f Formatting: Removed semicolon
  • edc8b7e applying code reviews
  • 43f7756 Merge branch 'master' into feature/lfs-http-auth-period-configurable
  • ebdab89 Applied code review comment: Change HTTPAuthExpiry to time.Duration
  • 667d206 Merge branch 'feature/lfs-http-auth-period-configurable' of https://github.com/L4B-Software/gitea into feature/lfs-http-auth-period-configurable
  • 7676081 Merge branch 'master' into feature/lfs-http-auth-period-configurable
  • 41f6bae Merge branch 'master' into feature/lfs-http-auth-period-configurable
  • ef7cff1 Updated config cheat sheet
  • fa99e1b Merge branch 'master' into feature/lfs-http-auth-period-configurable

📊 Changes

4 files changed (+12 additions, -5 deletions)

View changed files

📝 cmd/serv.go (+1 -1)
📝 custom/conf/app.ini.sample (+2 -0)
📝 docs/content/doc/advanced/config-cheat-sheet.en-us.md (+1 -0)
📝 modules/setting/setting.go (+8 -4)

📄 Description

Authentication period is hard-coded for 5 minutes. For LFS this may be too short, so we made the HTTP auth period configurable.


🔄 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/4035 **Author:** [@InonS](https://github.com/InonS) **Created:** 5/24/2018 **Status:** ✅ Merged **Merged:** 5/29/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `feature/lfs-http-auth-period-configurable` --- ### 📝 Commits (10+) - [`1da0da1`](https://github.com/go-gitea/gitea/commit/1da0da125183b8a5e0ffecbd210e148a2c79c9af) LFS: make HTTP auth period configurable - [`788423f`](https://github.com/go-gitea/gitea/commit/788423fc11e22ed7af94c2878f31db0929d1797d) Formatting: Removed semicolon - [`edc8b7e`](https://github.com/go-gitea/gitea/commit/edc8b7eae9988909252b42f60a4bc128656a3bbb) applying code reviews - [`43f7756`](https://github.com/go-gitea/gitea/commit/43f77561761dcc7641c7e70b3e247b4112a4484d) Merge branch 'master' into feature/lfs-http-auth-period-configurable - [`ebdab89`](https://github.com/go-gitea/gitea/commit/ebdab8976e22b9b5f751e034a2e209354558e047) Applied code review comment: Change HTTPAuthExpiry to time.Duration - [`667d206`](https://github.com/go-gitea/gitea/commit/667d20698102b45ef7e6885e49d3c1d6c3f441d5) Merge branch 'feature/lfs-http-auth-period-configurable' of https://github.com/L4B-Software/gitea into feature/lfs-http-auth-period-configurable - [`7676081`](https://github.com/go-gitea/gitea/commit/7676081a0694b6a6294549130c56b615a58d4f54) Merge branch 'master' into feature/lfs-http-auth-period-configurable - [`41f6bae`](https://github.com/go-gitea/gitea/commit/41f6bae091afca17b168fe33f661344ad4e15f03) Merge branch 'master' into feature/lfs-http-auth-period-configurable - [`ef7cff1`](https://github.com/go-gitea/gitea/commit/ef7cff100eda3b12f29ed540687616db00b813f9) Updated config cheat sheet - [`fa99e1b`](https://github.com/go-gitea/gitea/commit/fa99e1ba2c6e8e8a78bb5f25399ac73fb1673ab4) Merge branch 'master' into feature/lfs-http-auth-period-configurable ### 📊 Changes **4 files changed** (+12 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `cmd/serv.go` (+1 -1) 📝 `custom/conf/app.ini.sample` (+2 -0) 📝 `docs/content/doc/advanced/config-cheat-sheet.en-us.md` (+1 -0) 📝 `modules/setting/setting.go` (+8 -4) </details> ### 📄 Description Authentication period is hard-coded for 5 minutes. For LFS this may be too short, so we made the HTTP auth period configurable. --- <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 12:29:31 -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#17207