]> cat aescling's git repositories - mastodon.git/commitdiff
Merge branch 'master' into glitch-soc/merge-upstream
authorThibaut Girka <thib@sitedethib.com>
Mon, 27 Jan 2020 14:46:50 +0000 (15:46 +0100)
committerThibaut Girka <thib@sitedethib.com>
Mon, 27 Jan 2020 14:46:50 +0000 (15:46 +0100)
Conflicts:
- `app/serializers/rest/account_serializer.rb`:
  Upstream added code too close to glitch-soc-specific followers-hiding code.
  Ported upstream changes.

1  2 
Gemfile
Gemfile.lock
app/javascript/styles/mastodon/admin.scss
app/javascript/styles/mastodon/components.scss
app/lib/feed_manager.rb
app/serializers/rest/account_serializer.rb
app/views/directories/index.html.haml
config/locales/en.yml
config/routes.rb
db/schema.rb

diff --cc Gemfile
Simple merge
diff --cc Gemfile.lock
Simple merge
Simple merge
index 657dd36f3b37be2da97243340dc8dda6655a227e,0db1916b0740640cf0ef64eb155da9ab2d5579e6..4e497cdbdd28d3f0a4200bb575d75ab94ae954b3
@@@ -56,7 -56,7 +56,11 @@@ class REST::AccountSerializer < ActiveM
      object.moved? && object.moved_to_account.moved_to_account_id.nil?
    end
  
+   def last_status_at
+     object.last_status_at&.to_date&.iso8601
+   end
++
 +  def followers_count
 +    (Setting.hide_followers_count || object.user&.setting_hide_followers_count) ? -1 : object.followers_count
 +  end
  end
Simple merge
Simple merge
Simple merge
diff --cc db/schema.rb
Simple merge