Rename the product Scrobbled
Display name only: UI, docs, API title, dashboards, hashtag and User-Agent. Identifiers (package, metrics, env vars, SCROBBLER_CONFIG) are unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9e4218f11b
commit
65ee13fa65
64 files changed
+130
-130
No files matched your search
@@ -112,7 +112,7 @@ for users with it on, every 30 seconds). All are registered only when federation
|
||||
|
||||
## Interop
|
||||
|
||||
`scripts/interop/run.sh` runs Scrobbler against a real GoToSocial server on a private
|
||||
`scripts/interop/run.sh` runs Scrobbled against a real GoToSocial server on a private
|
||||
`.test` network. `scripts/interop/gotosocial_interop.py` checks the whole follow life
|
||||
cycle, then `run.sh` seeds a scrobble and a now-playing track, runs
|
||||
`flask federation post-weekly --now` directly in the `api` container, and runs the
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"""ActivityPub federation: optional, self-contained, replaceable.
|
||||
|
||||
The rest of Scrobbler only calls `init_app(app)` (from `create_app`) and sends domain
|
||||
The rest of Scrobbled only calls `init_app(app)` (from `create_app`) and sends domain
|
||||
events (`scrobbler.events`). Everything else about federation lives in this package;
|
||||
see README.md here and docs/design/activitypub.md.
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ def client() -> Client:
|
||||
|
||||
config = current_app.extensions["federation"]
|
||||
existing = Client(
|
||||
user_agent=f"Scrobbler/{__version__} (+{config.base_url})",
|
||||
user_agent=f"Scrobbled/{__version__} (+{config.base_url})",
|
||||
insecure_testing=config.insecure_testing,
|
||||
)
|
||||
current_app.extensions["federation_client"] = existing
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
NodeInfo documents, HTTP signature schemes.
|
||||
|
||||
Rule: nothing in this package imports Flask, SQLAlchemy, Werkzeug or any other part of
|
||||
Scrobbler; only the standard library and `cryptography`. Spec changes land here and are
|
||||
Scrobbled; only the standard library and `cryptography`. Spec changes land here and are
|
||||
tested with spec test vectors alone. (Enforced by tests/test_federation_boundary.py.)
|
||||
"""
|
||||
@@ -7,7 +7,7 @@ line of a post is its own paragraph.
|
||||
|
||||
import html
|
||||
|
||||
HASHTAG = "Scrobbler"
|
||||
HASHTAG = "Scrobbled"
|
||||
|
||||
|
||||
def escape(text: str) -> str:
|
||||
|
||||
@@ -235,7 +235,7 @@ def update(activity_id: str, actor_id: str, obj: dict, *, to: list[str]) -> dict
|
||||
|
||||
|
||||
def hashtag(name: str) -> dict:
|
||||
"""A Hashtag tag, e.g. #Scrobbler. No href: we don't serve tag pages, and Mastodon
|
||||
"""A Hashtag tag, e.g. #Scrobbled. No href: we don't serve tag pages, and Mastodon
|
||||
still recognises and indexes the tag from `name` alone."""
|
||||
return {"type": "Hashtag", "name": f"#{name}"}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ from scrobbler.federation import metrics as fed_metrics
|
||||
from scrobbler.federation.models import FederationActivity, FederationPost
|
||||
from scrobbler.federation.protocol import addressing, vocab
|
||||
|
||||
DEFAULT_TAGS = ("Scrobbler",)
|
||||
DEFAULT_TAGS = ("Scrobbled",)
|
||||
OUTBOX_PAGE_SIZE = 20
|
||||
LISTED_VISIBILITIES = ("public", "unlisted") # followers-only posts aren't listed unauthenticated
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ def _post_now_playing(user, playing, key: str, state: FederationNowPlaying, now:
|
||||
key,
|
||||
text=text,
|
||||
html=html,
|
||||
tags=("Scrobbler", "NowPlaying"),
|
||||
tags=("Scrobbled", "NowPlaying"),
|
||||
attachment=_attachment_for(playing),
|
||||
)
|
||||
if post is None:
|
||||
|
||||
Reference in new issue
Block a user