Fork of nextcloud/integration_mastodon v5.2.0 (6a56211), AGPL-3.0, with
upstream copyright notices and CHANGELOG preserved unchanged.
Rebranded: app ID, namespace, dashboard widgets, reference provider, icon
component, search provider IDs and every user-facing string. GoToSocial
calls them posts, not toots, and its mascot is a sloth.
Deliberately NOT rebranded: MastodonAPIService, MastodonAPIController,
route names and config keys. They speak the Mastodon client API, which is
what GoToSocial implements -- renaming them would make the code claim a
protocol that does not exist, and would make this fork expensive to rebase
on future upstream releases.
Translations are inherited. Strings reworded by the rebrand fall back to
English; the rest still work in all 124 locales.
Assisted-by: Claude Code:claude-opus-5
53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
{
|
|
"name": "nextcloud/integration_gotosocial",
|
|
"type": "project",
|
|
"license": "AGPLv3",
|
|
"authors": [
|
|
{
|
|
"name": "Julien Veyssier",
|
|
"email": "julien-nc@posteo.net"
|
|
}
|
|
],
|
|
"autoload": {
|
|
"psr-4": {
|
|
"OCA\\GoToSocial\\": "lib/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"post-install-cmd": [
|
|
"@composer bin all install --ansi"
|
|
],
|
|
"post-update-cmd": [
|
|
"@composer bin all install --ansi"
|
|
],
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
|
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
|
"cs:fix": "php-cs-fixer fix",
|
|
"psalm": "psalm.phar --no-cache",
|
|
"test:unit": "phpunit tests -c tests/phpunit.xml --colors=always --fail-on-warning --fail-on-risky",
|
|
"openapi": "generate-spec",
|
|
"rector": "rector && composer cs:fix"
|
|
},
|
|
"require": {
|
|
"bamarni/composer-bin-plugin": "^1.8",
|
|
"php": "^8.2 || ^8.3 || ^8.4 || ^8.5",
|
|
"html2text/html2text": "^4.3"
|
|
},
|
|
"require-dev": {
|
|
"nextcloud/ocp": "dev-master",
|
|
"roave/security-advisories": "dev-latest",
|
|
"guzzlehttp/guzzle": "^7.8",
|
|
"psalm/phar": "6.16.1"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"bamarni/composer-bin-plugin": true
|
|
},
|
|
"optimize-autoloader": true,
|
|
"sort-packages": true,
|
|
"platform": {
|
|
"php": "8.3"
|
|
}
|
|
}
|
|
}
|