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 a2399046ca600d492b492b8dae88011de687bece #2699

Merged
merged 248 commits into from
May 2, 2024

Conversation

ClearlyClaire
Copy link

@ClearlyClaire ClearlyClaire commented May 1, 2024

⚠️ Mastodon requires new environment variables to be set. Set ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY, ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT, and ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY with new secrets (you can call bin/rails db:encryption:init to generate a set of secrets) before restarting Mastodon.

⚠️ Support for Ruby 3.0 has been dropped.

Merge upstream changes up to 02ea161

Conflicts

Conflicts:

  • app/lib/themes.rb
  • app/views/layouts/application.html.haml
  • app/views/layouts/embedded.html.haml
  • app/views/layouts/error.html.haml
  • config/settings.yml

All these conflicts are because glitch-soc and upstream have different theming systems and upstream changed a few things to have dynamic theme selection based on system settings.

Conflicts were solved to take that into account, and current_theme has been changed in the process to return a tuple of [flavour, skin] to be used in the theme_style_tags helper.

Ported changes

Merge upstream changes up to d49343e

Conflicts

None

Ported changes

Merge upstream changes up to 8a498f4

Conflicts

None

Ported changes

Merge upstream changes up to 672c9f5

Conflicts

  • app/helpers/application_helper.rb:
    Conflict due to our theming system being different.
    Ported upstream's changes.

Ported changes

Merge upstream changes up to 90eb4a5

Conflicts

None

Ported changes

Merge upstream changes up to 143d955

Conflicts

  • yarn.lock:
    Upstream updated dependencies textually close to a glitch-soc-only dependency.
    Updated the dependencies as well.

Merge upstream changes up to c70c39c

Ported changes

Merge upstream changes up to d27eb18

Conflicts

  • spec/requests/api/v2/instance_spec.rb:
    Conflict due to glitch-soc having a different default site name.
    Updated the tests as upstream did, keeping glitch-soc's default name.

Ported changes

Merge upstream changes up to 4045c06

Ported changes

Merge upstream changes up to 52ab8a5

Ported changes

Merge upstream changes up to b61ae28

Conflicts

  • app/helpers/application_helper.rb:
    Conflict because of our different theming systems.
    Updated accordingly, along with app/helpers/theme_helper.rb and app/helpers/theme_helper_spec.rb.

Merge upstream changes up to 20b1e55

Ported changes

Merge upstream changes up to 34e826f

Conflicts

  • app/helpers/theme_helper.rb:
    Conflict caused by our different theme systems.
    Ported upstream's changes.
  • app/models/account.rb:
    Upstream basically made a change we already made.
    Moved constant declaration to match upstream.

Ported changes

Merge upstream changes up to 0622107

Ported changes

Merge upstream changes up to a390299

Conflicts

  • app/controllers/accounts_controller.rb:
    Conflict due to glitch-soc's local-only posting feature.
    Refactored as upstream did but kept local changes.
  • app/lib/account_statuses_filter.rb:
    Conflict due to glitch-soc's local-only posting feature.
    Refactored as upstream did but kept local changes.

Merge upstream changes up to ec71c02

Conflicts

  • Gemfile:
    There was an extra newline in glitch-soc for some reason.
    Removed it.

Merge upstream changes up to a15139b

No conflicts nor anything to port.

Merge upstream changes up to a239904

No conflicts nor anything to port.

renchap and others added 30 commits March 26, 2024 09:25
…stem preference) (mastodon#29748)

Co-authored-by: Nishiki Liu <hello@nshki.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: GitHub Actions <noreply@github.com>
ClearlyClaire and others added 26 commits May 1, 2024 17:06
Port fa95740 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Port 0763522 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Port e47a3d0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
…ters

Port b4d991a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
…oc/merge-upstream

Conflicts:
- `spec/requests/api/v2/instance_spec.rb`:
  Conflict due to glitch-soc having a different default site name.
  Updated the tests as upstream did, keeping glitch-soc's default name.
Port 0b9d410 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
…ht theme

Port 5d67247 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Port e284417 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Port c6da3ee to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Port 1c87cb8 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
…oc/merge-upstream

Conflicts:
- `app/helpers/application_helper.rb`:
  Conflict because of our different theming systems.
  Updated accordingly, along with `app/helpers/theme_helper.rb`
  and `app/helpers/theme_helper_spec.rb`.
…and `README.md`)

Port 730e212 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
…oc/merge-upstream

Conflicts:
- `app/helpers/theme_helper.rb`:
  Conflict caused by our different theme systems.
  Ported upstream's changes.
- `app/models/account.rb`:
  Upstream basically made a change we already made.
  Moved constant declaration to match upstream.
Port c386c36 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Port 37d984b to glitch-soc

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
…ld browsers

Port 4117c8f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Port 66ee0d4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
…oc/merge-upstream

Conflicts:
- `app/controllers/accounts_controller.rb`:
  Conflict due to glitch-soc's local-only posting feature.
  Refactored as upstream did but kept local changes.
- `app/lib/account_statuses_filter.rb`:
  Conflict due to glitch-soc's local-only posting feature.
  Refactored as upstream did but kept local changes.
…oc/merge-upstream

Conflicts:
- `Gemfile`:
  There was an extra newline in glitch-soc for some reason.
  Removed it.
@ClearlyClaire ClearlyClaire changed the title Merge upstream changes Merge upstream changes up to a2399046ca600d492b492b8dae88011de687bece May 1, 2024
@ClearlyClaire ClearlyClaire marked this pull request as ready for review May 1, 2024 19:34
@ClearlyClaire ClearlyClaire merged commit e7b0948 into glitch-soc:main May 2, 2024
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants