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.
Gabriel Silva Simões 3b7f41f9f7 Fix serving of raw wiki files other than .md (#5814)
* Fix serving of raw wiki files other than .md

Closes #4690.
Closes #4395.

Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com>

* Simplify code at routers/repo/wiki.go

Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com>

* Add more files to user2/repo1.wiki for testing

Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com>

* Update macaron to v1.3.2

Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com>

* Add tests for WikiRaw

Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com>

* Fix NewResponseWriter usage due to macaron update

Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com>

* Add raw to reserved wiki names

Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com>
5 years ago
..
activity.go Restrict permission check on repositories and fix some problems (#5314) 6 years ago
attachment.go Log attachment blocked events (#3615) 6 years ago
branch.go branch: Trigger update when deleting branch via UI. (#5617) 6 years ago
commit.go fix commit page showing status for current default branch (#5650) 6 years ago
download.go Add raw blob endpoint to get objects by SHA ID (#5334) 6 years ago
editor.go SECURITY: protect DeleteFilePost et al with cleanUploadFileName (#5631) 6 years ago
editor_test.go fix bug on upload file name (#5571) 6 years ago
http.go Feature: Archive repos (#5009) 6 years ago
issue.go Automatically clear stopwatch on merging a PR (#4327) 5 years ago
issue_dependency.go Added dependencies for issues (#2196) (#2531) 6 years ago
issue_label.go Add label descriptions (#3662) 6 years ago
issue_label_test.go fix go vet error (#3740) 6 years ago
issue_stopwatch.go Automatically clear stopwatch on merging a PR (#4327) 5 years ago
issue_timetrack.go Handle refactor (#3339) 7 years ago
issue_watch.go Restrict permission check on repositories and fix some problems (#5314) 6 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
middlewares.go Add whitespace handling to PR-comparsion (#4683) 6 years ago
milestone.go Issue is not overdue when it is on the same date #5566 (#5568) 6 years ago
pull.go Pull request conflict files detection (#5951) 5 years ago
pull_review.go Add comment replies (#5104) 6 years ago
release.go Feature: Archive repos (#5009) 6 years ago
release_test.go Fix missing branch in release bug (#3108) 7 years ago
repo.go Refactor repo.isBare to repo.isEmpty #5629 (#5714) 6 years ago
search.go Global code search support (#3664) 6 years ago
setting.go Fix ssh deploy and user key constraints (#1357) (#5939) 5 years ago
setting_protected_branch.go Approvals at Branch Protection (#5350) 6 years ago
settings_test.go An inactive user shouldn't be able to be added as a collaborator (#4535) 6 years ago
topic.go Fix topics addition (Another solution) (#4031) (#4258) 6 years ago
view.go Feature: Archive repos (#5009) 6 years ago
webhook.go Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 6 years ago
wiki.go Fix serving of raw wiki files other than .md (#5814) 5 years ago
wiki_test.go Fix serving of raw wiki files other than .md (#5814) 5 years ago