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

Upstream 20240109 #961

Merged
merged 90 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
d94b2b1
Update dependency rubocop-rails to v2.28.0 (#33397)
renovate[bot] Jan 2, 2025
79cfffd
Update dependency postcss-preset-env to v10.1.3 (#33415)
renovate[bot] Jan 2, 2025
7c50e53
Update dependency bufferutil to v4.0.9 (#33414)
renovate[bot] Jan 2, 2025
441dcd7
Fix intermittent failure on ap/activity/create spec timestamp check (…
mjankowski Jan 2, 2025
2846686
Update dependency csv to v3.3.2 (#33381)
renovate[bot] Jan 2, 2025
ba18289
New Crowdin Translations (automated) (#33378)
github-actions[bot] Jan 2, 2025
7b5adb0
Update dependency pino to v9.6.0 (#33386)
renovate[bot] Jan 2, 2025
a9f2e26
Update dependency ox to v2.14.19 (#33398)
renovate[bot] Jan 2, 2025
ca06156
Update Yarn to v4.6.0 (#33417)
renovate[bot] Jan 2, 2025
f9fef98
Fix intermittent failure on ap/activity/update spec timestamp check (…
ClearlyClaire Jan 2, 2025
68bfa7a
Fix WebUI erroneously stopping to offer expanding search results afte…
ClearlyClaire Jan 2, 2025
2e93678
Convert `admin/rules` spec controller->system (#33377)
mjankowski Jan 2, 2025
655c4a5
Fix processing of incoming notifications for unfilterable types (#33429)
ClearlyClaire Jan 2, 2025
3201485
Fix favorite & bookmark text toggle in timeline, status and image vie…
gunchleoc Jan 2, 2025
00a8a54
Convert `admin/relays` spec controller->system (#33430)
mjankowski Jan 2, 2025
a557f9b
Fix keyboard shortcut for open status (#33419)
tribela Jan 2, 2025
1fbd106
Convert `admin/report_notes` spec controller->system (#33433)
mjankowski Jan 2, 2025
8e3fd1b
Convert `disputes/appeals` spec controller->system (#33434)
mjankowski Jan 2, 2025
590b7b2
Use bundler version 2.6.2 (#33436)
mjankowski Jan 3, 2025
a8a1669
New Crowdin Translations (automated) (#33439)
github-actions[bot] Jan 3, 2025
7cbdcd7
Add role-specific user fabricators (#33437)
mjankowski Jan 3, 2025
79a9069
Add `t` hotkey for post translations (#33441)
ClearlyClaire Jan 3, 2025
ed04547
Fix Renovate by temporarily constraining it to Ruby 3.3 (#33440)
ClearlyClaire Jan 3, 2025
098dd91
Update dependency typescript to v5.7.2 (#33059)
renovate[bot] Jan 3, 2025
6ffa251
Update dependency net-http to '~> 0.6.0' (#33130)
renovate[bot] Jan 3, 2025
839a4e2
Fix incorrect `relationship_severance_event` attribute name in change…
ClearlyClaire Jan 3, 2025
f9582bc
Localize language names (#33402)
c960657 Jan 3, 2025
5358662
Update `rails` to version 8.0.1 (#32357)
mjankowski Jan 3, 2025
7d6da21
Remove old notifications actions and reducers (#31843)
ClearlyClaire Jan 3, 2025
02fe176
Fix audio player modal having white-on-white buttons in light theme (…
ClearlyClaire Jan 3, 2025
af7d6e5
Replace deprecated `STATS_DIRECTORIES` with `Rails::CodeStatistics.re…
mjankowski Jan 3, 2025
9712518
Refactor status `handleClick` and `handleHotkeyOpen` handlers (#33435)
ClearlyClaire Jan 3, 2025
9b82bed
Only register stats dirs when command available (#33454)
mjankowski Jan 4, 2025
3bdfa3e
Added validator for extra profile field values with empty name (#33421)
timothyjrogers Jan 4, 2025
f16fbc0
Use configured limit for number of profile fields (#33463)
zunda Jan 6, 2025
081244f
Update dependency sass to v1.83.1 (#33453)
renovate[bot] Jan 6, 2025
c0f5705
Update dependency uuid to v11.0.4 (#33464)
renovate[bot] Jan 6, 2025
c93c1f3
New Crowdin Translations (automated) (#33451)
github-actions[bot] Jan 6, 2025
612d618
Fix `/share` not using server-set characters limit (#33459)
kescherCode Jan 6, 2025
08dd11f
Use `in_order_of` with `filter: false` in `AccountSummary.localized` …
mjankowski Jan 6, 2025
dbbf450
Fix `fediverse:creator` metadata not showing up in REST API (#33466)
ClearlyClaire Jan 6, 2025
ea9b10d
Fix error 500 when passing an invalid `lang` parameter (#33467)
ClearlyClaire Jan 6, 2025
c692f69
Fix color contrast in report modal (#33468)
ClearlyClaire Jan 6, 2025
e8672e2
Further remove old notifications code (#33465)
ClearlyClaire Jan 6, 2025
1eb752f
Extract constants for `AnnualReport::*` minimum thresholds (#33469)
mjankowski Jan 6, 2025
4cf031e
Extricate `Invite` constants for code generation (#33472)
mjankowski Jan 6, 2025
ef39398
Add `urgent` scope and `by_version` method to `SoftwareUpdate` (#33470)
mjankowski Jan 6, 2025
24554bb
Use `ubuntu-latest` for all GH actions runners (#33473)
mjankowski Jan 6, 2025
fbd2833
Avoid "double icon" near each other in nav sidebar (#33449)
mjankowski Jan 6, 2025
82d2ce2
Convert `admin/warning_presets` spec controller->system (#33474)
mjankowski Jan 6, 2025
b0634b2
Add helpers for ios/android app store links in welcome mailer (#33475)
mjankowski Jan 6, 2025
efcd4ea
Reference value constants from specs (#33479)
mjankowski Jan 6, 2025
dd937e1
Use `distributable?` method in admin/status_policy method (#33477)
mjankowski Jan 7, 2025
edf62d4
Add `self_editing?` method to user role policy (#33476)
mjankowski Jan 7, 2025
9715bd7
New Crowdin Translations (automated) (#33480)
github-actions[bot] Jan 7, 2025
8233293
Update DefinitelyTyped types (non-major) (#33220)
renovate[bot] Jan 7, 2025
c12b85e
Fix Style/MultipleComparison (#33313)
nschonni Jan 7, 2025
82e046e
Fix preview card sizing in “Author attribution” in profile settings (…
ClearlyClaire Jan 7, 2025
927c7bb
Use ruby version 3.4.1 (#33304)
mjankowski Jan 7, 2025
fdfbf6e
Set statement timeout to zero in maintenance CLI (#33484)
mjankowski Jan 7, 2025
fd7bcfa
Update dependency rubocop-performance to v1.23.1 (#33486)
renovate[bot] Jan 7, 2025
7d6fd68
Update dependency test-prof to v1.4.4 (#33487)
renovate[bot] Jan 7, 2025
5c4e224
Comment sidekiq build in docker compose (#33483)
NoelDeMartin Jan 7, 2025
e0863fd
Update peter-evans/create-pull-request action to v7.0.6 (#33492)
renovate[bot] Jan 7, 2025
5bbcb1b
Update dependency fastimage to v2.4.0 (#33491)
renovate[bot] Jan 7, 2025
bbe9dcf
Update dependency aws-sdk-s3 to v1.177.0 (#33490)
renovate[bot] Jan 7, 2025
7ad44e2
Remove role color highlighting from custom css (#33493)
mjankowski Jan 7, 2025
b3243ef
Refer to constant values from `api/v1/apps` request spec (#33488)
mjankowski Jan 7, 2025
c0264c8
Extend custom CSS cache time with digest paths (#33207)
mjankowski Jan 8, 2025
c3fc12c
Update dependency rubyzip to v2.4.1 (#33494)
renovate[bot] Jan 8, 2025
b6c2923
Convert `settings/migration` spec controller->system (#33496)
mjankowski Jan 8, 2025
0c69051
Convert `auth/challenges` spec controller->request (#33495)
mjankowski Jan 8, 2025
35e5713
New Crowdin Translations (automated) (#33500)
github-actions[bot] Jan 8, 2025
ee1cbda
Update opentelemetry-ruby (non-major) (#33501)
renovate[bot] Jan 8, 2025
242221c
Update dependency connection_pool to v2.5.0 (#33503)
renovate[bot] Jan 8, 2025
5a14206
Update opentelemetry-ruby (non-major) (#33506)
renovate[bot] Jan 8, 2025
6a351e2
Update dependency core-js to v3.40.0 (#33504)
renovate[bot] Jan 8, 2025
67a8d46
Unpin peter-evans/create-pull-request to v7 (#30817)
nschonni Jan 8, 2025
a16d83f
Update Node.js to 22.13 (#33502)
renovate[bot] Jan 8, 2025
d34e9ea
Update dependency @reduxjs/toolkit to v2.5.0 (#33102)
renovate[bot] Jan 8, 2025
2c36283
Refresh `README.md` (#32143)
Lamparter Jan 8, 2025
15669fc
Include time portion in formatted datetimes when provided (#33191)
ThisIsMissEm Jan 8, 2025
f22a2aa
Add `Account#remote?` query method (#33508)
mjankowski Jan 8, 2025
78e0d6a
Extract development section from top-level readme into standalone doc…
mjankowski Jan 8, 2025
1bf6195
Fix use of deprecated `Iterable.isIndexed` from immutable (#33510)
ClearlyClaire Jan 8, 2025
6b1ea8d
Require specific subtype of `formatMessage` in `timeAgoString` (#33511)
ClearlyClaire Jan 8, 2025
3c7f3b1
Update formatjs monorepo (#32774)
renovate[bot] Jan 8, 2025
d35fa72
Merge remote-tracking branch 'parent/main' into upstream-20240109
kmycode Jan 9, 2025
2d4d0fd
Fix test
kmycode Jan 9, 2025
75b56ad
Fix test
kmycode Jan 9, 2025
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 .github/ISSUE_TEMPLATE/3.troubleshooting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ body:
value: |
Please at least include those informations:
- Operating system: (eg. Ubuntu 22.04)
- Ruby version: (from `ruby --version`, eg. v3.3.5)
- Ruby version: (from `ruby --version`, eg. v3.4.1)
- Node.js version: (from `node --version`, eg. v20.18.0)
validations:
required: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ permissions:

jobs:
check-i18n:
runs-on: ubuntu-24.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/crowdin-download-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

# Create or update the pull request
- name: Create Pull Request
uses: peter-evans/[email protected].5
uses: peter-evans/[email protected].6
with:
commit-message: 'New Crowdin translations'
title: 'New Crowdin Translations for ${{ github.base_ref || github.ref_name }} (automated)'
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ jobs:
matrix:
ruby-version:
- '3.2'
- '3.3'
- '.ruby-version'
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -178,7 +179,7 @@ jobs:

test-libvips:
name: Libvips tests
runs-on: ubuntu-24.04
runs-on: ubuntu-latest

needs:
- build
Expand Down Expand Up @@ -230,6 +231,7 @@ jobs:
matrix:
ruby-version:
- '3.2'
- '3.3'
- '.ruby-version'
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -309,6 +311,7 @@ jobs:
matrix:
ruby-version:
- '3.2'
- '3.3'
- '.ruby-version'

steps:
Expand Down Expand Up @@ -425,6 +428,7 @@ jobs:
matrix:
ruby-version:
- '3.2'
- '3.3'
- '.ruby-version'
search-image:
- docker.elastic.co/elasticsearch/elasticsearch:7.17.13
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.12
22.13
3 changes: 0 additions & 3 deletions .rubocop/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ Style/IfUnlessModifier:
Style/KeywordArgumentsMerging:
Enabled: false

Style/MultipleComparison:
Enabled: false

Style/NumericLiterals:
AllowedPatterns:
- \d{4}_\d{2}_\d{2}_\d{6}
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.6
3.4.1
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ The following changelog entries focus on changes visible to users, administrator
- **Add notifications of severed relationships** (#27511, #29665, #29668, #29670, #29700, #29714, #29712, and #29731 by @ClearlyClaire and @Gargron)\
Notify local users when they lose relationships as a result of a local moderator blocking a remote account or server, allowing the affected user to retrieve the list of broken relationships.\
Note that this does not notify remote users.\
This adds the `severed_relationships` notification type to the REST API and streaming, with a new [`relationship_severance_event` attribute](https://docs.joinmastodon.org/entities/Notification/#relationship_severance_event).
This adds the `severed_relationships` notification type to the REST API and streaming, with a new [`event` attribute](https://docs.joinmastodon.org/entities/Notification/#relationship_severance_event).
- **Add hover cards in web UI** (#30754, #30864, #30850, #30879, #30928, #30949, #30948, #30931, and #31300 by @ClearlyClaire, @Gargron, and @renchap)\
Hovering over an avatar or username will now display a hover card with the first two lines of the user's description and their first two profile fields.\
This can be disabled in the “Animations and accessibility” section of the preferences.
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
ARG TARGETPLATFORM=${TARGETPLATFORM}
ARG BUILDPLATFORM=${BUILDPLATFORM}

# Ruby image to use for base image, change with [--build-arg RUBY_VERSION="3.3.x"]
# Ruby image to use for base image, change with [--build-arg RUBY_VERSION="3.4.x"]
# renovate: datasource=docker depName=docker.io/ruby
ARG RUBY_VERSION="3.3.6"
ARG RUBY_VERSION="3.4.1"
# # 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="22"
# Debian image to use for base image, change with [--build-arg DEBIAN_VERSION="bookworm"]
ARG DEBIAN_VERSION="bookworm"
# Node image to use for base image based on combined variables (ex: 20-bookworm-slim)
FROM docker.io/node:${NODE_MAJOR_VERSION}-${DEBIAN_VERSION}-slim AS node
# Ruby image to use for base image based on combined variables (ex: 3.3.x-slim-bookworm)
# Ruby image to use for base image based on combined variables (ex: 3.4.x-slim-bookworm)
FROM docker.io/ruby:${RUBY_VERSION}-slim-${DEBIAN_VERSION} AS ruby

# Resulting version string is vX.X.X-MASTODON_VERSION_PRERELEASE+MASTODON_VERSION_METADATA
Expand Down
14 changes: 7 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# frozen_string_literal: true

source 'https://rubygems.org'
ruby '>= 3.2.0'
ruby '>= 3.2.0', '< 3.5.0'

gem 'propshaft'
gem 'puma', '~> 6.3'
gem 'rack', '~> 2.2.7'
gem 'rails', '~> 7.2.0'
gem 'rails', '~> 8.0'
gem 'thor', '~> 1.2'

gem 'dotenv'
Expand Down Expand Up @@ -73,13 +73,13 @@ gem 'public_suffix', '~> 6.0'
gem 'pundit', '~> 2.3'
gem 'rack-attack', '~> 6.6'
gem 'rack-cors', '~> 2.0', require: 'rack/cors'
gem 'rails-i18n', '~> 7.0'
gem 'rails-i18n', '~> 8.0'
gem 'redcarpet', '~> 3.6'
gem 'redis', '~> 4.5', require: ['redis', 'redis/connection/hiredis']
gem 'redis-namespace', '~> 1.10'
gem 'rqrcode', '~> 2.2'
gem 'ruby-progressbar', '~> 1.13'
gem 'sanitize', '~> 6.0'
gem 'sanitize', '~> 7.0'
gem 'scenic', '~> 1.7'
gem 'sidekiq', '~> 6.5'
gem 'sidekiq-bulk', '~> 0.2.0'
Expand Down Expand Up @@ -108,7 +108,7 @@ group :opentelemetry do
gem 'opentelemetry-instrumentation-active_model_serializers', '~> 0.21.0', require: false
gem 'opentelemetry-instrumentation-concurrent_ruby', '~> 0.21.2', require: false
gem 'opentelemetry-instrumentation-excon', '~> 0.22.0', require: false
gem 'opentelemetry-instrumentation-faraday', '~> 0.24.1', require: false
gem 'opentelemetry-instrumentation-faraday', '~> 0.25.0', require: false
gem 'opentelemetry-instrumentation-http', '~> 0.23.2', require: false
gem 'opentelemetry-instrumentation-http_client', '~> 0.22.3', require: false
gem 'opentelemetry-instrumentation-net_http', '~> 0.22.4', require: false
Expand Down Expand Up @@ -183,7 +183,7 @@ group :development do
gem 'letter_opener_web', '~> 3.0'

# Security analysis CLI tools
gem 'brakeman', '~> 6.0', require: false
gem 'brakeman', '~> 7.0', require: false
gem 'bundler-audit', '~> 0.9', require: false

# Linter CLI for HAML files
Expand Down Expand Up @@ -222,7 +222,7 @@ gem 'concurrent-ruby', require: false
gem 'connection_pool', require: false
gem 'xorcist', '~> 1.1'

gem 'net-http', '~> 0.5.0'
gem 'net-http', '~> 0.6.0'
gem 'rubyzip', '~> 2.3'

gem 'hcaptcha', '~> 7.1'
Expand Down
Loading
Loading