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 changes up to 9a3d047f3e604e581e18346424569e28fc9c5b96 #2449

Merged
merged 78 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
1b70d7e
Upgrade to react-router v5 (#25047)
renchap Oct 19, 2023
33bd8ec
Fix missing background behind dismissable banner in web UI (#27479)
Gargron Oct 20, 2023
284c719
New Crowdin Translations (automated) (#27480)
github-actions[bot] Oct 20, 2023
1368853
Fix processing LDSigned activities from actors with unknown public ke…
ClearlyClaire Oct 20, 2023
ab0fb81
Configure brakeman to ignore url safe preview card urls (#25883)
mjankowski Oct 20, 2023
245513d
Merge commit '1b70d7ed7c0fd3a9fcf028bf76b8c62ac8b3897f' into glitch-s…
ClearlyClaire Oct 21, 2023
d6eacb7
[Glitch] Upgrade to react-router v5
renchap Oct 19, 2023
9d45a44
Convert `<Button>` to Typescript (#27492)
renchap Oct 23, 2023
b021347
Validate allowed schemes on preview card URLs (#27485)
mjankowski Oct 23, 2023
70fd819
New Crowdin Translations (automated) (#27490)
github-actions[bot] Oct 23, 2023
0ad6617
Fix incorrect proptypes from react-router-v5 update (#27507)
ClearlyClaire Oct 23, 2023
773133b
Update eslint (non-major) (#27415)
renovate[bot] Oct 23, 2023
6f429d3
Update formatjs monorepo (#27416)
renovate[bot] Oct 23, 2023
6f1eb89
Update dependency ws to v8.14.2 (#26980)
renovate[bot] Oct 23, 2023
cd08b43
Update dependency sass to v1.69.4 (#27004)
renovate[bot] Oct 23, 2023
69d3318
Update dependency rimraf to v5.0.5 (#27140)
renovate[bot] Oct 23, 2023
bb5bae1
Update dependency webpack-merge to v5.10.0 (#27420)
renovate[bot] Oct 23, 2023
1322040
Update dependency core-js to v3.33.1 (#27481)
renovate[bot] Oct 23, 2023
25751c6
Update DefinitelyTyped types (non-major) (#27414)
renovate[bot] Oct 23, 2023
f7b3470
Update babel monorepo to v7.23.2 (#27118)
renovate[bot] Oct 23, 2023
53fd28b
Update dependency react-select to v5.7.7 (#27003)
renovate[bot] Oct 23, 2023
bcae744
Fix some link anchors being recognized as hashtags (#27271)
ClearlyClaire Oct 23, 2023
c3e0eb3
Change Content-Security-Policy to be tighter on media paths (#26889)
ClearlyClaire Oct 23, 2023
99f2534
Add support for displaying unknown servers on /admin/instances/:domai…
ClearlyClaire Oct 23, 2023
44edf3a
Improve error handling in mastodon:setup task (#21464)
ClearlyClaire Oct 23, 2023
8b770ce
Add warnings to report action logs (#27425)
ClearlyClaire Oct 23, 2023
d5408db
Update dependency prom-client to v15 (#27330)
renovate[bot] Oct 23, 2023
3cfdab6
Prune the changelog of older entries (#27432)
mjankowski Oct 23, 2023
fc7734d
Remove Renovate's Lock File Maintenance task (#27510)
renchap Oct 23, 2023
79a6320
Fix Layout/EmptyLineAfterGuardClause issues caused by merging an old …
ClearlyClaire Oct 23, 2023
d9503a1
Fix explore page reloading when you navigate back to it in web UI (#2…
Gargron Oct 23, 2023
26d2a2a
Migrate to request specs in `/api/v1/media` (#25543)
danielmbrasil Oct 23, 2023
379115e
Add SELF_DESTRUCT env variable to process self-destructions in the ba…
ClearlyClaire Oct 23, 2023
e93a75f
Rails 7.1 update (#25963)
mjankowski Oct 23, 2023
9482810
Rewrite `emoji_unicode_mapping_light` to TS (#25444)
taichi221228 Oct 24, 2023
4fdc548
Regenerate lint todos (#27513)
mjankowski Oct 24, 2023
e923bb9
Use `ENV.fetch` in views, fixes rubocop haml-lint issue (#27527)
mjankowski Oct 24, 2023
50b7ea8
New Crowdin Translations (automated) (#27523)
github-actions[bot] Oct 24, 2023
714e3ae
Use Rails 7.1 `normalizes` feature (#27521)
mjankowski Oct 24, 2023
6cf9f12
Create custom Github Actions for common steps (#27518)
renchap Oct 24, 2023
15182d1
Fix history handling not properly handling states after update to rea…
ClearlyClaire Oct 24, 2023
b0c76ea
Merge commit '0ad66175bf59a34b03d9ab2347181548d07089ea' into glitch-s…
ClearlyClaire Oct 24, 2023
1138d44
[Glitch] Fix missing background behind dismissable banner in web UI
Gargron Oct 20, 2023
9325cb5
[Glitch] Convert `<Button>` to Typescript
renchap Oct 23, 2023
5323f0e
[Glitch] Fix incorrect proptypes from react-router-v5 update
ClearlyClaire Oct 23, 2023
787d5ad
Merge commit 'bcae7442757845191c0e82b61cd1d0cd3ca860d1' into glitch-s…
ClearlyClaire Oct 24, 2023
57c0de9
Merge commit '8b770ce8110e6cd609a6769c66210d95e291e3e5' into glitch-s…
ClearlyClaire Oct 24, 2023
79c154f
Merge commit 'fc7734df8d8d53639bf244a2f2f3c39bc2fd12a7' into glitch-s…
ClearlyClaire Oct 24, 2023
e6c3d3c
Merge commit 'd9503a1965a16328b62ea7bf0bb54e87cbe30d29' into glitch-s…
ClearlyClaire Oct 24, 2023
69ea596
[Glitch] Fix explore page reloading when you navigate back to it in w…
Gargron Oct 23, 2023
e25cc4d
Merge commit '379115e601361c2b5da775fbf28b7dff9dc02e71' into glitch-s…
ClearlyClaire Oct 24, 2023
b188538
Fix missing libyaml-dev dependency in Dockerfile (#27533)
vmstan Oct 24, 2023
134de73
Change icons in web UI (#27385)
Gargron Oct 24, 2023
4b0fb76
Merge commit 'e93a75f1a11d6dfdcbd39dbdc22526c5508ad881' into glitch-s…
ClearlyClaire Oct 24, 2023
8a131fb
Fix `@rails/ujs` imports
ClearlyClaire Oct 24, 2023
3c9c029
Fix ActiveRecord::Migrator monkey-patch
ClearlyClaire Oct 24, 2023
4ef66d6
Merge commit '15182d1e5e595b21c47b48c5d258f30a0251e753' into glitch-s…
ClearlyClaire Oct 24, 2023
c6f9909
[Glitch] Rewrite `emoji_unicode_mapping_light` to TS
taichi221228 Oct 24, 2023
b73e4b5
[Glitch] Fix history handling not properly handling states after upda…
ClearlyClaire Oct 24, 2023
8123e86
[Glitch] Fix double scroll bars in some columns in advanced interface
ClearlyClaire Oct 3, 2023
b19d4eb
Fix HAML linting issues
ClearlyClaire Oct 24, 2023
bc3afb6
Update `rails/ujs` delegate method usage (#27538)
mjankowski Oct 24, 2023
f08ca3f
Fix missing icon props (#27539)
renchap Oct 24, 2023
cb92cdf
Fix `<ColumnBackButtonSlim>` (#27540)
renchap Oct 24, 2023
cec7f0e
Remove unused `#error_explanation` id from error partials (#27536)
mjankowski Oct 25, 2023
f261b64
Update dependency node to 20.9 (#27534)
renovate[bot] Oct 25, 2023
c85e0a6
New Crowdin Translations (automated) (#27544)
github-actions[bot] Oct 25, 2023
ba527c0
Merge commit '134de736dcbc6aa613fd5aec21d983d92d8b0be8' into glitch-s…
ClearlyClaire Oct 25, 2023
6e9f89e
Merge commit 'c85e0a6b047f1a72ad970bc04c4e1be3f028b3d1' into glitch-s…
ClearlyClaire Oct 25, 2023
85d4846
[Glitch] Fix `<ColumnBackButtonSlim>`
renchap Oct 24, 2023
c926f5f
Fix haml-lint `UnnecessaryStringOutput` for views (#27531)
mjankowski Oct 25, 2023
fa65c82
Fix cache store pool config deprecation warnings (#27551)
ClearlyClaire Oct 25, 2023
70dbf84
Solve simplest haml-lint `Rubocop` lints (#27529)
mjankowski Oct 25, 2023
a4e6fe3
Add missing ban icons (#27555)
renchap Oct 25, 2023
235a4cf
Fix batch attachment deletion when using OpenStack Swift (#27554)
ClearlyClaire Oct 25, 2023
9a3d047
Run `bin/rails app:update` with Rails 7.1 (#27522)
mjankowski Oct 25, 2023
6262095
Merge commit '9a3d047f3e604e581e18346424569e28fc9c5b96' into glitch-s…
ClearlyClaire Oct 25, 2023
36c8570
Fix HAML linting issue
ClearlyClaire Oct 25, 2023
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ module.exports = {
},
// Common React utilities
{
pattern: '{classnames,react-helmet,react-router-dom}',
pattern: '{classnames,react-helmet,react-router,react-router-dom}',
group: 'external',
position: 'before',
},
Expand Down
19 changes: 19 additions & 0 deletions .github/actions/setup-javascript/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Setup Javascript'
description: 'Setup a Javascript environment ready to run the Mastodon code'
inputs:
onlyProduction:
description: Only install production dependencies
default: 'false'

runs:
using: 'composite'
steps:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'

- name: Install all yarn packages
shell: bash
run: yarn --frozen-lockfile ${{ inputs.onlyProduction != 'false' && '--production' || '' }}
23 changes: 23 additions & 0 deletions .github/actions/setup-ruby/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Setup RUby'
description: 'Setup a Ruby environment ready to run the Mastodon code'
inputs:
ruby-version:
description: The Ruby version to install
default: '.ruby-version'
additional-system-dependencies:
description: 'Additional packages to install'

runs:
using: 'composite'
steps:
- name: Install system dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y libicu-dev libidn11-dev ${{ inputs.additional-system-dependencies }}

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ inputs.ruby-version }}
bundler-cache: true
1 change: 0 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
extends: [
'config:recommended',
':labels(dependencies)',
':maintainLockFilesMonthly', // update non-direct dependencies monthly
':prConcurrentLimitNone', // Remove limit for open PRs at any time.
':prHourlyLimit2', // Rate limit PR creation to a maximum of two per hour.
],
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/bundler-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Install native Ruby dependencies
run: sudo apt-get install -y libicu-dev libidn11-dev

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Set up Ruby environment
uses: ./.github/actions/setup-ruby

- name: Run bundler-audit
run: bundle exec bundler-audit
24 changes: 5 additions & 19 deletions .github/workflows/check-i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libicu-dev libidn11-dev

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true

- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'

- name: Install all yarn packages
run: yarn --frozen-lockfile
- name: Set up Ruby environment
uses: ./.github/actions/setup-ruby

- name: Set up Javascript environment
uses: ./.github/actions/setup-javascript

- name: Check for missing strings in English JSON
run: |
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/crowdin-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,8 @@ jobs:
run: sudo chown -R runner:docker .

# This is needed to run the normalize step
- name: Install native Ruby dependencies
run: sudo apt-get install -y libicu-dev libidn11-dev

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Set up Ruby environment
uses: ./.github/actions/setup-ruby

- name: Run i18n normalize task
run: bundle exec i18n-tasks normalize
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/lint-css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'

- name: Install all yarn packages
run: yarn --frozen-lockfile
- name: Set up Javascript environment
uses: ./.github/actions/setup-javascript

- uses: xt0rted/stylelint-problem-matcher@v1

Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/lint-haml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Install native Ruby dependencies
run: |
sudo apt-get update
sudo apt-get install -y libicu-dev libidn11-dev

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Set up Ruby environment
uses: ./.github/actions/setup-ruby

- name: Run haml-lint
run: |
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/lint-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'

- name: Install all yarn packages
run: yarn --frozen-lockfile
- name: Set up Javascript environment
uses: ./.github/actions/setup-javascript

- name: ESLint
run: yarn lint:js --max-warnings 0
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/lint-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'

- name: Install all yarn packages
run: yarn --frozen-lockfile
- name: Set up Javascript environment
uses: ./.github/actions/setup-javascript

- name: Prettier
run: yarn lint:json
10 changes: 2 additions & 8 deletions .github/workflows/lint-md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'

- name: Install all yarn packages
run: yarn --frozen-lockfile
- name: Set up Javascript environment
uses: ./.github/actions/setup-javascript

- name: Prettier
run: yarn lint:md
10 changes: 2 additions & 8 deletions .github/workflows/lint-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Install native Ruby dependencies
run: sudo apt-get install -y libicu-dev libidn11-dev

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Set up Ruby environment
uses: ./.github/actions/setup-ruby

- name: Set-up RuboCop Problem Matcher
uses: r7kamura/rubocop-problem-matchers-action@v1
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/lint-yml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'

- name: Install all yarn packages
run: yarn --frozen-lockfile
- name: Set up Javascript environment
uses: ./.github/actions/setup-javascript

- name: Prettier
run: yarn lint:yml
10 changes: 2 additions & 8 deletions .github/workflows/test-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'

- name: Install all yarn packages
run: yarn --frozen-lockfile
- name: Set up Javascript environment
uses: ./.github/actions/setup-javascript

- name: Jest testing
run: yarn jest --reporters github-actions summary
12 changes: 2 additions & 10 deletions .github/workflows/test-migrations-one-step.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install native Ruby dependencies
run: |
sudo apt-get update
sudo apt-get install -y libicu-dev libidn11-dev

- name: Set up bundler cache
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Set up Ruby environment
uses: ./.github/actions/setup-ruby

- name: Create database
run: './bin/rails db:create'
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/test-migrations-two-step.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install native Ruby dependencies
run: |
sudo apt-get update
sudo apt-get install -y libicu-dev libidn11-dev

- name: Set up bundler cache
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Set up Ruby environment
uses: ./.github/actions/setup-ruby

- name: Create database
run: './bin/rails db:create'
Expand Down
Loading
Loading