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
..
2018-03-06 09:22:16 +08:00
2019-02-02 21:56:15 +00:00
2017-05-26 09:38:18 +08:00
2017-05-04 13:54:56 +08:00
2018-10-27 22:45:24 +08:00
2018-05-09 19:29:04 +03:00
2014-04-13 03:14:43 -04:00
2018-10-25 18:55:16 +08:00
2019-01-13 14:06:22 -05:00
2017-10-27 09:10:54 +03:00
2018-10-26 12:37:57 +03:00
2018-05-19 17:12:37 +03:00
2018-05-19 17:12:37 +03:00
2018-10-23 10:57:42 +08:00
2018-10-20 18:19:21 -04:00