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
sillyguodong e962ade99c
Refresh the refernce of the closed PR when reopening (#24231)
Close #24213 
Replace #23830

#### Cause

- Before, in order to making PR can get latest commit after reopening,
the `ref`(${REPO_PATH}/refs/pull/${PR_INDEX}/head) of evrey closed PR
will be updated when pushing commits to the `head branch` of the closed
PR.

#### Changes

- For closed PR , won't perform these behavior: insert`comment`, push
`notification` (UI and email), exectue
[pushToBaseRepo](7422503341/services/pull/pull.go (L409))
function and trigger `action` any more when pushing to the `head branch`
of the closed PR.
- Refresh the reference of the PR when reopening the closed PR (**even
if the head branch has been deleted before**). Make the reference of PR
consistent with the `head branch`.
2 years ago
..
admin Sort users and orgs on explore by recency by default (#24279) 2 years ago
auth Respect the REGISTER_MANUAL_CONFIRM setting when registering via OIDC (#24035) 2 years ago
devtest Remove untranslatable `on_date` key (#24106) 2 years ago
events Implement FSFE REUSE for golang files (#21840) 2 years ago
explore Sort users and orgs on explore by recency by default (#24279) 2 years ago
feed Add ability to specify '--not' from GetAllCommits (#24409) 2 years ago
healthcheck Refactor `setting.Database.UseXXX` to methods (#23354) 2 years ago
misc Refactor "route" related code, fix Safari cookie bug (#24330) 2 years ago
org Revert "Prevent a user with a different email from accepting the team invite" (#24531) 2 years ago
repo Refresh the refernce of the closed PR when reopening (#24231) 2 years ago
shared Move secrets and runners settings to actions settings (#24200) 2 years ago
user Merge setting.InitXXX into one function with options (#24389) 2 years ago
auth.go Implement FSFE REUSE for golang files (#21840) 2 years ago
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2 years ago
base.go Improve template system and panic recovery (#24461) 2 years ago
goget.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
home.go Refactor cookie (#24107) 2 years ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Implement FSFE REUSE for golang files (#21840) 2 years ago
swagger_json.go Group template helper functions, remove `Printf`, improve template error messages (#23982) 2 years ago
web.go Require at least one unit to be enabled (#24189) 2 years ago
webfinger.go Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 2 years ago