githaven/routers/repo
6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282)
* replace "200" (int) with "http.StatusOK" (const)

* ctx.Error & ctx.HTML

* ctx.JSON Part1

* ctx.JSON Part2

* ctx.JSON Part3
2021-04-05 11:30:52 -04:00
..
activity.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
attachment.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
blame.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
branch.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
commit.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
compare.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
download.go Add Content-Length header to HEAD requests (#14542) 2021-02-05 21:10:40 +01:00
editor_test.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
editor.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
http.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
issue_dependency.go Fix wrong permissions check when issues/prs shared operations (#9885) 2020-01-20 13:00:32 +01:00
issue_label_test.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
issue_label.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
issue_lock.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +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 Add UI to delete tracked times (#14100) 2021-02-19 12:52:11 +02:00
issue_watch.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
issue.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
lfs.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04: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 [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
milestone.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
projects_test.go KanBan: be able to set default board (#14147) 2021-01-15 22:29:32 +02:00
projects.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
pull_review.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
pull.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
release_test.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
release.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
repo.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
search.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
setting_protected_branch.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
setting.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
settings_test.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
topic.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
view.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
webhook.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
wiki_test.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
wiki.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00