1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05:00
forgejo/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 Added all required dependencies 2016-11-04 08:43:11 +01:00
render.go Add ETag header to avatars (#721) 2017-01-25 12:26:31 +08:00
response_writer.go Fix serving of raw wiki files other than .md (#5814) 2019-02-05 20:58:55 -05:00
return_handler.go Added all required dependencies 2016-11-04 08:43:11 +01:00
router.go Fix serving of raw wiki files other than .md (#5814) 2019-02-05 20:58:55 -05:00
static.go Add ETag header to avatars (#721) 2017-01-25 12:26:31 +08:00
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