Releases: linuxserver/docker-mastodon
Release list
develop-v4.1.0rc3-ls24
LinuxServer Changes:
Add Glitch branch.
Remote Changes:
Data change at JSON endpoint https://api.github.com/repos/mastodon/mastodon/releases
glitch-cbdb25ab-ls11
LinuxServer Changes:
Add Glitch branch.
mastodon Changes:
Merge pull request #2151 from ClearlyClaire/glitch-soc/main
Merge upstream changes
glitch-81e85782-ls10
LinuxServer Changes:
Add Glitch branch.
mastodon Changes:
Fix docker images not being pushed (#2143)
- Change repo from mastodon/mastodon to glitch-soc/mastodon
Signed-off-by: Plastikmensch plastikmensch@users.noreply.github.com
- Remove repo check from build-image workflow
Reverts 0b8b0ef65221e5341cd81b212f0e40722ffd5ef7
Signed-off-by: Plastikmensch plastikmensch@users.noreply.github.com
Signed-off-by: Plastikmensch plastikmensch@users.noreply.github.com
glitch-9a111a61-ls9
LinuxServer Changes:
Add Glitch branch.
mastodon Changes:
Merge pull request #2138 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
glitch-02ac9449-ls9
LinuxServer Changes:
Add Glitch branch.
mastodon Changes:
Add getting-started-misc to route (#2141)
- Add getting-started-misc to web_app_paths
Signed-off-by: Plastikmensch plastikmensch@users.noreply.github.com
- Add signed in check to navigation entries
Enabling routing for getting-started-misc allows the column to be directly accessible, which showed every entry and threw unnecessary errors.
Also fixed the keys as these were literally "i++".
Signed-off-by: Plastikmensch plastikmensch@users.noreply.github.com
- Remove "Extended information" from getting-started-misc
I couldn't find any reference to this translation string, so I removed it too.
Signed-off-by: Plastikmensch plastikmensch@users.noreply.github.com
Signed-off-by: Plastikmensch plastikmensch@users.noreply.github.com
glitch-00fe0f6c-ls8
LinuxServer Changes:
Add Glitch branch.
mastodon Changes:
Merge pull request #2136 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
glitch-f5daa20f-ls7
LinuxServer Changes:
Add Glitch branch.
mastodon Changes:
Merge pull request #2134 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
v4.1.1-ls21
LinuxServer Changes:
Add Glitch branch.
mastodon Changes:
Changelog
Added
- Add redirection from paths with url-encoded
@to their decoded form (thijskh) - Add
langattribute to native language names in language picker in Web UI (ClearlyClaire) - Add headers to outgoing mails to avoid auto-replies (ClearlyClaire)
- Add support for refreshing many accounts at once with
tootctl accounts refresh(9p4) - Add confirmation modal when clicking to edit a post with a non-empty compose form (PauloVilarinho)
- Add support for the HAproxy PROXY protocol through the
PROXY_PROTO_V1environment variable (CSDUMMI) - Add
SENDFILE_HEADERenvironment variable (Gargron) - Add cache headers to static files served through Rails (Gargron)
Changed
- Increase contrast of upload progress bar background (toolmantim)
- Change post auto-deletion throttling constants to better scale with server size (ClearlyClaire)
- Change order of bookmark and favourite sidebar entries in single-column UI for consistency (TerryGarcia)
- Change
ActivityPub::DeliveryWorkerretries to be spread out more (ClearlyClaire)
Fixed
- Fix “Remove all followers from the selected domains” also removing follows and notifications (ClearlyClaire)
- Fix streaming metrics format (emilweth, emilweth)
- Fix case-sensitive check for previously used hashtags in hashtag autocompletion (deanveloper)
- Fix focus point of already-attached media not saving after edit (ClearlyClaire)
- Fix sidebar behavior in settings/admin UI on mobile (wxt2005)
- Fix inefficiency when searching accounts per username in admin interface (ClearlyClaire)
- Fix duplicate “Publish” button on mobile (ClearlyClaire)
- Fix server error when failing to follow back followers from
/relationships(ClearlyClaire) - Fix server error when attempting to display the edit history of a trendable post in the admin interface (ClearlyClaire)
- Fix
tootctl accounts migratecrashing because of a typo (ClearlyClaire) - Fix original account being unfollowed on migration before the follow request to the new account could be sent (ClearlyClaire)
- Fix the “Back” button in column headers sometimes leaving Mastodon (c960657)
- Fix pgBouncer resetting application name on every transaction (Gargron)
- Fix unconfirmed accounts being counted as active users (ClearlyClaire)
- Fix
/api/v1/streamingsub-paths not being redirected (ClearlyClaire) - Fix drag'n'drop upload area text that spans multiple lines not being centered (vintprox)
- Fix sidekiq jobs not triggering Elasticsearch index updates (ClearlyClaire)
- Fix tags being unnecessarily stripped from plain-text short site description (c960657)
- Fix HTML entities not being un-escaped in extracted plain-text from remote posts (c960657)
- Fix dashboard crash on ElasticSearch server error (ClearlyClaire)
- Fix incorrect post links in strikes when the account is remote (ClearlyClaire)
- Fix misleading error code when receiving invalid WebAuthn credentials (ClearlyClaire)
- Fix duplicate mails being sent when the SMTP server is too slow to close the connection (ClearlyClaire)
Security
- Change user backups to use expiring URLs for download when possible (Gargron)
- Add warning for object storage misconfiguration (ClearlyClaire)
Upgrade notes
To get the code for v4.1.1, use git fetch && git checkout v4.1.1.
As always, make sure you have backups of the database before performing any upgrades. If you are using docker-compose, this is how a backup command might look: docker exec mastodon_db_1 pg_dump -Fc -U postgres postgres > name_of_the_backup.dump
Dependencies
External dependencies have not changed compared to v4.1.0, the compatible Ruby, PostgreSQL, Node, Elasticsearch and Redis versions are the same, that is:
- Ruby: 2.7 to 3.0
- PostgreSQL: 9.5 or newer
- Elasticsearch (optional, for full-text search): 7.x
- Redis: 4 or newer
- Node: 14 or higher
Update steps
The following instructions are for updating from 4.1.0.
If you are upgrading directly from an earlier release, please carefully read the upgrade notes for the skipped releases as well, as they often require extra steps such as database migrations.
Non-Docker only:
- Install dependencies:
bundle installandyarn install
Both Docker and non-Docker:
- Run the database migrations:
- Non-Docker:
RAILS_ENV=production bundle exec rails db:migrate - Docker:
docker-compose run --rm web rails db:migrate
- Non-Docker:
- Precompile the assets:
- Non-Docker:
RAILS_ENV=production bundle exec rails assets:precompile - Docker: The assets are already precompiled during the build step
- Non-Docker:
- Restart all Mastodon processes
v4.1.0-ls21
LinuxServer Changes:
Add Glitch branch.
mastodon Changes:
Changelog
Added
- Add support for importing/exporting server-wide domain blocks (enbylenore, ClearlyClaire, dariusk, ClearlyClaire)
- Add listing of followed hashtags (connorshea)
- Add support for editing media description and focus point of already-sent posts (ClearlyClaire)
- Previously, you could add and remove attachments, but not edit media description of already-attached media
- REST API changes:
PUT /api/v1/statuses/:idnow takes an extramedia_attributes[]array parameter with theidof the updated media and their updateddescription,focus, andthumbnail
- Add follow request banner on account header (ClearlyClaire)
- REST API changes:
Relationshipentities have an extrarequested_byboolean attribute representing whether the represented user has requested to follow you
- REST API changes:
- Add confirmation screen when handling reports (ClearlyClaire, Gargron, tribela)
- Add option to make the landing page be
/abouteven when trends are enabled (ClearlyClaire) - Add
noindexsetting back to the admin interface (prplecake) - Add instance peers API endpoint toggle back to the admin interface (dariusk)
- Add instance activity API endpoint toggle back to the admin interface (dariusk)
- Add setting for status page URL (Gargron, ClearlyClaire)
- REST API changes:
- Add
configuration.urls.statusattribute to the object returned byGET /api/v1/instance
- Add
- REST API changes:
- Add
account.approvedwebhook (Saiv46) - Add 12 hours option to polls (Pleclown)
- Add dropdown menu item to open admin interface for remote domains (ClearlyClaire)
- Add
--remove-headers,--prune-profilesand--include-followsflags totootctl media remove(evanphilip) - Add
--emailand--dry-runoptions totootctl accounts delete(ClearlyClaire) - Add
tootctl accounts migrate(ClearlyClaire) - Add
tootctl accounts prune(tribela) - Add
tootctl domains purge(ClearlyClaire) - Add
SIDEKIQ_CONCURRENCYenvironment variable (muffinista) - Add
DB_POOLenvironment variable support for streaming server (Gargron) - Add
MIN_THREADSenvironment variable to set minimum Puma threads (jimeh) - Add explanation text to log-in page (ClearlyClaire)
- Add user profile OpenGraph tag on post pages (bramus)
- Add maskable icon support for Android (workeffortwaste)
- Add Belarusian to supported languages (Mixaill)
- Add Western Frisian to supported languages (ykzts)
- Add Montenegrin to the language picker (ayefries)
- Add Southern Sami and Lule Sami to the language picker (Jullan-M)
- Add logging for Rails cache timeouts (ClearlyClaire)
- Add color highlight for active hashtag “follow” button (MFTabriz)
- Add brotli compression to
assets:precompile(Izorkin) - Add “disabled” account filter to the
/admin/accountsUI (tribela) - Add transparency to modal background for accessibility (edent)
- Add
langattribute to image description textarea and poll option field (c960657) - Add
spellcheckattribute to Content Warning and poll option input fields (c960657) - Add
titleattribute to video elements in media attachments (bramus) - Add left and right margins to emojis (dsblank)
- Add
rolesattribute toAccountentities in REST API (ClearlyClaire, tribela) - Add
reading:autoplay:gifsto/api/v1/preferences(j-f1) - Add
hide_collectionsparameter to/api/v1/accounts/credentials(CarlSchwan) - Add
policyattribute to web push subscription objects in REST API at/api/v1/push/subscriptions(ClearlyClaire) - Add metrics endpoint to streaming API (Gargron, Gargron)
- Add more specific error messages to HTTP signature verification (ClearlyClaire)
- Add Storj DCS to cloud object storage options in the
mastodon:setuprake task (jtolio) - Add checkmark symbol in the checkbox for sensitive media (sidp)
- Add missing accessibility attributes to logout link in modals (kytta)
- Add missing accessibility attributes to “Hide image” button in
MediaGallery(hs4man21) - Add missing accessibility attributes to hide content warning field when disabled (hs4man21)
- Add
aria-hiddento footer circle dividers to improve accessibility (hs4man21) - Add
langattribute to compose form inputs (ClearlyClaire)
Changed
- Ensure exact match is the first result in hashtag searches (ClearlyClaire)
- Change account search to return followed accounts first (dariusk)
- Change batch account suspension to create a strike (ClearlyClaire)
- Change default reply language to match the default language when replying to a translated post (ClearlyClaire)
- Change misleading wording about waitlists (ClearlyClaire)
- Increase width of the unread notification border (connorshea)
- Change new post notification button on profiles to make it more apparent when it is enabled (tribela)
- Change trending tags admin interface to always show batch action controls (ClearlyClaire)
- Change wording of some OAuth scope descriptions (ClearlyClaire)
- Change wording of admin report handling actions (ClearlyClaire)
- Change confirm prompts for relationships management (tribela)
- Change language surrounding disability in prompts for media descriptions (hs4man21)
- Change confusing wording in the sign in banner (ClearlyClaire)
- Change
POST /settings/applications/:idto regenerate token on scopes change (ClearlyClaire) - Change account moderation notes to make links clickable (ClearlyClaire)
- Change link previews for statuses to never use avatar as fallback (Gargron)
- Change email address input to be read-only for logged-in users when requesting a new confirmation e-mail (ClearlyClaire)
- Change notifications per page from 15 to 40 in REST API (Gargron)
- Change ...
glitch-bb4e211c-ls5
LinuxServer Changes:
Add Glitch branch.
mastodon Changes:
New Crowdin updates (#2118)
-
New translations en.json (Spanish)
[ci skip] -
New translations en.yml (Spanish)
[ci skip]