Skip to content

Commit 73db488

Browse files
Merge pull request NeuromatchAcademy#82 from NeuromatchAcademy/merge-upstream
Merge upstream - v4.4.3
2 parents 98ac42c + f903d09 commit 73db488

1,511 files changed

Lines changed: 47146 additions & 23673 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/compose.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ services:
99
environment:
1010
RAILS_ENV: development
1111
NODE_ENV: development
12+
VITE_RUBY_HOST: 0.0.0.0
1213
BIND: 0.0.0.0
1314
BOOTSNAP_CACHE_DIR: /tmp
1415
REDIS_HOST: redis
@@ -22,11 +23,12 @@ services:
2223
ES_PORT: '9200'
2324
LIBRE_TRANSLATE_ENDPOINT: http://libretranslate:5000
2425
LOCAL_DOMAIN: ${LOCAL_DOMAIN:-localhost:3000}
26+
VITE_DEV_SERVER_PUBLIC: ${VITE_DEV_SERVER_PUBLIC:-localhost:3036}
2527
# Overrides default command so things don't shut down after the process ends.
2628
command: sleep infinity
2729
ports:
2830
- '3000:3000'
29-
- '3035:3035'
31+
- '3036:3036'
3032
- '4000:4000'
3133
networks:
3234
- external_network

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
.gitattributes
66
.gitignore
77
.github
8+
.vscode
89
public/system
910
public/assets
1011
public/packs
@@ -20,6 +21,7 @@ postgres14
2021
redis
2122
elasticsearch
2223
chart
24+
storybook-static
2325
.yarn/
2426
!.yarn/patches
2527
!.yarn/plugins

.env.production.sample

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ DB_PORT=5432
7171
# 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)
7272
# -------
7373
SECRET_KEY_BASE=
74-
OTP_SECRET=
7574

7675
# Encryption secrets
7776
# ------------------
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://joinmastodon.org/funding.json

.github/ISSUE_TEMPLATE/1.web_bug_report.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,24 @@ body:
4747
attributes:
4848
label: Mastodon version
4949
description: |
50-
This is displayed at the bottom of the About page, eg. `v4.4.0-alpha.1`
51-
placeholder: v4.3.0
50+
This is displayed at the bottom of the About page, eg. `v4.4.0-beta.1`
51+
placeholder: v4.4.0-beta.1
5252
validations:
5353
required: true
5454
- type: input
5555
attributes:
5656
label: Browser name and version
5757
description: |
5858
What browser are you using when getting this bug? Please specify the version as well.
59-
placeholder: Firefox 131.0.0
59+
placeholder: Firefox 139.0.0
6060
validations:
6161
required: true
6262
- type: input
6363
attributes:
6464
label: Operating system
6565
description: |
6666
What OS are you running? Please specify the version as well.
67-
placeholder: macOS 15.0.1
67+
placeholder: macOS 15.5
6868
validations:
6969
required: true
7070
- type: textarea

.github/ISSUE_TEMPLATE/2.server_bug_report.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ body:
4848
attributes:
4949
label: Mastodon version
5050
description: |
51-
This is displayed at the bottom of the About page, eg. `v4.4.0-alpha.1`
52-
placeholder: v4.3.0
51+
This is displayed at the bottom of the About page, eg. `v4.4.0-beta.1`
52+
placeholder: v4.4.0-beta.1
5353
validations:
5454
required: false
5555
- type: textarea
@@ -59,7 +59,7 @@ body:
5959
Any additional technical details you may have, like logs or error traces
6060
value: |
6161
If this is happening on your own Mastodon server, please fill out those:
62-
- Ruby version: (from `ruby --version`, eg. v3.4.1)
63-
- Node.js version: (from `node --version`, eg. v20.18.0)
62+
- Ruby version: (from `ruby --version`, eg. v3.4.4)
63+
- Node.js version: (from `node --version`, eg. v22.16.0)
6464
validations:
6565
required: false

.github/ISSUE_TEMPLATE/3.troubleshooting.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ body:
4949
label: Mastodon version
5050
description: |
5151
This is displayed at the bottom of the About page, eg. `v4.4.0-alpha.1`
52-
placeholder: v4.3.0
52+
placeholder: v4.4.0-beta.1
5353
validations:
5454
required: false
5555
- type: textarea
@@ -59,9 +59,9 @@ body:
5959
Details about your environment, like how Mastodon is deployed, if containers are used, version numbers, etc.
6060
value: |
6161
Please at least include those informations:
62-
- Operating system: (eg. Ubuntu 22.04)
63-
- Ruby version: (from `ruby --version`, eg. v3.4.1)
64-
- Node.js version: (from `node --version`, eg. v20.18.0)
62+
- Operating system: (eg. Ubuntu 24.04.2)
63+
- Ruby version: (from `ruby --version`, eg. v3.4.4)
64+
- Node.js version: (from `node --version`, eg. v22.16.0)
6565
validations:
6666
required: false
6767
- type: textarea

.github/renovate.json5

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,28 +23,13 @@
2323
matchManagers: ['npm'],
2424
matchPackageNames: [
2525
'tesseract.js', // Requires code changes
26-
'react-hotkeys', // Requires code changes
27-
28-
// Requires Webpacker upgrade or replacement
29-
'@svgr/webpack',
30-
'@types/webpack',
31-
'babel-loader',
32-
'compression-webpack-plugin',
33-
'css-loader',
34-
'imports-loader',
35-
'mini-css-extract-plugin',
36-
'postcss-loader',
37-
'sass-loader',
38-
'terser-webpack-plugin',
39-
'webpack',
40-
'webpack-assets-manifest',
41-
'webpack-bundle-analyzer',
42-
'webpack-dev-server',
43-
'webpack-cli',
4426

4527
// react-router: Requires manual upgrade
4628
'history',
4729
'react-router-dom',
30+
31+
// react-spring: Requires manual upgrade when upgrading react
32+
'@react-spring/web',
4833
],
4934
matchUpdateTypes: ['major'],
5035
dependencyDashboardApproval: true,
@@ -53,7 +38,6 @@
5338
// Require Dependency Dashboard Approval for major version bumps of these Ruby packages
5439
matchManagers: ['bundler'],
5540
matchPackageNames: [
56-
'rack', // Needs to be synced with Rails version
5741
'strong_migrations', // Requires manual upgrade
5842
'sidekiq', // Requires manual upgrade
5943
'sidekiq-unique-jobs', // Requires manual upgrades and sync with Sidekiq version

.github/workflows/build-releases.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
secrets: inherit
2828

2929
build-image-streaming:
30-
if: startsWith(github.ref, 'refs/tags/v4.3.')
3130
uses: ./.github/workflows/build-container-image.yml
3231
with:
3332
file_to_build: streaming/Dockerfile

.github/workflows/chromatic.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: 'Chromatic'
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- renovate/*
7+
- stable-*
8+
paths:
9+
- 'package.json'
10+
- 'yarn.lock'
11+
- '**/*.js'
12+
- '**/*.jsx'
13+
- '**/*.ts'
14+
- '**/*.tsx'
15+
- '**/*.css'
16+
- '**/*.scss'
17+
- '.github/workflows/chromatic.yml'
18+
19+
jobs:
20+
chromatic:
21+
name: Run Chromatic
22+
runs-on: ubuntu-latest
23+
if: github.repository == 'mastodon/mastodon'
24+
steps:
25+
- name: Checkout code
26+
uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 0
29+
- name: Set up Javascript environment
30+
uses: ./.github/actions/setup-javascript
31+
32+
- name: Build Storybook
33+
run: yarn build-storybook
34+
35+
- name: Run Chromatic
36+
uses: chromaui/action@v12
37+
with:
38+
# ⚠️ Make sure to configure a `CHROMATIC_PROJECT_TOKEN` repository secret
39+
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
40+
zip: true
41+
storybookBuildDir: 'storybook-static'

0 commit comments

Comments
 (0)