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/services
Lunny Xiao 538790ad1d
Put an edit file button on pull request files to allow a quick operation (#29697)
Resolve #23848

This PR put an edit file button on pull request files to allow a quick
edit for a file. After the edit finished, it will return back to the
viewed file position on pull request files tab.

It also use a branch view file link instead of commit link when it's a
non-commit pull request files view.

<img width="1532" alt="image"
src="https://github.com/go-gitea/gitea/assets/81045/3637ca4c-89d5-4621-847b-79702a44f617">

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
10 months ago
..
actions Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 11 months ago
agit A small refactor for agit implementation (#29614) 11 months ago
asymkey Fix some pending problems (#29985) 11 months ago
attachment Add support for API blob upload of release attachments (#29507) 11 months ago
auth Migrate margin and padding helpers to tailwind (#30043) 10 months ago
automerge Simplify how git repositories are opened (#28937) 1 year ago
context Refactor external URL detection (#29973) 11 months ago
contexttest Make "/user/login" page redirect if the current user has signed in (#29583) 11 months ago
convert Performance improvements for pull request list page (#29900) 11 months ago
cron Move some asymkey functions to service layer (#28894) 11 months ago
doctor Fix gitea doctor will remove repo-avatar files when execute command `storage-archives` (#30094) 10 months ago
externalaccount Revert "Support SAML authentication (#25165)" (#29358) 11 months ago
feed More `db.DefaultContext` refactor (#27265) 1 year ago
forms Add a warning for disallowed email domains (#29658) 11 months ago
gitdiff Fix incorrect diff expander for deletion of last lines in a file (#29501) 11 months ago
indexer Fix missing issue search index update when changing status (#28325) 1 year ago
issue Fix Add/Remove WIP on pull request title failure (#29999) 10 months ago
lfs Move context from modules to services (#29440) 11 months ago
mailer Use relative links for commits, mentions, and issues in markdown (#29427) 11 months ago
markup Move context from modules to services (#29440) 11 months ago
migrations Fix duplicate migrated milestones (#30102) 10 months ago
mirror Use repo object format name instead of detecting from git repository (#29702) 11 months ago
notify Update status and code index after changing the default branch (#27018) 1 year ago
org Delete repos of org when purge delete user (#27273) 1 year ago
packages remove util.OptionalBool and related functions (#29513) 11 months ago
pull Put an edit file button on pull request files to allow a quick operation (#29697) 10 months ago
release Use repo object format name instead of detecting from git repository (#29702) 11 months ago
repository Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 11 months ago
secrets Refactor deletion (#28610) 1 year ago
task Fix incorrect ctx usage in defer function (#27740) 1 year ago
uinotification Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
user Skip email domain check when admins edit user emails (#29609) 11 months ago
webhook Fix possible data race on tests (#30093) 10 months ago
wiki Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 11 months ago