workarea-reviews 3.1.0

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