stable

Clone or download

Read-only

story #7684 access to wiki pages with REST API

The route projects/:id/wiki is implemented Change-Id: Ib09c67640fe3887777d9ea63dfd74f5885668f30

Modified Files

Name
M src/common/REST/ResourcesInjector.class.php +9 −0 Go to diff View file
A src/common/REST/v1/PhpWikiPageRepresentation.class.php +50 −0 Go to diff View file
M src/common/autoload.php +6 −2 Go to diff View file
M src/common/dao/WikiDao.class.php +18 −0 Go to diff View file
M src/common/project/REST/v1/ProjectResource.class.php +69 −0 Go to diff View file
A src/common/wiki/REST/v1/PhpWikiResource.class.php +43 −0 Go to diff View file
A src/common/wiki/lib/PaginatedWikiPages.class.php +53 −0 Go to diff View file
A src/common/wiki/lib/PaginatedWikiPagesFactory.class.php +53 −0 Go to diff View file
M tests/lib/DatabaseInitialisation.class.php +24 −0 Go to diff View file
M tests/rest/ProjectTest.php +22 −0 Go to diff View file
A tests/rest/_fixtures/phpwiki/README.mkd +16 −0 Go to diff View file
A tests/rest/_fixtures/phpwiki/rest-test-wiki-group-list +1 −0 Go to diff View file
A tests/rest/_fixtures/phpwiki/rest-test-wiki-nonempty +72 −0 Go to diff View file
A tests/rest/_fixtures/phpwiki/rest-test-wiki-page +506 −0 Go to diff View file
A tests/rest/_fixtures/phpwiki/rest-test-wiki-recent +72 −0 Go to diff View file
A tests/rest/_fixtures/phpwiki/rest-test-wiki-version +2250 −0 Go to diff View file