gitea/routers/web/repo
Dan Čermák b8c9a0c323
Add ff_only parameter to POST /repos/{owner}/{repo}/merge-upstream (#34770)
The merge-upstream route was so far performing any kind of merge, even
those that would create merge commits and thus make your branch diverge
from upstream, requiring manual intervention via the git cli to undo the
damage.

With the new optional parameter ff_only, we can instruct gitea to error
out, if a non-fast-forward merge would be performed.
2025-06-19 12:29:10 -07:00
..
actions Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
setting Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
activity.go Do not show 500 error when default branch doesn't exist (#34096) 2025-04-01 21:39:00 -07:00
attachment.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
blame.go Fix incorrect file links (#34189) 2025-04-13 12:27:31 -07:00
branch.go Add ff_only parameter to POST /repos/{owner}/{repo}/merge-upstream (#34770) 2025-06-19 12:29:10 -07:00
cherry_pick.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
code_frequency.go Hide activity contributors, recent commits and code frequrency left tabs if there is no code permission (#34053) 2025-03-28 21:04:40 -07:00
commit.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
compare.go Support title and body query parameters for new PRs (#34537) 2025-06-17 12:05:10 -07:00
contributors.go Fix incorrect ref commit ID usage (#33331) 2025-01-20 07:43:49 +00:00
download.go Refactor cache-control (#33861) 2025-03-13 07:04:50 +08:00
editor_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
editor.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
find.go
fork.go Prevent duplicate form submissions when creating forks (#34714) 2025-06-16 04:19:16 +00:00
githttp_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
githttp.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
helper.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
issue_comment.go Fix footnote jump behavior on the issue page. (#34621) 2025-06-09 17:18:11 +00:00
issue_content_history.go enable staticcheck QFxxxx rules (#34064) 2025-03-29 17:32:28 -04:00
issue_dependency.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
issue_label_test.go Validate hex colors when creating/editing labels (#34623) 2025-06-07 11:25:08 +03:00
issue_label.go Validate hex colors when creating/editing labels (#34623) 2025-06-07 11:25:08 +03:00
issue_list.go Do not mutate incoming options to SearchRepositoryByName (#34553) 2025-06-02 17:33:25 +00:00
issue_lock.go Add API routes to lock and unlock issues (#34165) 2025-04-21 00:43:43 +00:00
issue_new.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
issue_page_meta.go Fix PR's target branch dropdown (#33589) 2025-02-14 05:21:31 +00:00
issue_pin.go Move issue pin to an standalone table for querying performance (#33452) 2025-02-17 11:28:37 -08:00
issue_poster.go Support public code/issue access for private repositories (#33127) 2025-01-14 01:53:34 +00:00
issue_stopwatch.go Prepare common tmpl functions in a middleware (#33957) 2025-03-25 06:17:58 +00:00
issue_suggestions.go Rework suggestion backend (#33538) 2025-02-10 16:24:05 +00:00
issue_test.go
issue_timetrack.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
issue_view.go Fix footnote jump behavior on the issue page. (#34621) 2025-06-09 17:18:11 +00:00
issue_watch.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
issue.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
main_test.go
middlewares.go
migrate.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
milestone.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
packages.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
patch.go Allow renaming/moving binary/LFS files in the UI (#34350) 2025-06-16 17:15:07 -07:00
projects_test.go
projects.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
pull_review_test.go
pull_review.go enable staticcheck QFxxxx rules (#34064) 2025-03-29 17:32:28 -04:00
pull.go Fix possible pull request broken when leave the page immediately after clicking the update button (#34509) 2025-06-04 17:09:08 +00:00
recent_commits.go Hide activity contributors, recent commits and code frequrency left tabs if there is no code permission (#34053) 2025-03-28 21:04:40 -07:00
release_test.go
release.go Fix tag target (#34781) 2025-06-19 10:33:30 -07:00
render.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
repo.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
search.go Improve issue & code search (#33860) 2025-03-13 11:07:48 +08:00
star.go Refactor web route handler (#33488) 2025-02-05 02:14:03 +08:00
topic.go
transfer.go Refactor web route handler (#33488) 2025-02-05 02:14:03 +08:00
treelist_test.go support the open-icon of folder (#34168) 2025-04-28 19:51:32 -07:00
treelist.go support the open-icon of folder (#34168) 2025-04-28 19:51:32 -07:00
view_file.go Allow renaming/moving binary/LFS files in the UI (#34350) 2025-06-16 17:15:07 -07:00
view_home_test.go Correctly handle submodule view and avoid throwing 500 error (#34121) 2025-04-06 09:38:08 +00:00
view_home.go Fix repo broken check (#34444) 2025-05-13 08:18:45 +00:00
view_readme.go Fix readme path and markdown link paste (#34755) 2025-06-18 04:19:54 +00:00
view_test.go
view.go Split GetLatestCommitStatus as two functions (#34535) 2025-05-26 19:00:22 +00:00
watch.go Refactor web route handler (#33488) 2025-02-05 02:14:03 +08:00
webgit.go Support choose email when creating a commit via web UI (more) (#33445) 2025-01-31 02:36:18 +00:00
wiki_test.go Replace update repository function in some places (#34566) 2025-06-17 09:54:25 -07:00
wiki.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00