Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions api/v1/genres/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

/**
* @defgroup api_v1_genres Genre API requests
*/

/**
* @file api/v1/genres/index.php
*
* Copyright (c) 2026 Simon Fraser University
* Copyright (c) 2026 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @ingroup api_v1_genres
*
* @brief Handle requests for genre API functions.
*
*/

return new \PKP\handler\APIHandler(new \PKP\API\v1\genres\GenreController());
4 changes: 4 additions & 0 deletions api/v1/submissions/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,8 @@
return new \PKP\handler\APIHandler(new \PKP\API\v1\submissions\tasks\EditorialTaskController());
}

if (in_array('mediaFiles', $urlParts)) {
return new \PKP\handler\APIHandler(new \PKP\API\v1\submissions\MediaFilesController());
}

return new \PKP\handler\APIHandler(new \APP\API\v1\submissions\SubmissionController());
1 change: 1 addition & 0 deletions dbscripts/xml/upgrade.xml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@
<migration class="PKP\migration\upgrade\v3_6_0\I11332_AddPeerReviewDois" />
<migration class="PKP\migration\upgrade\v3_6_0\I6278_DataCitations" />
<migration class="PKP\migration\upgrade\v3_6_0\I12307_ReviewRoundRequestAuthorResponseMail" />
<migration class="PKP\migration\upgrade\v3_6_0\I12251_SupportMediaFiles" />
<code function="rebuildSearchIndex" />
<note file="docs/release-notes/README-3.6.0" />
</upgrade>
Expand Down
2 changes: 1 addition & 1 deletion registry/genres.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<genre key="DATASET" category="3" dependent="0" supplementary="1" localeKey="default.genres.dataSet" />
<genre key="SOURCETEXTS" category="3" dependent="0" supplementary="1" localeKey="default.genres.sourceTexts" />
<genre key="MULTIMEDIA" category="1" dependent="1" supplementary="1" localeKey="default.genres.multimedia" />
<genre key="IMAGE" category="2" dependent="1" supplementary="0" localeKey="default.genres.image" />
<genre key="IMAGE" category="2" dependent="1" supplementary="0" supportsFileVariants="1" localeKey="default.genres.image" />
<genre key="STYLE" category="1" dependent="1" supplementary="0" localeKey="default.genres.styleSheet" />
<genre key="OTHER" category="3" dependent="0" supplementary="1" localeKey="default.genres.other" />
</genres>
Loading