0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 02:15:39 +01:00
gitea/routers/repo
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>
2019-02-05 20:58:55 -05:00
..
activity.go
attachment.go
branch.go
commit.go
download.go
editor_test.go
editor.go
http.go Feature: Archive repos (#5009) 2019-01-23 13:58:38 -05:00
issue_dependency.go
issue_label_test.go
issue_label.go
issue_stopwatch.go Automatically clear stopwatch on merging a PR (#4327) 2019-02-05 13:38:11 +02:00
issue_timetrack.go
issue_watch.go
issue.go Automatically clear stopwatch on merging a PR (#4327) 2019-02-05 13:38:11 +02:00
main_test.go
middlewares.go
milestone.go
pull_review.go
pull.go Pull request conflict files detection (#5951) 2019-02-05 06:54:49 -05:00
release_test.go
release.go Feature: Archive repos (#5009) 2019-01-23 13:58:38 -05:00
repo.go
search.go
setting_protected_branch.go
setting.go Fix ssh deploy and user key constraints (#1357) (#5939) 2019-02-03 23:56:53 +00:00
settings_test.go
topic.go
view.go Feature: Archive repos (#5009) 2019-01-23 13:58:38 -05:00
webhook.go
wiki_test.go Fix serving of raw wiki files other than .md (#5814) 2019-02-05 20:58:55 -05:00
wiki.go Fix serving of raw wiki files other than .md (#5814) 2019-02-05 20:58:55 -05:00