workarea-reviews 3.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +20 -0
  3. data/.eslintignore +2 -0
  4. data/.eslintrc +24 -0
  5. data/.github/ISSUE_TEMPLATE/bug_report.md +37 -0
  6. data/.github/ISSUE_TEMPLATE/documentation-request.md +17 -0
  7. data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  8. data/.gitignore +16 -0
  9. data/.scss-lint.yml +188 -0
  10. data/.yardopts +1 -0
  11. data/CHANGELOG.md +756 -0
  12. data/CODE_OF_CONDUCT.md +3 -0
  13. data/CONTRIBUTING.md +3 -0
  14. data/Gemfile +6 -0
  15. data/LICENSE +52 -0
  16. data/README.md +107 -0
  17. data/Rakefile +54 -0
  18. data/app/assets/images/workarea/admin/icons/star.svg +1 -0
  19. data/app/assets/images/workarea/storefront/icons/empty_star.svg +1 -0
  20. data/app/assets/images/workarea/storefront/icons/half_star.svg +1 -0
  21. data/app/assets/images/workarea/storefront/icons/star.svg +1 -0
  22. data/app/assets/javascripts/workarea/storefront/reviews/modules/product_review_ajax_submit.js +39 -0
  23. data/app/assets/javascripts/workarea/storefront/reviews/modules/product_reviews_sort_menus.js +82 -0
  24. data/app/assets/javascripts/workarea/storefront/reviews/modules/rating_buttons.js +103 -0
  25. data/app/assets/javascripts/workarea/storefront/reviews/templates/sort_by_property.jst.ejs +11 -0
  26. data/app/assets/stylesheets/workarea/storefront/reviews/components/_rating.scss +28 -0
  27. data/app/assets/stylesheets/workarea/storefront/reviews/components/_reviews.scss +59 -0
  28. data/app/assets/stylesheets/workarea/storefront/reviews/components/_reviews_aggregate.scss +38 -0
  29. data/app/assets/stylesheets/workarea/storefront/reviews/components/_write_review.scss +63 -0
  30. data/app/controllers/workarea/admin/catalog_products_controller.decorator +9 -0
  31. data/app/controllers/workarea/admin/import_reviews_controller.rb +35 -0
  32. data/app/controllers/workarea/admin/reviews_controller.rb +51 -0
  33. data/app/controllers/workarea/storefront/review_requests_controller.rb +50 -0
  34. data/app/controllers/workarea/storefront/reviews_controller.rb +53 -0
  35. data/app/helpers/workarea/admin/reviews_helper.rb +12 -0
  36. data/app/helpers/workarea/storefront/reviews_helper.rb +24 -0
  37. data/app/mailers/workarea/admin/status_report_mailer.decorator +8 -0
  38. data/app/mailers/workarea/storefront/review_mailer.rb +23 -0
  39. data/app/models/workarea/catalog/product.decorator +15 -0
  40. data/app/models/workarea/fulfillment.decorator +11 -0
  41. data/app/models/workarea/review/request.rb +62 -0
  42. data/app/models/workarea/review.rb +135 -0
  43. data/app/models/workarea/search/admin/review.rb +72 -0
  44. data/app/models/workarea/search/storefront/product.decorator +9 -0
  45. data/app/models/workarea/sort.decorator +17 -0
  46. data/app/queries/workarea/review_request_params.rb +47 -0
  47. data/app/queries/workarea/review_summary.rb +11 -0
  48. data/app/queries/workarea/search/admin_reviews.rb +40 -0
  49. data/app/queries/workarea/search/category_browse.decorator +9 -0
  50. data/app/queries/workarea/search/product_search.decorator +9 -0
  51. data/app/seeds/reviews.rb +38 -0
  52. data/app/services/workarea/create_review.rb +99 -0
  53. data/app/view_models/workarea/admin/product_view_model.decorator +7 -0
  54. data/app/view_models/workarea/admin/review_view_model.rb +23 -0
  55. data/app/view_models/workarea/admin/reviews_search_view_model.rb +46 -0
  56. data/app/view_models/workarea/storefront/product_view_model.decorator +13 -0
  57. data/app/view_models/workarea/storefront/review_view_model.rb +14 -0
  58. data/app/views/workarea/admin/activities/_review_create.html.haml +12 -0
  59. data/app/views/workarea/admin/activities/_review_destroy.html.haml +10 -0
  60. data/app/views/workarea/admin/activities/_review_update.html.haml +10 -0
  61. data/app/views/workarea/admin/reviews/_aux_navigation.html.haml +5 -0
  62. data/app/views/workarea/admin/reviews/_catalog_products_aux_link.html.haml +5 -0
  63. data/app/views/workarea/admin/reviews/_dashboard_navigation.html.haml +1 -0
  64. data/app/views/workarea/admin/reviews/_menu.html.haml +3 -0
  65. data/app/views/workarea/admin/reviews/_summary.html.haml +12 -0
  66. data/app/views/workarea/admin/reviews/edit.html.haml +77 -0
  67. data/app/views/workarea/admin/reviews/index.html.haml +74 -0
  68. data/app/views/workarea/admin/status_report_mailer/_reviews.html.haml +5 -0
  69. data/app/views/workarea/storefront/products/_rating.html.haml +10 -0
  70. data/app/views/workarea/storefront/products/_reviews.html.haml +23 -0
  71. data/app/views/workarea/storefront/products/_reviews_aggregate.html.haml +22 -0
  72. data/app/views/workarea/storefront/products/_reviews_summary.html.haml +2 -0
  73. data/app/views/workarea/storefront/review_mailer/review_request.html.haml +22 -0
  74. data/app/views/workarea/storefront/review_requests/show.html.haml +44 -0
  75. data/app/views/workarea/storefront/reviews/new.html.haml +68 -0
  76. data/app/views/workarea/storefront/style_guides/_reviews_product_summary_docs.html.haml +13 -0
  77. data/app/views/workarea/storefront/style_guides/components/_reviews.html.haml +17 -0
  78. data/app/workers/workarea/create_review_requests.rb +33 -0
  79. data/app/workers/workarea/schedule_review_requests.rb +44 -0
  80. data/app/workers/workarea/send_review_requests.rb +12 -0
  81. data/app/workers/workarea/update_product_review_data.rb +26 -0
  82. data/bin/rails +18 -0
  83. data/config/initializers/append_points.rb +70 -0
  84. data/config/initializers/assets.rb +1 -0
  85. data/config/initializers/configuration.rb +29 -0
  86. data/config/initializers/rack_attack.rb +11 -0
  87. data/config/initializers/recaptcha.rb +19 -0
  88. data/config/initializers/scheduled_jobs.rb +6 -0
  89. data/config/locales/en.yml +104 -0
  90. data/config/routes.rb +21 -0
  91. data/lib/tasks/verify.rake +16 -0
  92. data/lib/workarea/mailer_previews/storefront/review_mailer_preview.rb +10 -0
  93. data/lib/workarea/reviews/engine.rb +12 -0
  94. data/lib/workarea/reviews/version.rb +5 -0
  95. data/lib/workarea/reviews.rb +13 -0
  96. data/test/dummy/Rakefile +6 -0
  97. data/test/dummy/app/assets/config/manifest.js +4 -0
  98. data/test/dummy/app/assets/images/.keep +0 -0
  99. data/test/dummy/app/assets/javascripts/application.js +13 -0
  100. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  101. data/test/dummy/app/controllers/application_controller.rb +3 -0
  102. data/test/dummy/app/controllers/concerns/.keep +0 -0
  103. data/test/dummy/app/helpers/application_helper.rb +2 -0
  104. data/test/dummy/app/jobs/application_job.rb +2 -0
  105. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  106. data/test/dummy/app/models/concerns/.keep +0 -0
  107. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  108. data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
  109. data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
  110. data/test/dummy/bin/bundle +3 -0
  111. data/test/dummy/bin/rails +4 -0
  112. data/test/dummy/bin/rake +4 -0
  113. data/test/dummy/bin/setup +34 -0
  114. data/test/dummy/bin/update +29 -0
  115. data/test/dummy/config/application.rb +25 -0
  116. data/test/dummy/config/boot.rb +5 -0
  117. data/test/dummy/config/cable.yml +9 -0
  118. data/test/dummy/config/environment.rb +5 -0
  119. data/test/dummy/config/environments/development.rb +55 -0
  120. data/test/dummy/config/environments/production.rb +86 -0
  121. data/test/dummy/config/environments/test.rb +43 -0
  122. data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
  123. data/test/dummy/config/initializers/assets.rb +11 -0
  124. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  125. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  126. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  127. data/test/dummy/config/initializers/inflections.rb +16 -0
  128. data/test/dummy/config/initializers/mime_types.rb +4 -0
  129. data/test/dummy/config/initializers/new_framework_defaults.rb +21 -0
  130. data/test/dummy/config/initializers/session_store.rb +3 -0
  131. data/test/dummy/config/initializers/workarea.rb +5 -0
  132. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  133. data/test/dummy/config/locales/en.yml +23 -0
  134. data/test/dummy/config/puma.rb +47 -0
  135. data/test/dummy/config/routes.rb +5 -0
  136. data/test/dummy/config/secrets.yml +22 -0
  137. data/test/dummy/config/spring.rb +6 -0
  138. data/test/dummy/config.ru +5 -0
  139. data/test/dummy/db/seeds.rb +2 -0
  140. data/test/dummy/lib/assets/.keep +0 -0
  141. data/test/dummy/log/.keep +0 -0
  142. data/test/factories/reviews.rb +32 -0
  143. data/test/fixtures/reviews.csv +5 -0
  144. data/test/helpers/workarea/admin/reviews_helper_test.rb +17 -0
  145. data/test/helpers/workarea/storefront/reviews_helper_test.rb +19 -0
  146. data/test/integration/workarea/admin/reviews_integration_test.rb +33 -0
  147. data/test/integration/workarea/storefront/review_requests_integration_test.rb +63 -0
  148. data/test/integration/workarea/storefront/reviews_integration_test.rb +82 -0
  149. data/test/javascripts/fixtures/product_review_ajax_submit.html.haml +4 -0
  150. data/test/javascripts/product_review_ajax_submit_spec.js +28 -0
  151. data/test/javascripts/spec_helper.js +23 -0
  152. data/test/models/workarea/review/request_test.rb +18 -0
  153. data/test/models/workarea/review_test.rb +94 -0
  154. data/test/models/workarea/search/storefront/product_test.decorator +14 -0
  155. data/test/queries/workarea/review_request_params_test.rb +64 -0
  156. data/test/services/workarea/create_review_test.rb +131 -0
  157. data/test/system/workarea/admin/review_system_test.rb +96 -0
  158. data/test/system/workarea/storefront/review_request_system_test.rb +34 -0
  159. data/test/system/workarea/storefront/review_system_test.rb +113 -0
  160. data/test/teaspoon_env.rb +10 -0
  161. data/test/test_helper.rb +11 -0
  162. data/test/workers/workarea/create_review_requests_test.rb +38 -0
  163. data/test/workers/workarea/schedule_review_requests_test.rb +115 -0
  164. data/test/workers/workarea/send_review_requests_test.rb +30 -0
  165. data/workarea-reviews.gemspec +22 -0
  166. metadata +241 -0
data/CHANGELOG.md ADDED
@@ -0,0 +1,756 @@
1
+ Workarea Reviews 3.0.8 (2019-08-21)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Open Source!
5
+
6
+
7
+
8
+ Workarea Reviews 3.0.7 (2019-06-11)
9
+ --------------------------------------------------------------------------------
10
+
11
+ * Add Rake Task for Reconciling Verified Purchasers
12
+
13
+ Reviews can have a `:verified` badge associated with the content, but
14
+ for those upgrading to a newer version some data needs to be changed in
15
+ order to make this happen retroactively for older reviews. Add a Rake
16
+ task for adding the `:verified` field to reviews where the user actually
17
+ bought the product. For any reviews that are made after the upgrade,
18
+ this will be automatically assigned as the review is being created.
19
+
20
+ REVIEWS-146
21
+ Tom Scott
22
+
23
+
24
+
25
+ Workarea Reviews 3.0.6 (2019-04-16)
26
+ --------------------------------------------------------------------------------
27
+
28
+ * Automatically Configure reCAPTCHA Proxy
29
+
30
+ Set the `Recaptcha.config.proxy` to `$HTTP_PROXY` in deployed
31
+ environments so developers don't have to worry about it. Update the
32
+ README to remove references to this configuration setting.
33
+
34
+ REVIEWS-144
35
+ Tom Scott
36
+
37
+ * Point Gemfile to gem server
38
+
39
+ Curt Howard
40
+
41
+
42
+
43
+ Workarea Reviews 3.0.5 (2019-03-19)
44
+ --------------------------------------------------------------------------------
45
+
46
+ * Fix Browsing Controls UI
47
+
48
+ REVIEWS-140
49
+ Curt Howard
50
+
51
+ * Update for workarea v3.4 compatibility
52
+
53
+ REVIEWS-139
54
+ Matt Duffy
55
+
56
+
57
+
58
+ Workarea Reviews 3.0.4 (2019-01-22)
59
+ --------------------------------------------------------------------------------
60
+
61
+ * Improve readme
62
+
63
+ ECOMMERCE-6523
64
+ REVIEWS-138
65
+ Chris Cressman
66
+
67
+
68
+
69
+ Workarea Reviews 3.0.3 (2018-10-30)
70
+ --------------------------------------------------------------------------------
71
+
72
+ * Change DateTime to Time in ScheduleReviewRequestsTests
73
+
74
+ Assertions began failing due to difference in nanoseconds, uncertain why but using Time instead of DateTime is a safe resolution.
75
+
76
+ REVIEWS-137
77
+ Francis Bongiovanni
78
+
79
+ * Extend list-reset trump for review group UI
80
+
81
+ REVIEWS-136
82
+ Curt Howard
83
+
84
+
85
+
86
+ Workarea Reviews 3.0.2 (2018-07-24)
87
+ --------------------------------------------------------------------------------
88
+
89
+ * Add rack attack throttle for review submissions
90
+
91
+ REVIEWS-132
92
+ Matt Duffy
93
+
94
+ * Fix Missing Title When Submitting Review
95
+
96
+ Previously, all reviews had the title and the body equal because the
97
+ title was not being passed through properly in params. We're now passing
98
+ the `title:` attribute into the Review model explicitly.
99
+
100
+ REVIEWS-130
101
+ Tom Scott
102
+
103
+
104
+
105
+ Workarea Reviews 3.0.1 (2018-06-12)
106
+ --------------------------------------------------------------------------------
107
+
108
+ * Translate hard-coded text on new review form
109
+
110
+ - Add `workarea.storefront.reviews.hints.display_name` for viewing hint on
111
+ how names are displayed.
112
+ - Add `workarea.storefront.reviews.hints.email` for viewing hint on how
113
+ email is used.
114
+
115
+ REVIEWS-130
116
+ Tom Scott
117
+
118
+
119
+
120
+ Workarea Reviews 3.0.0 (2018-05-24)
121
+ --------------------------------------------------------------------------------
122
+
123
+ * Add calculated review fields on product to data file ignore fields
124
+
125
+ REVIEWS-129
126
+ Matt Duffy
127
+
128
+ * Cancel review requests after user reviews a product from order
129
+
130
+ If a user reviews a product, either through a review request email or
131
+ directly on the site, other future review requests are canceled for
132
+ orders with that product.
133
+
134
+ REVIEWS-128
135
+ Matt Duffy
136
+
137
+ * Add administrable content to review request emails
138
+
139
+ REVIEWS-128
140
+ Matt Duffy
141
+
142
+ * set verified on a sample of review seeds
143
+
144
+ Matt Duffy
145
+
146
+ * Add importing/exporting from v3.3
147
+
148
+ ECOMMERCE-6010
149
+ Ben Crouse
150
+
151
+ * Remove import, update to work with base DataFile and bulk action changes
152
+
153
+ REVIEWS-127
154
+ Matt Duffy
155
+
156
+ * Leverage Workarea Changelog task
157
+
158
+ ECOMMERCE-5355
159
+ Curt Howard
160
+
161
+ * Update Mailers for Premailer
162
+
163
+ REVIEWS-126
164
+ Curt Howard
165
+
166
+ * Fix CHANGELOG
167
+
168
+ Curt Howard
169
+
170
+ * Update status report mailer partial to fit with new templates
171
+
172
+ Matt Duffy
173
+
174
+ * Update review request template
175
+
176
+ Matt Duffy
177
+
178
+ * Fix issues around reviews of missing products
179
+
180
+ Matt Duffy
181
+
182
+ * Update review import to align with Workarea::Import changes
183
+
184
+ REVIEWS-124
185
+ Matt Duffy
186
+
187
+ * Add verified facet and column to reviews
188
+
189
+ REVIEWS-116
190
+ Matt Duffy
191
+
192
+ * Add reviews import to admin
193
+
194
+ REVIEWS-107
195
+ Matt Duffy
196
+
197
+ * Automatically configure recaptcha for test and development
198
+
199
+ REVIEWS-117
200
+ Matt Duffy
201
+
202
+ * Disable submit button when user leaves a review
203
+
204
+ - This prevents multiple review submissions, which can happen even with recaptcha in place
205
+
206
+ REVIEWS-119
207
+ Dave Barnow
208
+
209
+ * Mark requests as sent after sending email
210
+
211
+ Matt Duffy
212
+
213
+ * Improve write a review form
214
+
215
+ * Remove fieldset and use property/label instead
216
+ * Use inline-list for rating stars wrapper
217
+ * Mark optional fields as such
218
+ * Use a grid for submit/cancel buttons for modal action consistency
219
+ * Use email_field_tag with correct attributes
220
+
221
+ REVIEWS-113
222
+ Dave Barnow
223
+
224
+ * Clean up navigation links
225
+
226
+ * Add link to marketing dashboard
227
+ * Fix link to point back to marketing dashboard
228
+ * Add jump to navigation
229
+
230
+ REVIEWS-115
231
+ Dave Barnow
232
+
233
+ * Send review request emails to users who have recently placed an order
234
+
235
+ REVIEWS-110
236
+ Matt Duffy
237
+
238
+ * Removes appended stylesheet for product_summary
239
+
240
+ REVIEWS-59
241
+ Mansi Pathak
242
+
243
+ * Removes .rating styles extended in product_summary sass
244
+
245
+ REVIEWS-59
246
+ Mansi Pathak
247
+
248
+ * Mark reviews made by users who have purchased the product as verified
249
+
250
+ REVIEWS-108
251
+ Matt Duffy
252
+
253
+ * Allow reviews without logging in. Loosen model validations
254
+
255
+ REVIEWS-112
256
+ Matt Duffy
257
+
258
+ * Cleans up sass to match code standards
259
+
260
+ * add functional vars
261
+
262
+ * extend trumps and objects
263
+
264
+ * resolve sass linter warnings
265
+
266
+ * use spacing unit for marign and padding
267
+
268
+ REVIEWS-98
269
+ Mansi Pathak
270
+
271
+ * Add summary of reviews to status report email
272
+
273
+ REVIEWS-109
274
+ Matt Duffy
275
+
276
+ * Convert index from summaries to table
277
+
278
+ REVIEWS-103
279
+ Curt Howard
280
+
281
+
282
+
283
+ Workarea Reviews 2.1.1 (2018-04-03)
284
+ --------------------------------------------------------------------------------
285
+
286
+ * Default Reviews link in Product Auxiliary Nav to sort by newest
287
+
288
+ REVIEWS-121
289
+ Dave Barnow
290
+
291
+ Workarea Reviews 2.1.0 (2017-09-15)
292
+ --------------------------------------------------------------------------------
293
+
294
+ * Adds conditional to show how many pending reviews compared to all reviews
295
+
296
+ REVIEWS-91
297
+ Ivana Veliskova
298
+
299
+ * Fix 0 Reviews State on PDP
300
+
301
+ * Shows the user there are no reviews
302
+ * lines review count display and write a review in the same row
303
+ ** allows for consistent ui across items with reviews and items without reviews
304
+
305
+ REVIEWS-90
306
+ Lucas Boyd
307
+
308
+ * Fix Review Stars UI in ie11
309
+
310
+ Add a width to write review stars to prevent them from spreading too far apart and breaking the UI
311
+
312
+ REVIEWS-96
313
+ Lucas Boyd
314
+
315
+ * Replace modernizr with feature js in CSS
316
+
317
+ Replaces modernizr selectors with the corresponding featurejs selectors
318
+
319
+ REVIEWS-94
320
+ Lucas Boyd
321
+
322
+ * Update activity with correct workarea helper for restore links
323
+
324
+ REVIEWS-95
325
+ Matt Duffy
326
+
327
+ * Add restore link to reviews for admin trash
328
+
329
+ REVIEWS-95
330
+ Matt Duffy
331
+
332
+
333
+ Workarea Reviews 2.0.5 (2017-08-22)
334
+ --------------------------------------------------------------------------------
335
+
336
+ * Adds conditional to show how many pending reviews compared to all reviews
337
+
338
+ REVIEWS-91
339
+ Ivana Veliskova
340
+
341
+ * Fix 0 Reviews State on PDP
342
+
343
+ * Shows the user there are no reviews
344
+ * lines review count display and write a review in the same row
345
+ ** allows for consistent ui across items with reviews and items without reviews
346
+
347
+ REVIEWS-90
348
+ Lucas Boyd
349
+
350
+ * Fix Review Stars UI in ie11
351
+
352
+ Add a width to write review stars to prevent them from spreading too far apart and breaking the UI
353
+
354
+ REVIEWS-96
355
+ Lucas Boyd
356
+
357
+ * Replace modernizr with feature js in CSS
358
+
359
+ Replaces modernizr selectors with the corresponding featurejs selectors
360
+
361
+ REVIEWS-94
362
+ Lucas Boyd
363
+
364
+
365
+ Workarea Reviews 2.0.4 (2017-07-07)
366
+ --------------------------------------------------------------------------------
367
+
368
+ * Wrap product ID in quotes for more relevant search results
369
+
370
+ REVIEWS-92
371
+ Dave Barnow
372
+
373
+ * Reset review attributes to defaults for product copies
374
+
375
+ REVIEWS-89
376
+ Matt Duffy
377
+
378
+
379
+ Workarea Reviews 2.0.3 (2017-06-08)
380
+ --------------------------------------------------------------------------------
381
+
382
+ * Fix test to match change to class
383
+
384
+ The interface of storefront/product changed but the test wasn't changed
385
+ to match it. Change the test to check if #sorts includes the sorting
386
+ rating.
387
+
388
+ no changelog
389
+
390
+ REVIEWS-88
391
+ Eric Pigeon
392
+
393
+ * Correct storefront product sorting by top rated, clean up admin reviews sorting
394
+
395
+ REVIEWS-83
396
+ Matt Duffy
397
+
398
+ * Expose top rated sort option to review admin. Fix issues with review sorting
399
+
400
+ REVIEWS-83
401
+ Matt Duffy
402
+
403
+ * Rename admin review view model to fit expected naming convention for search results
404
+
405
+ REVIEWS-82
406
+ Matt Duffy
407
+
408
+ * Remove jshint and replace with eslint
409
+
410
+ REVIEWS-81
411
+ Dave Barnow
412
+
413
+
414
+ Workarea Reviews 2.0.2 (2017-05-26)
415
+ --------------------------------------------------------------------------------
416
+
417
+ * Append seeds after others so that all product types are accounted for
418
+
419
+ REVIEWS-80
420
+ Dave Barnow
421
+
422
+ * Don't load helper in initialiser
423
+
424
+ This was causing a rails error when the plugin is installed in the same app as package-products.
425
+
426
+ REVIEWS-78
427
+ Beresford, Jake
428
+
429
+
430
+ Workarea Reviews 2.0.1 (2017-05-19)
431
+ --------------------------------------------------------------------------------
432
+
433
+
434
+ Workarea Reviews 2.0.0 (2017-05-17)
435
+ --------------------------------------------------------------------------------
436
+
437
+ * Simplify admin reviews UI
438
+
439
+ REVIEWS-69
440
+ Matt Duffy
441
+
442
+ * Upgrade Reviews for v3
443
+
444
+ REVIEWS-69
445
+ Eric Pigeon
446
+
447
+ * Reviews upgrade for v3 Frontend work
448
+
449
+ * Updated remaining admin translations
450
+ * Make the UI all nice and that.
451
+ * Updated admin views (summary card, edit etc.)
452
+ * Change review stars implementation to use inline svgs
453
+ * Update write review form star buttons to work with inline_svg
454
+
455
+ REVIEWS-69
456
+ Beresford, Jake
457
+
458
+ * Upgrade Reviews for v3
459
+
460
+ REVIEWS-69
461
+ Eric Pigeon
462
+
463
+
464
+ WebLinc Reviews 1.1.0 (2016-10-12)
465
+ --------------------------------------------------------------------------------
466
+
467
+ * Add activity support for v2.3
468
+
469
+ REVIEWS-66
470
+ Ben Crouse
471
+
472
+ * Improve ajax submit review feature
473
+
474
+ REVIEWS-64
475
+ Curt Howard
476
+
477
+ * Fix malformed link to reviews section on PDP
478
+
479
+ REVIEWS-62
480
+ Curt Howard
481
+
482
+ * Add teaspoon test for ajax submit reviews
483
+
484
+ REVIEWS-56
485
+ Kristen Ward
486
+
487
+ * Set up teaspoon in reviews gem
488
+
489
+ Add necessary files and settings
490
+
491
+ REVIEWS-56
492
+ Kristen Ward
493
+
494
+ * Submit reviews via ajax when submitted from dialog
495
+
496
+ Allow the 'write review' form to be opened in a dialog
497
+ and submitted via ajax to keep the user on the same page.
498
+
499
+ REVIEWS-56
500
+ Kristen Ward
501
+
502
+ * Correct the ordering of reviews on PDP to be based on created_at field.
503
+
504
+ REVIEWS-60
505
+ gharnly
506
+
507
+ * Correct the ordering of reviews on PDP to be based on created_at field.
508
+
509
+ REVIEWS-60
510
+ gharnly
511
+
512
+ * Force loading of the sort decorator before the product browse decorator
513
+
514
+ Because decorator-loading order isn't deterministic, sometimes the product browse decorator gets loaded first. This causes an error because it tries to reference a method added in the sort decorator.
515
+
516
+ REVIEWS-57
517
+ Ben Crouse
518
+
519
+ * Force loading of the sort decorator before the product browse decorator
520
+
521
+ Because decorator-loading order isn't deterministic, sometimes the product browse decorator gets loaded first. This causes an error because it tries to reference a method added in the sort decorator.
522
+
523
+ REVIEWS-57
524
+ Ben Crouse
525
+
526
+ * Add hidden-field honeypot for review bots.
527
+
528
+ Adds a `username` field on the new review form which is hidden with CSS.
529
+ If this field is present on submission we drop the request and redirect
530
+ as if it were successfully created.
531
+
532
+ REVIEWS-53
533
+ Thomas Vendetta
534
+
535
+ * Better logic and test
536
+
537
+ REVIEWS-54
538
+ Thomas Vendetta
539
+
540
+ * Merge branch 'feature/REVIEWS-54-require-users-spend-money-to-post-reviews' of ssh://stash.tools.workarea.com:7999/wl/workarea-reviews into feature/REVIEWS-54-require-users-spend-money-to-post-reviews
541
+ Thomas Vendetta
542
+
543
+ * Add visually hidden class to field
544
+
545
+ REVIEWS-53
546
+ Thomas Vendetta
547
+
548
+ * Config to require user spend money to post reviews
549
+
550
+ Adds a configuration setting that requires users to have spent money
551
+ to post a product review.
552
+
553
+ REVIEWS-54
554
+ Thomas Vendetta
555
+
556
+ * Add hidden-field honeypot for review bots.
557
+
558
+ Adds a `username` field on the new review form which is hidden with CSS.
559
+ If this field is present on submission we drop the request and redirect
560
+ as if it were successfully created.
561
+
562
+ REVIEWS-53
563
+ Thomas Vendetta
564
+
565
+ * Fix read/write review scroll_to_button bug
566
+
567
+ The `anchor` param being passed to some route helpers was being
568
+ improperly merged into the options hash. This commit separates this
569
+ param from the other options passed to the helper.
570
+
571
+ REVIEWS-52
572
+ Curt Howard
573
+
574
+
575
+ WebLinc Reviews 1.0.5 (2016-08-30)
576
+ --------------------------------------------------------------------------------
577
+
578
+ * Fix malformed link to reviews section on PDP
579
+
580
+ REVIEWS-62
581
+ Curt Howard
582
+
583
+
584
+ WebLinc Reviews 1.0.4 (2016-05-09)
585
+ --------------------------------------------------------------------------------
586
+
587
+ * Correct the ordering of reviews on PDP to be based on created_at field.
588
+
589
+ REVIEWS-60
590
+ gharnly
591
+
592
+
593
+ WebLinc Reviews 1.0.3 (2016-04-08)
594
+ --------------------------------------------------------------------------------
595
+
596
+ * Force loading of the sort decorator before the product browse decorator
597
+
598
+ Because decorator-loading order isn't deterministic, sometimes the product browse decorator gets loaded first. This causes an error because it tries to reference a method added in the sort decorator.
599
+
600
+ REVIEWS-57
601
+ Ben Crouse
602
+
603
+
604
+ WebLinc Reviews 1.0.2 (2016-04-05)
605
+ --------------------------------------------------------------------------------
606
+
607
+
608
+ WebLinc Reviews 1.0.1 (January 26, 2016)
609
+ --------------------------------------------------------------------------------
610
+
611
+ * Fix read/write review scroll_to_button bug
612
+
613
+ The `anchor` param being passed to some route helpers was being
614
+ improperly merged into the options hash. This commit separates this
615
+ param from the other options passed to the helper.
616
+
617
+ REVIEWS-52
618
+
619
+
620
+ Unreleased
621
+ --------------------------------------------------------------------------------
622
+
623
+ * Config to require user spend money to post reviews
624
+
625
+ Adds a configuration setting that requires users to have spent money
626
+ to post a product review.
627
+
628
+ REVIEWS-54
629
+
630
+ * Add hidden-field honeypot for review bots.
631
+
632
+ Adds a `username` field on the new review form which is hidden with CSS.
633
+ If this field is present on submission we drop the request and redirect
634
+ as if it were successfully created.
635
+
636
+ REVIEWS-53
637
+
638
+
639
+ WebLinc Reviews 1.0.0 (January 13, 2016)
640
+ --------------------------------------------------------------------------------
641
+
642
+ * Update for compatibility with WebLinc 2.0
643
+
644
+ * Replace absolute URLs with relative paths
645
+
646
+
647
+ WebLinc Reviews 0.10.0 (October 7, 2015)
648
+ --------------------------------------------------------------------------------
649
+
650
+ * Add metadata and update context-menu
651
+
652
+ REVIEWS-50
653
+
654
+ * Update plugin to be compatible with v0.12
655
+
656
+ Update new & edit views, property work
657
+ Add blank row to permissions partial
658
+ Update indexes, add context-menu to summary/edit
659
+
660
+ REVIEWS-50
661
+
662
+ * Update menu for compatibility with ECOMMERCE-1344
663
+
664
+ REVIEWS-45
665
+
666
+ * Fix presentation of dashboard pending reviews count
667
+
668
+ Fix markup within dashboard to do list partial to match the to do list
669
+ markup from workarea.
670
+
671
+ REVIEWS-51
672
+
673
+ * Update sort by property js template with correct class name
674
+
675
+ REVIEWS-46
676
+
677
+
678
+ WebLinc Reviews 0.9.0 (August 21, 2015)
679
+ --------------------------------------------------------------------------------
680
+
681
+ * Allow reviews without a user so that reviews from legacy applications can
682
+ be imported.
683
+
684
+ REVIEWS-44
685
+
686
+ 826ca2a5c96062bc4e0be5adb2887baec76effbd
687
+ 3b578531e3a3d23d292cffb592a3a53b2c63e42b
688
+
689
+ * Rename SCSS blocks `panel` and `panel--buttons` to `index-filters` and
690
+ `form-actions`, respectively, for compatibility with WebLinc 0.11.
691
+
692
+ REVIEWS-43
693
+
694
+ c2a5cbfd09014160afe7ed5039f60ce229e4f096
695
+
696
+ * Use vector images for review stars. Re-write display code accordingly.
697
+
698
+ REVIEWS-34
699
+
700
+ 491e6bad575c921e5e6f57f4962b45f4672c18db (merge)
701
+
702
+
703
+ WebLinc Reviews 0.8.0 (July 12, 2015)
704
+ --------------------------------------------------------------------------------
705
+
706
+ * Add model summaries to Admin indexes.
707
+
708
+ REVIEWS-39
709
+
710
+ d462476e7bd817f505c703c7cf7daa66874e7da3
711
+ 410b6dd1f2590178860421784a9adec0a4520c4d
712
+ 1f52be2a94898d03639b82a0bdeafde146b564d6
713
+ bd21b18c9c65fa6a9010098f63ed877f1ce65389
714
+
715
+ * Update for compatibility with workarea 0.10 and constrain to workarea 0.10.
716
+
717
+ eaa21d516260b6bdd20cffdfdf6f260a314e80c6
718
+ e641252d86ac34cecb696a992cec2976514a2946
719
+ b0a1b40cb10f10dd7b287331d2ef5c0584544dcd
720
+ 5606d9fe4eac382d120266b79bfdf0fcbfc18953
721
+ 7d251907578264886982393b821056f614d8c87c
722
+ 170ba9bdaf8aa60cd47d4a0030e20048e3c347f6
723
+ 5babadcb3270b4d6c2f06e9fd68efe3ad6fdf35b
724
+ dd669d4b31f0f20ff51b100a57274e2d39ef897e
725
+
726
+ * Fix "back" links in Admin.
727
+
728
+ REVIEWS-41
729
+
730
+ 696b1698c97cc08915588db304a67a931ee57a0b
731
+
732
+
733
+ WebLinc Reviews 0.7.0 (June 1, 2015)
734
+ --------------------------------------------------------------------------------
735
+
736
+ * Rename fixtures to factories and clean up factories.
737
+
738
+ * Update for compatibility and consistency with workarea 0.9.0.
739
+
740
+ * Remove pagination from reviews in Store Front. Display all reviews.
741
+
742
+ REVIEWS-20
743
+
744
+
745
+ WebLinc Reviews 0.6.0 (April 10, 2015)
746
+ --------------------------------------------------------------------------------
747
+
748
+ * Update JavaScript modules for compatibility with WebLinc 0.8.0.
749
+
750
+ * Update testing environment for compatibility with WebLinc 0.8.0.
751
+
752
+ * Use new decorator style for consistency with WebLinc 0.8.0.
753
+
754
+ * Remove gems server secrets for consistency with WebLinc 0.8.0.
755
+
756
+ * Update assets for compatibility with WebLinc 0.8.0.