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
parnic cdab46220d
Add commit status popup to issuelist (#19375)
This gets the necessary data to the issuelist for it to support a clickable commit status icon which pops up the full list of commit statuses related to the commit. It accomplishes this without any additional queries or fetching as the existing codepath was already doing the necessary work but only returning the "last" status. All methods were wrapped to call the least-filtered version of each function in order to maximize code reuse.

Note that I originally left `getLastCommitStatus()` in `pull.go` which called to the new function, but `make lint` complained that it was unused, so I removed it. I would have preferred to keep it, but alas.

The only thing I'd still like to do here is force these popups to happen to the right by default instead of the left. I see that the only other place this is popping up right is on view_list.tmpl, but I can't figure out how/why right now.

Fixes #18810
3 years ago
..
agit Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
asymkey Use a struct as test options (#19393) 3 years ago
attachment Use a struct as test options (#19393) 3 years ago
auth Remove dependent on session auth for api/v1 routers (#19321) 3 years ago
comments Move some issue methods as functions (#19255) 3 years ago
context Add `ContextUser` to http request context (#18798) 3 years ago
cron Remove legacy unmaintained packages, refactor to support change default locale (#19308) 3 years ago
externalaccount Refactor auth package (#17962) 3 years ago
forms Move checks for pulls before merge into own function (#19271) 3 years ago
gitdiff Use a struct as test options (#19393) 3 years ago
issue Use a struct as test options (#19393) 3 years ago
lfs Update HTTP status codes to modern codes (#18063) 3 years ago
mailer Use a struct as test options (#19393) 3 years ago
migrations User specific repoID or xorm builder conditions for issue search (#19475) 3 years ago
mirror Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
org Use a struct as test options (#19393) 3 years ago
packages Package registry changes (#19305) 3 years ago
pull Add commit status popup to issuelist (#19375) 3 years ago
release Use a struct as test options (#19393) 3 years ago
repository RepoAssignment ensure to close before overwrite (#19449) 3 years ago
task Use a more general (and faster) method to sanitize URLs with credentials (#19239) 3 years ago
user Use a struct as test options (#19393) 3 years ago
webhook Use queue instead of memory queue in webhook send service (#19390) 3 years ago
wiki Use a struct as test options (#19393) 3 years ago