Add tracking of OAuth app that posted a status, extend OAuth apps to have optional website field, add application details to API, show application name and website on detailed status views. Resolves #11
This commit is contained in:
		@@ -7,6 +7,8 @@ class Status < ApplicationRecord
 | 
			
		||||
 | 
			
		||||
  enum visibility: [:public, :unlisted, :private], _suffix: :visibility
 | 
			
		||||
 | 
			
		||||
  belongs_to :application, class_name: 'Doorkeeper::Application'
 | 
			
		||||
 | 
			
		||||
  belongs_to :account, inverse_of: :statuses
 | 
			
		||||
  belongs_to :in_reply_to_account, foreign_key: 'in_reply_to_account_id', class_name: 'Account'
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user