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
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>
11 months ago
..
admin Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 11 months ago
auth Refactor external URL detection (#29973) 11 months ago
devtest Move context from modules to services (#29440) 12 months ago
events Move context from modules to services (#29440) 12 months ago
explore Remove AddParamIfExist(AddParam) (#29841) 11 months ago
feed Rename Str2html to SanitizeHTML and clarify its behavior (#29516) 11 months ago
healthcheck Always enable caches (#28527) 1 year ago
misc Move context from modules to services (#29440) 12 months ago
org Remove AddParamIfExist(AddParam) (#29841) 11 months ago
repo Put an edit file button on pull request files to allow a quick operation (#29697) 11 months ago
shared Fix missing code in the user profile (#29865) 11 months ago
user Refactor StringsToInt64s (#29967) 11 months ago
base.go Fix panic in storageHandler (#27446) 1 year ago
githttp.go Move context from modules to services (#29440) 12 months ago
goget.go Move context from modules to services (#29440) 12 months ago
home.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 11 months ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Move context from modules to services (#29440) 12 months ago
passkey.go Move context from modules to services (#29440) 12 months ago
swagger_json.go Move context from modules to services (#29440) 12 months ago
web.go Refactor URL detection (#29960) 11 months ago
webfinger.go Move context from modules to services (#29440) 12 months ago