[PR #782] [MERGED] Allow custom public files #15571

Closed
opened 2025-11-02 11:49:41 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/782
Author: @tboerger
Created: 1/28/2017
Status: Merged
Merged: 1/28/2017
Merged by: @tboerger

Base: masterHead: custom-fixes


📝 Commits (2)

  • 2b796c2 Allow custom public files
  • 43903d9 Gofmt code, lots of places not related to this pr

📊 Changes

8 files changed (+28 additions, -9 deletions)

View changed files

📝 cmd/web.go (+5 -0)
📝 models/attachment.go (+0 -1)
📝 models/issue.go (+2 -3)
📝 models/pull.go (+1 -1)
📝 modules/public/public.go (+17 -0)
📝 routers/init.go (+1 -1)
📝 routers/repo/attachment.go (+0 -1)
📝 routers/repo/release.go (+2 -2)

📄 Description

This allows serving custom public files again, just place files into custom/public/ and they will be available to the builtin server.

Fixes #758


🔄 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/782 **Author:** [@tboerger](https://github.com/tboerger) **Created:** 1/28/2017 **Status:** ✅ Merged **Merged:** 1/28/2017 **Merged by:** [@tboerger](https://github.com/tboerger) **Base:** `master` ← **Head:** `custom-fixes` --- ### 📝 Commits (2) - [`2b796c2`](https://github.com/go-gitea/gitea/commit/2b796c2a49ef597132aa03a47a0b3c82ce4b7101) Allow custom public files - [`43903d9`](https://github.com/go-gitea/gitea/commit/43903d90fa4fd01c16337dfa7488c285270716d7) Gofmt code, lots of places not related to this pr ### 📊 Changes **8 files changed** (+28 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `cmd/web.go` (+5 -0) 📝 `models/attachment.go` (+0 -1) 📝 `models/issue.go` (+2 -3) 📝 `models/pull.go` (+1 -1) 📝 `modules/public/public.go` (+17 -0) 📝 `routers/init.go` (+1 -1) 📝 `routers/repo/attachment.go` (+0 -1) 📝 `routers/repo/release.go` (+2 -2) </details> ### 📄 Description This allows serving custom public files again, just place files into `custom/public/` and they will be available to the builtin server. Fixes #758 --- <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:49:41 -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#15571