Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream - 4.3.0-beta #53

Merged
merged 124 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
8de5df2
Change instructions to use `bundle exec rails` instead of `rake` (#30…
ClearlyClaire Jul 5, 2024
8c375d8
Use `scope module: ...` for settings/2FA routes (#30919)
mjankowski Jul 5, 2024
8154784
New Crowdin Translations (automated) (#30925)
github-actions[bot] Jul 5, 2024
a16c2c9
fix(deps): update dependency cssnano to v7.0.4 (#30927)
renovate[bot] Jul 5, 2024
05f0d51
chore(deps): update dependency sidekiq-scheduler to v5.0.5 (#30918)
renovate[bot] Jul 5, 2024
016c1e4
Improve handling of encoding problems when creating link previews (#3…
oneiros Jul 5, 2024
97eddb5
Fix details extraction when no title exists. (#30933)
oneiros Jul 5, 2024
8f5694d
Fix right-to-left text in preview cards (#30930)
ClearlyClaire Jul 5, 2024
63ba698
Fix overflow behavior on profile fields in hover cards (#30928)
ClearlyClaire Jul 6, 2024
11dd51e
Merge commit '63ba69810eca80fc2d10114a79f2988c1b75892f' into glitch-s…
ClearlyClaire Jul 6, 2024
aca1dec
[Glitch] Fix right-to-left text in preview cards
ClearlyClaire Jul 5, 2024
a99ae90
[Glitch] Fix overflow behavior on profile fields in hover cards
ClearlyClaire Jul 6, 2024
1d35626
Limit CI push triggers to `main` and `stable-*` branches (#30934)
mjankowski Jul 7, 2024
6976637
Merge pull request #2768 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jul 7, 2024
0899c91
Add the account hover card for account search results (#30949)
renchap Jul 7, 2024
981395e
Remove the `title` attribute when hovering a card anchor (#30948)
renchap Jul 7, 2024
c5883e0
chore(deps): update dependency @testing-library/dom to v10.3.1 (#30954)
renovate[bot] Jul 8, 2024
5c3ec72
chore(deps): update dependency typescript to v5.5.3 (#30953)
renovate[bot] Jul 8, 2024
bd84817
chore(deps): update dependency irb to v1.14.0 (#30947)
renovate[bot] Jul 8, 2024
bd285cd
fix(deps): update dependency glob to v10.4.3 (#30941)
renovate[bot] Jul 8, 2024
c29fdad
Use `scope module: ...` for more API routes (#30935)
mjankowski Jul 8, 2024
fd3bfc0
fix(deps): update dependency postcss-preset-env to v9.6.0 (#30944)
renovate[bot] Jul 8, 2024
d41b43e
Limit attachments to `MEDIA_ATTACHMENTS_LIMIT` when returning posts t…
ClearlyClaire Jul 8, 2024
1a37862
New Crowdin Translations (automated) (#30940)
github-actions[bot] Jul 8, 2024
36d819b
Change to use an unified constant for max media attachments per statu…
ileodo Jul 8, 2024
79b0e19
Move test migrations paths check to workflow level (#30702)
mjankowski Jul 8, 2024
f1300ad
Rename jobs/attachments rspec tag names (#29762)
mjankowski Jul 8, 2024
fa8e972
Fix author names as arrays in linked data. (#30957)
oneiros Jul 8, 2024
6a55232
Merge commit 'fa8e972722fb8fc056aa348dddaee4005b4a8ac4' into glitch-s…
ClearlyClaire Jul 8, 2024
2fa3c3a
[Glitch] Add the account hover card for account search results
renchap Jul 7, 2024
aa8ad92
[Glitch] Remove the `title` attribute when hovering a card anchor
renchap Jul 7, 2024
80179d5
[Glitch] Change to use an unified constant for max media attachments …
ileodo Jul 8, 2024
3e47d01
Merge pull request #2770 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jul 8, 2024
0dd4595
fix(deps): update dependency glob to v10.4.4 (#30967)
renovate[bot] Jul 9, 2024
7a30c68
Use `scope module: ...` block for `.well-known` routes (#30959)
mjankowski Jul 9, 2024
f47d761
Remove unneeded `controller` option in routes (#30958)
mjankowski Jul 9, 2024
249b411
New Crowdin Translations (automated) (#30970)
github-actions[bot] Jul 9, 2024
7542a13
Add a file for Sidekiq to signal it is ready to process jobs (#30971)
renchap Jul 9, 2024
3875bd1
Fix HTTP 500 in `/api/v1/polls/:id/votes` (#25598)
danielmbrasil Jul 9, 2024
ef2e48e
fix(deps): update dependency glob to v10.4.5 (#30972)
renovate[bot] Jul 9, 2024
967505e
Add size limit for all PreviewCard URLs (#30973)
oneiros Jul 9, 2024
388672f
Merge commit '967505ee9bcacf0e5189aa06c654ff586c198a46' into glitch-s…
ClearlyClaire Jul 9, 2024
56e347d
Merge pull request #2771 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jul 9, 2024
c9f08f7
fix(deps): update dependency sass to v1.77.7 (#30981)
renovate[bot] Jul 10, 2024
d013791
chore(deps): update dependency ruby to v3.3.4 (#30969)
renovate[bot] Jul 10, 2024
8dea897
chore(deps): update docker.io/ruby docker tag to v3.3.4 (#30980)
renovate[bot] Jul 10, 2024
9984fca
New Crowdin Translations (automated) (#30983)
github-actions[bot] Jul 10, 2024
182b924
Fix SCSS mixed declarations deprecation (#30986)
renchap Jul 10, 2024
36592d1
Change Sidekiq readiness file to use an environment variable (#30988)
renchap Jul 10, 2024
2ea9336
Do not pass unknown encoding names to nokogiri. (#30987)
oneiros Jul 10, 2024
52fb4f1
Merge commit '2ea9336b6855b44126a55106a81e96ea68eaf8ff' into glitch-s…
ClearlyClaire Jul 10, 2024
0d4a8a5
[Glitch] Fix SCSS mixed declarations deprecation
renchap Jul 10, 2024
959ad1d
Fix deprecation warning in win95 theme
ClearlyClaire Jul 10, 2024
d436696
Streaming: Fix incorrect type definitions (#30977)
ThisIsMissEm Jul 10, 2024
5c9c024
Merge pull request #2772 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jul 10, 2024
182fee1
New Crowdin Translations (automated) (#2738)
github-actions[bot] Jul 10, 2024
631a5ee
chore(deps): update dependency charlock_holmes to v0.7.9 (#30992)
renovate[bot] Jul 10, 2024
24bdba3
chore(deps): update dependency rubocop to v1.65.0 (#30985)
renovate[bot] Jul 11, 2024
c244b70
New Crowdin Translations (automated) (#30993)
github-actions[bot] Jul 11, 2024
6c37529
Use `module: :auth` to wrap `devise_for` routes config (#30990)
mjankowski Jul 11, 2024
8c8bee5
Change disabled buttons color in light mode to make it more visible (…
renchap Jul 11, 2024
db0b12e
Merge commit '8c8bee5a36e0cd0b5d35903f8891896447c3e060' into glitch-s…
ClearlyClaire Jul 11, 2024
e260521
[Glitch] Change disabled buttons color in light mode to make it more …
renchap Jul 11, 2024
ad52b04
Add setting to disable hover cards (#30931)
ClearlyClaire Jul 11, 2024
813f86d
Merge pull request #2774 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jul 11, 2024
bb702e6
fix(deps): update dependency sass to v1.77.8 (#31005)
renovate[bot] Jul 12, 2024
73d5382
Add change assertion to invites destroy spec (#31004)
mjankowski Jul 12, 2024
cd1bc94
Regen RuboCop TODO for 1.65.0 (#31003)
nschonni Jul 12, 2024
fdad4dc
fix(deps): update babel monorepo to v7.24.8 (#31002)
renovate[bot] Jul 12, 2024
28ad358
New Crowdin Translations (automated) (#31006)
github-actions[bot] Jul 12, 2024
43e24db
Use `include_pagination_headers` in more places (#30999)
mjankowski Jul 12, 2024
9cc0607
chore(deps): update dependency database_cleaner-active_record to v2.2…
renovate[bot] Jul 12, 2024
c929b4c
chore(deps): update dependency pghero to v3.6.0 (#30994)
renovate[bot] Jul 12, 2024
55cf5e0
Merge commit 'c929b4cace3f95fe54fdafe449ea7e972c8d61e8' into glitch-s…
ClearlyClaire Jul 12, 2024
8d2a93b
[Glitch] Add setting to disable hover cards
ClearlyClaire Jul 11, 2024
35a437a
Destroy `NotificationRequest`s that are dismissed (#31008)
oneiros Jul 12, 2024
b87c411
chore(deps): update dependency rubocop-rspec to v3.0.3 (#31009)
renovate[bot] Jul 12, 2024
c953dca
Streaming: use pgPool.query instead of manually acquiring & releasing…
ThisIsMissEm Jul 12, 2024
00cb4a0
Avoid repeated factory creation in media_attachments_vacuum_spec (#31…
mjankowski Jul 12, 2024
5464224
Merge pull request #2775 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jul 12, 2024
edec2e9
Merge commit '00cb4a0313190bfa118966692a649db9c8328094' into glitch-s…
ClearlyClaire Jul 14, 2024
d329eda
Merge pull request #2776 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jul 14, 2024
d61b536
Add i18n strings for instance favicon and logo settings label (#31016)
mgmn Jul 15, 2024
1711710
New Crowdin Translations (automated) (#31018)
github-actions[bot] Jul 15, 2024
1dd8262
Add optional `filtered` attribute to notification entities in REST AP…
ClearlyClaire Jul 15, 2024
91ef4a6
Add assertion about key columns to account key generate spec (#30635)
mjankowski Jul 15, 2024
543b59f
Clean up `theme_helper` style builders (#30617)
mjankowski Jul 15, 2024
0b97ec3
fix(deps): update dependency @babel/core to v7.24.9 (#31029)
renovate[bot] Jul 15, 2024
9d0bce4
Move filtered notifications bar in scrollable area (#30996)
oneiros Jul 15, 2024
64b2c71
Merge commit '9d0bce40724eb77b7cc3917091b62e4ab159e29e' into glitch-s…
ClearlyClaire Jul 15, 2024
70969ac
[Glitch] Move filtered notifications bar in scrollable area
oneiros Jul 15, 2024
b7b6f1c
Merge pull request #2777 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jul 15, 2024
905921b
Add missing "Update Report" string in audit log (#31033)
vmstan Jul 16, 2024
c3a2f9d
chore(deps): update dependency json-schema to v4.3.1 (#31012)
renovate[bot] Jul 16, 2024
c27d194
fix(deps): update dependency pino to v9.3.1 (#31032)
renovate[bot] Jul 16, 2024
fa54b61
Handle missing links in Webfinger response (#31030)
adamniedzielski Jul 16, 2024
aa88aca
Add optional OAuth application to reports (#30539)
ThisIsMissEm Jul 16, 2024
a609940
Fix test description in hashtag_bar (#30827)
adamniedzielski Jul 16, 2024
66430cb
New Crowdin Translations (automated) (#31038)
github-actions[bot] Jul 16, 2024
c546757
Merge commit '66430cb25c824cfad0394216d8e7a523533bcf4b' into glitch-s…
ClearlyClaire Jul 16, 2024
d6a2635
Merge pull request #2780 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jul 16, 2024
00c110a
New Crowdin Translations (automated) (#31047)
github-actions[bot] Jul 17, 2024
81877e7
Reduce extra round trips in `AP::FetchRemoteStatusService` spec (#31045)
mjankowski Jul 17, 2024
f5e90f3
Reduce extra round trips in `AP::SynchronizeFollowersService` spec (#…
mjankowski Jul 17, 2024
76c2c5c
Reduce extra round trips in `activitypub` controller specs (#31041)
mjankowski Jul 17, 2024
4957771
Update rexml to version 3.3.2 (#31048)
ClearlyClaire Jul 17, 2024
aa4d898
chore(deps): update dependency faker to v3.4.2 (#31046)
renovate[bot] Jul 17, 2024
5e7720d
Merge commit 'aa4d8987a00fe82490fb949b82d3baa33d0acd49' into glitch-s…
ClearlyClaire Jul 17, 2024
fb29f40
Merge pull request #2781 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jul 17, 2024
c5f8256
Reduce extra factories in `FanOutOnWriteService` spec (#31053)
mjankowski Jul 18, 2024
2616fde
Use change-requiring records in admin/reports controller spec (#31052)
mjankowski Jul 18, 2024
64c7ffd
chore(deps): update dependency ruby-vips to v2.2.2 (#31050)
renovate[bot] Jul 18, 2024
47ea83d
Reduce factory creation in `AP::ProcessStatusUpdateService` spec (#31…
mjankowski Jul 18, 2024
7d090b2
New Crowdin Translations (automated) (#31055)
github-actions[bot] Jul 18, 2024
f587ff6
Grouped Notifications UI (#30440)
renchap Jul 18, 2024
6e47637
Fix grouping across hourly buckets happening in a 12 seconds window i…
ClearlyClaire Jul 18, 2024
41b7281
fix(deps): update dependency use-debounce to v10.0.1 (#31060)
renovate[bot] Jul 18, 2024
848b59c
Reduce factory creation in `MediaAttachment` model spec (#31058)
mjankowski Jul 18, 2024
8234434
Add link to org-level contribution guidelines to contributing doc (#3…
mjankowski Jul 18, 2024
c75fe09
Merge commit '82344342c1c5adb3f6a4b376559db737a9e982b7' into glitch-s…
ClearlyClaire Jul 18, 2024
7224e24
[Glitch] Grouped Notifications UI
renchap Jul 18, 2024
d55ecf4
Merge pull request #2782 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jul 18, 2024
af24bf9
Merge branch 'glitch-soc-main' into merge-upstream
sneakers-the-rat Jul 19, 2024
8d8af90
mathjax: remove componentWillMount from latexdropdown
sneakers-the-rat Jul 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .env.production.sample
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This is a sample configuration file. You can generate your configuration
# with the `rake mastodon:setup` interactive setup wizard, but to customize
# with the `bundle exec rails mastodon:setup` interactive setup wizard, but to customize
# your setup even further, you'll need to edit it manually. This sample does
# not demonstrate all available configuration options. Please look at
# https://docs.joinmastodon.org/admin/config/ for the full documentation.
Expand Down Expand Up @@ -68,15 +68,15 @@ DB_PORT=5432

# Secrets
# -------
# Generate each with the `RAILS_ENV=production bundle exec rake secret` task (`docker-compose run --rm web bundle exec rake secret` if you use docker compose)
# Generate each with the `RAILS_ENV=production bundle exec rails secret` task (`docker-compose run --rm web bundle exec rails secret` if you use docker compose)
# -------
SECRET_KEY_BASE=
OTP_SECRET=


# Web Push
# --------
# Generate with `rake mastodon:webpush:generate_vapid_key` (first is the private key, second is the public one)
# Generate with `bundle exec rails mastodon:webpush:generate_vapid_key` (first is the private key, second is the public one)
# You should only generate this once per instance. If you later decide to change it, all push subscription will
# be invalidated, requiring the users to access the website again to resubscribe.
# --------
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/bundler-audit.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Bundler Audit
on:
merge_group:
push:
branches-ignore:
- 'dependabot/**'
branches:
- 'main'
- 'stable-*'
paths:
- 'Gemfile*'
- '.ruby-version'
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/check-i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ name: Check i18n

on:
push:
branches: [main]
branches:
- 'main'
- 'stable-*'
pull_request:
branches: [main]
branches:
- 'main'
- 'stable-*'

env:
RAILS_ENV: test
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: 'CodeQL'

on:
merge_group:
push:
branches: ['main']
branches:
- 'main'
- 'stable-*'
pull_request:
# The branches below must be a subset of the branches above
branches: ['main']
branches:
- 'main'
- 'stable-*'
schedule:
- cron: '22 6 * * 1'

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/crowdin-upload.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Crowdin / Upload translations

on:
merge_group:
push:
branches:
- main
- 'main'
- 'stable-*'
paths:
- crowdin-glitch.yml
- app/javascript/flavours/glitch/locales/en.json
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Check formatting
on:
merge_group:
push:
branches:
- 'main'
- 'stable-*'
pull_request:

jobs:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/lint-css.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: CSS Linting
on:
merge_group:
push:
branches-ignore:
- 'dependabot/**'
- 'renovate/**'
branches:
- 'main'
- 'stable-*'
paths:
- 'package.json'
- 'yarn.lock'
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/lint-haml.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Haml Linting
on:
merge_group:
push:
branches-ignore:
- 'dependabot/**'
- 'renovate/**'
branches:
- 'main'
- 'stable-*'
paths:
- '.github/workflows/haml-lint-problem-matcher.json'
- '.github/workflows/lint-haml.yml'
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/lint-js.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: JavaScript Linting
on:
merge_group:
push:
branches-ignore:
- 'dependabot/**'
- 'renovate/**'
branches:
- 'main'
- 'stable-*'
paths:
- 'package.json'
- 'yarn.lock'
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/lint-ruby.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Ruby Linting
on:
merge_group:
push:
branches-ignore:
- 'dependabot/**'
- 'renovate/**'
branches:
- 'main'
- 'stable-*'
paths:
- 'Gemfile*'
- '.rubocop*.yml'
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test-js.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: JavaScript Testing
on:
merge_group:
push:
branches-ignore:
- 'dependabot/**'
- 'renovate/**'
branches:
- 'main'
- 'stable-*'
paths:
- 'package.json'
- 'yarn.lock'
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/test-migrations.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
name: Historical data migration test

on:
merge_group:
push:
branches-ignore:
- 'dependabot/**'
- 'renovate/**'
branches:
- 'main'
- 'stable-*'
paths:
- 'Gemfile*'
- '.ruby-version'
- '**/*.rb'
- '.github/workflows/test-migrations.yml'
- 'lib/tasks/tests.rake'

pull_request:
paths:
- 'Gemfile*'
- '.ruby-version'
- '**/*.rb'
- '.github/workflows/test-migrations.yml'
- 'lib/tasks/tests.rake'

jobs:
pre_job:
runs-on: ubuntu-latest

outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}

steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
paths: '["Gemfile*", ".ruby-version", "**/*.rb", ".github/workflows/test-migrations.yml", "lib/tasks/tests.rake"]'

test:
runs-on: ubuntu-latest
needs: pre_job
if: needs.pre_job.outputs.should_skip != 'true'

strategy:
fail-fast: false
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/test-ruby.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: Ruby Testing

on:
merge_group:
push:
branches-ignore:
- 'dependabot/**'
- 'renovate/**'
branches:
- 'main'
- 'stable-*'
pull_request:

env:
Expand Down Expand Up @@ -223,7 +224,7 @@ jobs:
- name: Load database schema
run: './bin/rails db:create db:schema:load db:seed'

- run: bin/rspec --tag paperclip_processing
- run: bin/rspec --tag attachment_processing

- name: Upload coverage reports to Codecov
if: matrix.ruby-version == '.ruby-version'
Expand Down
4 changes: 2 additions & 2 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config --auto-gen-only-exclude --no-offense-counts --no-auto-gen-timestamp`
# using RuboCop version 1.64.1.
# using RuboCop version 1.65.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand All @@ -14,7 +14,7 @@ Lint/NonLocalExitFromIterator:
Metrics/AbcSize:
Max: 90

# Configuration parameters: CountBlocks, Max.
# Configuration parameters: CountBlocks, CountModifierForms, Max.
Metrics/BlockNesting:
Exclude:
- 'lib/tasks/mastodon.rake'
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.3
3.3.4
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ You can contribute in the following ways:

If your contributions are accepted into Mastodon, you can request to be paid through [our OpenCollective](https://opencollective.com/mastodon).

Please review the org-level [contribution guidelines] for high-level acceptance
criteria guidance.

[contribution guidelines]: https://github.com/mastodon/.github/blob/main/CONTRIBUTING.md

## API Changes and Additions

Please note that any changes or additions made to the API should have an accompanying pull request on [our documentation repository](https://github.com/mastodon/documentation).
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ARG BUILDPLATFORM=${BUILDPLATFORM}

# Ruby image to use for base image, change with [--build-arg RUBY_VERSION="3.3.x"]
# renovate: datasource=docker depName=docker.io/ruby
ARG RUBY_VERSION="3.3.3"
ARG RUBY_VERSION="3.3.4"
# # Node version to use in base image, change with [--build-arg NODE_MAJOR_VERSION="20"]
# renovate: datasource=node-version depName=node
ARG NODE_MAJOR_VERSION="20"
Expand Down Expand Up @@ -67,7 +67,9 @@ ENV \
# Optimize jemalloc 5.x performance
MALLOC_CONF="narenas:2,background_thread:true,thp:never,dirty_decay_ms:1000,muzzy_decay_ms:0" \
# Enable libvips, should not be changed
MASTODON_USE_LIBVIPS=true
MASTODON_USE_LIBVIPS=true \
# Sidekiq will touch tmp/sidekiq_process_has_started_and_will_begin_processing_jobs to indicate it is ready. This can be used for a readiness check in Kubernetes
MASTODON_SIDEKIQ_READY_FILENAME=sidekiq_process_has_started_and_will_begin_processing_jobs

# Set default shell used for running commands
SHELL ["/bin/bash", "-o", "pipefail", "-o", "errexit", "-c"]
Expand Down
Loading
Loading