forgejo/routers
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
..
admin Support reverse proxy providing email (#5554) 2018-12-18 12:05:48 -05:00
api/v1 Fix serving of raw wiki files other than .md (#5814) 2019-02-05 20:58:55 -05:00
dev Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
org Improve team members and repositories settings UI (#5457) 2018-12-09 08:42:11 +02:00
private Fix ssh deploy and user key constraints (#1357) (#5939) 2019-02-03 23:56:53 +00:00
repo Fix serving of raw wiki files other than .md (#5814) 2019-02-05 20:58:55 -05:00
routes Disable redirect for i18n (#5910) 2019-01-31 09:38:20 -05:00
user if repo does not exist, show a 404 not a 500 (#5900) 2019-01-30 11:13:39 -05:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
home.go feat(repo): support search repository by topic name (#4505) 2018-09-13 10:33:48 +08:00
init.go Ensure error is logged on db reconnection attempts (#5780) 2019-01-20 09:30:37 +00:00
install.go Remove traces of embedded TiDB (#4906) 2018-09-11 10:42:40 -04:00
metrics.go Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00