Compare commits

...

5 Commits

Author SHA1 Message Date
Archos 41c3f0a6a6 Use sed instead of patch for char limit 2026-06-18 20:23:24 +02:00
Archos fd2c7795a3 Fix patch format 2026-06-18 20:23:23 +02:00
Archos 0e6b01788b Add character limit patch (2500 chars) 2026-06-18 20:23:19 +02:00
Package Updates 36b5369565 Update package version to 1.18.0 2026-06-18 07:08:22 +00:00
Renovate Bot ecdf7aebad chore(deps): update dependency tootsuite/mastodon to v4.6.0
| datasource      | package            | from   | to    |
| --------------- | ------------------ | ------ | ----- |
| github-releases | tootsuite/mastodon | 4.5.11 | 4.6.0 |
2026-06-17 23:20:42 +00:00
3 changed files with 26 additions and 6 deletions
+14
View File
@@ -885,3 +885,17 @@
* Update dependencies
* Fix remote statuses with large media descriptions being rejected ([#39135](https://github.com/tootsuite/mastodon/issues/39135) by [@ClearlyClaire](https://github.com/ClearlyClaire))
[1.18.0]
* Update mastodon to 4.6.0
* [Full Changelog](https://github.com/mastodon/mastodon/releases/tag/v4.6.0)
* Add collections ([#37992](https://github.com/tootsuite/mastodon/issues/37992) and others) - Create collections with up to 25 accounts each, then share them with others.
* Add email subscriptions ([#38163](https://github.com/tootsuite/mastodon/issues/38163) and others) - Admins can allow specific roles to enable email subscriptions on their profile.
* Add new overview landing page setting ([#39074](https://github.com/tootsuite/mastodon/issues/39074) and others) - Admins can choose a new frontpage for anonymous visitors.
* Add ability to require 2FA for specific roles (including Everybody) ([#37701](https://github.com/tootsuite/mastodon/issues/37701) and others)
* Remove support for EOL Node version 20 ([#38926](https://github.com/tootsuite/mastodon/issues/38926) by [@mjankowski](https://github.com/mjankowski))
* Remove support for Ruby 3.2 ([#37476](https://github.com/tootsuite/mastodon/issues/37476) by [@mjankowski](https://github.com/mjankowski))
* Remove support for ImageMagick ([#37488](https://github.com/tootsuite/mastodon/issues/37488) by [@mjankowski](https://github.com/mjankowski))
* Change invitations to only bypass sign-up approval setting when the issuer of the invitation has the `invite_bypass_approval` permission ([#38278](https://github.com/tootsuite/mastodon/issues/38278) by [@ClearlyClaire](https://github.com/ClearlyClaire))
* Fix filters not being applied to search results in web UI ([#36346](https://github.com/tootsuite/mastodon/issues/36346) by [@ClearlyClaire](https://github.com/ClearlyClaire))
* Fix remote posts with large media descriptions being rejected ([#39135](https://github.com/tootsuite/mastodon/issues/39135) by [@ClearlyClaire](https://github.com/ClearlyClaire))
+2 -2
View File
@@ -5,8 +5,8 @@
"description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG",
"tagline": "Federated social network",
"version": "1.17.12",
"upstreamVersion": "4.5.11",
"version": "1.18.0",
"upstreamVersion": "4.6.0",
"healthCheckPath": "/about",
"httpPort": 8000,
"memoryLimit": 1610612736,
+10 -4
View File
@@ -68,7 +68,7 @@ RUN mkdir -p /app/code /app/pkg
WORKDIR /app/code
# renovate: datasource=github-releases depName=tootsuite/mastodon versioning=semver extractVersion=^v(?<version>.+)$
ARG MASTODON_VERSION=4.5.11
ARG MASTODON_VERSION=4.6.0
ENV RAILS_ENV production
ENV NODE_ENV production
@@ -90,8 +90,14 @@ RUN ldconfig && \
ffmpeg -version && \
ffprobe -version
RUN curl -L https://github.com/tootsuite/mastodon/archive/v${MASTODON_VERSION}.tar.gz | tar -xz --strip-components 1 -f - && \
bundle config --local set deployment 'true' && \
# Download Mastodon source
RUN curl -L https://github.com/tootsuite/mastodon/archive/v${MASTODON_VERSION}.tar.gz | tar -xz --strip-components 1 -f -
RUN sed -i 's/MAX_CHARS = 500/MAX_CHARS = 2500/g' app/validators/status_length_validator.rb && \
sed -i "s/max_characters'], 500)/max_characters'], 2500)/g" app/javascript/mastodon/features/compose/containers/compose_form_container.js
# Install Ruby dependencies
RUN bundle config --local set deployment 'true' && \
bundle config --local set without 'development test' && \
bundle config --local set silence_root_warning true && \
bundle install && \
@@ -100,7 +106,6 @@ RUN curl -L https://github.com/tootsuite/mastodon/archive/v${MASTODON_VERSION}.t
RUN corepack enable && \
corepack prepare --activate
RUN yarn workspaces focus --production @mastodon/mastodon
RUN yarn install
@@ -134,3 +139,4 @@ RUN ln -fs /app/data/system /app/code/public/system
COPY start.sh cleanup.sh config.sh env.template cache-env.sh.template /app/pkg/
CMD [ "/app/pkg/start.sh" ]