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
Zettat123 2f060c5834
Fix bugs in rerunning jobs (#29955)
Fix #28761
Fix #27884
Fix #28093

## Changes

### Rerun all jobs
When rerun all jobs, status of the jobs with `needs` will be set to
`blocked` instead of `waiting`. Therefore, these jobs will not run until
the required jobs are completed.

### Rerun a single job
When a single job is rerun, its dependents should also be rerun, just
like GitHub does
(https://github.com/go-gitea/gitea/issues/28761#issuecomment-2008620820).
In this case, only the specified job will be set to `waiting`, its
dependents will be set to `blocked` to wait the job.

### Show warning if every job has `needs`
If every job in a workflow has `needs`, all jobs will be blocked and no
job can be run. So I add a warning message.

<img
src="https://github.com/go-gitea/gitea/assets/15528715/88f43511-2360-465d-be96-ee92b57ff67b"
width="480px" />
11 months ago
..
admin Remove AddParamIfExist(AddParam) (#29841) 11 months ago
auth Refactor external URL detection (#29973) 11 months ago
devtest Move context from modules to services (#29440) 11 months ago
events Move context from modules to services (#29440) 11 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) 11 months ago
org Remove AddParamIfExist(AddParam) (#29841) 11 months ago
repo Fix bugs in rerunning jobs (#29955) 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) 11 months ago
goget.go Move context from modules to services (#29440) 11 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) 11 months ago
passkey.go Move context from modules to services (#29440) 11 months ago
swagger_json.go Move context from modules to services (#29440) 11 months ago
web.go Refactor URL detection (#29960) 11 months ago
webfinger.go Move context from modules to services (#29440) 11 months ago