workarea 3.4.39 → 3.4.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +233 -0
  3. metadata +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9087f292e085e07a8cd5f7c1f816f4ed9c37aad5ee2f0959fff72d2d3985bdee
4
- data.tar.gz: af79a31abe8fe4703ed4d66128b9c13a4a18336d934efd9d8374682608c45940
3
+ metadata.gz: b903f157ba211990ff23b80a4d5173e1fdea410a829c8972bcbecd0bb8565a0e
4
+ data.tar.gz: 72a1082a57abb833f676a22a520699270b72cad1c9baa6d27ce93621ca6487b5
5
5
  SHA512:
6
- metadata.gz: f37876495e9beb7382cf2a5a02207baaf26ee5a331bf85e1e8fbb1c9065015ad9ece7bad929d5674b6766b56a4dbe20c178bf29a81729218da1164e997914829
7
- data.tar.gz: 9c7a5fa6329fd15aeb0c4f6282d3dd50f7582d3499f3e60a9ac646f324fe19e2d63d4a9581972ae063ae9841ac20f0404d503911724f7b6aadf085fc2da0fcae
6
+ metadata.gz: a72dfe23f41d9c7dde94b16e8a340516a3c40212f8e1d38e52e9bc533f5ea7887168680f9b225f042019185a9ea93a0894f59eab61a6e64cffa064b1f9949d6c
7
+ data.tar.gz: fe3a98c104989164b5452781c8308ef947cfce5081201a4abbf32d80eb8aab9bdd7a98cd680f30d5fdbeba68689774c6419cec3ab9401cab047de390e21349c0
@@ -1,3 +1,236 @@
1
+ Workarea 3.4.44 (2020-11-25)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Bump version for release
5
+
6
+
7
+ Ben Crouse
8
+
9
+ * Bump jquery-rails to patch XSS vulnerabilities
10
+
11
+
12
+ Ben Crouse
13
+
14
+ * Add warning to inform developers why redirects aren't working locally
15
+
16
+ This has confused developers a couple of times, so hopefully adding a
17
+ warning will help.
18
+
19
+ Ben Crouse
20
+
21
+ * Fix Elasticsearch indexes when changing locales in tests
22
+
23
+ This ensures the proper search indexes are in place when you switch
24
+ locales for an integration test.
25
+
26
+ Ben Crouse
27
+
28
+ * Prevent Error on Missing Custom Template View Model Class
29
+
30
+ Typically, custom product templates use their own subclass of
31
+ `Workarea::Storefront::ProductViewModel`, but this isn't supposed to be
32
+ necessary if there's no custom logic that needs to be in the view model
33
+ layer. However, when developers tried to add a custom template without
34
+ the view model, they received an error. To prevent this, Workarea will
35
+ now catch the `NameError` thrown by `Storefront::ProductViewModel.wrap`
36
+ in the event of a custom product template not having a view model
37
+ defined.
38
+
39
+ WORKAREA-304
40
+
41
+ Tom Scott
42
+
43
+ * Fix Missing Instance Variable In Cart Items View
44
+
45
+ The `@cart` instance variable was only being conditionally defined if
46
+ `current_order.add_item` succeeded. This caused an error if `#add_item`
47
+ happens to fail when calling `POST /cart/items` from the storefront,
48
+ resulting in a 500 error. To prevent this error, the definition of this
49
+ variable has been moved above the condition.
50
+
51
+ WORKAREA-303
52
+
53
+ Tom Scott
54
+
55
+ * Shorten index name
56
+
57
+ Mongo will raise when index names exceed a certain length. For example,
58
+ having a long Workarea.config.site_name could cause this.
59
+
60
+ Ben Crouse
61
+
62
+ * Fix missing jump to positions breaking jump to
63
+
64
+ Ruby raises when nil is compared, so default these values.
65
+
66
+ Ben Crouse
67
+
68
+
69
+
70
+ Workarea 3.4.43 (2020-11-03)
71
+ --------------------------------------------------------------------------------
72
+
73
+ * Delete old user metrics after merging
74
+
75
+ This will ensure the consistency of user-based reports.
76
+
77
+ Ben Crouse
78
+
79
+ * Be more specific when matching reverts in changelogs
80
+
81
+ This change will allow starting commit messages with the word Revert
82
+ without the changelog task ignoring the commit.
83
+
84
+ Ben Crouse
85
+
86
+ * Add metrics explanation for users
87
+
88
+ This additional explanation is meant to communicate why customer
89
+ insights may occasionally mismatch with the orders card.
90
+
91
+ Ben Crouse
92
+
93
+ * Add Note To Category Default Sort Edit
94
+
95
+ The selected `default_sort` of a category will be always used in the
96
+ storefront. If the category contains featured products, this sort will
97
+ be labelled "Featured", and this might prove confusing to some admins.
98
+ To resolve this, add a note just below the dropdown indicating what will
99
+ occur when products are featured in the category.
100
+
101
+ WORKAREA-289
102
+
103
+ Tom Scott
104
+
105
+ * Include referrer in ending impersonation redirect fallbacks
106
+
107
+ When ending an impersonation, this changes to allow redirecting to the referrer
108
+ if the return_to parameter isn't present. Better UX for ending
109
+ impersonations while working in the admin.
110
+
111
+ WORKAREA-293
112
+
113
+ Ben Crouse
114
+
115
+ * Merge metrics when a user's email is updated
116
+
117
+ This ensures the old metrics info stays around after the email change.
118
+
119
+ WORKAREA-294
120
+
121
+ Ben Crouse
122
+
123
+
124
+
125
+ Workarea 3.4.42 (2020-10-14)
126
+ --------------------------------------------------------------------------------
127
+
128
+ * Prevent Clearing Out Navigable When Saving Taxons
129
+
130
+ The `WORKAREA.newNavigationTaxons` module was looking in the wrong place
131
+ for the selected navigable item, therefore the `selected` var would
132
+ always return `undefined`, causing the `navigable_id` param to be
133
+ blank every time. Fix this by querying for the correct DOM node (the
134
+ `[data-new-navigation-taxon]` element) and pulling the selected ID from
135
+ its data.
136
+
137
+ WORKAREA-297
138
+ Fixes #534
139
+
140
+ Tom Scott
141
+
142
+ * Patch RefererParser for Android URLs
143
+
144
+ Android App URLs have a special `android-app://` scheme that is rejected
145
+ by the currently released version of the `referer-parser` gem. The code
146
+ in this patch already exists in the master branch of the gem, but this
147
+ has not yet been released, and if Android users browse the storefront it
148
+ can generate an error when collecting referer information. In case a
149
+ referer cannot be parsed, Workarea also rescues the error so that
150
+ checkout requests are not blocked.
151
+
152
+ WORKAREA-295
153
+ Fixes #531
154
+
155
+ Tom Scott
156
+
157
+ * Try to clarify how to use search synonyms
158
+
159
+ There has been repeated confusion around why/how to use synonyms, so this is an attempt to clarify.
160
+
161
+ Ben Crouse
162
+
163
+
164
+
165
+ Workarea 3.4.41 (2020-09-30)
166
+ --------------------------------------------------------------------------------
167
+
168
+ * Rename Admin::ProductViewModel#options to avoid conflict with normal options method
169
+
170
+
171
+ Matt Duffy
172
+
173
+ * Improve clarity of discount verbiage
174
+
175
+ This hopes to address some recent confusion around how the discount
176
+ works.
177
+
178
+ Ben Crouse
179
+
180
+ * Fix safe navigation method calls
181
+
182
+ This will raise if the menu content is nil.
183
+
184
+ Ben Crouse
185
+
186
+ * Redirect back to the previous page after stopping impersonation
187
+
188
+ Currently we redirect to the user's show page, which can be pretty
189
+ disorienting.
190
+
191
+ Ben Crouse
192
+
193
+
194
+
195
+ Workarea 3.4.40 (2020-09-16)
196
+ --------------------------------------------------------------------------------
197
+
198
+ * Fix Editing Product Images in Admin
199
+
200
+ When an image does not include an option, the edit page errors because
201
+ `#parameterize` cannot be called on `@image.option` since that is
202
+ returning `nil`. Additionally, the line of code in which this is called
203
+ is meant to set an ID attribute on the element for which an image is
204
+ rendered. There doesn't seem to be anything in our codebase that uses
205
+ this, and furthermore since there's no validation for unique options per
206
+ set of product images, this could cause a duplicate ID error in certain
207
+ scenarios. To resolve this, the ID attribute has been removed from this
208
+ `<img>` tag.
209
+
210
+ WORKAREA-254
211
+
212
+ Tom Scott
213
+
214
+ * Improve display of disabled toggles
215
+
216
+ When a toggle button is disabled, it should reflect that visually
217
+ instead of just looking like it should be functional.
218
+
219
+ Ben Crouse
220
+
221
+ * Remove CSV Messaging For Options Fields
222
+
223
+ This removes the "Comma separated: just, like, this" messaging and
224
+ tooltip that explains more about comma-separated fields for filters and
225
+ details. Options do not have these same constraints, and this help
226
+ bubble just serves as a point of confusion for admins.
227
+
228
+ WORKAREA-266
229
+
230
+ Tom Scott
231
+
232
+
233
+
1
234
  Workarea 3.4.39 (2020-09-01)
2
235
  --------------------------------------------------------------------------------
3
236
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.39
4
+ version: 3.4.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Crouse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-01 00:00:00.000000000 Z
11
+ date: 2020-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea-core
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.4.39
19
+ version: 3.4.44
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.4.39
26
+ version: 3.4.44
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: workarea-storefront
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.4.39
33
+ version: 3.4.44
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.4.39
40
+ version: 3.4.44
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: workarea-admin
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 3.4.39
47
+ version: 3.4.44
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 3.4.39
54
+ version: 3.4.44
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: workarea-testing
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 3.4.39
61
+ version: 3.4.44
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 3.4.39
68
+ version: 3.4.44
69
69
  description: Workarea is an enterprise-grade Ruby on Rails commerce platform.
70
70
  email:
71
71
  - bcrouse@workarea.com