]> cat aescling's git repositories - mastodon.git/commitdiff
Merge branch 'master' into glitch-soc/merge-upstream
authorThibaut Girka <thib@sitedethib.com>
Thu, 3 Oct 2019 09:10:12 +0000 (11:10 +0200)
committerThibaut Girka <thib@sitedethib.com>
Thu, 3 Oct 2019 09:10:12 +0000 (11:10 +0200)
Conflicts:
- app/models/media_attachment.rb
  Upstream raised max image size from 8MB to 10MB while our limit is
  configurable. Raised the default to 10MB.

18 files changed:
1  2 
.env.production.sample
Gemfile
Gemfile.lock
app/controllers/accounts_controller.rb
app/javascript/mastodon/locales/defaultMessages.json
app/javascript/mastodon/locales/en.json
app/javascript/mastodon/locales/ja.json
app/javascript/mastodon/locales/pl.json
app/javascript/styles/mastodon/components.scss
app/models/account.rb
app/models/media_attachment.rb
app/models/status.rb
app/presenters/instance_presenter.rb
config/locales/en.yml
config/locales/ja.yml
db/schema.rb
lib/mastodon/version.rb
yarn.lock

Simple merge
diff --cc Gemfile
Simple merge
diff --cc Gemfile.lock
Simple merge
index d59b2c7f297fa6db796a33870c1d4a719dca018a,82e73d1489b624e07fde7cc8b7f5ac320365155d..074c791037084faf9a75fceb0e328ca045eecfbe
    "navigation_bar.pins": "固定したトゥート",
    "navigation_bar.preferences": "ユーザー設定",
    "navigation_bar.public_timeline": "連合タイムライン",
 +  "navigation_bar.misc": "その他",
    "navigation_bar.security": "セキュリティ",
-   "notification.and_n_others": "と、他 {count} 件",
+   "notification.and_n_others": "and {count, plural, one {# other} other {# others}}",
    "notification.favourite": "{name}さんがあなたのトゥートをお気に入りに登録しました",
    "notification.follow": "{name}さんにフォローされました",
    "notification.mention": "{name}さんがあなたに返信しました",
Simple merge
index cbe23810b04f4de17d4fdaa01c05ab8acb4ac218,630dab55ae9ab2b4ef416d73400056b13218c742..4f06a40cffa6e286634e500926dce27d9195003e
@@@ -103,8 -115,8 +115,8 @@@ class MediaAttachment < ApplicationReco
      original: VIDEO_FORMAT,
    }.freeze
  
-   IMAGE_LIMIT = (ENV['MAX_IMAGE_SIZE'] || 8.megabytes).to_i
 -  IMAGE_LIMIT = 10.megabytes
 -  VIDEO_LIMIT = 40.megabytes
++  IMAGE_LIMIT = (ENV['MAX_IMAGE_SIZE'] || 10.megabytes).to_i
 +  VIDEO_LIMIT = (ENV['MAX_VIDEO_SIZE'] || 40.megabytes).to_i
  
    belongs_to :account,          inverse_of: :media_attachments, optional: true
    belongs_to :status,           inverse_of: :media_attachments, optional: true
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc db/schema.rb
Simple merge
Simple merge
diff --cc yarn.lock
Simple merge