0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 10:54:44 +01:00
gitea/vendor/gopkg.in/macaron.v1
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
..
fixtures Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
context.go Fix serving of raw wiki files other than .md (#5814) 2019-02-05 20:58:55 -05:00
LICENSE Various wiki bug fixes (#2996) 2017-11-28 17:43:51 +08:00
logger.go Various wiki bug fixes (#2996) 2017-11-28 17:43:51 +08:00
macaron.go Fix serving of raw wiki files other than .md (#5814) 2019-02-05 20:58:55 -05:00
recovery.go
render.go
response_writer.go Fix serving of raw wiki files other than .md (#5814) 2019-02-05 20:58:55 -05:00
return_handler.go
router.go Fix serving of raw wiki files other than .md (#5814) 2019-02-05 20:58:55 -05:00
static.go
tree.go Various wiki bug fixes (#2996) 2017-11-28 17:43:51 +08:00
util_go17.go Various wiki bug fixes (#2996) 2017-11-28 17:43:51 +08:00
util_go18.go Various wiki bug fixes (#2996) 2017-11-28 17:43:51 +08:00