workarea-wish_lists 3.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) 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 +15 -0
  9. data/.scss-lint.yml +188 -0
  10. data/.yardopts +1 -0
  11. data/CHANGELOG.md +610 -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 +58 -0
  17. data/Rakefile +53 -0
  18. data/app/assets/javascripts/workarea/storefront/wish_lists/modules/wish_list_button.js +35 -0
  19. data/app/assets/javascripts/workarea/storefront/wish_lists/modules/wish_list_public_quantity_fields.js +42 -0
  20. data/app/assets/javascripts/workarea/storefront/wish_lists/templates/hidden_input.jst.ejs +1 -0
  21. data/app/assets/stylesheets/workarea/storefront/wish_lists/components/_wish_list_button.scss +6 -0
  22. data/app/assets/stylesheets/workarea/storefront/wish_lists/components/_wish_lists.scss +24 -0
  23. data/app/controllers/workarea/admin/users_controller.decorator +20 -0
  24. data/app/controllers/workarea/storefront/users/wish_lists_controller.rb +128 -0
  25. data/app/controllers/workarea/storefront/wish_lists_controller.rb +22 -0
  26. data/app/models/workarea/wish_list.rb +212 -0
  27. data/app/models/workarea/wish_list/item.rb +76 -0
  28. data/app/models/workarea/wish_list/pricing.rb +14 -0
  29. data/app/models/workarea/wish_list/pricing/calculators/totals_calculator.rb +26 -0
  30. data/app/models/workarea/wish_list/public_search.rb +34 -0
  31. data/app/models/workarea/wish_list/request.rb +36 -0
  32. data/app/seeds/workarea/wish_list_seeds.rb +24 -0
  33. data/app/services/workarea/set_wish_list_details.rb +49 -0
  34. data/app/services/workarea/wish_list_session.rb +53 -0
  35. data/app/view_models/workarea/admin/user_view_model.decorator +12 -0
  36. data/app/view_models/workarea/storefront/user_view_model.decorator +31 -0
  37. data/app/view_models/workarea/storefront/wish_list_item_view_model.rb +35 -0
  38. data/app/view_models/workarea/storefront/wish_list_view_model.rb +75 -0
  39. data/app/views/layouts/workarea/storefront/_wish_lists_link.html.haml +6 -0
  40. data/app/views/workarea/admin/users/_wish_list_card.html.haml +24 -0
  41. data/app/views/workarea/admin/users/_wish_list_item_summary.html.haml +8 -0
  42. data/app/views/workarea/admin/users/wish_list.html.haml +26 -0
  43. data/app/views/workarea/storefront/carts/_move_to_wish_list.html.haml +4 -0
  44. data/app/views/workarea/storefront/products/_add_to_wish_list.html.haml +4 -0
  45. data/app/views/workarea/storefront/style_guides/_wish_lists_product_list_docs.html.haml +158 -0
  46. data/app/views/workarea/storefront/users/accounts/_wish_list_summary.html.haml +15 -0
  47. data/app/views/workarea/storefront/users/wish_lists/show.html.haml +125 -0
  48. data/app/views/workarea/storefront/wish_lists/_wish_lists_link.html.haml +4 -0
  49. data/app/views/workarea/storefront/wish_lists/index.html.haml +32 -0
  50. data/app/views/workarea/storefront/wish_lists/show.html.haml +97 -0
  51. data/app/workers/workarea/mark_wish_list_items_purchased.rb +18 -0
  52. data/app/workers/workarea/update_wish_list_details.rb +19 -0
  53. data/bin/rails +18 -0
  54. data/config/initializers/append_points.rb +46 -0
  55. data/config/initializers/configuration.rb +10 -0
  56. data/config/locales/en.yml +60 -0
  57. data/config/routes.rb +23 -0
  58. data/lib/workarea/testing/factories/wish_lists.rb +22 -0
  59. data/lib/workarea/wish_lists.rb +13 -0
  60. data/lib/workarea/wish_lists/engine.rb +15 -0
  61. data/lib/workarea/wish_lists/version.rb +5 -0
  62. data/test/dummy/Rakefile +6 -0
  63. data/test/dummy/app/assets/config/manifest.js +4 -0
  64. data/test/dummy/app/assets/images/.keep +0 -0
  65. data/test/dummy/app/assets/javascripts/application.js +13 -0
  66. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  67. data/test/dummy/app/controllers/application_controller.rb +3 -0
  68. data/test/dummy/app/controllers/concerns/.keep +0 -0
  69. data/test/dummy/app/helpers/application_helper.rb +2 -0
  70. data/test/dummy/app/jobs/application_job.rb +2 -0
  71. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  72. data/test/dummy/app/models/concerns/.keep +0 -0
  73. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  74. data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
  75. data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
  76. data/test/dummy/bin/bundle +3 -0
  77. data/test/dummy/bin/rails +4 -0
  78. data/test/dummy/bin/rake +4 -0
  79. data/test/dummy/bin/setup +34 -0
  80. data/test/dummy/bin/update +29 -0
  81. data/test/dummy/config.ru +5 -0
  82. data/test/dummy/config/application.rb +24 -0
  83. data/test/dummy/config/boot.rb +5 -0
  84. data/test/dummy/config/cable.yml +9 -0
  85. data/test/dummy/config/environment.rb +5 -0
  86. data/test/dummy/config/environments/development.rb +54 -0
  87. data/test/dummy/config/environments/production.rb +86 -0
  88. data/test/dummy/config/environments/test.rb +43 -0
  89. data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
  90. data/test/dummy/config/initializers/assets.rb +11 -0
  91. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  92. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  93. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  94. data/test/dummy/config/initializers/inflections.rb +16 -0
  95. data/test/dummy/config/initializers/mime_types.rb +4 -0
  96. data/test/dummy/config/initializers/new_framework_defaults.rb +21 -0
  97. data/test/dummy/config/initializers/session_store.rb +3 -0
  98. data/test/dummy/config/initializers/workarea.rb +5 -0
  99. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  100. data/test/dummy/config/locales/en.yml +23 -0
  101. data/test/dummy/config/puma.rb +47 -0
  102. data/test/dummy/config/routes.rb +5 -0
  103. data/test/dummy/config/secrets.yml +22 -0
  104. data/test/dummy/config/spring.rb +6 -0
  105. data/test/dummy/db/seeds.rb +3 -0
  106. data/test/dummy/lib/assets/.keep +0 -0
  107. data/test/dummy/log/.keep +0 -0
  108. data/test/dummy/public/404.html +67 -0
  109. data/test/dummy/public/422.html +67 -0
  110. data/test/dummy/public/500.html +66 -0
  111. data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
  112. data/test/dummy/public/apple-touch-icon.png +0 -0
  113. data/test/dummy/public/favicon.ico +0 -0
  114. data/test/integration/workarea/storefront/wish_lists_integration_test.rb +211 -0
  115. data/test/models/workarea/wish_list/public_search_test.rb +82 -0
  116. data/test/models/workarea/wish_list_test.rb +158 -0
  117. data/test/services/workarea/set_wish_list_details_test.rb +62 -0
  118. data/test/services/workarea/wish_list_session_test.rb +47 -0
  119. data/test/system/workarea/admin/wish_lists_system_test.rb +46 -0
  120. data/test/system/workarea/storefront/wish_lists_system_test.rb +287 -0
  121. data/test/test_helper.rb +10 -0
  122. data/test/view_models/workarea/storefront/user_view_model_test.rb +46 -0
  123. data/test/view_models/workarea/storefront/wish_list_item_view_model_test.rb +47 -0
  124. data/test/view_models/workarea/storefront/wish_list_view_model_test.rb +74 -0
  125. data/test/workers/workarea/mark_wish_list_items_purchased_test.rb +21 -0
  126. data/workarea-wish_lists.gemspec +21 -0
  127. metadata +188 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 6ef4e9faa408ebf08473bb4de79d14070e349ddc5754a109a4627b8a02884f1e
4
+ data.tar.gz: 423d6c693c818eb5f35ab2acd435b9b35fafc52e0af3aaba5e49be679dacecc6
5
+ SHA512:
6
+ metadata.gz: 841c04177148c058f2bc6093aebb0cfba447e39d091c8e7235638409a33700f6283ef82c1b5648b10ed54317f75f95701c309d86e0a02205d4638ea59ccbc7a0
7
+ data.tar.gz: 7dd367c1893e51e1e24020ce148e097670d6feb399392e910e09ca854d576ef4b8314b1c87eccb452e1b94f945191a7ff5f0f24a4e3fd5293dd5e38750eb6717
@@ -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,15 @@
1
+ .DS_Store
2
+ .bundle/
3
+ Gemfile.lock
4
+ .sass-cache/
5
+ log/*.log
6
+ pkg/
7
+ test/dummy/public/system
8
+ test/dummy/db/*.sqlite3
9
+ test/dummy/log/*.log
10
+ test/dummy/tmp/
11
+ test/dummy/.sass-cache
12
+ node_modules
13
+ test/reports
14
+ package.json
15
+ 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,610 @@
1
+ Workarea Wish Lists 3.0.4 (2019-08-21)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Open Source!
5
+
6
+
7
+
8
+ Workarea Wish Lists 3.0.3 (2019-06-11)
9
+ --------------------------------------------------------------------------------
10
+
11
+ * Improve Empty Wish List Copy Text
12
+
13
+ Change the copy text for when a wish list is empty to indicate whether
14
+ the items in the wish list are purchased or not purchased yet.
15
+
16
+ WISHLISTS-88
17
+ Tom Scott
18
+
19
+
20
+
21
+ Workarea Wish Lists 3.0.2 (2019-04-30)
22
+ --------------------------------------------------------------------------------
23
+
24
+ * Move utility nav link partial to a better location
25
+
26
+ The `_wish_lists_link.html.haml` partial was stored in
27
+ `app/views/layouts` which causes it to not be skipped or overridden in
28
+ the expected way. This commit duplicates the file into
29
+ `app/views/workarea/storefront/wish_lists` to avoid developer confusion
30
+ and to allow it to be skipped by normal means.
31
+
32
+ The previous file remains in place in order to not cause issues for
33
+ applications that include this plugin, but will now fire off a
34
+ deprecation warning, prompting developers to update the path themselves
35
+ in their app.
36
+
37
+ WISHLISTS-127
38
+ Curt Howard
39
+
40
+
41
+
42
+ Workarea Wish Lists 3.0.1 (2019-04-16)
43
+ --------------------------------------------------------------------------------
44
+
45
+ * Search Un-named Wish Lists by Email
46
+
47
+ Since `Workarea::User#name` is now set to the email if a first/last name
48
+ do not exist, update the wish list's name to always match that of the
49
+ user. This allows searching wish lists by email when the user does not
50
+ have a name associated with their account.
51
+
52
+ WISHLISTS-124
53
+ Tom Scott
54
+
55
+
56
+
57
+ Workarea Wish Lists 3.0.0 (2019-03-13)
58
+ --------------------------------------------------------------------------------
59
+
60
+ * Point Gemfile to gem server
61
+
62
+ Curt Howard
63
+
64
+ * Assert Lack of "No Results" Text In Storefront System Tests
65
+
66
+ Add specific assertions to ensure the correct results are appearing when
67
+ users search for wish lists by email or full name. This ensures that the
68
+ test will catch when wish list searches don't come up with any results.
69
+
70
+ WISHLISTS-109
71
+ Tom Scott
72
+
73
+ * Update for workarea v3.4 compatibility
74
+
75
+ WISHLISTS-123
76
+ Matt Duffy
77
+
78
+ * Improve Reliability of "Add to Wish List" Button
79
+
80
+ To make this button a bit less error-prone when wish-lists is combined
81
+ with other plugins, use JS to perform the "Add to Wish List" request
82
+ rather than relying on copying data from the PDP `<form>` into the
83
+ `<form>` for adding a product to the wish list.
84
+
85
+ WISHLISTS-122
86
+ Tom Scott
87
+
88
+
89
+
90
+ Workarea Wish Lists 2.1.3 (2019-02-05)
91
+ --------------------------------------------------------------------------------
92
+
93
+ * Update for workarea v3.4 compatibility
94
+
95
+ WISHLISTS-123
96
+ Matt Duffy
97
+
98
+ * Return Item to Cart After Backing Out Of Moving to Wish List
99
+
100
+ When a guest user attempts to move their item from cart to a wish list,
101
+ Workarea presents them with a login page. If the user does not choose to
102
+ log in, they will lose the item that they had previously added to cart
103
+ even though it's still stored in their session. If the cart page is
104
+ accessed, and there's a wish list item still stored in the session, the
105
+ wish list item will be "dumped" back into the cart instead of being
106
+ moved to the wish list.
107
+
108
+ WISHLISTS-104
109
+ Tom Scott
110
+
111
+
112
+
113
+ Workarea Wish Lists 2.1.2 (2019-01-08)
114
+ --------------------------------------------------------------------------------
115
+
116
+ * Update README
117
+
118
+ WISHLISTS-120
119
+ Matt Duffy
120
+
121
+
122
+
123
+ Workarea Wish Lists 2.1.1 (2018-08-21)
124
+ --------------------------------------------------------------------------------
125
+
126
+ * Retain Customizations When Adding to Wish List
127
+
128
+ When adding a product to a wish list, customizations for that product
129
+ were not being retained and copied into the wish list (or added
130
+ directly). Update the `storefront/users/wish_lists#add_item` action to
131
+ copy in customizations from the order item, and not error out when
132
+ adding a product to wish list, or moving a product from cart to wish
133
+ list. Additionally, while testing this issue, it was discovered that
134
+ customizations are not considered when searching for a wish list item
135
+ that already exists (so its quantity can be updated). The
136
+ `WishList#add_item` instance method will now factor in the passed-in
137
+ customizations, and unless they differ, update the quantity for the
138
+ existing item. If customizations do differ, the item is treated as
139
+ unique and appears as an additional line item on orders/wish lists.
140
+
141
+ WISHLISTS-84
142
+ Tom Scott
143
+
144
+
145
+
146
+ Workarea Wish Lists 2.1.0 (2018-05-24)
147
+ --------------------------------------------------------------------------------
148
+
149
+ * Delegate purchasability of wish list item to product, setup for minor
150
+
151
+ As of workarea v3.3.0, Storefront::ProductViewModel#purchasable? also
152
+ checks inventory. This makes the method for wish list items unnecessary
153
+ and so the method is simply delegated to the product. Test was updated
154
+ to reflect this behavior
155
+
156
+ WISHLISTS-116
157
+ Matt Duffy
158
+
159
+ * Fix seeding test/dummy app
160
+
161
+ Add **db/seeds.rb** file in order for the seed task to function.
162
+
163
+ WISHLISTS-114
164
+ Tom Scott
165
+
166
+ * Leverage Workarea Changelog task
167
+
168
+ ECOMMERCE-5355
169
+ Curt Howard
170
+
171
+ * Remove unnecessary unique_args
172
+
173
+ Tom Scott
174
+
175
+ * Fix rendering of unavailability messaging
176
+
177
+ The unavailability messaging wouldn’t render because it wasn’t nested in a grid__cell
178
+ * Add a integration test to make sure users cannot add out of stock products on their wish list to cart
179
+ * Assert that the message is rendering within a grid__cell
180
+
181
+ WISHLISTS-115
182
+ Dave Barnow
183
+
184
+ * Catch error when UpdateWishListDetails fails
185
+
186
+ If `Workarea::UpdateWishListDetails` fails because of a mongo index
187
+ snafu, we can rescue the job and try resetting its details at a later
188
+ time.
189
+
190
+ WISHLISTS-81
191
+ Tom Scott
192
+
193
+ * Use a more expected number of items in seeds
194
+
195
+ Ben Crouse
196
+
197
+
198
+
199
+ Workarea Wish Lists 2.0.5 (2018-05-01)
200
+ --------------------------------------------------------------------------------
201
+
202
+ * Catch error when UpdateWishListDetails fails
203
+
204
+ If `Workarea::UpdateWishListDetails` fails because of a mongo index
205
+ snafu, we can rescue the job and try resetting its details at a later
206
+ time.
207
+
208
+ WISHLISTS-81
209
+ Tom Scott
210
+
211
+
212
+ Workarea Wish Lists 2.0.4 (2018-01-09)
213
+ --------------------------------------------------------------------------------
214
+
215
+ * Add box component to users/accounts#show view
216
+
217
+ WISHLISTS-113
218
+ Curt Howard
219
+
220
+
221
+ Workarea Wish Lists 2.0.3 (2017-11-14)
222
+ --------------------------------------------------------------------------------
223
+
224
+ * Fix wish list form serialization after switching SKUs
225
+
226
+ WISHLISTS-111
227
+ Ben Crouse
228
+
229
+ * Correct BEM selector for wish-lists__link
230
+
231
+ WISHLISTS-110
232
+ Jake Beresford
233
+
234
+
235
+ Workarea Wish Lists 2.0.2 (2017-10-03)
236
+ --------------------------------------------------------------------------------
237
+
238
+ * Remove duplicate DOM IDs
239
+
240
+ WISHLISTS-108
241
+ Curt Howard
242
+
243
+
244
+ Workarea Wish Lists 2.0.1 (2017-09-26)
245
+ --------------------------------------------------------------------------------
246
+
247
+ * Add grid class to wish list summary in account dashboard
248
+
249
+ WISHLISTS-106
250
+ Ivana Veliskova
251
+
252
+ * Remove jshint and replace with eslint WISHLISTS-102
253
+ Dave Barnow
254
+
255
+
256
+ Workarea Wish Lists 2.0.0 (2017-05-19)
257
+ --------------------------------------------------------------------------------
258
+
259
+ * Hide add to cart button on public wish list page when sku is not purchasable
260
+
261
+ WISHLISTS-91
262
+ Matt Duffy
263
+
264
+ * Make adding to cart from wishlist UX match that of product details
265
+
266
+ WISHLISTS-93
267
+ Curt Howard
268
+
269
+ * Properly handle a request for an invalid wish list
270
+
271
+ WISHLISTS-98
272
+ Matt Duffy
273
+
274
+ * Correctly determine the purchasability of a wish list item
275
+
276
+ WISHLISTS-91
277
+ Matt Duffy
278
+
279
+ * Rework wish list updating to ensure user details are set
280
+
281
+ WISHLISTS-89
282
+ Matt Duffy
283
+
284
+ * Update for workare v3 compatibility
285
+
286
+ WISHLISTS-89
287
+ Matt Duffy
288
+
289
+
290
+ WebLinc Wish Lists 1.2.0 (2017-03-28)
291
+ --------------------------------------------------------------------------------
292
+
293
+ * Add Link to storefront header to users wish list
294
+
295
+ WISHLISTS-82
296
+ Matt Duffy
297
+
298
+ * Redirect to wish list when adding items to wish lists
299
+
300
+ WISHLISTS-77
301
+ Matt Duffy
302
+
303
+ * Ensure purchase/unpurchased toggled remains visible on wish list pages
304
+
305
+ WISHLISTS-76
306
+ Matt Duffy
307
+
308
+
309
+ WebLinc Wish Lists 1.1.0 (2016-10-26)
310
+ --------------------------------------------------------------------------------
311
+
312
+ * Romove varians n+1 queries when viewing a wishlist
313
+
314
+ OrderItemViewModel was causing redundant queries to pricing and
315
+ inventory. Pass the inventory sku and collection to reduce product view
316
+ model from making extra queries. Don't extend OrderItemInventory at
317
+ runtime since wish list item view model isn't pulling double duty like
318
+ order item view model.
319
+
320
+ WISHLISTS-85
321
+ Eric Pigeon
322
+
323
+ * Add customizations to wish list for logged out users.
324
+
325
+ If a user is not logged in and they try to add an item to their wish list, we store the wish list item params in their session and then after they log in we redirect them to the wish list which triggers the item infor in the session to be added to their cart. However, the customizations for an item are not being copied to the wish list in this scenario. This commit adds the logic to store customizations in the session and add the customizations to the item.
326
+
327
+ WISHLISTS-74
328
+ Mike Dalton
329
+
330
+ * Fix error for logged out user trying to move cart item to wish list.
331
+
332
+ When a user is logged out and they try to move an item from their cart to their wish list, they are prompted to log in. After they log in, instead of being redirected to the wish list with the item move there they receive a 500 error. This commit fixes the issue by storing the cart item in the session and then redirecting to the wish list after the user logs in.
333
+
334
+ WISHLISTS-72
335
+ Mike Dalton
336
+
337
+ * Update wish list stats to use site-specific databases if present
338
+
339
+ Check if multisite plugin is installed, and use respective
340
+ databases instead of default only.
341
+
342
+ WISHLISTS-73
343
+ Kristen Ward
344
+
345
+ * Fix wish list stats reporter (QA)
346
+
347
+ Updates commit 2959fb8dbe7079ada7384e15fa8e4cfad2c33500
348
+ QA testing discovered that the worker updating the wish
349
+ list stats is incorrectly looking within the admin.
350
+
351
+ Move the worker and scheduled job to the same directory
352
+ level as the wish lists stats module.
353
+
354
+ WISHLISTS-69
355
+ Kristen Ward
356
+
357
+ * Fix add to cart button on manage wish list page
358
+
359
+ Add to cart button in wish list item summaries throws
360
+ an error. The path helper in the add to cart form supplies an
361
+ unncessary argument. Remove this argument.
362
+
363
+ Add test case
364
+
365
+ WISHLISTS-71
366
+ Kristen Ward
367
+
368
+ * Schedule nightly update of wish list Stats
369
+
370
+ Wish list stats never update, and nothing is telling
371
+ them to do so. Add a worker and sidekiq cron scheduler to
372
+ run build function in wish_list_stats.rb
373
+
374
+ WISHLISTS-69
375
+ Kristen Ward
376
+
377
+ * Hide wish list share buttons when private
378
+
379
+ Share buttons link to missing page when wish list is private.
380
+ Toggle display of share buttons based on privacy to prevent this.
381
+
382
+ WISHLISTS-70
383
+ Kristen Ward
384
+
385
+ * Disallow partial matching of email address on public search
386
+
387
+ WISHLISTS-66
388
+ Matt Duffy
389
+
390
+
391
+ WebLinc Wish Lists 1.0.5 (2016-08-31)
392
+ --------------------------------------------------------------------------------
393
+
394
+ * Add customizations to wish list for logged out users.
395
+
396
+ If a user is not logged in and they try to add an item to their wish list, we store the wish list item params in their session and then after they log in we redirect them to the wish list which triggers the item infor in the session to be added to their cart. However, the customizations for an item are not being copied to the wish list in this scenario. This commit adds the logic to store customizations in the session and add the customizations to the item.
397
+
398
+ WISHLISTS-74
399
+ Mike Dalton
400
+
401
+ * Fix error for logged out user trying to move cart item to wish list.
402
+
403
+ When a user is logged out and they try to move an item from their cart to their wish list, they are prompted to log in. After they log in, instead of being redirected to the wish list with the item move there they receive a 500 error. This commit fixes the issue by storing the cart item in the session and then redirecting to the wish list after the user logs in.
404
+
405
+ WISHLISTS-72
406
+ Mike Dalton
407
+
408
+
409
+ WebLinc Wish Lists 1.0.4 (2016-06-13)
410
+ --------------------------------------------------------------------------------
411
+
412
+ * Update wish list stats to use site-specific databases if present
413
+
414
+ Check if multisite plugin is installed, and use respective
415
+ databases instead of default only.
416
+
417
+ WISHLISTS-73
418
+ Kristen Ward
419
+
420
+
421
+ WebLinc Wish Lists 1.0.3 (2016-04-26)
422
+ --------------------------------------------------------------------------------
423
+
424
+ * Fix add to cart button on manage wish list page
425
+
426
+ Add to cart button in wish list item summaries throws
427
+ an error. The path helper in the add to cart form supplies an
428
+ unncessary argument. Remove this argument.
429
+
430
+ Add test case
431
+
432
+ WISHLISTS-71
433
+ Kristen Ward
434
+
435
+ * Fix wish list stats reporter (QA)
436
+
437
+ Updates commit 2959fb8dbe7079ada7384e15fa8e4cfad2c33500
438
+ QA testing discovered that the worker updating the wish
439
+ list stats is incorrectly looking within the admin.
440
+
441
+ Move the worker and scheduled job to the same directory
442
+ level as the wish lists stats module.
443
+
444
+ WISHLISTS-69
445
+ Kristen Ward
446
+
447
+ * Schedule nightly update of wish list Stats
448
+
449
+ Wish list stats never update, and nothing is telling
450
+ them to do so. Add a worker and sidekiq cron scheduler to
451
+ run build function in wish_list_stats.rb
452
+
453
+ WISHLISTS-69
454
+ Kristen Ward
455
+
456
+ * Hide wish list share buttons when private
457
+
458
+ Share buttons link to missing page when wish list is private.
459
+ Toggle display of share buttons based on privacy to prevent this.
460
+
461
+ WISHLISTS-70
462
+ Kristen Ward
463
+
464
+
465
+ WebLinc Wish Lists 1.0.2 (2016-04-05)
466
+ --------------------------------------------------------------------------------
467
+
468
+
469
+ WebLinc Wish Lists 1.0.1 (2016-03-22)
470
+ --------------------------------------------------------------------------------
471
+
472
+ * Disallow partial matching of email address on public search
473
+
474
+ WISHLISTS-66
475
+ Matt Duffy
476
+
477
+
478
+ WebLinc Wish Lists 1.0.0 (January 14, 2016)
479
+ --------------------------------------------------------------------------------
480
+
481
+ * Update for compatibility with WebLinc 2.0
482
+
483
+ * Replace absolute URLs with relative paths
484
+
485
+ * Prevent inactive products from displaying in manage wish list view
486
+
487
+ Update spec
488
+
489
+ WISHLISTS-65
490
+
491
+ * Show correct sku(s) for wishlist item on dashboard
492
+
493
+ Update unit test
494
+
495
+ WISHLISTS-65
496
+
497
+ * Fix wishlist show markup
498
+
499
+ Update indentation
500
+
501
+ WISHLISTS-64
502
+
503
+
504
+ WebLinc Wish Lists 0.10.0 (October 7, 2015)
505
+ --------------------------------------------------------------------------------
506
+
507
+ * Update plugin to be compatible with v0.12
508
+
509
+ Update new & edit views, property work
510
+
511
+ WISHLISTS-63
512
+
513
+ * Add link depth css modifiers to admin menu.
514
+
515
+ WISHLISTS-60
516
+
517
+ * Fix translations that weren't displaying.
518
+
519
+ WISHLISTS-59
520
+
521
+ 2984b035cad5c56b0f1151c57bb8d407b35ad307
522
+
523
+
524
+ WebLinc Wish Lists 0.9.0 (July 11, 2015)
525
+ --------------------------------------------------------------------------------
526
+
527
+ * Update for compatibility with workarea 0.10.0.
528
+
529
+ 6ef9c0216b9f71af05f849d5a372031597a04b8f
530
+ 7e999a2b1e4a83171297ac3c76fb20a639a52892
531
+ 7a6c23325f2caaadbe0284a0cd2f5b876898dc1b
532
+ 44f5a65c489306968908560b7a90000691dc407e
533
+ 2aec2725a7405b67d93e05817de0125fcb263045
534
+
535
+ * Remove Add to Cart button for $0 items.
536
+
537
+ When an item is on the wish list but doesn't cost anything, don't allow
538
+ the user to add that item to their cart. Follow the same rules as the
539
+ "Add to Cart" button by checking for whether the product is in fact
540
+ available for purchase as well. Non-purchasable products should not
541
+ be allowed to add to cart.
542
+
543
+ WISHLISTS-19
544
+
545
+ f53ae89aa4f79446289b338769d190e87aab6965
546
+
547
+ * Convert fixtures to factories compatible with workarea 0.9.
548
+
549
+ WISHLISTS-58
550
+
551
+ b13c83f39ab33a611494610dbb5f1af04e0c9768
552
+
553
+
554
+ WebLinc Wish Lists 0.8.0 (June 1, 2015)
555
+ --------------------------------------------------------------------------------
556
+
557
+ * Update product -grid and -summary modifiers on dashboard to match changes
558
+ in Store Front.
559
+
560
+ WISHLISTS-57
561
+
562
+ * Add missing submit button to quantity form.
563
+
564
+ WISHLISTS-51
565
+
566
+ * Update for compatibility with workarea 0.9.0.
567
+
568
+ d3be34e2c689829571b01201291f8e7de6c9b065
569
+
570
+ * Remove privacy conditional from user's own wish list view.
571
+
572
+ WISHLISTS-52
573
+
574
+ * Add `WORKAREA.wishListPublicQuantityFields` to update line item total on
575
+ quantity change.
576
+
577
+ WISHLISTS-42
578
+
579
+ * Move wish lists API functionality from workarea-wish_lists to workarea-api.
580
+
581
+ WISHLISTS-45
582
+
583
+ * Add more sample data.
584
+
585
+ WISHLISTS-32
586
+ WISHLISTS-48
587
+
588
+
589
+ WebLinc Wish Lists 0.7.0 (April 10, 2015)
590
+ --------------------------------------------------------------------------------
591
+
592
+ * Update JavaScript modules for compatibility with WebLinc 0.8.0.
593
+
594
+ * Update testing environment for compatibility with WebLinc 0.8.0.
595
+
596
+ * Use new decorator style for consistency with WebLinc 0.8.0.
597
+
598
+ * Remove gems server secrets for consistency with WebLinc 0.8.0.
599
+
600
+ * Remove `money_field` method for compatibility with WebLinc 0.8.0.
601
+
602
+ WISHLISTS-41
603
+
604
+ * Update assets for compatibility with WebLinc 0.8.0.
605
+
606
+ * Add purchase details to wish list item when not logged in.
607
+
608
+ Purchase details such as color and size were not being added to wish list if the user was not logged in when adding to wish list.
609
+
610
+ WISHLISTS-40