forgejo/routers/api/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
..
admin New API routes added (#5594) 2019-01-23 17:30:19 -05:00
convert Fix create team, update team missing units (#5188) 2018-11-10 14:45:32 -05:00
misc Fix serving of raw wiki files other than .md (#5814) 2019-02-05 20:58:55 -05:00
org api: Add missing GET teams endpoints (#5382) 2019-01-16 19:39:50 -05:00
repo Add label names as filter in issue search api (#5946) 2019-02-04 10:20:44 -05:00
swagger Add single commit API support (#5843) 2019-02-02 22:35:17 -05:00
user Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
api.go Add single commit API support (#5843) 2019-02-02 22:35:17 -05:00