symphonia 3.1.5 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +4 -8
  3. data/CHANGELOG.md +88 -0
  4. data/app/assets/javascripts/symphonia/symphonia_ckeditor.js +0 -1
  5. data/app/controllers/symphonia/accounts_controller.rb +0 -1
  6. data/app/controllers/symphonia/roles_controller.rb +3 -64
  7. data/app/controllers/symphonia/user_sessions_controller.rb +1 -1
  8. data/app/controllers/symphonia/users_controller.rb +1 -34
  9. data/app/helpers/symphonia/application_helper.rb +1 -1
  10. data/app/helpers/symphonia/form_helper.rb +0 -2
  11. data/app/models/symphonia/user.rb +2 -25
  12. data/app/views/symphonia/accounts/_form.html.erb +19 -8
  13. data/app/views/symphonia/accounts/edit.html.erb +2 -2
  14. data/app/views/symphonia/users/_form.html.erb +7 -7
  15. data/app/views/symphonia/users/edit.html.erb +17 -15
  16. data/app/views/symphonia/users/new.html.erb +2 -2
  17. data/config/routes.rb +1 -0
  18. data/db/migrate/20200428180001_add_uuid_to_users.rb +6 -0
  19. data/db/migrate/20200428180008_add_avatar_to_users.rb +5 -0
  20. data/db/seeds.rb +2 -1
  21. data/lib/generators/symphonia/setup/setup_generator.rb +2 -1
  22. data/lib/generators/symphonia/setup/templates/app/assets/javascripts/application.js.tt +1 -0
  23. data/lib/symphonia.rb +0 -1
  24. data/lib/symphonia/action_cable/connection.rb +1 -1
  25. data/lib/symphonia/admin_constraint.rb +2 -1
  26. data/lib/symphonia/base_controller.rb +7 -0
  27. data/lib/symphonia/engine.rb +9 -8
  28. data/lib/symphonia/model_attributes/attribute.rb +1 -1
  29. data/lib/symphonia/version.rb +1 -1
  30. data/spec/controllers/base_controller_spec.rb +37 -2
  31. data/spec/factories/factories.rb +11 -12
  32. data/spec/spec_helper.rb +2 -2
  33. metadata +42 -69
  34. data/app/controllers/symphonia/api_controller.rb +0 -64
  35. data/app/controllers/symphonia/attachments_controller.rb +0 -37
  36. data/app/controllers/symphonia/images_controller.rb +0 -16
  37. data/app/models/symphonia/attachment.rb +0 -16
  38. data/app/models/symphonia/common_file.rb +0 -9
  39. data/app/models/symphonia/image.rb +0 -46
  40. data/app/models/symphonia/swagger/error_model.rb +0 -19
  41. data/app/models/symphonia/swagger/responses.rb +0 -27
  42. data/lib/symphonia/attachable.rb +0 -35
  43. data/spec/controllers/api_controller_spec.rb +0 -9
  44. data/spec/controllers/images_controller_spec.rb +0 -5
  45. data/spec/models/attachment_spec.rb +0 -22
  46. data/spec/requests/attachments_controller_spec.rb +0 -23
@@ -1,7 +1,7 @@
1
1
  <%= title(t(:label_user_new), back: true) %>
2
2
 
3
- <%= symphonia_form_for(@user, html: {novalidate: true}) do |f| %>
4
- <%= render(partial: 'form', locals: {f: f}) %>
3
+ <%= symphonia_form_for(@user, html: { novalidate: true }) do |f| %>
4
+ <%= render(partial: 'form', locals: { f: f }) %>
5
5
  <%= f.form_group do %>
6
6
  <%= f.primary(t(:button_create)) %>
7
7
  <% end %>
@@ -1,4 +1,5 @@
1
1
  require 'sidekiq/web'
2
+ require 'sidekiq/cron/web'
2
3
  require 'symphonia/admin_constraint'
3
4
  Symphonia::Engine.routes.draw do
4
5
 
@@ -0,0 +1,6 @@
1
+ class AddUuidToUsers < ActiveRecord::Migration[6.0]
2
+ def change
3
+ uuid_type = connection.adapter_name =~ /PostgreSQL/i ? :uuid : :string
4
+ add_column :users, :uuid, uuid_type
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ class AddAvatarToUsers < ActiveRecord::Migration[6.0]
2
+ def change
3
+ add_column :users, :avatar_url, :string
4
+ end
5
+ end
@@ -6,7 +6,8 @@ u.attributes = {
6
6
  email: 'luk4s.pokorny@gmail.com',
7
7
  password: 'admin',
8
8
  # password_confirmation: 'admin',
9
- admin: true
9
+ admin: true,
10
+ avatar_url: "https://secure.gravatar.com/avatar/3657d5f0e9747c1c21eb2b689a8dba0b?s=64"
10
11
  }
11
12
  u.single_access_token = SecureRandom.hex(20)
12
13
  u.save!(validate: false)
@@ -16,7 +16,8 @@ module Symphonia
16
16
  end
17
17
 
18
18
  def copy_assets
19
- append_to_file 'app/assets/javascripts/application.js', '//= require symphonia/application'
19
+ template 'app/assets/javascripts/application.js'
20
+ append_to_file 'app/assets/config/manifest.js', '//= link symphonia_manifest.js'
20
21
  copy_file 'design.scss', 'app/assets/stylesheets/general.scss'
21
22
  end
22
23
 
@@ -2,7 +2,6 @@
2
2
  module Symphonia
3
3
  include ::ActiveSupport::Configurable
4
4
 
5
- autoload :Attachable, 'symphonia/attachable'
6
5
  autoload :BaseController, 'symphonia/base_controller'
7
6
  autoload :BootstrapLinkRender, 'symphonia/bootstrap_link_render'
8
7
  autoload :ControllerExtensions, 'symphonia/controller_extensions'
@@ -15,7 +15,7 @@ module Symphonia
15
15
  protected
16
16
 
17
17
  def find_verified_user_or_guest
18
- if (credentials = request.cookie_jar['symphonia/user_credentials']).present?
18
+ if (credentials = request.session["symphonia/user_credentials"]).present?
19
19
  ::Symphonia::User.find_by_persistence_token(credentials.split(':')[0])
20
20
  else
21
21
  nil
@@ -1,7 +1,8 @@
1
1
  module Symphonia
2
2
  class AdminConstraint
3
3
  def matches?(request)
4
- return false unless (credentials = request.cookie_jar['symphonia/user_credentials']).present?
4
+ return false if (credentials = request.session["symphonia/user_credentials"]).blank?
5
+
5
6
  user = User.find_by_persistence_token(credentials.split(':')[0])
6
7
  user&.admin?
7
8
  end
@@ -6,10 +6,17 @@ module Symphonia
6
6
  # def model
7
7
  # YourModel
8
8
  # end
9
+ # OR
10
+ # self.model = YourModel
9
11
  #
10
12
  # def safe_attributes
11
13
  # %i[]
12
14
  # end
15
+ #
16
+ # def swagger_path
17
+ # false # => for disable swagger
18
+ # "/my-custom-path" # => for custom route
19
+ # end
13
20
  module BaseController
14
21
  extend ActiveSupport::Concern
15
22
 
@@ -6,6 +6,7 @@ require 'symphonia/user_management'
6
6
  require 'rails-i18n'
7
7
  require 'turbolinks'
8
8
  require 'authlogic'
9
+ require 'scrypt'
9
10
  require 'bootstrap'
10
11
 
11
12
  require 'will_paginate'
@@ -15,14 +16,14 @@ require 'jquery-rails'
15
16
  require 'jquery-ui-rails'
16
17
  require 'rdiscount'
17
18
  require 'sortable-table'
18
- require 'paperclip'
19
+ # require 'paperclip'
19
20
  require 'awesome_nested_set'
20
- require 'acts_as_list'
21
+ # require 'acts_as_list'
21
22
  require 'bootstrap_form'
22
23
  require 'the_sortable_tree'
23
24
  require 'bootstrap-datepicker-rails'
24
25
  # require 'wicked_pdf'
25
- require 'swagger/blocks'
26
+ # require 'swagger/blocks'
26
27
 
27
28
  module Symphonia
28
29
 
@@ -31,7 +32,7 @@ module Symphonia
31
32
 
32
33
  config.generators do |g|
33
34
  g.test_framework :rspec, fixture: false
34
- # g.fixture_replacement :factory_girl, dir: 'spec/factories'
35
+ g.fixture_replacement :factory_bot, dir: 'spec/factories'
35
36
  end
36
37
 
37
38
  # Rails 5
@@ -83,10 +84,10 @@ module Symphonia
83
84
 
84
85
  initializer :assets do |_app|
85
86
  config.assets.precompile << 'symphonia/application.css'
86
- if defined?(::Ckeditor)
87
- config.assets.precompile << 'ckeditor/**/*'
88
- config.assets.precompile << 'symphonia/symphonia_ckeditor.js'
89
- end
87
+ #if defined?(::Ckeditor)
88
+ # config.assets.precompile << 'ckeditor/**/*'
89
+ # config.assets.precompile << 'symphonia/symphonia_ckeditor.js'
90
+ #end
90
91
  end
91
92
 
92
93
  initializer :symphonia_general_permissions do |_app|
@@ -174,7 +174,7 @@ module Symphonia
174
174
 
175
175
  class DateTimeAttribute < Attribute
176
176
  def format_value(view, value, entity)
177
- value && view.l(value, format_options)
177
+ value && view.l(value.localtime, format_options)
178
178
  end
179
179
  end
180
180
  class DatetimeAttribute < DateTimeAttribute
@@ -1,3 +1,3 @@
1
1
  module Symphonia
2
- VERSION = '3.1.5'
2
+ VERSION = '3.3.0'
3
3
  end
@@ -17,16 +17,21 @@ class DummyBaseA < Symphonia::ApplicationController
17
17
  self.model = ModelA
18
18
  end
19
19
  class DummyBaseB < DummyBaseA
20
- # include Symphonia::BaseController
21
20
  self.model = ModelB
22
21
  end
23
22
 
24
23
  RSpec.describe DummyBaseB do
25
- # subject { described_class.new }
24
+
26
25
  controller do
26
+ before_action :set_locale, only: :index
27
+
27
28
  def show
28
29
  render plain: model.name
29
30
  end
31
+
32
+ def index
33
+ render plain: t(:language)
34
+ end
30
35
  end
31
36
  it "#model" do
32
37
  subject = DummyBaseA.new
@@ -39,4 +44,34 @@ RSpec.describe DummyBaseB do
39
44
  get :show, params: { id: 1 }
40
45
  expect(response.body).to eq "ModelB"
41
46
  end
47
+
48
+ describe "#set_locale" do
49
+ before do
50
+ I18n.locale = :cs
51
+ end
52
+ context "logged user", logged: true do
53
+ before { Symphonia::User.current.language = :cs }
54
+ it "enforce language of user" do
55
+ get :index
56
+ expect(response.body).to eq "Čeština"
57
+ Symphonia::User.current.language = :en
58
+ get :index
59
+ expect(response.body).to eq "English"
60
+ end
61
+
62
+ it "ignore :locale params" do
63
+ get :index, params: { locale: "en" }
64
+ expect(response.body).to eq "Čeština"
65
+ end
66
+ end
67
+ it "anonymous default language" do
68
+ get :index
69
+ expect(response.body).to eq "Čeština"
70
+ end
71
+
72
+ it "anonymous language by :locale" do
73
+ get :index, params: { locale: "en" }
74
+ expect(response.body).to eq "English"
75
+ end
76
+ end
42
77
  end
@@ -6,7 +6,6 @@ FactoryBot.define do
6
6
  login { email }
7
7
  admin { false }
8
8
  password { SecureRandom.hex(16) }
9
- # password_confirmation { password }
10
9
  last_request_at { Time.now }
11
10
 
12
11
  trait :admin do
@@ -28,17 +27,17 @@ FactoryBot.define do
28
27
  sequence(:name) { |n| "#{Faker::Job.title} #{n}" }
29
28
  end
30
29
 
31
- factory :attachment, class: 'Symphonia::Attachment' do
32
- association :attachable, factory: :user
33
- end
34
-
35
- factory :file, parent: :attachment, class: 'Symphonia::CommonFile' do
36
- attachment { File.new(File.expand_path('../../support/common_file.txt', __FILE__)) }
37
- end
38
-
39
- factory :image, parent: :attachment, class: 'Symphonia::Image' do
40
- attachment { File.new(File.expand_path('../../support/symphonia.jpg', __FILE__)) }
41
- end
30
+ # factory :attachment, class: 'Symphonia::Attachment' do
31
+ # association :attachable, factory: :user
32
+ # end
33
+ #
34
+ # factory :file, parent: :attachment, class: 'Symphonia::CommonFile' do
35
+ # attachment { File.new(File.expand_path('../../support/common_file.txt', __FILE__)) }
36
+ # end
37
+ #
38
+ # factory :image, parent: :attachment, class: 'Symphonia::Image' do
39
+ # attachment { File.new(File.expand_path('../../support/symphonia.jpg', __FILE__)) }
40
+ # end
42
41
 
43
42
  factory :preference, class: 'Symphonia::Preference' do
44
43
 
@@ -11,9 +11,9 @@ Dir.glob(File.expand_path('../support/*.rb', __FILE__)).each do |file|
11
11
  require file
12
12
  end
13
13
 
14
- ActiveRecord::Migration.maintain_test_schema!
14
+ # ActiveRecord::Migration.maintain_test_schema!
15
15
 
16
- Paperclip::Attachment.default_options[:path] = "#{Rails.root}/spec/test_files/:class/:id_partition/:style.:extension"
16
+ # Paperclip::Attachment.default_options[:path] = "#{Rails.root}/spec/test_files/:class/:id_partition/:style.:extension"
17
17
  # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
18
18
  RSpec.configure do |config|
19
19
  # config.infer_spec_type_from_file_location!
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: symphonia
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.5
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas Pokorny
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-20 00:00:00.000000000 Z
11
+ date: 2020-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -72,14 +72,28 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '5.0'
75
+ version: 6.1.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '5.0'
82
+ version: 6.1.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: scrypt
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.0'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: bootstrap
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -98,16 +112,16 @@ dependencies:
98
112
  name: will_paginate
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
- - - ">="
115
+ - - "~>"
102
116
  - !ruby/object:Gem::Version
103
- version: '0'
117
+ version: 3.3.0
104
118
  type: :runtime
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
- - - ">="
122
+ - - "~>"
109
123
  - !ruby/object:Gem::Version
110
- version: '0'
124
+ version: 3.3.0
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: api-pagination
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -192,62 +206,34 @@ dependencies:
192
206
  - - ">="
193
207
  - !ruby/object:Gem::Version
194
208
  version: 0.1.1
195
- - !ruby/object:Gem::Dependency
196
- name: paperclip
197
- requirement: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - ">="
200
- - !ruby/object:Gem::Version
201
- version: '0'
202
- type: :runtime
203
- prerelease: false
204
- version_requirements: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - ">="
207
- - !ruby/object:Gem::Version
208
- version: '0'
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: awesome_nested_set
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - ">="
214
- - !ruby/object:Gem::Version
215
- version: '0'
216
- type: :runtime
217
- prerelease: false
218
- version_requirements: !ruby/object:Gem::Requirement
219
- requirements:
220
- - - ">="
221
- - !ruby/object:Gem::Version
222
- version: '0'
223
- - !ruby/object:Gem::Dependency
224
- name: acts_as_list
225
- requirement: !ruby/object:Gem::Requirement
226
- requirements:
227
- - - ">="
213
+ - - "~>"
228
214
  - !ruby/object:Gem::Version
229
- version: '0'
215
+ version: 3.2.1
230
216
  type: :runtime
231
217
  prerelease: false
232
218
  version_requirements: !ruby/object:Gem::Requirement
233
219
  requirements:
234
- - - ">="
220
+ - - "~>"
235
221
  - !ruby/object:Gem::Version
236
- version: '0'
222
+ version: 3.2.1
237
223
  - !ruby/object:Gem::Dependency
238
224
  name: bootstrap_form
239
225
  requirement: !ruby/object:Gem::Requirement
240
226
  requirements:
241
227
  - - "~>"
242
228
  - !ruby/object:Gem::Version
243
- version: '4.3'
229
+ version: 4.4.0
244
230
  type: :runtime
245
231
  prerelease: false
246
232
  version_requirements: !ruby/object:Gem::Requirement
247
233
  requirements:
248
234
  - - "~>"
249
235
  - !ruby/object:Gem::Version
250
- version: '4.3'
236
+ version: 4.4.0
251
237
  - !ruby/object:Gem::Dependency
252
238
  name: the_sortable_tree
253
239
  requirement: !ruby/object:Gem::Requirement
@@ -282,42 +268,42 @@ dependencies:
282
268
  requirements:
283
269
  - - "~>"
284
270
  - !ruby/object:Gem::Version
285
- version: '5.2'
271
+ version: '6.0'
286
272
  type: :runtime
287
273
  prerelease: false
288
274
  version_requirements: !ruby/object:Gem::Requirement
289
275
  requirements:
290
276
  - - "~>"
291
277
  - !ruby/object:Gem::Version
292
- version: '5.2'
278
+ version: '6.0'
293
279
  - !ruby/object:Gem::Dependency
294
- name: mini_racer
280
+ name: sidekiq-cron
295
281
  requirement: !ruby/object:Gem::Requirement
296
282
  requirements:
297
283
  - - "~>"
298
284
  - !ruby/object:Gem::Version
299
- version: '0.2'
285
+ version: '1.2'
300
286
  type: :runtime
301
287
  prerelease: false
302
288
  version_requirements: !ruby/object:Gem::Requirement
303
289
  requirements:
304
290
  - - "~>"
305
291
  - !ruby/object:Gem::Version
306
- version: '0.2'
292
+ version: '1.2'
307
293
  - !ruby/object:Gem::Dependency
308
- name: swagger-blocks
294
+ name: mini_racer
309
295
  requirement: !ruby/object:Gem::Requirement
310
296
  requirements:
311
297
  - - "~>"
312
298
  - !ruby/object:Gem::Version
313
- version: '2.0'
299
+ version: '0.2'
314
300
  type: :runtime
315
301
  prerelease: false
316
302
  version_requirements: !ruby/object:Gem::Requirement
317
303
  requirements:
318
304
  - - "~>"
319
305
  - !ruby/object:Gem::Version
320
- version: '2.0'
306
+ version: '0.2'
321
307
  - !ruby/object:Gem::Dependency
322
308
  name: rspec-rails
323
309
  requirement: !ruby/object:Gem::Requirement
@@ -394,14 +380,14 @@ dependencies:
394
380
  requirements:
395
381
  - - "~>"
396
382
  - !ruby/object:Gem::Version
397
- version: '1.3'
383
+ version: 1.4.2
398
384
  type: :runtime
399
385
  prerelease: false
400
386
  version_requirements: !ruby/object:Gem::Requirement
401
387
  requirements:
402
388
  - - "~>"
403
389
  - !ruby/object:Gem::Version
404
- version: '1.3'
390
+ version: 1.4.2
405
391
  - !ruby/object:Gem::Dependency
406
392
  name: sass-rails
407
393
  requirement: !ruby/object:Gem::Requirement
@@ -424,6 +410,7 @@ extensions: []
424
410
  extra_rdoc_files: []
425
411
  files:
426
412
  - ".rubocop.yml"
413
+ - CHANGELOG.md
427
414
  - LICENSE
428
415
  - README.md
429
416
  - Rakefile
@@ -452,11 +439,8 @@ files:
452
439
  - app/controllers/base_controller.rb
453
440
  - app/controllers/symphonia/accounts_controller.rb
454
441
  - app/controllers/symphonia/admin_controller.rb
455
- - app/controllers/symphonia/api_controller.rb
456
442
  - app/controllers/symphonia/application_controller.rb
457
- - app/controllers/symphonia/attachments_controller.rb
458
443
  - app/controllers/symphonia/filters_controller.rb
459
- - app/controllers/symphonia/images_controller.rb
460
444
  - app/controllers/symphonia/login_controller.rb
461
445
  - app/controllers/symphonia/roles_controller.rb
462
446
  - app/controllers/symphonia/user_sessions_controller.rb
@@ -469,14 +453,9 @@ files:
469
453
  - app/mailers/symphonia/notifier.rb
470
454
  - app/models/symphonia/admin_module.rb
471
455
  - app/models/symphonia/application_record.rb
472
- - app/models/symphonia/attachment.rb
473
- - app/models/symphonia/common_file.rb
474
456
  - app/models/symphonia/email_preference.rb
475
- - app/models/symphonia/image.rb
476
457
  - app/models/symphonia/preference.rb
477
458
  - app/models/symphonia/role.rb
478
- - app/models/symphonia/swagger/error_model.rb
479
- - app/models/symphonia/swagger/responses.rb
480
459
  - app/models/symphonia/user.rb
481
460
  - app/models/symphonia/user_session.rb
482
461
  - app/views/base/_form.html.erb
@@ -545,6 +524,8 @@ files:
545
524
  - db/migrate/20130828175114_create_attachments.rb
546
525
  - db/migrate/20141213204351_create_admin_modules.rb
547
526
  - db/migrate/20190706130409_add_external_id_to_users.rb
527
+ - db/migrate/20200428180001_add_uuid_to_users.rb
528
+ - db/migrate/20200428180008_add_avatar_to_users.rb
548
529
  - db/seeds.rb
549
530
  - lib/generators/symphonia/entity_controller/entity_controller_generator.rb
550
531
  - lib/generators/symphonia/entity_controller/templates/controller.rb
@@ -553,6 +534,7 @@ files:
553
534
  - lib/generators/symphonia/setup/templates/404.html
554
535
  - lib/generators/symphonia/setup/templates/500.html
555
536
  - lib/generators/symphonia/setup/templates/Gemfile
537
+ - lib/generators/symphonia/setup/templates/app/assets/javascripts/application.js.tt
556
538
  - lib/generators/symphonia/setup/templates/base_layout.html.erb
557
539
  - lib/generators/symphonia/setup/templates/design.scss
558
540
  - lib/generators/symphonia/setup/templates/settings.rb
@@ -560,7 +542,6 @@ files:
560
542
  - lib/symphonia.rb
561
543
  - lib/symphonia/action_cable/connection.rb
562
544
  - lib/symphonia/admin_constraint.rb
563
- - lib/symphonia/attachable.rb
564
545
  - lib/symphonia/base_controller.rb
565
546
  - lib/symphonia/bootstrap_link_render.rb
566
547
  - lib/symphonia/controller_extensions.rb
@@ -588,10 +569,8 @@ files:
588
569
  - lib/symphonia/version.rb
589
570
  - spec/controllers/account_controller_spec.rb
590
571
  - spec/controllers/admin_controller_spec.rb
591
- - spec/controllers/api_controller_spec.rb
592
572
  - spec/controllers/base_controller_spec.rb
593
573
  - spec/controllers/filters_controller_spec.rb
594
- - spec/controllers/images_controller_spec.rb
595
574
  - spec/controllers/login_controller_spec.rb
596
575
  - spec/controllers/roles_controller_spec.rb
597
576
  - spec/controllers/users_controller_spec.rb
@@ -601,7 +580,6 @@ files:
601
580
  - spec/helpers/symphonia/renderer_helper_spec.rb
602
581
  - spec/mailers/previews/symphonia/notifier_preview.rb
603
582
  - spec/mailers/symphonia/notifier_spec.rb
604
- - spec/models/attachment_spec.rb
605
583
  - spec/models/query/attribute_spec.rb
606
584
  - spec/models/query/filters_spec.rb
607
585
  - spec/models/query/symphonia_query_spec.rb
@@ -609,7 +587,6 @@ files:
609
587
  - spec/models/user_spec.rb
610
588
  - spec/rails_helper.rb
611
589
  - spec/requests/accounts_spec.rb
612
- - spec/requests/attachments_controller_spec.rb
613
590
  - spec/requests/login_spec.rb
614
591
  - spec/requests/roles_spec.rb
615
592
  - spec/requests/users_spec.rb
@@ -652,7 +629,6 @@ test_files:
652
629
  - spec/mailers/symphonia/notifier_spec.rb
653
630
  - spec/mailers/previews/symphonia/notifier_preview.rb
654
631
  - spec/version_spec.rb
655
- - spec/models/attachment_spec.rb
656
632
  - spec/models/query/attribute_spec.rb
657
633
  - spec/models/query/symphonia_query_spec.rb
658
634
  - spec/models/query/filters_spec.rb
@@ -660,7 +636,6 @@ test_files:
660
636
  - spec/models/role_spec.rb
661
637
  - spec/requests/roles_spec.rb
662
638
  - spec/requests/login_spec.rb
663
- - spec/requests/attachments_controller_spec.rb
664
639
  - spec/requests/accounts_spec.rb
665
640
  - spec/requests/users_spec.rb
666
641
  - spec/support/symphonia.jpg
@@ -675,12 +650,10 @@ test_files:
675
650
  - spec/controllers/roles_controller_spec.rb
676
651
  - spec/controllers/login_controller_spec.rb
677
652
  - spec/controllers/users_controller_spec.rb
678
- - spec/controllers/api_controller_spec.rb
679
653
  - spec/controllers/filters_controller_spec.rb
680
654
  - spec/controllers/admin_controller_spec.rb
681
655
  - spec/controllers/account_controller_spec.rb
682
656
  - spec/controllers/base_controller_spec.rb
683
- - spec/controllers/images_controller_spec.rb
684
657
  - spec/views/filters/options.html.erb_spec.rb
685
658
  - spec/rails_helper.rb
686
659
  - spec/helpers/symphonia/application_helper_spec.rb