workarea-reviews 3.0.10

Sign up to get free protection for your applications and to get access to all the features.
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 +763 -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.rb +135 -0
  42. data/app/models/workarea/review/request.rb +62 -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/review_seeds.rb +49 -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 +8 -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.rb +13 -0
  94. data/lib/workarea/reviews/engine.rb +12 -0
  95. data/lib/workarea/reviews/version.rb +5 -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.ru +5 -0
  116. data/test/dummy/config/application.rb +25 -0
  117. data/test/dummy/config/boot.rb +5 -0
  118. data/test/dummy/config/cable.yml +9 -0
  119. data/test/dummy/config/environment.rb +5 -0
  120. data/test/dummy/config/environments/development.rb +55 -0
  121. data/test/dummy/config/environments/production.rb +86 -0
  122. data/test/dummy/config/environments/test.rb +43 -0
  123. data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
  124. data/test/dummy/config/initializers/assets.rb +11 -0
  125. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  126. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  127. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  128. data/test/dummy/config/initializers/inflections.rb +16 -0
  129. data/test/dummy/config/initializers/mime_types.rb +4 -0
  130. data/test/dummy/config/initializers/new_framework_defaults.rb +21 -0
  131. data/test/dummy/config/initializers/session_store.rb +3 -0
  132. data/test/dummy/config/initializers/workarea.rb +5 -0
  133. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  134. data/test/dummy/config/locales/en.yml +23 -0
  135. data/test/dummy/config/puma.rb +47 -0
  136. data/test/dummy/config/routes.rb +5 -0
  137. data/test/dummy/config/secrets.yml +22 -0
  138. data/test/dummy/config/spring.rb +6 -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
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: cbc95c26a6972a59da6d0daa765491622783a60cfc8dd0961109b82839b0af77
4
+ data.tar.gz: 9f62f3d6484cdf8002172106970954fa053784844a6fa6084b2aee3baadf8e7b
5
+ SHA512:
6
+ metadata.gz: e6913aca804eeb31ab4bb877b74b2826b50596e7b3a087eb162c49d46dc6df2a162ab8ca683e8251a1c056c798d12597294125acea2f102a91150baef4b31a4c
7
+ data.tar.gz: ab487315635024cb2fcbb3b6cea388188b01ad31e0cfbcaf6e9e9513f35f1ad53c035eeb67927bda4796265bf6459eed6b14028bec6faf22066c3257907df5a1
@@ -0,0 +1,20 @@
1
+ # editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ indent_style = space
7
+ end_of_line = lf
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
10
+
11
+ [{*.rb,*.haml,*.decorator,*.yml,*.yaml,*.jbuilder}]
12
+ indent_size = 2
13
+ indent_style = space
14
+
15
+ [{*.js,*.jst,*.ejs,*.scss}]
16
+ indent_size = 4
17
+
18
+ [*.md]
19
+ indent_size = 4
20
+ trim_trailing_whitespace = false
@@ -0,0 +1,2 @@
1
+ **/test/**/*.js
2
+ testing/**/spec_helper.js
@@ -0,0 +1,24 @@
1
+ {
2
+ "extends": "eslint:recommended",
3
+ "rules": {
4
+ "semi": [1, "always"]
5
+ },
6
+ "globals": {
7
+ "window": true,
8
+ "document": true,
9
+ "WORKAREA": true,
10
+ "$": true,
11
+ "jQuery": true,
12
+ "_": true,
13
+ "feature": true,
14
+ "JST": true,
15
+ "Turbolinks": true,
16
+ "I18n": true,
17
+ "Chart": true,
18
+ "Dropzone": true,
19
+ "strftime": true,
20
+ "Waypoint": true,
21
+ "wysihtml": true,
22
+ "LocalTime": true,
23
+ }
24
+ }
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve Workarea
4
+ title: ''
5
+ labels: bug
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ ⚠️**Before you create**⚠️
11
+ Please verify the issue you're experiencing is not part of your Workarea project customizations. The best way to do this is with a [vanilla Workarea installation](https://developer.workarea.com/articles/create-a-new-host-application.html). This will help us spend time on fixes/improvements for the whole community. Thank you!
12
+
13
+ **Describe the bug**
14
+ A clear and concise description of what the bug is.
15
+
16
+ **To Reproduce**
17
+ Steps to reproduce the behavior:
18
+ 1. Go to '...'
19
+ 2. Click on '....'
20
+ 3. Scroll down to '....'
21
+ 4. See error
22
+
23
+ **Expected behavior**
24
+ A clear and concise description of what you expected to happen.
25
+
26
+ **Workarea Setup (please complete the following information):**
27
+ - Workarea Version: [e.g. v3.4.6]
28
+ - Plugins [e.g. workarea-blog, workarea-sitemaps]
29
+
30
+ **Attachments**
31
+ If applicable, add any attachments to help explain your problem, things like:
32
+ - screenshots
33
+ - Gemfile.lock
34
+ - test cases
35
+
36
+ **Additional context**
37
+ Add any other context about the problem here.
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: Documentation request
3
+ about: Suggest documentation
4
+ title: ''
5
+ labels: documentation
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your documentation related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm confused by [...]
12
+
13
+ **Describe the article you'd like**
14
+ A clear and concise description of what would be in the documentation article.
15
+
16
+ **Additional context**
17
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for Workarea
4
+ title: ''
5
+ labels: enhancement
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,16 @@
1
+ .DS_Store
2
+ .bundle/
3
+ .byebug_history
4
+ Gemfile.lock
5
+ .sass-cache/
6
+ log/*.log
7
+ pkg/
8
+ test/dummy/db/*.sqlite3
9
+ test/dummy/db/*.sqlite3-journal
10
+ test/dummy/log/*.log
11
+ test/dummy/tmp/
12
+ test/dummy/public/
13
+ node_modules
14
+ test/reports
15
+ package.json
16
+ yarn.lock
@@ -0,0 +1,188 @@
1
+ # Extension of the default configuration:
2
+ # https://github.com/causes/scss-lint/blob/master/config/default.yml
3
+
4
+ linters:
5
+ Comment:
6
+ enabled: false
7
+
8
+ DeclarationOrder:
9
+ enabled: true
10
+
11
+ ElsePlacement:
12
+ enabled: true
13
+ style: new_line
14
+
15
+ EmptyRule:
16
+ enabled: false
17
+
18
+ HexLength:
19
+ enabled: true
20
+ style: long
21
+
22
+ Indentation:
23
+ enabled: true
24
+ allow_non_nested_indentation: true
25
+ character: space
26
+ width: 4
27
+
28
+ LeadingZero:
29
+ enabled: true
30
+ style: include_zero
31
+
32
+ MergeableSelector:
33
+ enabled: true
34
+ force_nesting: false
35
+
36
+ PropertySortOrder:
37
+ enabled: true
38
+ ignore_unspecified: false
39
+ separate_groups: false
40
+ order:
41
+ - display
42
+ -
43
+ - position
44
+ - top
45
+ - right
46
+ - bottom
47
+ - left
48
+ - z-index
49
+ -
50
+ - margin
51
+ - margin-top
52
+ - margin-right
53
+ - margin-bottom
54
+ - margin-left
55
+ -
56
+ - margin-collapse
57
+ - margin-top-collapse
58
+ - margin-right-collapse
59
+ - margin-bottom-collapse
60
+ - margin-left-collapse
61
+ -
62
+ - padding
63
+ - padding-top
64
+ - padding-right
65
+ - padding-bottom
66
+ - padding-left
67
+ -
68
+ - width
69
+ - height
70
+ - max-width
71
+ - max-height
72
+ - min-width
73
+ - min-height
74
+ -
75
+ - float
76
+ - clear
77
+ -
78
+ - color
79
+ -
80
+ - font
81
+ - font-size
82
+ - font-style
83
+ - font-family
84
+ - font-weight
85
+ - font-variant
86
+ - font-smoothing
87
+ -
88
+ - line-height
89
+ - letter-spacing
90
+ - word-spacing
91
+ -
92
+ - text-align
93
+ - text-indent
94
+ - text-shadow
95
+ - text-overflow
96
+ - text-rendering
97
+ - text-transform
98
+ - text-decoration
99
+ - text-size-adjust
100
+ -
101
+ - word-break
102
+ - word-wrap
103
+ -
104
+ - white-space
105
+ -
106
+ - background
107
+ - background-size
108
+ - background-color
109
+ - background-image
110
+ - background-repeat
111
+ - background-position
112
+ - background-attachment
113
+ -
114
+ - border
115
+ - border-top
116
+ - border-right
117
+ - border-bottom
118
+ - border-left
119
+ -
120
+ - border-image
121
+ - border-spacing
122
+ - border-collapse
123
+ -
124
+ - border-color
125
+ - border-top-color
126
+ - border-right-color
127
+ - border-bottom-color
128
+ - border-left-color
129
+ -
130
+ - border-style
131
+ - border-top-style
132
+ - border-right-style
133
+ - border-bottom-style
134
+ - border-left-style
135
+ -
136
+ - border-width
137
+ - border-top-width
138
+ - border-right-width
139
+ - border-bottom-width
140
+ - border-left-width
141
+ -
142
+ - border-radius
143
+ - border-top-right-radius
144
+ - border-bottom-right-radius
145
+ - border-bottom-left-radius
146
+ - border-top-left-radius
147
+ - border-radius-topright
148
+ - border-radius-bottomright
149
+ - border-radius-bottomleft
150
+ - border-radius-topleft
151
+ -
152
+ - box-shadow
153
+
154
+ SelectorFormat:
155
+ enabled: true
156
+ convention: hyphenated_BEM
157
+
158
+ SingleLinePerSelector:
159
+ enabled: false
160
+
161
+ SpaceAfterPropertyColon:
162
+ enabled: true
163
+ style: at_least_one_space
164
+
165
+ SpaceBeforeBrace:
166
+ enabled: true
167
+ style: space
168
+ allow_single_line_padding: true
169
+
170
+ VariableForProperty:
171
+ enabled: true
172
+ properties:
173
+ - color
174
+ - font-family
175
+ - background-color
176
+
177
+ # These default settings may be problematic to implementors. They are not
178
+ # ommitted so that they may be adjusted as needed during an implementation.
179
+ #
180
+ # For documentation:
181
+ # https://github.com/causes/scss-lint/blob/master/lib/scss_lint/linter/README.md
182
+
183
+ DuplicateProperty:
184
+ enabled: true
185
+
186
+ PropertySpelling:
187
+ enabled: true
188
+ extra_properties: [] # Add experimental CSS to this array, if needed
@@ -0,0 +1 @@
1
+ --files CHANGELOG.md
@@ -0,0 +1,763 @@
1
+ Workarea Reviews 3.0.9 (2019-08-26)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Only try to add schedule job if service connections are not skipped
5
+
6
+
7
+
8
+ Workarea Reviews 3.0.8 (2019-08-21)
9
+ --------------------------------------------------------------------------------
10
+
11
+ * Open Source!
12
+
13
+
14
+
15
+ Workarea Reviews 3.0.7 (2019-06-11)
16
+ --------------------------------------------------------------------------------
17
+
18
+ * Add Rake Task for Reconciling Verified Purchasers
19
+
20
+ Reviews can have a `:verified` badge associated with the content, but
21
+ for those upgrading to a newer version some data needs to be changed in
22
+ order to make this happen retroactively for older reviews. Add a Rake
23
+ task for adding the `:verified` field to reviews where the user actually
24
+ bought the product. For any reviews that are made after the upgrade,
25
+ this will be automatically assigned as the review is being created.
26
+
27
+ REVIEWS-146
28
+ Tom Scott
29
+
30
+
31
+
32
+ Workarea Reviews 3.0.6 (2019-04-16)
33
+ --------------------------------------------------------------------------------
34
+
35
+ * Automatically Configure reCAPTCHA Proxy
36
+
37
+ Set the `Recaptcha.config.proxy` to `$HTTP_PROXY` in deployed
38
+ environments so developers don't have to worry about it. Update the
39
+ README to remove references to this configuration setting.
40
+
41
+ REVIEWS-144
42
+ Tom Scott
43
+
44
+ * Point Gemfile to gem server
45
+
46
+ Curt Howard
47
+
48
+
49
+
50
+ Workarea Reviews 3.0.5 (2019-03-19)
51
+ --------------------------------------------------------------------------------
52
+
53
+ * Fix Browsing Controls UI
54
+
55
+ REVIEWS-140
56
+ Curt Howard
57
+
58
+ * Update for workarea v3.4 compatibility
59
+
60
+ REVIEWS-139
61
+ Matt Duffy
62
+
63
+
64
+
65
+ Workarea Reviews 3.0.4 (2019-01-22)
66
+ --------------------------------------------------------------------------------
67
+
68
+ * Improve readme
69
+
70
+ ECOMMERCE-6523
71
+ REVIEWS-138
72
+ Chris Cressman
73
+
74
+
75
+
76
+ Workarea Reviews 3.0.3 (2018-10-30)
77
+ --------------------------------------------------------------------------------
78
+
79
+ * Change DateTime to Time in ScheduleReviewRequestsTests
80
+
81
+ Assertions began failing due to difference in nanoseconds, uncertain why but using Time instead of DateTime is a safe resolution.
82
+
83
+ REVIEWS-137
84
+ Francis Bongiovanni
85
+
86
+ * Extend list-reset trump for review group UI
87
+
88
+ REVIEWS-136
89
+ Curt Howard
90
+
91
+
92
+
93
+ Workarea Reviews 3.0.2 (2018-07-24)
94
+ --------------------------------------------------------------------------------
95
+
96
+ * Add rack attack throttle for review submissions
97
+
98
+ REVIEWS-132
99
+ Matt Duffy
100
+
101
+ * Fix Missing Title When Submitting Review
102
+
103
+ Previously, all reviews had the title and the body equal because the
104
+ title was not being passed through properly in params. We're now passing
105
+ the `title:` attribute into the Review model explicitly.
106
+
107
+ REVIEWS-130
108
+ Tom Scott
109
+
110
+
111
+
112
+ Workarea Reviews 3.0.1 (2018-06-12)
113
+ --------------------------------------------------------------------------------
114
+
115
+ * Translate hard-coded text on new review form
116
+
117
+ - Add `workarea.storefront.reviews.hints.display_name` for viewing hint on
118
+ how names are displayed.
119
+ - Add `workarea.storefront.reviews.hints.email` for viewing hint on how
120
+ email is used.
121
+
122
+ REVIEWS-130
123
+ Tom Scott
124
+
125
+
126
+
127
+ Workarea Reviews 3.0.0 (2018-05-24)
128
+ --------------------------------------------------------------------------------
129
+
130
+ * Add calculated review fields on product to data file ignore fields
131
+
132
+ REVIEWS-129
133
+ Matt Duffy
134
+
135
+ * Cancel review requests after user reviews a product from order
136
+
137
+ If a user reviews a product, either through a review request email or
138
+ directly on the site, other future review requests are canceled for
139
+ orders with that product.
140
+
141
+ REVIEWS-128
142
+ Matt Duffy
143
+
144
+ * Add administrable content to review request emails
145
+
146
+ REVIEWS-128
147
+ Matt Duffy
148
+
149
+ * set verified on a sample of review seeds
150
+
151
+ Matt Duffy
152
+
153
+ * Add importing/exporting from v3.3
154
+
155
+ ECOMMERCE-6010
156
+ Ben Crouse
157
+
158
+ * Remove import, update to work with base DataFile and bulk action changes
159
+
160
+ REVIEWS-127
161
+ Matt Duffy
162
+
163
+ * Leverage Workarea Changelog task
164
+
165
+ ECOMMERCE-5355
166
+ Curt Howard
167
+
168
+ * Update Mailers for Premailer
169
+
170
+ REVIEWS-126
171
+ Curt Howard
172
+
173
+ * Fix CHANGELOG
174
+
175
+ Curt Howard
176
+
177
+ * Update status report mailer partial to fit with new templates
178
+
179
+ Matt Duffy
180
+
181
+ * Update review request template
182
+
183
+ Matt Duffy
184
+
185
+ * Fix issues around reviews of missing products
186
+
187
+ Matt Duffy
188
+
189
+ * Update review import to align with Workarea::Import changes
190
+
191
+ REVIEWS-124
192
+ Matt Duffy
193
+
194
+ * Add verified facet and column to reviews
195
+
196
+ REVIEWS-116
197
+ Matt Duffy
198
+
199
+ * Add reviews import to admin
200
+
201
+ REVIEWS-107
202
+ Matt Duffy
203
+
204
+ * Automatically configure recaptcha for test and development
205
+
206
+ REVIEWS-117
207
+ Matt Duffy
208
+
209
+ * Disable submit button when user leaves a review
210
+
211
+ - This prevents multiple review submissions, which can happen even with recaptcha in place
212
+
213
+ REVIEWS-119
214
+ Dave Barnow
215
+
216
+ * Mark requests as sent after sending email
217
+
218
+ Matt Duffy
219
+
220
+ * Improve write a review form
221
+
222
+ * Remove fieldset and use property/label instead
223
+ * Use inline-list for rating stars wrapper
224
+ * Mark optional fields as such
225
+ * Use a grid for submit/cancel buttons for modal action consistency
226
+ * Use email_field_tag with correct attributes
227
+
228
+ REVIEWS-113
229
+ Dave Barnow
230
+
231
+ * Clean up navigation links
232
+
233
+ * Add link to marketing dashboard
234
+ * Fix link to point back to marketing dashboard
235
+ * Add jump to navigation
236
+
237
+ REVIEWS-115
238
+ Dave Barnow
239
+
240
+ * Send review request emails to users who have recently placed an order
241
+
242
+ REVIEWS-110
243
+ Matt Duffy
244
+
245
+ * Removes appended stylesheet for product_summary
246
+
247
+ REVIEWS-59
248
+ Mansi Pathak
249
+
250
+ * Removes .rating styles extended in product_summary sass
251
+
252
+ REVIEWS-59
253
+ Mansi Pathak
254
+
255
+ * Mark reviews made by users who have purchased the product as verified
256
+
257
+ REVIEWS-108
258
+ Matt Duffy
259
+
260
+ * Allow reviews without logging in. Loosen model validations
261
+
262
+ REVIEWS-112
263
+ Matt Duffy
264
+
265
+ * Cleans up sass to match code standards
266
+
267
+ * add functional vars
268
+
269
+ * extend trumps and objects
270
+
271
+ * resolve sass linter warnings
272
+
273
+ * use spacing unit for marign and padding
274
+
275
+ REVIEWS-98
276
+ Mansi Pathak
277
+
278
+ * Add summary of reviews to status report email
279
+
280
+ REVIEWS-109
281
+ Matt Duffy
282
+
283
+ * Convert index from summaries to table
284
+
285
+ REVIEWS-103
286
+ Curt Howard
287
+
288
+
289
+
290
+ Workarea Reviews 2.1.1 (2018-04-03)
291
+ --------------------------------------------------------------------------------
292
+
293
+ * Default Reviews link in Product Auxiliary Nav to sort by newest
294
+
295
+ REVIEWS-121
296
+ Dave Barnow
297
+
298
+ Workarea Reviews 2.1.0 (2017-09-15)
299
+ --------------------------------------------------------------------------------
300
+
301
+ * Adds conditional to show how many pending reviews compared to all reviews
302
+
303
+ REVIEWS-91
304
+ Ivana Veliskova
305
+
306
+ * Fix 0 Reviews State on PDP
307
+
308
+ * Shows the user there are no reviews
309
+ * lines review count display and write a review in the same row
310
+ ** allows for consistent ui across items with reviews and items without reviews
311
+
312
+ REVIEWS-90
313
+ Lucas Boyd
314
+
315
+ * Fix Review Stars UI in ie11
316
+
317
+ Add a width to write review stars to prevent them from spreading too far apart and breaking the UI
318
+
319
+ REVIEWS-96
320
+ Lucas Boyd
321
+
322
+ * Replace modernizr with feature js in CSS
323
+
324
+ Replaces modernizr selectors with the corresponding featurejs selectors
325
+
326
+ REVIEWS-94
327
+ Lucas Boyd
328
+
329
+ * Update activity with correct workarea helper for restore links
330
+
331
+ REVIEWS-95
332
+ Matt Duffy
333
+
334
+ * Add restore link to reviews for admin trash
335
+
336
+ REVIEWS-95
337
+ Matt Duffy
338
+
339
+
340
+ Workarea Reviews 2.0.5 (2017-08-22)
341
+ --------------------------------------------------------------------------------
342
+
343
+ * Adds conditional to show how many pending reviews compared to all reviews
344
+
345
+ REVIEWS-91
346
+ Ivana Veliskova
347
+
348
+ * Fix 0 Reviews State on PDP
349
+
350
+ * Shows the user there are no reviews
351
+ * lines review count display and write a review in the same row
352
+ ** allows for consistent ui across items with reviews and items without reviews
353
+
354
+ REVIEWS-90
355
+ Lucas Boyd
356
+
357
+ * Fix Review Stars UI in ie11
358
+
359
+ Add a width to write review stars to prevent them from spreading too far apart and breaking the UI
360
+
361
+ REVIEWS-96
362
+ Lucas Boyd
363
+
364
+ * Replace modernizr with feature js in CSS
365
+
366
+ Replaces modernizr selectors with the corresponding featurejs selectors
367
+
368
+ REVIEWS-94
369
+ Lucas Boyd
370
+
371
+
372
+ Workarea Reviews 2.0.4 (2017-07-07)
373
+ --------------------------------------------------------------------------------
374
+
375
+ * Wrap product ID in quotes for more relevant search results
376
+
377
+ REVIEWS-92
378
+ Dave Barnow
379
+
380
+ * Reset review attributes to defaults for product copies
381
+
382
+ REVIEWS-89
383
+ Matt Duffy
384
+
385
+
386
+ Workarea Reviews 2.0.3 (2017-06-08)
387
+ --------------------------------------------------------------------------------
388
+
389
+ * Fix test to match change to class
390
+
391
+ The interface of storefront/product changed but the test wasn't changed
392
+ to match it. Change the test to check if #sorts includes the sorting
393
+ rating.
394
+
395
+ no changelog
396
+
397
+ REVIEWS-88
398
+ Eric Pigeon
399
+
400
+ * Correct storefront product sorting by top rated, clean up admin reviews sorting
401
+
402
+ REVIEWS-83
403
+ Matt Duffy
404
+
405
+ * Expose top rated sort option to review admin. Fix issues with review sorting
406
+
407
+ REVIEWS-83
408
+ Matt Duffy
409
+
410
+ * Rename admin review view model to fit expected naming convention for search results
411
+
412
+ REVIEWS-82
413
+ Matt Duffy
414
+
415
+ * Remove jshint and replace with eslint
416
+
417
+ REVIEWS-81
418
+ Dave Barnow
419
+
420
+
421
+ Workarea Reviews 2.0.2 (2017-05-26)
422
+ --------------------------------------------------------------------------------
423
+
424
+ * Append seeds after others so that all product types are accounted for
425
+
426
+ REVIEWS-80
427
+ Dave Barnow
428
+
429
+ * Don't load helper in initialiser
430
+
431
+ This was causing a rails error when the plugin is installed in the same app as package-products.
432
+
433
+ REVIEWS-78
434
+ Beresford, Jake
435
+
436
+
437
+ Workarea Reviews 2.0.1 (2017-05-19)
438
+ --------------------------------------------------------------------------------
439
+
440
+
441
+ Workarea Reviews 2.0.0 (2017-05-17)
442
+ --------------------------------------------------------------------------------
443
+
444
+ * Simplify admin reviews UI
445
+
446
+ REVIEWS-69
447
+ Matt Duffy
448
+
449
+ * Upgrade Reviews for v3
450
+
451
+ REVIEWS-69
452
+ Eric Pigeon
453
+
454
+ * Reviews upgrade for v3 Frontend work
455
+
456
+ * Updated remaining admin translations
457
+ * Make the UI all nice and that.
458
+ * Updated admin views (summary card, edit etc.)
459
+ * Change review stars implementation to use inline svgs
460
+ * Update write review form star buttons to work with inline_svg
461
+
462
+ REVIEWS-69
463
+ Beresford, Jake
464
+
465
+ * Upgrade Reviews for v3
466
+
467
+ REVIEWS-69
468
+ Eric Pigeon
469
+
470
+
471
+ WebLinc Reviews 1.1.0 (2016-10-12)
472
+ --------------------------------------------------------------------------------
473
+
474
+ * Add activity support for v2.3
475
+
476
+ REVIEWS-66
477
+ Ben Crouse
478
+
479
+ * Improve ajax submit review feature
480
+
481
+ REVIEWS-64
482
+ Curt Howard
483
+
484
+ * Fix malformed link to reviews section on PDP
485
+
486
+ REVIEWS-62
487
+ Curt Howard
488
+
489
+ * Add teaspoon test for ajax submit reviews
490
+
491
+ REVIEWS-56
492
+ Kristen Ward
493
+
494
+ * Set up teaspoon in reviews gem
495
+
496
+ Add necessary files and settings
497
+
498
+ REVIEWS-56
499
+ Kristen Ward
500
+
501
+ * Submit reviews via ajax when submitted from dialog
502
+
503
+ Allow the 'write review' form to be opened in a dialog
504
+ and submitted via ajax to keep the user on the same page.
505
+
506
+ REVIEWS-56
507
+ Kristen Ward
508
+
509
+ * Correct the ordering of reviews on PDP to be based on created_at field.
510
+
511
+ REVIEWS-60
512
+ gharnly
513
+
514
+ * Correct the ordering of reviews on PDP to be based on created_at field.
515
+
516
+ REVIEWS-60
517
+ gharnly
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
+ * Force loading of the sort decorator before the product browse decorator
527
+
528
+ 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.
529
+
530
+ REVIEWS-57
531
+ Ben Crouse
532
+
533
+ * Add hidden-field honeypot for review bots.
534
+
535
+ Adds a `username` field on the new review form which is hidden with CSS.
536
+ If this field is present on submission we drop the request and redirect
537
+ as if it were successfully created.
538
+
539
+ REVIEWS-53
540
+ Thomas Vendetta
541
+
542
+ * Better logic and test
543
+
544
+ REVIEWS-54
545
+ Thomas Vendetta
546
+
547
+ * 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
548
+ Thomas Vendetta
549
+
550
+ * Add visually hidden class to field
551
+
552
+ REVIEWS-53
553
+ Thomas Vendetta
554
+
555
+ * Config to require user spend money to post reviews
556
+
557
+ Adds a configuration setting that requires users to have spent money
558
+ to post a product review.
559
+
560
+ REVIEWS-54
561
+ Thomas Vendetta
562
+
563
+ * Add hidden-field honeypot for review bots.
564
+
565
+ Adds a `username` field on the new review form which is hidden with CSS.
566
+ If this field is present on submission we drop the request and redirect
567
+ as if it were successfully created.
568
+
569
+ REVIEWS-53
570
+ Thomas Vendetta
571
+
572
+ * Fix read/write review scroll_to_button bug
573
+
574
+ The `anchor` param being passed to some route helpers was being
575
+ improperly merged into the options hash. This commit separates this
576
+ param from the other options passed to the helper.
577
+
578
+ REVIEWS-52
579
+ Curt Howard
580
+
581
+
582
+ WebLinc Reviews 1.0.5 (2016-08-30)
583
+ --------------------------------------------------------------------------------
584
+
585
+ * Fix malformed link to reviews section on PDP
586
+
587
+ REVIEWS-62
588
+ Curt Howard
589
+
590
+
591
+ WebLinc Reviews 1.0.4 (2016-05-09)
592
+ --------------------------------------------------------------------------------
593
+
594
+ * Correct the ordering of reviews on PDP to be based on created_at field.
595
+
596
+ REVIEWS-60
597
+ gharnly
598
+
599
+
600
+ WebLinc Reviews 1.0.3 (2016-04-08)
601
+ --------------------------------------------------------------------------------
602
+
603
+ * Force loading of the sort decorator before the product browse decorator
604
+
605
+ 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.
606
+
607
+ REVIEWS-57
608
+ Ben Crouse
609
+
610
+
611
+ WebLinc Reviews 1.0.2 (2016-04-05)
612
+ --------------------------------------------------------------------------------
613
+
614
+
615
+ WebLinc Reviews 1.0.1 (January 26, 2016)
616
+ --------------------------------------------------------------------------------
617
+
618
+ * Fix read/write review scroll_to_button bug
619
+
620
+ The `anchor` param being passed to some route helpers was being
621
+ improperly merged into the options hash. This commit separates this
622
+ param from the other options passed to the helper.
623
+
624
+ REVIEWS-52
625
+
626
+
627
+ Unreleased
628
+ --------------------------------------------------------------------------------
629
+
630
+ * Config to require user spend money to post reviews
631
+
632
+ Adds a configuration setting that requires users to have spent money
633
+ to post a product review.
634
+
635
+ REVIEWS-54
636
+
637
+ * Add hidden-field honeypot for review bots.
638
+
639
+ Adds a `username` field on the new review form which is hidden with CSS.
640
+ If this field is present on submission we drop the request and redirect
641
+ as if it were successfully created.
642
+
643
+ REVIEWS-53
644
+
645
+
646
+ WebLinc Reviews 1.0.0 (January 13, 2016)
647
+ --------------------------------------------------------------------------------
648
+
649
+ * Update for compatibility with WebLinc 2.0
650
+
651
+ * Replace absolute URLs with relative paths
652
+
653
+
654
+ WebLinc Reviews 0.10.0 (October 7, 2015)
655
+ --------------------------------------------------------------------------------
656
+
657
+ * Add metadata and update context-menu
658
+
659
+ REVIEWS-50
660
+
661
+ * Update plugin to be compatible with v0.12
662
+
663
+ Update new & edit views, property work
664
+ Add blank row to permissions partial
665
+ Update indexes, add context-menu to summary/edit
666
+
667
+ REVIEWS-50
668
+
669
+ * Update menu for compatibility with ECOMMERCE-1344
670
+
671
+ REVIEWS-45
672
+
673
+ * Fix presentation of dashboard pending reviews count
674
+
675
+ Fix markup within dashboard to do list partial to match the to do list
676
+ markup from workarea.
677
+
678
+ REVIEWS-51
679
+
680
+ * Update sort by property js template with correct class name
681
+
682
+ REVIEWS-46
683
+
684
+
685
+ WebLinc Reviews 0.9.0 (August 21, 2015)
686
+ --------------------------------------------------------------------------------
687
+
688
+ * Allow reviews without a user so that reviews from legacy applications can
689
+ be imported.
690
+
691
+ REVIEWS-44
692
+
693
+ 826ca2a5c96062bc4e0be5adb2887baec76effbd
694
+ 3b578531e3a3d23d292cffb592a3a53b2c63e42b
695
+
696
+ * Rename SCSS blocks `panel` and `panel--buttons` to `index-filters` and
697
+ `form-actions`, respectively, for compatibility with WebLinc 0.11.
698
+
699
+ REVIEWS-43
700
+
701
+ c2a5cbfd09014160afe7ed5039f60ce229e4f096
702
+
703
+ * Use vector images for review stars. Re-write display code accordingly.
704
+
705
+ REVIEWS-34
706
+
707
+ 491e6bad575c921e5e6f57f4962b45f4672c18db (merge)
708
+
709
+
710
+ WebLinc Reviews 0.8.0 (July 12, 2015)
711
+ --------------------------------------------------------------------------------
712
+
713
+ * Add model summaries to Admin indexes.
714
+
715
+ REVIEWS-39
716
+
717
+ d462476e7bd817f505c703c7cf7daa66874e7da3
718
+ 410b6dd1f2590178860421784a9adec0a4520c4d
719
+ 1f52be2a94898d03639b82a0bdeafde146b564d6
720
+ bd21b18c9c65fa6a9010098f63ed877f1ce65389
721
+
722
+ * Update for compatibility with workarea 0.10 and constrain to workarea 0.10.
723
+
724
+ eaa21d516260b6bdd20cffdfdf6f260a314e80c6
725
+ e641252d86ac34cecb696a992cec2976514a2946
726
+ b0a1b40cb10f10dd7b287331d2ef5c0584544dcd
727
+ 5606d9fe4eac382d120266b79bfdf0fcbfc18953
728
+ 7d251907578264886982393b821056f614d8c87c
729
+ 170ba9bdaf8aa60cd47d4a0030e20048e3c347f6
730
+ 5babadcb3270b4d6c2f06e9fd68efe3ad6fdf35b
731
+ dd669d4b31f0f20ff51b100a57274e2d39ef897e
732
+
733
+ * Fix "back" links in Admin.
734
+
735
+ REVIEWS-41
736
+
737
+ 696b1698c97cc08915588db304a67a931ee57a0b
738
+
739
+
740
+ WebLinc Reviews 0.7.0 (June 1, 2015)
741
+ --------------------------------------------------------------------------------
742
+
743
+ * Rename fixtures to factories and clean up factories.
744
+
745
+ * Update for compatibility and consistency with workarea 0.9.0.
746
+
747
+ * Remove pagination from reviews in Store Front. Display all reviews.
748
+
749
+ REVIEWS-20
750
+
751
+
752
+ WebLinc Reviews 0.6.0 (April 10, 2015)
753
+ --------------------------------------------------------------------------------
754
+
755
+ * Update JavaScript modules for compatibility with WebLinc 0.8.0.
756
+
757
+ * Update testing environment for compatibility with WebLinc 0.8.0.
758
+
759
+ * Use new decorator style for consistency with WebLinc 0.8.0.
760
+
761
+ * Remove gems server secrets for consistency with WebLinc 0.8.0.
762
+
763
+ * Update assets for compatibility with WebLinc 0.8.0.