stall 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -21
  3. data/app/assets/javascripts/para/stall/inputs/variants-matrix/input.coffee +8 -1
  4. data/app/assets/javascripts/para/stall/inputs/variants-matrix/variant.coffee +9 -0
  5. data/app/assets/javascripts/stall.coffee +7 -1
  6. data/app/assets/javascripts/stall/add-to-cart-form.coffee +1 -4
  7. data/app/assets/javascripts/stall/products-filters.coffee +29 -0
  8. data/app/assets/stylesheets/para/stall.sass +5 -0
  9. data/app/assets/stylesheets/stall.sass +0 -0
  10. data/app/controllers/stall/checkout/steps_controller.rb +6 -5
  11. data/app/controllers/stall/checkout_base_controller.rb +14 -0
  12. data/app/controllers/stall/checkouts_controller.rb +7 -4
  13. data/app/controllers/stall/curated_product_lists_controller.rb +10 -0
  14. data/app/controllers/stall/line_items_controller.rb +1 -5
  15. data/app/controllers/stall/manufacturers_controller.rb +12 -0
  16. data/app/controllers/stall/omniauth_callbacks_controller.rb +49 -0
  17. data/app/controllers/stall/product_categories_controller.rb +13 -0
  18. data/app/controllers/stall/products_breadcrumbs.rb +16 -0
  19. data/app/controllers/stall/products_controller.rb +20 -0
  20. data/app/controllers/stall/products_search.rb +11 -0
  21. data/app/helpers/stall/customers_helper.rb +0 -10
  22. data/app/helpers/stall/omniauth_helper.rb +7 -0
  23. data/app/helpers/stall/prices_helper.rb +12 -0
  24. data/app/helpers/stall/products_filters_helper.rb +34 -0
  25. data/app/mailers/stall/customer_mailer.rb +4 -3
  26. data/app/models/curated_list_product.rb +3 -0
  27. data/app/models/curated_product_list.rb +3 -0
  28. data/app/models/image.rb +3 -0
  29. data/app/models/product_suggestion.rb +3 -0
  30. data/app/models/stall/models/curated_list_product.rb +15 -0
  31. data/app/models/stall/models/curated_product_list.rb +22 -0
  32. data/app/models/stall/models/customer.rb +5 -8
  33. data/app/models/stall/models/image.rb +21 -0
  34. data/app/models/stall/models/manufacturer.rb +4 -0
  35. data/app/models/stall/models/product.rb +30 -7
  36. data/app/models/stall/models/product_category.rb +5 -2
  37. data/app/models/stall/models/product_list.rb +1 -1
  38. data/app/models/stall/models/product_suggestion.rb +14 -0
  39. data/app/models/stall/models/shipment.rb +0 -2
  40. data/app/models/stall/models/user.rb +18 -0
  41. data/app/models/stall/models/user_omniauth_account.rb +13 -0
  42. data/app/models/stall/models/variant.rb +11 -11
  43. data/app/models/user.rb +3 -0
  44. data/app/models/user_omniauth_account.rb +3 -0
  45. data/app/services/stall/add_to_cart_service.rb +19 -4
  46. data/app/services/stall/available_stocks_service.rb +11 -0
  47. data/app/services/stall/cart_credit_note_creation_service.rb +4 -0
  48. data/app/services/stall/cart_payment_validation_service.rb +5 -3
  49. data/app/services/stall/credit_usage_service.rb +8 -2
  50. data/app/services/stall/omniauth_user_authentication_service.rb +48 -0
  51. data/app/services/stall/product_list_staleness_handling_service.rb +6 -3
  52. data/app/services/stall/products_search_service.rb +23 -0
  53. data/app/services/stall/shipping_notification_service.rb +1 -1
  54. data/app/views/admin/carts/_filters.html.haml +10 -4
  55. data/app/views/admin/carts/_form.html.haml +9 -9
  56. data/app/views/admin/manufacturers/_form.html.haml +7 -0
  57. data/app/views/admin/manufacturers/_table.html.haml +8 -0
  58. data/app/views/admin/product_categories/_form.html.haml +7 -0
  59. data/app/views/admin/products/_form.html.haml +23 -0
  60. data/app/views/admin/products/_table.html.haml +4 -2
  61. data/app/views/checkout/steps/_informations.html.haml +2 -2
  62. data/app/views/para/admin/resources/_variant_row.html.haml +9 -1
  63. data/app/views/para/admin/resources/_variant_row_header.html.haml +14 -0
  64. data/app/views/para/stall/inputs/_variant_select.html.haml +3 -3
  65. data/app/views/para/stall/inputs/_variants_matrix.html.haml +7 -16
  66. data/app/views/para/stall/inputs/shipping_notes/new.html.haml +22 -0
  67. data/app/views/para/stall/inputs/shipping_notes/sent.html.haml +11 -0
  68. data/app/views/stall/carts/_cart.html.haml +1 -1
  69. data/app/views/stall/credit_note_adjustments/_form.html.haml +1 -1
  70. data/app/views/stall/curated_product_lists/show.html.haml +8 -0
  71. data/app/views/stall/customers/_fields.html.haml +17 -5
  72. data/app/views/stall/customers/_sign_in.html.haml +22 -10
  73. data/app/views/stall/line_items/_form.html.haml +2 -3
  74. data/app/views/stall/manufacturers/show.html.haml +8 -0
  75. data/app/views/stall/product_categories/show.html.haml +8 -0
  76. data/app/views/stall/products/_filters.html.haml +4 -0
  77. data/app/views/stall/products/_list.html.haml +7 -0
  78. data/app/views/stall/products/_product.html.haml +4 -0
  79. data/app/views/stall/products/_product_details.html.haml +13 -0
  80. data/app/views/stall/products/filters/_category_filter.html.haml +2 -0
  81. data/app/views/stall/products/filters/_manufacturer_filter.html.haml +2 -0
  82. data/app/views/stall/products/filters/_price_filter.html.haml +2 -0
  83. data/app/views/stall/products/filters/_property_filter.html.haml +2 -0
  84. data/app/views/stall/products/index.html.haml +8 -0
  85. data/app/views/stall/products/show.html.haml +26 -0
  86. data/config/locales/stall.fr.yml +97 -11
  87. data/db/migrate/20170221094450_add_slug_to_stall_manufacturers.rb +5 -0
  88. data/db/migrate/20170303122616_create_stall_product_suggestions.rb +13 -0
  89. data/db/migrate/20170303151939_add_position_to_stall_manufacturers.rb +5 -0
  90. data/db/migrate/20170308162740_create_stall_curated_product_lists.rb +10 -0
  91. data/db/migrate/20170308163532_create_stall_curated_list_products.rb +14 -0
  92. data/db/migrate/20170317103740_create_stall_users.rb +28 -0
  93. data/db/migrate/20170317104332_create_stall_user_omniauth_accounts.rb +14 -0
  94. data/db/migrate/20170320133513_fix_curated_product_list_bad_foreign_key.rb +6 -0
  95. data/db/migrate/20170321104203_create_stall_images.rb +11 -0
  96. data/db/migrate/20170321112248_remove_image_attachment_to_stall_products.rb +5 -0
  97. data/db/migrate/20170411134756_add_stock_to_stall_variants.rb +5 -0
  98. data/lib/ext/ransack.rb +13 -0
  99. data/lib/generators/stall/install/templates/initializer.rb +50 -15
  100. data/lib/generators/stall/service/service_generator.rb +0 -4
  101. data/lib/generators/stall/view/view_generator.rb +10 -8
  102. data/lib/para/stall/inputs/variant_select_input.rb +11 -1
  103. data/lib/para/stall/inputs/variants_matrix_input.rb +12 -6
  104. data/lib/stall.rb +14 -0
  105. data/lib/stall/addressable.rb +2 -2
  106. data/lib/stall/addresses/copy_source_to_target.rb +7 -3
  107. data/lib/stall/addresses/prefill_target_from_source.rb +4 -2
  108. data/lib/stall/cart_helper.rb +3 -3
  109. data/lib/stall/carts_cleaner.rb +2 -2
  110. data/lib/stall/checkout/informations_checkout_step.rb +2 -2
  111. data/lib/stall/config.rb +29 -9
  112. data/lib/stall/engine.rb +28 -13
  113. data/lib/stall/omniauth_provider.rb +41 -0
  114. data/lib/stall/payable.rb +3 -1
  115. data/lib/stall/product_filters.rb +12 -0
  116. data/lib/stall/product_filters/base_filter.rb +43 -0
  117. data/lib/stall/product_filters/builder.rb +59 -0
  118. data/lib/stall/product_filters/category_filter.rb +28 -0
  119. data/lib/stall/product_filters/manufacturer_filter.rb +19 -0
  120. data/lib/stall/product_filters/price_filter.rb +39 -0
  121. data/lib/stall/product_filters/property_filter.rb +38 -0
  122. data/lib/stall/routes.rb +40 -0
  123. data/lib/stall/shipping/calculator.rb +3 -1
  124. data/lib/stall/version.rb +1 -1
  125. metadata +158 -7
  126. data/app/assets/stylesheets/stall/carts.css +0 -4
@@ -8,7 +8,29 @@ module Stall
8
8
 
9
9
  def draw(mount_location)
10
10
  router.instance_eval do
11
+ devise_for :users, Stall.config.devise_for_user_config
12
+
13
+ devise_scope :user do
14
+ get '/users/omniauth/:provider/redirect' => 'stall/omniauth_callbacks#redirect', as: :user_omniauth_redirect
15
+ end
16
+
11
17
  scope mount_location, module: :stall do
18
+ resources :products, only: [:index], as: :products
19
+
20
+ constraints ProductExistsConstraint.new do
21
+ resources :products, path: '/', only: [:show]
22
+ end
23
+
24
+ constraints CuratedProductListExistsConstraint.new do
25
+ resources :curated_product_lists, path: '/', only: [:show]
26
+ end
27
+
28
+ constraints ProductCategoryExistsConstraint.new do
29
+ resources :product_categories, path: '/', only: [:show]
30
+ end
31
+
32
+ resources :manufacturers, only: [:show]
33
+
12
34
  resources :carts do
13
35
  resources :line_items
14
36
  resource :credit, controller: 'cart_credits', only: [:update, :destroy]
@@ -40,5 +62,23 @@ module Stall
40
62
  end
41
63
  end
42
64
  end
65
+
66
+ class CuratedProductListExistsConstraint
67
+ def matches?(request)
68
+ CuratedProductList.exists?(slug: request.params[:id])
69
+ end
70
+ end
71
+
72
+ class ProductExistsConstraint
73
+ def matches?(request)
74
+ Product.exists?(slug: request.params[:id])
75
+ end
76
+ end
77
+
78
+ class ProductCategoryExistsConstraint
79
+ def matches?(request)
80
+ ProductCategory.exists?(slug: request.params[:id])
81
+ end
82
+ end
43
83
  end
44
84
  end
@@ -56,9 +56,11 @@ module Stall
56
56
  def self.for(shipping_method)
57
57
  identifier = case shipping_method
58
58
  when String, Symbol then shipping_method.to_s
59
- else shipping_method.identifier
59
+ else shipping_method && shipping_method.identifier
60
60
  end
61
61
 
62
+ return unless identifier
63
+
62
64
  name = Stall::Shipping.calculators[identifier]
63
65
  String === name ? name.constantize : name
64
66
  end
@@ -1,3 +1,3 @@
1
1
  module Stall
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stall
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - vala
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-17 00:00:00.000000000 Z
11
+ date: 2017-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -184,8 +184,92 @@ dependencies:
184
184
  - - "~>"
185
185
  - !ruby/object:Gem::Version
186
186
  version: '1.1'
187
+ - !ruby/object:Gem::Dependency
188
+ name: friendly_id
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - "~>"
192
+ - !ruby/object:Gem::Version
193
+ version: '5.1'
194
+ type: :runtime
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - "~>"
199
+ - !ruby/object:Gem::Version
200
+ version: '5.1'
187
201
  - !ruby/object:Gem::Dependency
188
202
  name: para
203
+ requirement: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - "~>"
206
+ - !ruby/object:Gem::Version
207
+ version: '0.7'
208
+ type: :runtime
209
+ prerelease: false
210
+ version_requirements: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - "~>"
213
+ - !ruby/object:Gem::Version
214
+ version: '0.7'
215
+ - !ruby/object:Gem::Dependency
216
+ name: ransack
217
+ requirement: !ruby/object:Gem::Requirement
218
+ requirements:
219
+ - - ">="
220
+ - !ruby/object:Gem::Version
221
+ version: '0'
222
+ type: :runtime
223
+ prerelease: false
224
+ version_requirements: !ruby/object:Gem::Requirement
225
+ requirements:
226
+ - - ">="
227
+ - !ruby/object:Gem::Version
228
+ version: '0'
229
+ - !ruby/object:Gem::Dependency
230
+ name: devise
231
+ requirement: !ruby/object:Gem::Requirement
232
+ requirements:
233
+ - - ">="
234
+ - !ruby/object:Gem::Version
235
+ version: '0'
236
+ type: :runtime
237
+ prerelease: false
238
+ version_requirements: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ version: '0'
243
+ - !ruby/object:Gem::Dependency
244
+ name: omniauth
245
+ requirement: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - ">="
248
+ - !ruby/object:Gem::Version
249
+ version: '0'
250
+ type: :runtime
251
+ prerelease: false
252
+ version_requirements: !ruby/object:Gem::Requirement
253
+ requirements:
254
+ - - ">="
255
+ - !ruby/object:Gem::Version
256
+ version: '0'
257
+ - !ruby/object:Gem::Dependency
258
+ name: omniauth-facebook
259
+ requirement: !ruby/object:Gem::Requirement
260
+ requirements:
261
+ - - ">="
262
+ - !ruby/object:Gem::Version
263
+ version: '0'
264
+ type: :runtime
265
+ prerelease: false
266
+ version_requirements: !ruby/object:Gem::Requirement
267
+ requirements:
268
+ - - ">="
269
+ - !ruby/object:Gem::Version
270
+ version: '0'
271
+ - !ruby/object:Gem::Dependency
272
+ name: omniauth-google-oauth2
189
273
  requirement: !ruby/object:Gem::Requirement
190
274
  requirements:
191
275
  - - ">="
@@ -300,16 +384,16 @@ dependencies:
300
384
  name: codeclimate-test-reporter
301
385
  requirement: !ruby/object:Gem::Requirement
302
386
  requirements:
303
- - - ">="
387
+ - - "~>"
304
388
  - !ruby/object:Gem::Version
305
- version: '0'
389
+ version: 1.0.0
306
390
  type: :development
307
391
  prerelease: false
308
392
  version_requirements: !ruby/object:Gem::Requirement
309
393
  requirements:
310
- - - ">="
394
+ - - "~>"
311
395
  - !ruby/object:Gem::Version
312
- version: '0'
396
+ version: 1.0.0
313
397
  description: Rails e-commerce framework
314
398
  email:
315
399
  - vala@glyph.fr
@@ -332,25 +416,37 @@ files:
332
416
  - app/assets/javascripts/stall/add-to-cart-form.coffee
333
417
  - app/assets/javascripts/stall/addresses-fields.coffee
334
418
  - app/assets/javascripts/stall/cart-form.coffee
419
+ - app/assets/javascripts/stall/products-filters.coffee
335
420
  - app/assets/javascripts/stall/remote-sign-in-form.coffee
336
421
  - app/assets/stylesheets/para/stall.sass
422
+ - app/assets/stylesheets/stall.sass
337
423
  - app/assets/stylesheets/stall/application.css
338
- - app/assets/stylesheets/stall/carts.css
339
424
  - app/controllers/para/stall/admin/carts_controller.rb
340
425
  - app/controllers/para/stall/admin/shipping_notes_controller.rb
341
426
  - app/controllers/stall/application_controller.rb
342
427
  - app/controllers/stall/cart_credits_controller.rb
343
428
  - app/controllers/stall/carts_controller.rb
344
429
  - app/controllers/stall/checkout/steps_controller.rb
430
+ - app/controllers/stall/checkout_base_controller.rb
345
431
  - app/controllers/stall/checkouts_controller.rb
432
+ - app/controllers/stall/curated_product_lists_controller.rb
346
433
  - app/controllers/stall/line_items_controller.rb
434
+ - app/controllers/stall/manufacturers_controller.rb
435
+ - app/controllers/stall/omniauth_callbacks_controller.rb
347
436
  - app/controllers/stall/payments_controller.rb
437
+ - app/controllers/stall/product_categories_controller.rb
438
+ - app/controllers/stall/products_breadcrumbs.rb
439
+ - app/controllers/stall/products_controller.rb
440
+ - app/controllers/stall/products_search.rb
348
441
  - app/helpers/stall/add_to_cart_helper.rb
349
442
  - app/helpers/stall/application_helper.rb
350
443
  - app/helpers/stall/checkout_helper.rb
351
444
  - app/helpers/stall/credit_notes_helper.rb
352
445
  - app/helpers/stall/customers_helper.rb
446
+ - app/helpers/stall/omniauth_helper.rb
353
447
  - app/helpers/stall/payments_helper.rb
448
+ - app/helpers/stall/prices_helper.rb
449
+ - app/helpers/stall/products_filters_helper.rb
354
450
  - app/mailers/stall/admin_mailer.rb
355
451
  - app/mailers/stall/base_mailer.rb
356
452
  - app/mailers/stall/customer_mailer.rb
@@ -362,7 +458,10 @@ files:
362
458
  - app/models/credit_note.rb
363
459
  - app/models/credit_note_adjustment.rb
364
460
  - app/models/credit_note_usage.rb
461
+ - app/models/curated_list_product.rb
462
+ - app/models/curated_product_list.rb
365
463
  - app/models/customer.rb
464
+ - app/models/image.rb
366
465
  - app/models/line_item.rb
367
466
  - app/models/manufacturer.rb
368
467
  - app/models/payment.rb
@@ -371,6 +470,7 @@ files:
371
470
  - app/models/product_category.rb
372
471
  - app/models/product_detail.rb
373
472
  - app/models/product_list.rb
473
+ - app/models/product_suggestion.rb
374
474
  - app/models/property.rb
375
475
  - app/models/property_value.rb
376
476
  - app/models/shipment.rb
@@ -385,7 +485,10 @@ files:
385
485
  - app/models/stall/models/credit_note.rb
386
486
  - app/models/stall/models/credit_note_adjustment.rb
387
487
  - app/models/stall/models/credit_note_usage.rb
488
+ - app/models/stall/models/curated_list_product.rb
489
+ - app/models/stall/models/curated_product_list.rb
388
490
  - app/models/stall/models/customer.rb
491
+ - app/models/stall/models/image.rb
389
492
  - app/models/stall/models/line_item.rb
390
493
  - app/models/stall/models/manufacturer.rb
391
494
  - app/models/stall/models/payment.rb
@@ -394,23 +497,31 @@ files:
394
497
  - app/models/stall/models/product_category.rb
395
498
  - app/models/stall/models/product_detail.rb
396
499
  - app/models/stall/models/product_list.rb
500
+ - app/models/stall/models/product_suggestion.rb
397
501
  - app/models/stall/models/property.rb
398
502
  - app/models/stall/models/property_value.rb
399
503
  - app/models/stall/models/shipment.rb
400
504
  - app/models/stall/models/shipping_address.rb
401
505
  - app/models/stall/models/shipping_method.rb
506
+ - app/models/stall/models/user.rb
507
+ - app/models/stall/models/user_omniauth_account.rb
402
508
  - app/models/stall/models/variant.rb
403
509
  - app/models/stall/models/variant_property_value.rb
510
+ - app/models/user.rb
511
+ - app/models/user_omniauth_account.rb
404
512
  - app/models/variant.rb
405
513
  - app/models/variant_property_value.rb
406
514
  - app/services/stall/add_to_cart_service.rb
515
+ - app/services/stall/available_stocks_service.rb
407
516
  - app/services/stall/base_service.rb
408
517
  - app/services/stall/cart_credit_note_creation_service.rb
409
518
  - app/services/stall/cart_payment_validation_service.rb
410
519
  - app/services/stall/cart_update_service.rb
411
520
  - app/services/stall/credit_usage_service.rb
521
+ - app/services/stall/omniauth_user_authentication_service.rb
412
522
  - app/services/stall/payment_notification_service.rb
413
523
  - app/services/stall/product_list_staleness_handling_service.rb
524
+ - app/services/stall/products_search_service.rb
414
525
  - app/services/stall/shipping_fee_calculator_service.rb
415
526
  - app/services/stall/shipping_notification_service.rb
416
527
  - app/views/admin/addresses/_fields.html.haml
@@ -419,6 +530,10 @@ files:
419
530
  - app/views/admin/carts/_table.html.haml
420
531
  - app/views/admin/customers/_fields.html.haml
421
532
  - app/views/admin/line_items/_fields.html.haml
533
+ - app/views/admin/manufacturers/_form.html.haml
534
+ - app/views/admin/manufacturers/_table.html.haml
535
+ - app/views/admin/product_categories/_form.html.haml
536
+ - app/views/admin/products/_form.html.haml
422
537
  - app/views/admin/products/_table.html.haml
423
538
  - app/views/admin/properties/_form.html.haml
424
539
  - app/views/admin/properties/_table.html.haml
@@ -431,10 +546,13 @@ files:
431
546
  - app/views/checkout/steps/_shipping_method.html.haml
432
547
  - app/views/layouts/stall/application.html.erb
433
548
  - app/views/para/admin/resources/_variant_row.html.haml
549
+ - app/views/para/admin/resources/_variant_row_header.html.haml
434
550
  - app/views/para/stall/admin/shipping_notes/new.html.haml
435
551
  - app/views/para/stall/admin/shipping_notes/sent.html.haml
436
552
  - app/views/para/stall/inputs/_variant_select.html.haml
437
553
  - app/views/para/stall/inputs/_variants_matrix.html.haml
554
+ - app/views/para/stall/inputs/shipping_notes/new.html.haml
555
+ - app/views/para/stall/inputs/shipping_notes/sent.html.haml
438
556
  - app/views/stall/addresses/_fields.html.haml
439
557
  - app/views/stall/addresses/_nested_fields.html.haml
440
558
  - app/views/stall/admin_mailer/order_paid_email.html.haml
@@ -444,6 +562,7 @@ files:
444
562
  - app/views/stall/checkout/steps/_navigation.html.haml
445
563
  - app/views/stall/checkout/steps/show.html.haml
446
564
  - app/views/stall/credit_note_adjustments/_form.html.haml
565
+ - app/views/stall/curated_product_lists/show.html.haml
447
566
  - app/views/stall/customer_mailer/order_paid_email.html.haml
448
567
  - app/views/stall/customer_mailer/order_shipped_email.html.haml
449
568
  - app/views/stall/customers/_fields.html.haml
@@ -451,8 +570,20 @@ files:
451
570
  - app/views/stall/line_items/_add_error.html.haml
452
571
  - app/views/stall/line_items/_added.html.haml
453
572
  - app/views/stall/line_items/_form.html.haml
573
+ - app/views/stall/manufacturers/show.html.haml
454
574
  - app/views/stall/payments/_fields.html.haml
455
575
  - app/views/stall/payments/manual_payment_gateway/_form.html.haml
576
+ - app/views/stall/product_categories/show.html.haml
577
+ - app/views/stall/products/_filters.html.haml
578
+ - app/views/stall/products/_list.html.haml
579
+ - app/views/stall/products/_product.html.haml
580
+ - app/views/stall/products/_product_details.html.haml
581
+ - app/views/stall/products/filters/_category_filter.html.haml
582
+ - app/views/stall/products/filters/_manufacturer_filter.html.haml
583
+ - app/views/stall/products/filters/_price_filter.html.haml
584
+ - app/views/stall/products/filters/_property_filter.html.haml
585
+ - app/views/stall/products/index.html.haml
586
+ - app/views/stall/products/show.html.haml
456
587
  - app/views/stall/shared/mailers/_address.html.haml
457
588
  - app/views/stall/shared/mailers/_cart.html.haml
458
589
  - app/views/stall/shared/mailers/_shipping_note.html.haml
@@ -496,6 +627,18 @@ files:
496
627
  - db/migrate/20170217142050_create_stall_manufacturers.rb
497
628
  - db/migrate/20170217143037_add_manufacturer_to_stall_products.rb
498
629
  - db/migrate/20170217153634_add_notification_email_sent_at_to_stall_shipments.rb
630
+ - db/migrate/20170221094450_add_slug_to_stall_manufacturers.rb
631
+ - db/migrate/20170303122616_create_stall_product_suggestions.rb
632
+ - db/migrate/20170303151939_add_position_to_stall_manufacturers.rb
633
+ - db/migrate/20170308162740_create_stall_curated_product_lists.rb
634
+ - db/migrate/20170308163532_create_stall_curated_list_products.rb
635
+ - db/migrate/20170317103740_create_stall_users.rb
636
+ - db/migrate/20170317104332_create_stall_user_omniauth_accounts.rb
637
+ - db/migrate/20170320133513_fix_curated_product_list_bad_foreign_key.rb
638
+ - db/migrate/20170321104203_create_stall_images.rb
639
+ - db/migrate/20170321112248_remove_image_attachment_to_stall_products.rb
640
+ - db/migrate/20170411134756_add_stock_to_stall_variants.rb
641
+ - lib/ext/ransack.rb
499
642
  - lib/generators/stall/checkout/step/step_generator.rb
500
643
  - lib/generators/stall/checkout/step/templates/step.html.haml.erb
501
644
  - lib/generators/stall/checkout/step/templates/step.rb.erb
@@ -537,6 +680,7 @@ files:
537
680
  - lib/stall/config.rb
538
681
  - lib/stall/default_currency_manager.rb
539
682
  - lib/stall/engine.rb
683
+ - lib/stall/omniauth_provider.rb
540
684
  - lib/stall/payable.rb
541
685
  - lib/stall/payments.rb
542
686
  - lib/stall/payments/config.rb
@@ -547,6 +691,13 @@ files:
547
691
  - lib/stall/payments/manual_payment_gateway.rb
548
692
  - lib/stall/payments/urls_config.rb
549
693
  - lib/stall/priceable.rb
694
+ - lib/stall/product_filters.rb
695
+ - lib/stall/product_filters/base_filter.rb
696
+ - lib/stall/product_filters/builder.rb
697
+ - lib/stall/product_filters/category_filter.rb
698
+ - lib/stall/product_filters/manufacturer_filter.rb
699
+ - lib/stall/product_filters/price_filter.rb
700
+ - lib/stall/product_filters/property_filter.rb
550
701
  - lib/stall/rails/currency_helper.rb
551
702
  - lib/stall/rails/routing_mapper.rb
552
703
  - lib/stall/reference_manager.rb
@@ -1,4 +0,0 @@
1
- /*
2
- Place all the styles related to the matching controller here.
3
- They will automatically be included in application.css.
4
- */