Skip to content

pkp/pkp-lib#11326 Implement backend infrastructure for managing and moderating public comments #982

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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/comments/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

/**
* @defgroup api_v1_comments Comment API requests
*/

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

return new \PKP\handler\APIHandler(new \PKP\API\v1\comments\UserCommentController());
5 changes: 3 additions & 2 deletions dbscripts/xml/upgrade.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,12 @@
</upgrade>

<upgrade minversion="3.5.0.0" maxversion="3.5.9.9">
<migration class="PKP\migration\upgrade\v3_6_0\PreflightCheckMigration" fallback="3.5.9.9" />
<migration class="PKP\migration\upgrade\v3_6_0\PreflightCheckMigration" fallback="3.5.9.9"/>
<migration class="PKP\migration\upgrade\v3_6_0\I10403_EmailTemplateUserGroupAccess"/>
<migration class="APP\migration\install\ReviewerRecommendationsMigration" />
<migration class="APP\migration\install\ReviewerRecommendationsMigration"/>
<migration class="APP\migration\upgrade\v3_6_0\I1660_ReviewerRecommendations"/>
<migration class="APP\migration\upgrade\v3_6_0\I10404_UpdateCategoryImageNameFields"/>
<migration class="PKP\migration\upgrade\v3_6_0\I11326_UserComments"/>
</upgrade>

<upgrade minversion="3.1.0.0" maxversion="3.5.9.9">
Expand Down
Loading