1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-23 08:47:42 -05:00
forgejo/routers/repo
zeripath 51775f65bc
Make commit info cancelable (#16032)
* Make modules/context.Context a context.Context

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Simplify context calls

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Set the base context for requests to the HammerContext

Signed-off-by: Andrew Thornton <art27@cantab.net>

* pass context into get-last-commit

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Make commit_info cancellable

Signed-off-by: Andrew Thornton <art27@cantab.net>

* use context as context

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: 6543 <6543@obermui.de>
2021-06-06 19:44:58 -04:00
..
activity.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
attachment.go Add ETag header (#15370) 2021-04-12 10:49:26 -04:00
blame.go Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
branch.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
commit.go Make commit info cancelable (#16032) 2021-06-06 19:44:58 -04:00
compare.go Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
download.go Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
editor.go Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
editor_test.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
http.go Restore token authentication for git http when 2FA active (#15915) 2021-05-18 22:30:33 -04:00
issue.go Ensure that ctx.Written is checked after issues(...) calls (#15797) 2021-05-09 10:33:49 +08:00
issue_dependency.go Fix wrong permissions check when issues/prs shared operations (#9885) 2020-01-20 13:00:32 +01:00
issue_label.go Unified link creation. (#15619) 2021-04-30 19:25:13 +02:00
issue_label_test.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
issue_lock.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
issue_stopwatch.go Display current stopwatch in navbar (#14122) 2021-01-21 15:51:52 +01:00
issue_test.go Fix bug when combine label comments (#14894) 2021-03-05 16:17:32 +01:00
issue_timetrack.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
issue_watch.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
lfs.go Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
main_test.go Unit tests for wiki routers (#3022) 2017-11-30 17:52:15 +02:00
middlewares.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
migrate.go Unified link creation. (#15619) 2021-04-30 19:25:13 +02:00
milestone.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
projects.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
projects_test.go KanBan: be able to set default board (#14147) 2021-01-15 22:29:32 +02:00
pull.go Add links to toggle WIP status (#14677) 2021-05-27 22:02:04 +02:00
pull_review.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
release.go fix some ui bug about draft release (#15137) 2021-05-06 05:12:50 +02:00
release_test.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
repo.go Unified link creation. (#15619) 2021-04-30 19:25:13 +02:00
search.go fix wrong file link in code search page (#15466) 2021-04-14 17:59:42 +02:00
setting.go Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
setting_protected_branch.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
settings_test.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
topic.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
view.go Make commit info cancelable (#16032) 2021-06-06 19:44:58 -04:00
webhook.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
wiki.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
wiki_test.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00