You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web/repo
Earl Warren 3f342d6dff
Modernize merge button (#28140)
- Make use of the `form-fetch-action` for the merge button, which will
automatically prevent the action from happening multiple times and show
a nice loading indicator as user feedback while the merge request is
being processed by the server.
- Adjust the merge PR code to JSON response as this is required for the
`form-fetch-action` functionality.
- Resolves https://codeberg.org/forgejo/forgejo/issues/774
- Likely resolves the cause of
https://codeberg.org/forgejo/forgejo/issues/1688#issuecomment-1313044

(cherry picked from commit 4ec64c19507caefff7ddaad722b1b5792b97cc5a)

Co-authored-by: Gusted <postmaster@gusted.xyz>
1 year ago
..
actions Only check online runner when detecting matching runners in workflows (#28286) 1 year ago
setting Fix schedule tasks bugs (#28691) 1 year ago
activity.go
attachment.go Even more `db.DefaultContext` refactor (#27352) 1 year ago
blame.go Use information from previous blame parts (#28572) 1 year ago
branch.go Adjust object format interface (#28469) 1 year ago
cherry_pick.go Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
commit.go Abstract hash function usage (#28138) 1 year ago
compare.go Assign pull request to project during creation (#28227) 1 year ago
download.go
editor.go Revert "Fix EOL handling in web editor" (#28101) 1 year ago
editor_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
find.go
githttp.go Adjust object format interface (#28469) 1 year ago
githttp_test.go Fix http protocol auth (#27875) 1 year ago
helper.go Improve tree not found page (#26570) 1 year ago
helper_test.go
issue.go Fix issue dependencies (#27736) 1 year ago
issue_content_history.go Fix missing check (#28406) 1 year ago
issue_dependency.go Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
issue_label.go Even more `db.DefaultContext` refactor (#27352) 1 year ago
issue_label_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
issue_lock.go Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
issue_pin.go Fix missing check (#28406) 1 year ago
issue_stopwatch.go Final round of `db.DefaultContext` refactor (#27587) 1 year ago
issue_test.go
issue_timetrack.go Final round of `db.DefaultContext` refactor (#27587) 1 year ago
issue_watch.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
middlewares.go Fix viewing wiki commit on empty repo (#28040) 1 year ago
migrate.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
milestone.go Second part of refactor `db.Find` (#28194) 1 year ago
packages.go Fix the display of org level badges (#26504) 1 year ago
patch.go Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
projects.go Fix comment permissions (#28213) 1 year ago
projects_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
pull.go Modernize merge button (#28140) 1 year ago
pull_review.go More `db.DefaultContext` refactor (#27265) 1 year ago
release.go Add missing variable in tag list (#28305) 1 year ago
release_test.go Improvements of releases list and tags list (#25859) 1 year ago
render.go Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
repo.go Adjust object format interface (#28469) 1 year ago
search.go
topic.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
treelist.go
view.go Add option to disable ambiguous unicode characters detection (#28454) 1 year ago
view_test.go
wiki.go Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
wiki_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago