Anahita Services v1.12.1
Upgrading
- Nothing to do: the migration that did not run in v1.12.0 runs now.
Fixed
- The migrations run again: v1.12.0's own, which keeps one signing key of
each kind for a profile, had a version another migration had already, and
the migration job stopped on it before applying anything. It is
20261205000007 now, and
make testrefuses two migrations with one version. Profiles publish their ML-DSA-44 key once it has run.
Anahita Services v1.12.0
Upgrading
- Nothing to do: the migration runs with the release.
Added
- HTTP Message Signatures, RFC 9421 (row 196). A request to an inbox
signed with RFC 9421 is read, with RSA, ECDSA P-256, Ed25519 or
ML-DSA-44 keys, post-quantum, from the sender's
publicKeyor their Multikeys (FEP-521a). What is sent is signed with draft-cavage first, as before, and again with RFC 9421 after a 400 or 401;ACTIVITYPUB_HTTP_SIGNATURES=rfc9421signs with RFC 9421 alone (Signing keys and signed requests). - Each profile publishes an ML-DSA-44 key beside its RSA key, in
assertionMethodas a Multikey, made the first time its description is read. Nothing is signed with it yet.
Changed
actor_keyskeeps one key in use of each kind for a profile (migration 20261205000007).
Anahita Services v1.11.0
Upgrading
- Valkey over TLS (row 195). On Kubernetes with the
valkeycomponent, apply as usual: Valkey restarts with its certificate and its data, so nobody is signed out, and the services follow. In the minute between, a request from a service of the release before may fail: do it at a quiet hour. With a Valkey of your own without TLS, setVALKEY_TLS=falseinconfig.envfirst, or the services cannot reach it; with one whose certificate is from a private authority, setVALKEY_TLS_CA(TLS to Valkey).
Added
- The services reach Valkey over TLS, the server's certificate checked
(row 195):
VALKEY_TLS, now on unless set otherwise, except in development, andVALKEY_TLS_CA. Thevalkeycomponent has its certificate from the installation's own authority, listens over TLS alone, still on 6379, and reloads a renewed certificate itself; keys are agreed withX25519MLKEM768, post-quantum. A managed Valkey, as ElastiCache, is checked against the public authorities, with nothing to set (TLS to Valkey).
Changed
VALKEY_TLSreadsonandoffas well astrueandfalse, asMYSQL_TLSandAMQP_TLSdo.
Anahita Services v1.10.0
Upgrading
-
One migration,
report_forwarding: three columns onabuse_reports, for where a report was sent and the server a report came from, run by the migration job as any upgrade's are (Upgrading). -
abuse-report-service answers the other services on port 8443, with a certificate of its own: on Kubernetes,
anahita-grpc-abuse-report, issued by cert-manager fromk8s/base/grpc-tls.ymlwhen it is applied; in docker-compose,make upmakes the development certificate again to name it. Deploy activitypub-service and abuse-report-service together. -
One more migration,
verified_domains: a column onnodes, the domain a profile proved; a channel with a feed is marked verified by it, and every mark kept from the PHP application comes off. Deploy graph-grpc-service, actor-service, syndication-service and the gateway (nginx) together, with syndication-worker and notification-service: the gateway sends/:kind/:id/domainto syndication-service. -
MySQL over TLS (row 194). On Kubernetes, apply everything at once: the
mysqlcomponent restarts with its certificate and refuses plain text, and the services and jobs, from this release, reach it over TLS. With a MySQL of your own, give its authority first (anahita-mysql-caandMYSQL_TLS_CA, or for RDS the bundle ink8s/overlays/aws/rds-global-bundle.pem), or setMYSQL_TLS=offuntil it is ready: with neither, the services do not start (TLS to MySQL). -
RabbitMQ 4.4, over TLS (row 194). RabbitMQ 4 cannot read 3.12's volume, so the broker starts again, empty. That loses nothing kept: the queues are the services' own, made as each starts and gone when it stops. Remove the old broker and its volume, change
AMQP_ADDRinsecrets.envtoamqps://…@rabbitmq:5671, and apply:kubectl --kubeconfig ~/.kube/<your-site>.yaml -n anahita delete statefulset/rabbitmq pvc/data-rabbitmq-0Events sent in the minute it takes are lost, as in any restart of the broker: do it at a quiet hour. With a broker of your own, give it TLS first, or set
AMQP_TLS=off(TLS to RabbitMQ).
Added
-
The load test (row 190): two k6 scripts in
scripts/loadtest, many sign-ups through the real form, then the first quarter of an hour of the people they made, for the development stack, with what they found (The load test). -
A report of a post or a profile from another server on the fediverse can be sent to that server as well, when the reporter ticks it (row 177): a
Flagfrom this server, with the reason and the words, never the reporter's name. The case shows where it was sent (Abuse reports). -
A report from another server on the fediverse, a
Flag, opens a case here as anybody's report does, with the server as the reporter and its words (row 177): the posts here it names, or else the profile; at most 20 an hour from one server (Abuse reports). -
A report of a post or a profile from Bluesky can be sent to Bluesky's moderators as well (row 177), from the reporter's own connected account, as Bluesky has reports made: they see who made it, and the dialog says so. The reason goes in Bluesky's words, from the reasons'
atproto_reason. -
A person, a group or a channel can prove it holds a domain by a TXT record at
_anahita.<domain>, and is then sent withverifiedandverified_domain(row 63, phase 1):GET,PUT,DELETE /:kind/:id/domainandPOST /:kind/:id/domain/check, served by syndication-service. A channel with a feed is verified by its feed's domain (Profiles). -
A verified domain is looked at again every day; gone a week, the mark comes off and the person, or the admins, are told (
domain_lapsed), and found again it comes back (row 63, phase 2). -
A post's
authoris sent withverifiedandverified_domaintoo, so that the mark is shown beside the name on a post (row 63, phase 3). -
A verified domain goes to the fediverse as a profile link, which Mastodon ticks once the site links back with
rel="me"; when the mark changes, the profile is sent again to its followers' servers (row 63, phase 4; Federation). -
The services reach MySQL over TLS, the server's certificate checked (row 194, phase 1):
MYSQL_TLS, on except in development, andMYSQL_TLS_CA. Themysqlcomponent has its certificate from the installation's own authority, refuses plain text, and reads a renewed certificate each day (mysql-tls-reload); the migration and backup jobs connect the same way. On AWS, RDS is checked against AWS's bundle (TLS to MySQL). -
The services reach RabbitMQ over TLS, the broker's certificate checked (row 194, phase 2):
AMQP_TLS, on except in development, andAMQP_TLS_CA. Therabbitmqcomponent is RabbitMQ 4.4, has its certificate from the installation's own authority, and listens on 5671 alone; keys are agreed withX25519MLKEM768, post-quantum (TLS to RabbitMQ).
Changed
verifiedon a profile is set by the proof of a domain alone, never by an edit, and a mark kept from the PHP application with no domain behind it comes off (row 63).- The built-in reason Spam has an
atproto_reason, Bluesky'sreasonSpam. An installation with its own reasons file may add one to each of its reasons, for reports sent to Bluesky. - A profile from another server shows its boosts among its posts, as its own server does (row 182): one that mostly boosts looked empty. Only the boosts this server has received, since somebody here followed it.
Fixed
- Following somebody already followed, by a second tap or from a second device, answered 500; it is now answered as the first follow was, with nothing told again. Found by the load test.
Anahita Services v1.9.10
Added
- Camera details (row 192): the camera, lens, focal length and its 35 mm
equivalent, aperture, shutter, ISO, flash and when a photo was taken,
read at upload and never where it was taken. Shown (
cameraon each of a post'sfiles) and sent to other servers asexifData, which Pixelfed and Vernissage read, only while its author turns oncamera_details(PATCH /people/:id/camera-details), and read from theirs. Inspired by projects such as Flickr, whose photo pages say how each photo was taken. Upgrading runs the migration20261205000001_camera_details: three columns, nothing rewritten. Deploy every service together, since an older one that edits a person would not carry the setting. - Refusing servers from a file (row 108):
POST /activitypub/blocks/importreads Mastodon's CSV or one name a line, says what it would do, and withapply=truerefuses the new ones;silenceandnoopare left out.GET /activitypub/blocks/exportis the list as the same CSV. Super administrators only. - Who may sign up (row 190, phase 1): a sign-up is refused when its email
is at a throwaway service (the open disposable-email-domains list,
shipped, refreshed by
make disposable_domains), at a domain that cannot receive mail, or at one whose mail goes to such a service's servers; and refused or sent to approval by the administrators' rules for email domains and for addresses or ranges (/signup-rules). Sent to approval, a sign-up on an open server waits in the approval queue. Invitations are not screened. Upgrading runs the migration20261205000003_signup_rules: two new tables. The gateway routes/signup-rulesto auth-service, so nginx is rebuilt too. - When many come at once (row 190, phase 2): an open server sends sign-ups
to the approval queue once the open form has made
SIGNUP_DAILY_MAXaccounts in a day (200 unless set,0for no limit), and while no administrator has been about for a week. Administrators are emailed when the queue stops being empty and then once a day while it is not, never once for each request; and once on the day the limit is reached. The queue gives each request's email domain, network, how many came from that network that day and why it waits, narrows to a network or a domain, and answers many at once (POST /signup-requests/approve,/reject). In approval mode the form asks "Why do you want to join?", optional unlessSIGNUP_REASON=required; the answer no longer becomes the profile's bio. Upgrading runs the migration20261205000004_signup_floods: two columns onsignup_requests, IPv4 networks filled in for the requests already there, and two small tables.
Fixed
- An undone repost tells other servers what it reposted, so Pixelfed lets
it go; a profile sent to other servers always says its name and summary,
empty or not. Upgrading runs the migration
20261205000002_reposted_object: one column, nothing rewritten.
Anahita Services v1.9.9
Changed
- "Server", not "site": what the services say to people calls one Anahita this server: refusals ("this server does not offer…", "this server is not open for registration"), the members-only answer, the OAuth scope that reads people and groups, and the default rule "Moderators decide" in its five languages. A server keeps the rules it has; only a new one starts with the new wording.
Fixed
- Posts from other servers go again when they are due: the hourly
search for them, in the ActivityPub and AT Protocol services, took
longer than its 20 seconds once there were tens of thousands of posts,
so nothing went and the log said "context deadline exceeded" each hour.
It now takes under a second. On a server where it timed out, what was
due goes after the upgrade, at most 200 posts an hour in each service,
by the rules in Configuration (
REMOTE_*).
Anahita Web v1.3.15
Works with Anahita Services v1.10.0 or later.
Fixed
- Somebody on another server, mentioned in a post, links to their
profile:
@evan@cosocial.caopened an email to evan@cosocial.ca. It now opens their profile here, or, when this server does not know them yet, a search that offers to look them up.
Anahita Web v1.3.14
Works with Anahita Services v1.10.0 or later.
Added
- Reports sent to the server a post is from: reporting a post or a profile from another server on the fediverse, a tick, "Also tell mastodon.social", sends the reason and the words there as well, never the reporter's name. A case says where a report was sent. Needs Anahita Services v1.10.0.
- Reports from other servers: a case shows the server that reported it, and "Reported by another server" as its reason, one to filter the list by.
- Reports sent to Bluesky: reporting a post or a profile from Bluesky, somebody whose own Bluesky account is connected may tick "Also tell Bluesky". It is sent from their account, as Bluesky has reports made, and the line beside the tick says Bluesky's moderators see it is theirs.
- Verified domains: a person, a group or a channel can prove it holds a domain by a DNS record, from the Domain card in its settings, and is then shown with a tick after its name, the domain in its tooltip and in the About card. Gone a week, the tick comes off and its owner is told. On the fediverse the domain is a link on the profile, and the card gives the link to paste on the site so that Mastodon ticks it too. Needs Anahita Services v1.10.0.
Changed
- A channel's website is ticked in its About card only when its host is the channel's verified domain, as any profile's is.
Anahita Web v1.3.13
Works with Anahita Services v1.9.10 or later.
Added
- Home's tabs on a mobile stay at the top, and a swipe changes them: the row of feeds is held under the top bar as the feed is scrolled, and a quick swipe across the feed, left or right, opens the next feed or the one before. Not from the screen's edges, where the phone's Back is, nor on photos that scroll sideways, players or fields.
- Camera details: a photo's page can say how it was taken, the camera and lens, focal length and its 35 mm equivalent, aperture, shutter, ISO, flash and when, in one line under the picture that opens the rest, and "Taken on" beside "Posted on". Only for those who turn on Settings › Privacy › "Show camera details", off until then; never where a photo was taken. Inspired by projects such as Flickr, whose photo pages say how each photo was taken. Needs Anahita Services v1.9.10 or later.
- Refusing servers from a file: in Server settings › Federated › Refused servers, the ⋮ holds Import, for a list shared as Mastodon's CSV or one name a line, and Download, the list as the same CSV. A file is looked at first: a dialog says how many it would refuse, how many are refused already and what is left out, and nothing changes until Refuse. Needs Anahita Services v1.9.10 or later.
- Sign-up rules: a tab of the administration area for email domains and addresses to refuse sign-ups from, or to send to approval, each with a note, and an address for good or for a while. Throwaway email services and domains that cannot receive mail are refused without a rule. Needs Anahita Services v1.9.10 or later.
- The approval queue, when many come at once: each request shows its email domain and its network, with how many came from that network that day, and why it waits; tapping either shows only the requests from it. Requests are ticked and approved or rejected together, from a bar at the foot of the screen, and the queue is read as it is scrolled. Needs Anahita Services v1.9.10 or later.
Changed
- "Server", not "site" or "instance": what people read calls one Anahita this server, and the others, on the fediverse and on Bluesky, other servers or federated servers, in all five languages: Server settings, Refuse on this server, Posted: On this server or On other servers, Profiles refused here, and Refuse profile on a report. "Site" stays for websites, as a channel's, and where the browser is meant.
- Server settings › Federated has clearer tabs: Refused servers, Refused profiles and Remote profiles, in place of Servers, Accounts and Profiles; on a mobile they scroll rather than wrap.
- Adding to a long list is a + at its top: Sign-up rules, Refused servers, Refused profiles and OAuth clients, as Invites has it, so it is there without scrolling to the end of the list.
- Import says what a file may hold first: in Refused servers, Import opens a dialog with the columns read and an example, for somebody making their own list, before a file is chosen.
