[PR #3339] [MERGED] Handle refactor #16896

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3339
Author: @thehowl
Created: 1/9/2018
Status: Merged
Merged: 1/10/2018
Merged by: @lafriks

Base: masterHead: handle-refactor


📝 Commits (3)

  • e96e441 Replace all ctx.Handle with ctx.ServerError or ctx.NotFound
  • 3fa081a Change Handle(403) to NotFound, avoid using macaron's NotFound
  • d93e898 Merge branch 'master' into handle-refactor

📊 Changes

48 files changed (+622 additions, -610 deletions)

View changed files

📝 modules/context/context.go (+20 -12)
📝 modules/context/org.go (+10 -10)
📝 modules/context/repo.go (+34 -34)
📝 routers/admin/auths.go (+6 -6)
📝 routers/admin/notice.go (+2 -2)
📝 routers/admin/repos.go (+2 -2)
📝 routers/admin/users.go (+10 -10)
📝 routers/api/v1/repo/fork.go (+1 -1)
📝 routers/api/v1/repo/label.go (+1 -1)
📝 routers/api/v1/repo/milestone.go (+1 -1)
📝 routers/api/v1/repo/pull.go (+4 -4)
📝 routers/api/v1/repo/release.go (+2 -2)
📝 routers/api/v1/repo/repo.go (+1 -1)
📝 routers/home.go (+3 -3)
📝 routers/install.go (+1 -1)
📝 routers/org/members.go (+1 -1)
📝 routers/org/org.go (+10 -2)
📝 routers/org/setting.go (+6 -6)
📝 routers/org/teams.go (+8 -8)
📝 routers/repo/activity.go (+1 -1)

...and 28 more files

📄 Description

As per discussion in #3330


🔄 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/3339 **Author:** [@thehowl](https://github.com/thehowl) **Created:** 1/9/2018 **Status:** ✅ Merged **Merged:** 1/10/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `handle-refactor` --- ### 📝 Commits (3) - [`e96e441`](https://github.com/go-gitea/gitea/commit/e96e4418479bb28d814992dd3d25250afa039245) Replace all ctx.Handle with ctx.ServerError or ctx.NotFound - [`3fa081a`](https://github.com/go-gitea/gitea/commit/3fa081aa5449602fb121a4058a02c06d01b217bd) Change Handle(403) to NotFound, avoid using macaron's NotFound - [`d93e898`](https://github.com/go-gitea/gitea/commit/d93e898944a6c37dcec8a3b06542fde0b419e3c1) Merge branch 'master' into handle-refactor ### 📊 Changes **48 files changed** (+622 additions, -610 deletions) <details> <summary>View changed files</summary> 📝 `modules/context/context.go` (+20 -12) 📝 `modules/context/org.go` (+10 -10) 📝 `modules/context/repo.go` (+34 -34) 📝 `routers/admin/auths.go` (+6 -6) 📝 `routers/admin/notice.go` (+2 -2) 📝 `routers/admin/repos.go` (+2 -2) 📝 `routers/admin/users.go` (+10 -10) 📝 `routers/api/v1/repo/fork.go` (+1 -1) 📝 `routers/api/v1/repo/label.go` (+1 -1) 📝 `routers/api/v1/repo/milestone.go` (+1 -1) 📝 `routers/api/v1/repo/pull.go` (+4 -4) 📝 `routers/api/v1/repo/release.go` (+2 -2) 📝 `routers/api/v1/repo/repo.go` (+1 -1) 📝 `routers/home.go` (+3 -3) 📝 `routers/install.go` (+1 -1) 📝 `routers/org/members.go` (+1 -1) 📝 `routers/org/org.go` (+10 -2) 📝 `routers/org/setting.go` (+6 -6) 📝 `routers/org/teams.go` (+8 -8) 📝 `routers/repo/activity.go` (+1 -1) _...and 28 more files_ </details> ### 📄 Description As per discussion in #3330 --- <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:21:36 -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#16896