]> cat aescling's git repositories - mastodon.git/commitdiff
Merge branch 'main' into glitch-soc/merge-upstream
authorClaire <claire.github-309c@sitedethib.com>
Fri, 26 Nov 2021 21:53:55 +0000 (22:53 +0100)
committerClaire <claire.github-309c@sitedethib.com>
Fri, 26 Nov 2021 21:53:55 +0000 (22:53 +0100)
Conflicts:
- `.env.production.sample`:
  Copied upstream changes.
- `app/controllers/settings/identity_proofs_controller.rb`:
  Minor conflict due to glitch-soc's extra “enable_keybase” setting.
  Upstream removed keybase support altogether, so did the same.
- `app/controllers/well_known/keybase_proof_config_controller.rb`:
  Minor conflict due to glitch-soc's extra “enable_keybase” setting.
  Upstream removed keybase support altogether, so did the same.
- `lib/mastodon/statuses_cli.rb`:
  Minor conflict due to an optimization that wasn't shared between
  the two versions. Copied upstream's version.

18 files changed:
1  2 
.env.production.sample
Gemfile
Gemfile.lock
app/javascript/styles/mastodon/components.scss
app/lib/activitypub/adapter.rb
app/models/form/admin_settings.rb
app/views/admin/settings/edit.html.haml
config/locales-glitch/en.yml
config/locales-glitch/es.yml
config/locales-glitch/ja.yml
config/locales-glitch/ko.yml
config/locales-glitch/zh-CN.yml
config/navigation.rb
config/routes.rb
config/settings.yml
db/schema.rb
package.json
yarn.lock

index 86f770e7860e271dcbaf4bcc1581a7cfd2b85cc7,8eeff3794aa062699bc60b873416a134bfdedd42..13e89b40d27eb0845e6c57db6a7eb57773886421
@@@ -55,19 -29,18 +55,20 @@@ DB_NAME=mastodon_productio
  DB_PASS=
  DB_PORT=5432
  
- # ElasticSearch (optional)
 +
+ # Elasticsearch (optional)
  # ------------------------
 -ES_ENABLED=true
 -ES_HOST=localhost
 -ES_PORT=9200
 +#ES_ENABLED=true
 +#ES_HOST=localhost
 +#ES_PORT=9200
  # Authentication for ES (optional)
 -ES_USER=elastic
 -ES_PASS=password
 +#ES_USER=elastic
 +#ES_PASS=password
 +
  # Secrets
  # -------
 -# Make sure to use `rake secret` to generate secrets
 +# Generate each with the `RAILS_ENV=production bundle exec rake secret` task (`docker-compose run --rm web bundle exec rake secret` if you use docker compose)
  # -------
  SECRET_KEY_BASE=
  OTP_SECRET=
diff --cc Gemfile
Simple merge
diff --cc Gemfile.lock
Simple merge
Simple merge
index 0276ec058e19ced5fa03f1034f0817d6851ec142,6fc7c56fddb9c373fca875e4320ee1e90132b782..3202d1fc246908055e1e4b8d0b443e38d9b8894f
@@@ -26,9 -25,6 +26,8 @@@ class Form::AdminSetting
      preview_sensitive_media
      custom_css
      profile_directory
-     enable_keybase
 +    hide_followers_count
 +    flavour_and_skin
      thumbnail
      hero
      mascot
      show_known_fediverse_at_about_page
      preview_sensitive_media
      profile_directory
-     enable_keybase
 +    hide_followers_count
 +    show_reblogs_in_public_timelines
 +    show_replies_in_public_timelines
      trends
      trendable_by_default
      noindex
index 373811ea3b834ea7a108ae66ac924b5fa4641ef2,33bfc43d37171c17e31f3cc6f8428bbc54f65465..b9daae8f05b7660636f551f3acb809609b57ca12
      .fields-group
        = f.input :noindex, as: :boolean, wrapper: :with_label, label: t('admin.settings.default_noindex.title'), hint: t('admin.settings.default_noindex.desc_html')
  
-   .fields-group
-     = f.input :enable_keybase, as: :boolean, wrapper: :with_label, label: t('admin.settings.enable_keybase.title'), hint: t('admin.settings.enable_keybase.desc_html')
 +  .fields-group
 +    = f.input :hide_followers_count, as: :boolean, wrapper: :with_label, label: t('admin.settings.hide_followers_count.title'), hint: t('admin.settings.hide_followers_count.desc_html')
 +
 +  .fields-group
 +    = f.input :show_reblogs_in_public_timelines, as: :boolean, wrapper: :with_label, label: t('admin.settings.show_reblogs_in_public_timelines.title'), hint: t('admin.settings.show_reblogs_in_public_timelines.desc_html')
 +
 +  .fields-group
 +    = f.input :show_replies_in_public_timelines, as: :boolean, wrapper: :with_label, label: t('admin.settings.show_replies_in_public_timelines.title'), hint: t('admin.settings.show_replies_in_public_timelines.desc_html')
 +
    %hr.spacer/
  
    .fields-group
index 6268727a78511e82bb04d81d6820f919de0d4fca,0000000000000000000000000000000000000000..5cc2625fc669685d320940a9ea1b10772c326157
mode 100644,000000..100644
--- /dev/null
@@@ -1,25 -1,0 +1,23 @@@
-     dashboard:
-       keybase: Keybase integration
 +---
 +en:
 +  admin:
 +    settings:
 +      enable_keybase:
 +        desc_html: Allow your users to prove their identity via keybase
 +        title: Enable keybase integration
 +      outgoing_spoilers:
 +        desc_html: When federating toots, add this content warning to toots that do not have one. It is useful if your server is specialized in content other servers might want to have under a Content Warning. Media will also be marked as sensitive.
 +        title: Content warning for outgoing toots
 +      hide_followers_count:
 +        desc_html: Do not show followers count on user profiles
 +        title: Hide followers count
 +      show_reblogs_in_public_timelines:
 +        desc_html: Show public boosts of public toots in local and public timelines.
 +        title: Show boosts in public timelines
 +      show_replies_in_public_timelines:
 +        desc_html: In addition to public self-replies (threads), show public replies in local and public timelines.
 +        title: Show replies in public timelines
 +  generic:
 +    use_this: Use this
 +  settings:
 +    flavours: Flavours
index 7e8de156001e9b4a54467a5716143a3758725e4f,0000000000000000000000000000000000000000..ad942a0c08000905a3f1a89492ae88a133e0958a
mode 100644,000000..100644
--- /dev/null
@@@ -1,25 -1,0 +1,23 @@@
-     dashboard:
-       keybase: Integración con keybase
 +---
 +es:
 +  admin:
-     flavours: Ediciones
 +    settings:
 +      enable_keybase:
 +        desc_html: Permite a tus usuarixs comprobar su identidad por medio de keybase
 +        title: Habilitar la integración con keybase
 +      outgoing_spoilers:
 +        desc_html: Cuando los toots federen, agrega esta etiqueta de contenido a los toots que no tengan. Es útil si tu servidor se especializa en contenido que otros servidores desearían tener con una advertencia de contenido. Los medios también se marcarán como sensibles.
 +        title: Advertencia de contenido para los toots salientes
 +      hide_followers_count:
 +        desc_html: No mostrar el conteo de seguidorxs en perfiles de usuarix
 +        title: Ocultar conteo de seguidorxs
 +      show_reblogs_in_public_timelines:
 +        desc_html: Mostrar retoots públicos en las línea de tiempo local y pública.
 +        title: Mostrar retoots en líneas de tiempo públicas
 +      show_replies_in_public_timelines:
 +        desc_html: Además de auto-respuestas públicas (hilos), mostrar respuestas públicas en las línea de tiempo local y pública.
 +        title: Mostrar respuestas en líneas de tiempo públicas
 +  generic:
 +    use_this: Usar
 +  settings:
++    flavours: Ediciones
index 2be4e9ea04f9307f0b5e37b1331fb7b1c202373d,0000000000000000000000000000000000000000..3ecb46ccdc026c30bcb68768eacbc053457e4f3a
mode 100644,000000..100644
--- /dev/null
@@@ -1,25 -1,0 +1,23 @@@
-     dashboard:
-       keybase: Keybase統合
 +---
 +ja:
 +  admin:
 +    settings:
 +      enable_keybase:
 +        desc_html: Keybaseにより身元の証明が可能となります
 +        title: Keybase統合を有効にする
 +      outgoing_spoilers:
 +        desc_html: トゥートが連合される際、閲覧注意としてマークされていないトゥートにこの警告が追加されます。これはあなたのインスタンスが他のインスタンスに警告をして欲しいとされる投稿に特化している場合に便利です。 メディアは閲覧注意にマークされます。
 +        title: 発信するトゥートへの警告
 +      hide_followers_count:
 +        desc_html: プロフィールページのフォロワー数を見られないようにします
 +        title: フォロワー数を隠す
 +      show_reblogs_in_public_timelines:
 +        desc_html: ローカルタイムラインと連合タイムラインに公開投稿のブーストを表示します
 +        title: 公開タイムラインにブーストを表示
 +      show_replies_in_public_timelines:
 +        desc_html: 自分への公開投稿の返信に加えて、すべての公開投稿の返信をローカルタイムラインと連合タイムラインに表示します。
 +        title: 公開タイムラインに返信を表示
 +  generic:
 +    use_this: これを使う
 +  settings:
 +    flavours: フレーバー
index ae7f091bb00dbfca742a8ec3ef0aa8a660d6611d,0000000000000000000000000000000000000000..aef10f677916a7b315b27f09e5be77ab66ce7481
mode 100644,000000..100644
--- /dev/null
@@@ -1,25 -1,0 +1,23 @@@
-     dashboard:
-       keybase: 키베이스 연동
 +---
 +ko:
 +  admin:
 +    settings:
 +      enable_keybase:
 +        desc_html: 사용자들이 키베이스를 통해 개인 신원을 증명할 수 있도록 허용
 +        title: 키베이스 연동 활성화
 +      outgoing_spoilers:
 +        desc_html: 게시물들을 연합할 때, 열람주의가 달려있지 않다면 이 열람주의를 추가합니다. 다른 서버들이 열람주의를 하길 원하는 콘텐츠들에 특화된 서버에서 유용합니다. 미디어 또한 민감함으로 설정 됩니다.
 +        title: 나가는 게시물에 대한 열람주의
 +      hide_followers_count:
 +        desc_html: 사용자 프로필에 팔로워 수를 표시하지 않습니다
 +        title: 팔로워 수 숨기기
 +      show_reblogs_in_public_timelines:
 +        desc_html: 공개글의 공개적인 부스트를 로컬과 공개 타임라인에 표시합니다.
 +        title: 부스트를 공개 타임라인에 표시
 +      show_replies_in_public_timelines:
 +        desc_html: 자기자신에 대한 답글(글타래)와 마찬가지로, 공개적인 답글을 로컬과 공개 타임라인에 표시합니다.
 +        title: 답글을 공개 타임라인에 표시
 +  generic:
 +    use_this: 사용하기
 +  settings:
 +    flavours: 풍미
index ea1db3eb9e7b730ea202b2b9e26b6e9a939d0cf1,0000000000000000000000000000000000000000..37a8307e8e5bb89bd494208536ed1f0958a7027c
mode 100644,000000..100644
--- /dev/null
@@@ -1,25 -1,0 +1,23 @@@
-     dashboard:
-       keybase: Keybase 集成
 +---
 +zh-CN:
 +  admin:
 +    settings:
 +      enable_keybase:
 +        desc_html: 允许你的用户使用 Keybase 证明身份
 +        title: 启用 Keybase 集成
 +      outgoing_spoilers:
 +        desc_html: 在联邦化嘟文的时候,将这个内容警告添加到没有内容警告的嘟文中。如果你的服务器专用于其他服务器可能希望有内容警告的内容,它会很有用。媒体也将被标记为敏感。
 +        title: 对外嘟文的内容警告
 +      hide_followers_count:
 +        desc_html: 不要在用户资料中显示关注者人数
 +        title: 隐藏关注者人数
 +      show_reblogs_in_public_timelines:
 +        desc_html: 在本地和跨站时间线中显示公开嘟文的公开转嘟。
 +        title: 在公共时间线中显示转嘟
 +      show_replies_in_public_timelines:
 +        desc_html: 除了公开的自我回复(线程模式),在本地和跨站时间轴中显示公开回复。
 +        title: 在公共时间轴中显示回复
 +  generic:
 +    use_this: 使用这个
 +  settings:
 +    flavours: 风味
Simple merge
Simple merge
index 953e7b3eb2188f34284b53a0067ce30442d499a0,06cee253240facd6e845b9d1e54fd7221c4742e2..0942098226c179e5e78dc5dac99e384826f18de1
@@@ -28,14 -27,10 +28,13 @@@ defaults: &default
    preview_sensitive_media: false
    reduce_motion: false
    disable_swiping: false
 -  show_application: true
 +  show_application: false
    system_font_ui: false
 +  system_emoji_font: false
    noindex: false
 -  theme: 'default'
 +  hide_followers_count: false
-   enable_keybase: true
 +  flavour: 'glitch'
 +  skin: 'default'
    aggregate_reblogs: true
    advanced_layout: false
    use_blurhash: true
diff --cc db/schema.rb
Simple merge
diff --cc package.json
Simple merge
diff --cc yarn.lock
Simple merge