master
aus-social 6 years ago committed by Eugen Rochko
parent 928102284a
commit 1f98eae1cf
  1. 1
      config/initializers/omniauth.rb
  2. 1
      config/initializers/twitter_regex.rb
  3. 1
      config/initializers/vapid.rb
  4. 1
      db/migrate/20170606113804_change_tag_search_index_to_btree.rb
  5. 1
      db/schema.rb
  6. 1
      spec/controllers/admin/accounts_controller_spec.rb
  7. 1
      spec/controllers/admin/report_notes_controller_spec.rb
  8. 1
      spec/controllers/api/v1/statuses/favourited_by_accounts_controller_spec.rb
  9. 1
      spec/controllers/api/v1/streaming_controller_spec.rb
  10. 1
      spec/controllers/settings/applications_controller_spec.rb
  11. 2
      spec/controllers/settings/migrations_controller_spec.rb
  12. 1
      spec/fabricators/site_upload_fabricator.rb
  13. 1
      spec/lib/formatter_spec.rb
  14. 1
      spec/models/account_moderation_note_spec.rb
  15. 1
      spec/models/admin/action_log_spec.rb
  16. 1
      spec/models/backup_spec.rb
  17. 1
      spec/models/conversation_mute_spec.rb
  18. 1
      spec/models/custom_filter_spec.rb
  19. 1
      spec/models/list_account_spec.rb
  20. 1
      spec/models/list_spec.rb
  21. 1
      spec/models/mute_spec.rb
  22. 1
      spec/models/preview_card_spec.rb
  23. 1
      spec/models/web/setting_spec.rb

@ -62,5 +62,4 @@ Devise.setup do |config|
saml_options[:uid_attribute] = ENV['SAML_UID_ATTRIBUTE'] if ENV['SAML_UID_ATTRIBUTE']
config.omniauth :saml, saml_options
end
end

@ -1,6 +1,5 @@
module Twitter
class Regex
REGEXEN[:valid_general_url_path_chars] = /[^\p{White_Space}\(\)\?]/iou
REGEXEN[:valid_url_path_ending_chars] = /[^\p{White_Space}\(\)\?!\*';:=\,\.\$%\[\]~&\|@]|(?:#{REGEXEN[:valid_url_balanced_parens]})/iou
REGEXEN[:valid_url_balanced_parens] = /

@ -1,7 +1,6 @@
# frozen_string_literal: true
Rails.application.configure do
# You can generate the keys using the following command (first is the private key, second is the public one)
# You should only generate this once per instance. If you later decide to change it, all push subscription will
# be invalidated, requiring the users to access the website again to resubscribe.

@ -1,5 +1,4 @@
class ChangeTagSearchIndexToBtree < ActiveRecord::Migration[5.1]
def up
remove_index :tags, name: :hashtag_search_index
execute 'CREATE INDEX hashtag_search_index ON tags (name text_pattern_ops);'

@ -11,7 +11,6 @@
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2018_08_20_232245) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"

@ -75,7 +75,6 @@ RSpec.describe Admin::AccountsController, type: :controller do
end
end
describe 'POST #subscribe' do
subject { post :subscribe, params: { id: account.id } }

@ -15,7 +15,6 @@ describe Admin::ReportNotesController do
let(:report) { Fabricate(:report, action_taken: action_taken, action_taken_by_account_id: account_id) }
context 'when parameter is valid' do
context 'when report is unsolved' do
let(:action_taken) { false }
let(:account_id) { nil }

@ -25,7 +25,6 @@ RSpec.describe Api::V1::Statuses::FavouritedByAccountsController, type: :control
expect(response.headers['Link'].links.size).to eq(2)
end
end
end
context 'without an oauth token' do

@ -42,5 +42,4 @@ describe Api::V1::StreamingController do
end
end
end
end

@ -21,7 +21,6 @@ describe Settings::ApplicationsController do
end
end
describe 'GET #show' do
it 'returns http success' do
get :show, params: { id: app.id }

@ -10,7 +10,6 @@ describe Settings::MigrationsController do
end
describe 'GET #show' do
context 'when user is not sign in' do
subject { get :show }
@ -45,7 +44,6 @@ describe Settings::MigrationsController do
end
describe 'PUT #update' do
context 'when user is not sign in' do
subject { put :update }

@ -1,3 +1,2 @@
Fabricator(:site_upload) do
end

@ -170,7 +170,6 @@ RSpec.describe Formatter do
end
end
describe '#format_spoiler' do
subject { Formatter.instance.format_spoiler(status) }

@ -1,5 +1,4 @@
require 'rails_helper'
RSpec.describe AccountModerationNote, type: :model do
end

@ -1,5 +1,4 @@
require 'rails_helper'
RSpec.describe Admin::ActionLog, type: :model do
end

@ -1,5 +1,4 @@
require 'rails_helper'
RSpec.describe Backup, type: :model do
end

@ -1,5 +1,4 @@
require 'rails_helper'
RSpec.describe ConversationMute, type: :model do
end

@ -1,5 +1,4 @@
require 'rails_helper'
RSpec.describe CustomFilter, type: :model do
end

@ -1,5 +1,4 @@
require 'rails_helper'
RSpec.describe ListAccount, type: :model do
end

@ -1,5 +1,4 @@
require 'rails_helper'
RSpec.describe List, type: :model do
end

@ -1,5 +1,4 @@
require 'rails_helper'
RSpec.describe Mute, type: :model do
end

@ -1,5 +1,4 @@
require 'rails_helper'
RSpec.describe PreviewCard, type: :model do
end

@ -1,5 +1,4 @@
require 'rails_helper'
RSpec.describe Web::Setting, type: :model do
end

Loading…
Cancel
Save