Skip to content

Commit

Permalink
Merge pull request #1187 from bozana/6781
Browse files Browse the repository at this point in the history
pkp/pkp-lib#6781 Opt-out for public SUSHI API
  • Loading branch information
bozana authored Sep 12, 2022
2 parents a241bb7 + 56b6c81 commit cf4cd40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions api/v1/stats/sushi/StatsSushiHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

namespace APP\API\v1\stats\sushi;

use APP\sushi\TR;
use APP\sushi\TR_B3;
use PKP\core\APIResponse;
Expand All @@ -26,11 +26,10 @@ class StatsSushiHandler extends \PKP\API\v1\stats\sushi\PKPStatsSushiHandler
/**
* Get this API's endpoints definitions
*/
protected function getGETDefinitions(): array
protected function getGETDefinitions(array $roles = null): array
{
$roles = [];
return array_merge(
parent::getGETDefinitions(),
parent::getGETDefinitions($roles),
[
[
'pattern' => $this->getEndpointPattern() . '/reports/tr',
Expand Down
2 changes: 1 addition & 1 deletion lib/pkp
Submodule pkp updated 41 files
+3 −0 api/v1/_dois/PKPBackendDoiHandler.php
+3 −1 api/v1/_email/PKPEmailHandler.php
+3 −0 api/v1/_library/PKPLibraryHandler.php
+3 −0 api/v1/_payments/PKPBackendPaymentsSettingsHandler.php
+4 −1 api/v1/_submissions/PKPBackendSubmissionsHandler.php
+3 −0 api/v1/_uploadPublicFile/PKPUploadPublicFileHandler.php
+3 −0 api/v1/announcements/PKPAnnouncementHandler.php
+3 −0 api/v1/contexts/PKPContextHandler.php
+3 −0 api/v1/dois/PKPDoiHandler.php
+3 −0 api/v1/emailTemplates/PKPEmailTemplateHandler.php
+3 −0 api/v1/institutions/PKPInstitutionHandler.php
+3 −0 api/v1/mailables/MailableHandler.php
+3 −0 api/v1/site/PKPSiteHandler.php
+2 −0 api/v1/stats/contexts/PKPStatsContextHandler.php
+3 −0 api/v1/stats/editorial/PKPStatsEditorialHandler.php
+3 −0 api/v1/stats/publications/PKPStatsPublicationHandler.php
+26 −3 api/v1/stats/sushi/PKPStatsSushiHandler.php
+3 −0 api/v1/stats/users/PKPStatsUserHandler.php
+3 −0 api/v1/submissions/PKPSubmissionFileHandler.php
+4 −1 api/v1/submissions/PKPSubmissionHandler.php
+3 −0 api/v1/temporaryFiles/PKPTemporaryFilesHandler.php
+2 −0 api/v1/users/PKPUserHandler.php
+3 −0 api/v1/vocabs/PKPVocabHandler.php
+13 −1 classes/components/forms/context/PKPContextStatisticsForm.php
+14 −1 classes/components/forms/site/PKPSiteStatisticsForm.php
+2 −3 classes/handler/PKPHandler.php
+2 −0 classes/install/PKPInstall.php
+3 −1 classes/mail/Mailer.php
+2 −2 classes/mail/mailables/UserCreated.php
+9 −9 classes/mail/variables/QueuedPaymentEmailVariable.php
+7 −0 classes/migration/upgrade/v3_4_0/I7264_UpdateEmailTemplates.php
+2 −0 classes/plugins/PluginHelper.php
+42 −37 classes/userGroup/Collector.php
+3 −5 classes/userGroup/DAO.php
+31 −31 classes/userGroup/Repository.php
+9 −0 locale/en_US/manager.po
+3 −0 locale/en_US/submission.po
+3 −2 pages/management/ManagementHandler.php
+17 −6 plugins/importexport/users/filter/UserXmlPKPUserFilter.php
+5 −0 schemas/context.json
+5 −0 schemas/site.json

0 comments on commit cf4cd40

Please sign in to comment.