build / build (push) Failing after 1m56s
bawnet repos are forward facing: a bit of code we made and use, available. References to the private ops/features tracker and ops/psn-docker README become plain words, a named operator quote is gone, the bugs link points at this repo's own issues. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
34 lines
1.4 KiB
PHP
34 lines
1.4 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Nextcloud - GoToSocial
|
|
*
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
* later. See the COPYING file.
|
|
*
|
|
* @author Julien Veyssier <julien-nc@posteo.net>
|
|
* @copyright Julien Veyssier 2020
|
|
*/
|
|
|
|
return [
|
|
'routes' => [
|
|
['name' => 'config#setConfig', 'url' => '/config', 'verb' => 'PUT'],
|
|
['name' => 'config#setSensitiveConfig', 'url' => '/sensitive-config', 'verb' => 'PUT'],
|
|
['name' => 'config#setAdminConfig', 'url' => '/admin-config', 'verb' => 'PUT'],
|
|
['name' => 'config#setSensitiveAdminConfig', 'url' => '/sensitive-admin-config', 'verb' => 'PUT'],
|
|
['name' => 'config#oauthRedirect', 'url' => '/oauth-redirect', 'verb' => 'GET'],
|
|
['name' => 'config#popupSuccessPage', 'url' => '/popup-success', 'verb' => 'GET'],
|
|
|
|
['name' => 'mastodonAPI#getNotifications', 'url' => '/notifications', 'verb' => 'GET'],
|
|
['name' => 'mastodonAPI#getHomeTimeline', 'url' => '/home', 'verb' => 'GET'],
|
|
['name' => 'mastodonAPI#getGoToSocialUrl', 'url' => '/url', 'verb' => 'GET'],
|
|
['name' => 'mastodonAPI#getGoToSocialAvatar', 'url' => '/avatar', 'verb' => 'GET'],
|
|
['name' => 'mastodonAPI#declareApp', 'url' => '/oauth-app', 'verb' => 'POST'],
|
|
|
|
// the Social page: Pinnacle (served by GoToSocial itself at
|
|
// <instance>/pinnacle/, the fixed-instance build) inside the Nextcloud frame.
|
|
// The /client/* file routes are gone with the bundle (1.1.0).
|
|
['name' => 'client#page', 'url' => '/app', 'verb' => 'GET'],
|
|
]
|
|
];
|