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/mastodon main branch #1564

Merged
merged 45 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
69b8a0b
Collect errors in setup rake task (#33603)
mjankowski Jan 16, 2025
da20877
Update opentelemetry-ruby (non-major) (#33613)
renovate[bot] Jan 16, 2025
9e2f930
Update dependency aws-sdk-s3 to v1.178.0 (#33611)
renovate[bot] Jan 16, 2025
29b355b
Update dependency concurrent-ruby to v1.3.5 (#33610)
renovate[bot] Jan 16, 2025
a191414
Move clear environment portion of `mastodon:setup` to private method …
mjankowski Jan 16, 2025
3af6739
Add coverage for `AnnualReport.prepare` method (#33618)
mjankowski Jan 16, 2025
a3baae0
API for updating attribution domains (#32730)
c960657 Jan 17, 2025
febdfef
Update formatjs monorepo (#33627)
renovate[bot] Jan 17, 2025
092e60e
Change activity distribution error handling to skip retrying for dele…
ClearlyClaire Jan 17, 2025
531ca4b
Update dependency tzinfo-data to v1.2025.1 (#33625)
renovate[bot] Jan 17, 2025
1c23ebd
New Crowdin Translations (automated) (#33626)
github-actions[bot] Jan 17, 2025
5be938e
Migrate visibility interaction checks on statuses to request spec (#3…
mjankowski Jan 17, 2025
b37e48d
Revert "Update dependency aws-sdk-s3 to v1.178.0 (#33611)" (#33628)
ClearlyClaire Jan 17, 2025
ab4874f
Further harden the warnings against changing encryption secrets (#33631)
ClearlyClaire Jan 17, 2025
bc63f2b
Update CONTRIBUTING doc with various clarifications (#33517)
mjankowski Jan 17, 2025
4bd969e
Fix broken `CONTRIBUTING` link in `DEVELOPMENT` (#33637)
larouxn Jan 17, 2025
329a9e1
New Crowdin Translations (automated) (#33643)
github-actions[bot] Jan 20, 2025
8962f11
Add warning when selected and detected language is different in web U…
Gargron Jan 20, 2025
ac59ed3
Fix re-encoding of high-framerate VFR videos with FFmpeg 6+ (#33634)
ClearlyClaire Jan 20, 2025
a0c76f6
Update dependency i18n to v1.14.7 (#33650)
renovate[bot] Jan 20, 2025
2deab34
Update dependency nokogiri to v1.18.2 (#33651)
renovate[bot] Jan 20, 2025
7f866da
Update formatjs monorepo (#33652)
renovate[bot] Jan 20, 2025
004e120
Update dependency selenium-webdriver to v4.28.0 (#33667)
renovate[bot] Jan 21, 2025
7543c90
Use bundler version 2.6.3 (#33658)
mjankowski Jan 21, 2025
45149cd
Use `expect` for nested params in `auth/setup#update` (#33657)
mjankowski Jan 21, 2025
9e90248
New Crowdin Translations (automated) (#33668)
github-actions[bot] Jan 21, 2025
4ebdfed
Fix opening modals losing some location parameters (#33670)
ClearlyClaire Jan 21, 2025
11786f1
Change design of edit media modal in web UI (#33516)
Gargron Jan 21, 2025
3dcf5e1
Change notifications from moderators to not be filtered (#33654)
ClearlyClaire Jan 21, 2025
e380e80
Order emoji categories (in admin interface) by name (#33630)
ShadowJonathan Jan 22, 2025
2a6a418
Update dependency irb to v1.15.1 (#33674)
renovate[bot] Jan 22, 2025
d2cc288
Use `expect` for nested params in more controllers (#33675)
mjankowski Jan 22, 2025
38c27a7
New Crowdin Translations (automated) (#33679)
github-actions[bot] Jan 22, 2025
8b24085
Refactor `<DomainPill>` into TypeScript (#33680)
Gargron Jan 22, 2025
e155aab
Use `expect` for nested params in `settings/*` controllers (#33673)
mjankowski Jan 22, 2025
b18caff
Change `first_of_value` to `first_of_hash`, and add more test cases (…
ShadowJonathan Jan 22, 2025
607f65a
Use `expect` for api/v1 and api/web push subs controllers (#33682)
mjankowski Jan 22, 2025
8dcfd3f
Fix WebUI crash when language detection code returns `undefined` (#33…
ClearlyClaire Jan 22, 2025
a6fc776
Change `mastodon:setup` to prevent overwriting already-configured ser…
ClearlyClaire Jan 22, 2025
4a9c49e
Fix issue with saving empty fields values on profile update (#33689)
mjankowski Jan 22, 2025
8eee7ae
Fix issue with saving empty fields values on filter keyword updates (…
mjankowski Jan 23, 2025
3178acc
Fix language detection taking mentions and URLs into account (#33700)
ClearlyClaire Jan 23, 2025
db14604
Convert `LanguageDropdown` to a functional component (#33701)
ClearlyClaire Jan 23, 2025
0885c31
Add information about alt text to alt text modal in web UI (#33702)
Gargron Jan 23, 2025
ed40fcc
Merge remote-tracking branch 'mastodon/main' into merge/mastodon-main…
S-H-GAMELINKS Jan 23, 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 .env.production.sample
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ OTP_SECRET=
# Must be available (and set to same values) for all server processes
# These are private/secret values, do not share outside hosting environment
# Use `bin/rails db:encryption:init` to generate fresh secrets
# Do not change these secrets once in use, as this would cause data loss and other issues
# Do NOT change these secrets once in use, as this would cause data loss and other issues
# ------------------
# ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=
# ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=
Expand Down
58 changes: 43 additions & 15 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,49 +9,77 @@ You can contribute in the following ways:
- Contributing code to Mastodon by fixing bugs or implementing features
- Improving the documentation

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 and the [DEVELOPMENT] guide for environment-specific details.

[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).
Any changes or additions made to the API should have an accompanying pull
request on our [documentation repository].

## Bug reports
## Bug Reports

Bug reports and feature suggestions must use descriptive and concise titles and be submitted to [GitHub Issues](https://github.com/mastodon/mastodon/issues). Please use the search function to make sure that you are not submitting duplicates, and that a similar report or request has not already been resolved or rejected.
Bug reports and feature suggestions must use descriptive and concise titles and
be submitted to [GitHub Issues]. Please use the search function to make sure
there are not duplicate bug reports or feature requests.

## Translations

You can submit translations via [Crowdin](https://crowdin.com/project/mastodon). They are periodically merged into the codebase.
Translations are community contributed via [Crowdin]. They are periodically
reviewed and merged into the codebase.

[![Crowdin](https://d322cqt584bo4o.cloudfront.net/mastodon/localized.svg)](https://crowdin.com/project/mastodon)

## Pull requests
## Pull Requests

### Size and Scope

Our time is limited and PRs making large, unsolicited changes are unlikely to
get a response. Changes which link to an existing confirmed issue, or which come
from a "help wanted" issue or other request are more likely to be reviewed.

**Please use clean, concise titles for your pull requests.** Unless the pull request is about refactoring code, updating dependencies or other internal tasks, assume that the person reading the pull request title is not a programmer or Mastodon developer, but instead a Mastodon user or server administrator, and **try to describe your change or fix from their perspective**. We use commit squashing, so the final commit in the main branch will carry the title of the pull request, and commits from the main branch are fed into the changelog. The changelog is separated into [keepachangelog.com categories](https://keepachangelog.com/en/1.0.0/), and while that spec does not prescribe how the entries ought to be named, for easier sorting, start your pull request titles using one of the verbs "Add", "Change", "Deprecate", "Remove", or "Fix" (present tense).
The smaller and more narrowly focused the changes in a PR are, the easier they
are to review and potentially merge. If the change only makes sense in some
larger context of future ongoing work, note that in the description, but still
aim to keep each distinct PR to a "smallest viable change" chunk of work.

### Description of Changes

Unless the Pull Request is about refactoring code, updating dependencies or
other internal tasks, assume that the audience are not developers, but a
Mastodon user or server admin, and try to describe it from their perspective.

The final commit in the main branch will carry the title from the PR. The main
branch is then fed into the changelog and ultimately into release notes. We try
to follow the [keepachangelog] spec, and while that does not prescribe how
exactly the entries ought to be named, starting titles using one of the verbs
"Add", "Change", "Deprecate", "Remove", or "Fix" (present tense) is helpful.

Example:

| Not ideal | Better |
| ------------------------------------ | ------------------------------------------------------------- |
| Fixed NoMethodError in RemovalWorker | Fix nil error when removing statuses caused by race condition |

It is not always possible to phrase every change in such a manner, but it is desired.
### Technical Requirements

**The smaller the set of changes in the pull request is, the quicker it can be reviewed and merged.** Splitting tasks into multiple smaller pull requests is often preferable.

**Pull requests that do not pass automated checks may not be reviewed**. In particular, you need to keep in mind:
Pull requests that do not pass automated checks on CI may not be reviewed. In
particular, please keep in mind:

- Unit and integration tests (rspec, jest)
- Code style rules (rubocop, eslint)
- Normalization of locale files (i18n-tasks)
- Relevant accessibility or performance concerns

## Documentation

The [Mastodon documentation](https://docs.joinmastodon.org) is a statically generated site. You can [submit merge requests to mastodon/documentation](https://github.com/mastodon/documentation).
The [Mastodon documentation] is a statically generated site that contains guides
and API docs. Improvements are made via PRs to the [documentation repository].

[contribution guidelines]: https://github.com/mastodon/.github/blob/main/CONTRIBUTING.md
[Crowdin]: https://crowdin.com/project/mastodon
[DEVELOPMENT]: docs/DEVELOPMENT.md
[documentation repository]: https://github.com/mastodon/documentation
[GitHub Issues]: https://github.com/mastodon/mastodon/issues
[keepachangelog]: https://keepachangelog.com/en/1.0.0/
[Mastodon documentation]: https://docs.joinmastodon.org
26 changes: 13 additions & 13 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -105,19 +105,19 @@ gem 'opentelemetry-api', '~> 1.4.0'

group :opentelemetry do
gem 'opentelemetry-exporter-otlp', '~> 0.29.0', require: false
gem 'opentelemetry-instrumentation-active_job', '~> 0.7.1', require: false
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.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
gem 'opentelemetry-instrumentation-pg', '~> 0.29.0', require: false
gem 'opentelemetry-instrumentation-rack', '~> 0.25.0', require: false
gem 'opentelemetry-instrumentation-rails', '~> 0.34.0', require: false
gem 'opentelemetry-instrumentation-redis', '~> 0.25.3', require: false
gem 'opentelemetry-instrumentation-sidekiq', '~> 0.25.2', require: false
gem 'opentelemetry-instrumentation-active_job', '~> 0.8.0', require: false
gem 'opentelemetry-instrumentation-active_model_serializers', '~> 0.22.0', require: false
gem 'opentelemetry-instrumentation-concurrent_ruby', '~> 0.22.0', require: false
gem 'opentelemetry-instrumentation-excon', '~> 0.23.0', require: false
gem 'opentelemetry-instrumentation-faraday', '~> 0.26.0', require: false
gem 'opentelemetry-instrumentation-http', '~> 0.24.0', require: false
gem 'opentelemetry-instrumentation-http_client', '~> 0.23.0', require: false
gem 'opentelemetry-instrumentation-net_http', '~> 0.23.0', require: false
gem 'opentelemetry-instrumentation-pg', '~> 0.30.0', require: false
gem 'opentelemetry-instrumentation-rack', '~> 0.26.0', require: false
gem 'opentelemetry-instrumentation-rails', '~> 0.35.0', require: false
gem 'opentelemetry-instrumentation-redis', '~> 0.26.0', require: false
gem 'opentelemetry-instrumentation-sidekiq', '~> 0.26.0', require: false
gem 'opentelemetry-sdk', '~> 1.4', require: false
end

Expand Down
Loading
Loading