workarea 3.4.45 → 3.5.0.beta.1
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.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -3
- data/CHANGELOG.md +214 -973
- data/README.md +37 -46
- metadata +13 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5d185842403bac844fda8dc3aaa3c2d95ab10cc118c2340995a1163312bdb548
|
|
4
|
+
data.tar.gz: 546ff669389350c217233e4a37ca7d7670170cbfef8b16fe2498e75d18a26155
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 11eeb85e4b1eed6d61ebc85bf606479ba5c20c4b6c6eb4df644dbc89baafd6dabf00c655eb7ebfdecf4ad9d8b3fbd75a5f5d01cbecb88e987f924afe56315e16
|
|
7
|
+
data.tar.gz: 0e467db6433045462068a18881e31609e1e1d18b9c423cd12df51b280454bb1275385cf010093721bb78aaa315237b16813edcd7f16eadfabdccff3784defc33
|
data/.rubocop.yml
CHANGED
|
@@ -95,7 +95,7 @@ Layout/EmptyLinesAroundModuleBody:
|
|
|
95
95
|
- 'storefront/app/view_models/workarea/storefront/search_customization_content.rb'
|
|
96
96
|
- 'testing/lib/workarea/testing/warning_suppressor.rb'
|
|
97
97
|
|
|
98
|
-
Layout/
|
|
98
|
+
Layout/IndentFirstArgument:
|
|
99
99
|
Enabled: true
|
|
100
100
|
Exclude:
|
|
101
101
|
- 'admin/test/helpers/workarea/admin/releases_helper_test.rb'
|
|
@@ -198,13 +198,13 @@ Layout/SpaceInsideParens:
|
|
|
198
198
|
- 'core/spec/models/workarea/order/queries_spec.rb'
|
|
199
199
|
|
|
200
200
|
# Detect hard tabs, no hard tabs.
|
|
201
|
-
Layout/
|
|
201
|
+
Layout/Tab:
|
|
202
202
|
Enabled: true
|
|
203
203
|
Exclude:
|
|
204
204
|
- 'core/vendor/active_shipping/lib/active_shipping/carriers/canada_post.rb'
|
|
205
205
|
|
|
206
206
|
# Blank lines should not have any spaces.
|
|
207
|
-
Layout/
|
|
207
|
+
Layout/TrailingBlankLines:
|
|
208
208
|
Enabled: true
|
|
209
209
|
|
|
210
210
|
# No trailing whitespace.
|
data/CHANGELOG.md
CHANGED
|
@@ -1,1125 +1,366 @@
|
|
|
1
|
-
Workarea 3.
|
|
1
|
+
Workarea 3.5.0.beta.1 (2019-11-07)
|
|
2
2
|
--------------------------------------------------------------------------------
|
|
3
3
|
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
Lowering the bcrypt cost lowers the time required to encrypt a password, at the
|
|
7
|
-
cost of increasing the speed at which an attacker can try to crack the password.
|
|
8
|
-
This is an acceptable tradeoff for improving performance of running tests. This
|
|
9
|
-
shaves about 5 minutes off of the admin tests.
|
|
10
|
-
|
|
11
|
-
Hat tip to Jeff Yucis for discovery.
|
|
12
|
-
|
|
13
|
-
Ben Crouse
|
|
14
|
-
|
|
15
|
-
* Bump redcarpet version to fix security warnings
|
|
16
|
-
|
|
17
|
-
Redcarpet released a security fix, so ensure using a version with that fix.
|
|
18
|
-
|
|
19
|
-
Redcarpet is only used to render help pages in the admin, so the vulnerability in Workarea is minimal.
|
|
20
|
-
|
|
21
|
-
Ben Crouse
|
|
22
|
-
|
|
23
|
-
* Improve image URL detection for dialog_buttons
|
|
24
|
-
|
|
25
|
-
This only worked if the URL had only one dot (before the file extension)
|
|
26
|
-
and no query parameters. Run it through the URL parser to provide more
|
|
27
|
-
robust handling.
|
|
28
|
-
|
|
29
|
-
Jonathan Mast
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
Workarea 3.4.44 (2020-11-25)
|
|
34
|
-
--------------------------------------------------------------------------------
|
|
35
|
-
|
|
36
|
-
* Bump version for release
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
Ben Crouse
|
|
40
|
-
|
|
41
|
-
* Bump jquery-rails to patch XSS vulnerabilities
|
|
4
|
+
* Allow storing non-unique recently viewed items
|
|
42
5
|
|
|
6
|
+
This will allow us to do better segmenting in the future with rules like
|
|
7
|
+
"viewed this product more than once".
|
|
43
8
|
|
|
9
|
+
WORKAREA-88
|
|
44
10
|
Ben Crouse
|
|
45
11
|
|
|
46
|
-
*
|
|
47
|
-
|
|
48
|
-
This has confused developers a couple of times, so hopefully adding a
|
|
49
|
-
warning will help.
|
|
50
|
-
|
|
51
|
-
Ben Crouse
|
|
52
|
-
|
|
53
|
-
* Fix Elasticsearch indexes when changing locales in tests
|
|
54
|
-
|
|
55
|
-
This ensures the proper search indexes are in place when you switch
|
|
56
|
-
locales for an integration test.
|
|
57
|
-
|
|
58
|
-
Ben Crouse
|
|
59
|
-
|
|
60
|
-
* Prevent Error on Missing Custom Template View Model Class
|
|
61
|
-
|
|
62
|
-
Typically, custom product templates use their own subclass of
|
|
63
|
-
`Workarea::Storefront::ProductViewModel`, but this isn't supposed to be
|
|
64
|
-
necessary if there's no custom logic that needs to be in the view model
|
|
65
|
-
layer. However, when developers tried to add a custom template without
|
|
66
|
-
the view model, they received an error. To prevent this, Workarea will
|
|
67
|
-
now catch the `NameError` thrown by `Storefront::ProductViewModel.wrap`
|
|
68
|
-
in the event of a custom product template not having a view model
|
|
69
|
-
defined.
|
|
70
|
-
|
|
71
|
-
WORKAREA-304
|
|
72
|
-
|
|
73
|
-
Tom Scott
|
|
74
|
-
|
|
75
|
-
* Fix Missing Instance Variable In Cart Items View
|
|
76
|
-
|
|
77
|
-
The `@cart` instance variable was only being conditionally defined if
|
|
78
|
-
`current_order.add_item` succeeded. This caused an error if `#add_item`
|
|
79
|
-
happens to fail when calling `POST /cart/items` from the storefront,
|
|
80
|
-
resulting in a 500 error. To prevent this error, the definition of this
|
|
81
|
-
variable has been moved above the condition.
|
|
82
|
-
|
|
83
|
-
WORKAREA-303
|
|
12
|
+
* Fix Incorrect Test Setup
|
|
84
13
|
|
|
14
|
+
The `Pricing::Calculators::Calculator.test_adjust` method accepts two
|
|
15
|
+
arguments, and expects the first argument is going to be of type
|
|
16
|
+
`Order`, but in a `TaxCalculator` test only a shipping was being passed
|
|
17
|
+
in. Update this test to use the correct syntax so that other downstream
|
|
18
|
+
projects that expect data to be on an Order won't get confused.
|
|
85
19
|
Tom Scott
|
|
86
20
|
|
|
87
|
-
*
|
|
21
|
+
* Allow an asset to be tagged 'og-default' to use for open graph images
|
|
88
22
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
Ben Crouse
|
|
23
|
+
WORKAREA-76
|
|
24
|
+
Matt Duffy
|
|
93
25
|
|
|
94
|
-
*
|
|
26
|
+
* Move segment overriding into middleware
|
|
95
27
|
|
|
96
|
-
|
|
28
|
+
To enable correct segment headers and caching, segment overriding will
|
|
29
|
+
need to happen in middleware. To accomplish this, we'll need to store
|
|
30
|
+
whether someone is an admin in their metrics.
|
|
97
31
|
|
|
32
|
+
This has a nice side-effect of not needing the `cache` cookie anymore,
|
|
33
|
+
so that's being removed.
|
|
98
34
|
Ben Crouse
|
|
99
35
|
|
|
36
|
+
* Add buttons to allow admin users to subscribe/unsubscribe from comments
|
|
100
37
|
|
|
38
|
+
WORKAREA-75
|
|
39
|
+
Matt Duffy
|
|
101
40
|
|
|
102
|
-
|
|
103
|
-
--------------------------------------------------------------------------------
|
|
104
|
-
|
|
105
|
-
* Delete old user metrics after merging
|
|
106
|
-
|
|
107
|
-
This will ensure the consistency of user-based reports.
|
|
41
|
+
* Add browser info options for segment rules
|
|
108
42
|
|
|
43
|
+
This also replaces Workarea's `Robots` class with use of the `browser`
|
|
44
|
+
gem, which keeps far better and updated checks.
|
|
109
45
|
Ben Crouse
|
|
110
46
|
|
|
111
|
-
*
|
|
47
|
+
* Adds graceful handling of timestamps from CSV imports
|
|
112
48
|
|
|
113
|
-
|
|
114
|
-
|
|
49
|
+
WORKAREA-24
|
|
50
|
+
Matt Duffy
|
|
115
51
|
|
|
116
|
-
|
|
52
|
+
* Don't default to S3 asset store
|
|
117
53
|
|
|
118
|
-
|
|
54
|
+
This causes problems spinning up environments in other hosting setups
|
|
55
|
+
where S3 isn't available or desired.
|
|
119
56
|
|
|
120
|
-
|
|
121
|
-
|
|
57
|
+
To retain the old behavior (which you'll want if you're on the Workarea
|
|
58
|
+
Commerce Cloud) drop this into an initializer:
|
|
59
|
+
`Workarea.config.asset_store = (Rails.env.test? || Rails.env.development?) ?
|
|
60
|
+
:file_system : :s3`
|
|
122
61
|
|
|
62
|
+
WORKAREA-32
|
|
123
63
|
Ben Crouse
|
|
124
64
|
|
|
125
|
-
*
|
|
65
|
+
* Use private HTTP caching headers for responses with segmented content
|
|
126
66
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
be labelled "Featured", and this might prove confusing to some admins.
|
|
130
|
-
To resolve this, add a note just below the dropdown indicating what will
|
|
131
|
-
occur when products are featured in the category.
|
|
67
|
+
If a page has segmented content, it can't be cached by any upstream HTTP
|
|
68
|
+
caches because the user's segments can change request-by-request.
|
|
132
69
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
70
|
+
Our solution is to use the headers we've been using for cached responses
|
|
71
|
+
if the page has no segmented content. If it does have segmented content,
|
|
72
|
+
change those headers to force refetching every time, while allowing the
|
|
73
|
+
server to return a 304 to eliminate sending unnecessary responses.
|
|
136
74
|
|
|
137
|
-
|
|
75
|
+
This is being done in a piece of middleware to ensure to
|
|
76
|
+
Rack::Cache the headers look the same. This allows us to still cache
|
|
77
|
+
complete responses in Rack::Cache for requests with segmented content.
|
|
138
78
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
WORKAREA-293
|
|
79
|
+
This commit also refactors the middleware that sets this all up into a
|
|
80
|
+
single ApplicationMiddleware so it's easier to see everything going on
|
|
81
|
+
in one file.
|
|
144
82
|
|
|
83
|
+
WORKAREA-36
|
|
145
84
|
Ben Crouse
|
|
146
85
|
|
|
147
|
-
*
|
|
148
|
-
|
|
149
|
-
This ensures the old metrics info stays around after the email change.
|
|
86
|
+
* Don't shell out to bundler to get gem path
|
|
150
87
|
|
|
151
|
-
|
|
88
|
+
This can cause problems if bundler outputs warnings/errors. There's a safe way to do it in Ruby, so use that instead.
|
|
152
89
|
|
|
90
|
+
Fixes #191
|
|
153
91
|
Ben Crouse
|
|
154
92
|
|
|
93
|
+
* Add a hook method to allow extending product's activeness
|
|
155
94
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
* Prevent Clearing Out Navigable When Saving Taxons
|
|
161
|
-
|
|
162
|
-
The `WORKAREA.newNavigationTaxons` module was looking in the wrong place
|
|
163
|
-
for the selected navigable item, therefore the `selected` var would
|
|
164
|
-
always return `undefined`, causing the `navigable_id` param to be
|
|
165
|
-
blank every time. Fix this by querying for the correct DOM node (the
|
|
166
|
-
`[data-new-navigation-taxon]` element) and pulling the selected ID from
|
|
167
|
-
its data.
|
|
168
|
-
|
|
169
|
-
WORKAREA-297
|
|
170
|
-
Fixes #534
|
|
171
|
-
|
|
172
|
-
Tom Scott
|
|
173
|
-
|
|
174
|
-
* Patch RefererParser for Android URLs
|
|
175
|
-
|
|
176
|
-
Android App URLs have a special `android-app://` scheme that is rejected
|
|
177
|
-
by the currently released version of the `referer-parser` gem. The code
|
|
178
|
-
in this patch already exists in the master branch of the gem, but this
|
|
179
|
-
has not yet been released, and if Android users browse the storefront it
|
|
180
|
-
can generate an error when collecting referer information. In case a
|
|
181
|
-
referer cannot be parsed, Workarea also rescues the error so that
|
|
182
|
-
checkout requests are not blocked.
|
|
183
|
-
|
|
184
|
-
WORKAREA-295
|
|
185
|
-
Fixes #531
|
|
186
|
-
|
|
187
|
-
Tom Scott
|
|
188
|
-
|
|
189
|
-
* Try to clarify how to use search synonyms
|
|
190
|
-
|
|
191
|
-
There has been repeated confusion around why/how to use synonyms, so this is an attempt to clarify.
|
|
192
|
-
|
|
95
|
+
Plugins like package products need a place to add more logic to a
|
|
96
|
+
product's activeness without having to reimplement all of active's
|
|
97
|
+
`super`. With the addition of segments, this becomes a bunch of
|
|
98
|
+
code.
|
|
193
99
|
Ben Crouse
|
|
194
100
|
|
|
101
|
+
* Allow content to be appended to head element in Content
|
|
195
102
|
|
|
103
|
+
WORKAREA-4
|
|
104
|
+
Curt Howard
|
|
196
105
|
|
|
197
|
-
|
|
198
|
-
--------------------------------------------------------------------------------
|
|
199
|
-
|
|
200
|
-
* Rename Admin::ProductViewModel#options to avoid conflict with normal options method
|
|
201
|
-
|
|
106
|
+
* Add notes about admin config fields and encryption to upgrade guide
|
|
202
107
|
|
|
108
|
+
WORKAREA-25
|
|
203
109
|
Matt Duffy
|
|
204
110
|
|
|
205
|
-
*
|
|
206
|
-
|
|
207
|
-
This hopes to address some recent confusion around how the discount
|
|
208
|
-
works.
|
|
209
|
-
|
|
210
|
-
Ben Crouse
|
|
211
|
-
|
|
212
|
-
* Fix safe navigation method calls
|
|
213
|
-
|
|
214
|
-
This will raise if the menu content is nil.
|
|
215
|
-
|
|
216
|
-
Ben Crouse
|
|
217
|
-
|
|
218
|
-
* Redirect back to the previous page after stopping impersonation
|
|
219
|
-
|
|
220
|
-
Currently we redirect to the user's show page, which can be pretty
|
|
221
|
-
disorienting.
|
|
222
|
-
|
|
223
|
-
Ben Crouse
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
Workarea 3.4.40 (2020-09-16)
|
|
228
|
-
--------------------------------------------------------------------------------
|
|
229
|
-
|
|
230
|
-
* Fix Editing Product Images in Admin
|
|
231
|
-
|
|
232
|
-
When an image does not include an option, the edit page errors because
|
|
233
|
-
`#parameterize` cannot be called on `@image.option` since that is
|
|
234
|
-
returning `nil`. Additionally, the line of code in which this is called
|
|
235
|
-
is meant to set an ID attribute on the element for which an image is
|
|
236
|
-
rendered. There doesn't seem to be anything in our codebase that uses
|
|
237
|
-
this, and furthermore since there's no validation for unique options per
|
|
238
|
-
set of product images, this could cause a duplicate ID error in certain
|
|
239
|
-
scenarios. To resolve this, the ID attribute has been removed from this
|
|
240
|
-
`<img>` tag.
|
|
241
|
-
|
|
242
|
-
WORKAREA-254
|
|
243
|
-
|
|
244
|
-
Tom Scott
|
|
245
|
-
|
|
246
|
-
* Improve display of disabled toggles
|
|
247
|
-
|
|
248
|
-
When a toggle button is disabled, it should reflect that visually
|
|
249
|
-
instead of just looking like it should be functional.
|
|
111
|
+
* Integrate segments into discount cache keys
|
|
250
112
|
|
|
113
|
+
Also, since we won't be able to expire keys in a performant way
|
|
114
|
+
(delete_matched is O(N) on the number of keys in Redis), we'll have to
|
|
115
|
+
remove discount cache busting.
|
|
251
116
|
Ben Crouse
|
|
252
117
|
|
|
253
|
-
*
|
|
254
|
-
|
|
255
|
-
This removes the "Comma separated: just, like, this" messaging and
|
|
256
|
-
tooltip that explains more about comma-separated fields for filters and
|
|
257
|
-
details. Options do not have these same constraints, and this help
|
|
258
|
-
bubble just serves as a point of confusion for admins.
|
|
259
|
-
|
|
260
|
-
WORKAREA-266
|
|
261
|
-
|
|
262
|
-
Tom Scott
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
Workarea 3.4.39 (2020-09-01)
|
|
267
|
-
--------------------------------------------------------------------------------
|
|
268
|
-
|
|
269
|
-
* Set Default Inventory Policy to "Standard" in Create Product Workflow
|
|
270
|
-
|
|
271
|
-
When creating a new product through the workflow, setting the
|
|
272
|
-
"Inventory" on a particular SKU would still cause the `Inventory::Sku`
|
|
273
|
-
to be created with the "Ignore" policy rather than "Standard". Setting
|
|
274
|
-
inventory on a SKU now automatically causes the `Inventory::Sku` record
|
|
275
|
-
to be created with a policy of "Standard" so as to deduct the given
|
|
276
|
-
inventory to the varaint. When no inventory is given, Workarea will fall
|
|
277
|
-
back to the default of "Ignore".
|
|
278
|
-
|
|
279
|
-
WORKAREA-265
|
|
280
|
-
|
|
281
|
-
Tom Scott
|
|
282
|
-
|
|
283
|
-
* Handle missing or invalid current impersonation
|
|
284
|
-
|
|
285
|
-
This surfaced as a random failing test, this should make the feature more robust.
|
|
118
|
+
* Fix changeset loading missing root
|
|
286
119
|
|
|
120
|
+
Can raise an error when rendering changesets on the release's show page.
|
|
287
121
|
Ben Crouse
|
|
288
122
|
|
|
289
|
-
*
|
|
290
|
-
|
|
291
|
-
The query for an admin index page can end up inadvertantly introduce a
|
|
292
|
-
scoring variation, which can cause results to not match the `updated_at`
|
|
293
|
-
default sort.
|
|
294
|
-
|
|
295
|
-
This makes `updated_at` the true default sort, and allows the general
|
|
296
|
-
admin search to override, where `_score` is still the desired default
|
|
297
|
-
sort.
|
|
298
|
-
|
|
299
|
-
Ben Crouse
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
Workarea 3.4.38 (2020-08-19)
|
|
304
|
-
--------------------------------------------------------------------------------
|
|
305
|
-
|
|
306
|
-
* Return Status of `Checkout#update`
|
|
307
|
-
|
|
308
|
-
For APIs and other consumers of the Checkout model, return a boolean
|
|
309
|
-
response from the `#update` method to signify whether the operation
|
|
310
|
-
succeeded or failed. This response is used directly in the API to return
|
|
311
|
-
an `:unprocessable_entity` response code when an update operation fails.
|
|
312
|
-
|
|
313
|
-
WORKAREA-253
|
|
123
|
+
* Implement Tribute.js for comment notifications
|
|
314
124
|
|
|
315
|
-
|
|
125
|
+
WORKAREA-6
|
|
126
|
+
Curt Howard
|
|
316
127
|
|
|
317
|
-
*
|
|
128
|
+
* Fix issue around Visit#referrer and Puma
|
|
318
129
|
|
|
319
|
-
|
|
320
|
-
like a true host.
|
|
130
|
+
Curt Howard
|
|
321
131
|
|
|
322
|
-
|
|
323
|
-
change.
|
|
132
|
+
* Add segmented icons to index pages
|
|
324
133
|
|
|
325
134
|
Ben Crouse
|
|
326
135
|
|
|
327
|
-
*
|
|
328
|
-
|
|
329
|
-
The vulnerability won't affect Workarea in use, but it'll be easier to fix builds doing this.
|
|
136
|
+
* Add segment icon to content blocks UI
|
|
330
137
|
|
|
331
138
|
Ben Crouse
|
|
332
139
|
|
|
333
|
-
*
|
|
334
|
-
|
|
335
|
-
WORKAREA-238
|
|
140
|
+
* Rework FeaturedCategorizations to allow easier decoration
|
|
336
141
|
|
|
142
|
+
WORKAREA-21
|
|
337
143
|
Matt Duffy
|
|
338
144
|
|
|
145
|
+
* Removes Puma auto-configuration (#151)
|
|
339
146
|
|
|
147
|
+
This is going to part of the `workarea-commerce_cloud` gem going forward. If you're a subscriber to the Workarea Commerce Cloud service, you should include that gem in your project to get Puma and other configuration for that service.
|
|
148
|
+
Jesse McPherson
|
|
340
149
|
|
|
341
|
-
|
|
342
|
-
--------------------------------------------------------------------------------
|
|
343
|
-
|
|
344
|
-
* Configure Sliced Credit Card Attributes
|
|
345
|
-
|
|
346
|
-
To prevent an unnecessary decoration of the `Workarea::Payment` class,
|
|
347
|
-
the attributes sliced out of the Hash given to `Workarea::Payment#set_credit_card`
|
|
348
|
-
is now configurable in initializers. This same set of attributes is also
|
|
349
|
-
used in the `Users::CreditCardsController`, so the configuration will be
|
|
350
|
-
reused when users are attempting to add a new credit card to their
|
|
351
|
-
account.
|
|
352
|
-
|
|
353
|
-
WORKAREA-257
|
|
354
|
-
|
|
355
|
-
Tom Scott
|
|
356
|
-
|
|
357
|
-
* Setup PlaceOrderIntegrationTest in a Method
|
|
358
|
-
|
|
359
|
-
Currently, decorating the PlaceOrderIntegrationTest to edit the way its
|
|
360
|
-
set up (such as when adding an additional step) is impossible, you have
|
|
361
|
-
to basically copy everything out of the `setup` block and duplicate it
|
|
362
|
-
in your tests. Setup blocks should be methods anyway, so convert this to
|
|
363
|
-
a method and allow it to be decorated in host apps.
|
|
364
|
-
|
|
365
|
-
Tom Scott
|
|
366
|
-
|
|
367
|
-
* Improve Content Area Select UX
|
|
368
|
-
|
|
369
|
-
Remove the current content name and replace it with a static label
|
|
370
|
-
indicating what the `<select>` menu to the right of it is selecting,
|
|
371
|
-
which is the current content area. This UI only displays when there are
|
|
372
|
-
multiple areas for a given `Content`.
|
|
150
|
+
* Fix Product URL In Breadcrumbs
|
|
373
151
|
|
|
374
|
-
|
|
152
|
+
The `storefront_url_for` method doesn't handle models other than taxons,
|
|
153
|
+
but the Schema.org helpers use it to render breadcrumb URLs in the
|
|
154
|
+
`BreadcrumbList` for any model that's in the breadcrumbs. To prevent
|
|
155
|
+
incorrect URLs from showing up in the breadcrumbs, the
|
|
156
|
+
`Navigation::Breadcrumbs` class has been modified to accept a model
|
|
157
|
+
object as its `:last` parameter, instead of just a name, to be added to
|
|
158
|
+
an arbitrary `Navigation::Taxon` created for the purpose of rendering
|
|
159
|
+
both the name and URL of the final navigation taxon. This wasn't needed
|
|
160
|
+
prior to the introduction of Schema.org's `BreadcrumbList`, because the
|
|
161
|
+
final URL of breadcrumbs was always left out. The helper methods that
|
|
162
|
+
render the breadcrumbs will continue to leave out the final taxon's URL,
|
|
163
|
+
but for breadcrumbs in Schema.org, the URL will now be included.
|
|
375
164
|
|
|
165
|
+
(#83)
|
|
376
166
|
Tom Scott
|
|
377
167
|
|
|
168
|
+
* Apply tax to items that do not require shipping
|
|
378
169
|
|
|
170
|
+
* Adds Payment lookup to pricing request
|
|
171
|
+
* Modifies TaxCalculator to check shipped and not shipped items
|
|
172
|
+
* Renames TaxApplier to ShippedTaxApplier, Uses TaxApplier for not shipped items
|
|
173
|
+
Matt Duffy
|
|
379
174
|
|
|
380
|
-
Workarea 3.
|
|
381
|
-
--------------------------------------------------------------------------------
|
|
382
|
-
|
|
383
|
-
* Patch Jbuilder to Support Varying Cache
|
|
384
|
-
|
|
385
|
-
Previously, admins were not able to see up-to-date data in API requests
|
|
386
|
-
due to the `#cache!` method in Jbuilder not being patched to skip
|
|
387
|
-
caching when an admin is logged in. To resolve this, Workarea now
|
|
388
|
-
applies the same patch to Jbuilder as it does to ActionView. Reading
|
|
389
|
-
from the cache is now skipped if you're logged in as an admin, and cache
|
|
390
|
-
keys are appended with the configured `Cache::Varies` just the same as
|
|
391
|
-
in regular Haml views.
|
|
175
|
+
* Update order documentation for Workarea 3.5
|
|
392
176
|
|
|
393
|
-
|
|
177
|
+
Cover suspected fraud.
|
|
394
178
|
|
|
395
|
-
|
|
179
|
+
Closes #99
|
|
180
|
+
Chris Cressman
|
|
396
181
|
|
|
397
|
-
*
|
|
182
|
+
* Allow setting active by segment
|
|
398
183
|
|
|
399
|
-
|
|
184
|
+
This allows configuring releasable resources to be active only for
|
|
185
|
+
certain segments. If no segments are specified, it will be active
|
|
186
|
+
globally. If segments are specified, only those segments will be able to
|
|
187
|
+
see it.
|
|
400
188
|
|
|
189
|
+
For #102
|
|
401
190
|
Ben Crouse
|
|
402
191
|
|
|
403
|
-
*
|
|
404
|
-
|
|
405
|
-
This allows a plugin (such as API) to specify permissions categories when
|
|
406
|
-
admins are either editing or creating a user.
|
|
407
|
-
|
|
408
|
-
WORKAREA-240
|
|
192
|
+
* Pass Options To `Storefront::UserActivityViewModel`
|
|
409
193
|
|
|
194
|
+
This was an oversight that got caught and fixed in the `flow-io` plugin,
|
|
195
|
+
but should really be in base since it will allow more control over the
|
|
196
|
+
product summaries on the recent views action. The `view_model_options`
|
|
197
|
+
were not getting passed into the `UserActivityViewModel`, and thus the
|
|
198
|
+
`ProductViewModel` instances that it creates, causing some stale content
|
|
199
|
+
to appear in the view.
|
|
410
200
|
Tom Scott
|
|
411
201
|
|
|
202
|
+
* Surface Asset alt text and behavior within Content Blocks (#95)
|
|
412
203
|
|
|
204
|
+
In an effort to make the recent updates to alt text overridding in
|
|
205
|
+
Content Blocks a bit clearer, alt text is now being output:
|
|
413
206
|
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
* Reset Geocoder between tests
|
|
207
|
+
- On the content assets index view
|
|
208
|
+
- In the title for a content asset summary
|
|
418
209
|
|
|
419
|
-
|
|
420
|
-
|
|
210
|
+
Default alt text has been removed from the Content block DSL, which
|
|
211
|
+
makes the default text come directly from the Asset itself.
|
|
421
212
|
|
|
422
|
-
|
|
213
|
+
The help text displayed on Asset Content Blocks always appears now,
|
|
214
|
+
better explaining the behavior of this feature.
|
|
215
|
+
Curt Howard
|
|
423
216
|
|
|
424
|
-
*
|
|
217
|
+
* Spruce up Timeline UI (#58)
|
|
425
218
|
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
BSON ID was rendered in place of the model's name.
|
|
219
|
+
The `activity`, `activity-group`, and `date-marker` UIs couple together
|
|
220
|
+
to create, what's unofficially referred to as, The Timeline UI. These
|
|
221
|
+
components have been neglected for a long time... until now!
|
|
222
|
+
Curt Howard
|
|
431
223
|
|
|
432
|
-
|
|
224
|
+
* Update inventory docs for Workarea 3.5 (#98)
|
|
433
225
|
|
|
434
|
-
|
|
226
|
+
Add coverage of inventory collection status, a new concept
|
|
227
|
+
in Workarea 3.5
|
|
228
|
+
Chris Cressman
|
|
435
229
|
|
|
436
|
-
*
|
|
230
|
+
* Update search docs for Workarea 3.5 (#97)
|
|
437
231
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
have to be updated each time a new set of promo codes were added.
|
|
443
|
-
Instead of reading from this pre-defined field on the code list, render
|
|
444
|
-
the actual count of promo codes from the database on the code list and
|
|
445
|
-
promo codes admin pages.
|
|
232
|
+
* Remove references to Storefront autocomplete
|
|
233
|
+
* Update examples to reflect release-specific search documents
|
|
234
|
+
* Call out the impact of current release and current segments on search documents
|
|
235
|
+
Chris Cressman
|
|
446
236
|
|
|
447
|
-
|
|
237
|
+
* Remove Refund Tests
|
|
448
238
|
|
|
239
|
+
Since we're no longer able to regenerate VCR cassettes at-will (due to
|
|
240
|
+
credentials needing to be scrubbed before pushing to GitHub), this
|
|
241
|
+
configuration setting is no longer necessary, and furthermore, could
|
|
242
|
+
potentially prevent legitimate tests from running and catching bugs in
|
|
243
|
+
the wild. They're only used in one plugin, so remove the tests from base
|
|
244
|
+
and copy them into the plugin.
|
|
449
245
|
Tom Scott
|
|
450
246
|
|
|
247
|
+
* Refine fullfillment UI around skus and tokens
|
|
451
248
|
|
|
249
|
+
* Change package messaging for items with no carrier and tracking number
|
|
250
|
+
* Add table of fulfillment tokens associated to an order
|
|
251
|
+
* Fix paginating fulfillment tokens
|
|
452
252
|
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
* Reset Geocoder between tests
|
|
457
|
-
|
|
458
|
-
This ensures individual tests monkeying around with Geocoder config will
|
|
459
|
-
get restored before the next test runs.
|
|
460
|
-
|
|
461
|
-
Ben Crouse
|
|
462
|
-
|
|
463
|
-
* Use Display Name For Applied Facet Values
|
|
464
|
-
|
|
465
|
-
When rendering the applied filters, wrap the given facet value in
|
|
466
|
-
the `facet_value_display_name` helper, ensuring that the value rendered
|
|
467
|
-
is always human readable. This addresses an issue where if the applied
|
|
468
|
-
filter value is that of a BSON ID, referencing a model somewhere, the
|
|
469
|
-
BSON ID was rendered in place of the model's name.
|
|
253
|
+
Closes #93
|
|
254
|
+
Matt Duffy
|
|
470
255
|
|
|
471
|
-
|
|
256
|
+
* Remove Schema.org structured data from unspiderable pages
|
|
472
257
|
|
|
473
|
-
|
|
258
|
+
There seems to be little reason to bloat the markup of pages explicitly
|
|
259
|
+
disallowed in our default `robots.txt` file.
|
|
474
260
|
|
|
475
|
-
|
|
261
|
+
Closes #82
|
|
262
|
+
Curt Howard
|
|
476
263
|
|
|
477
|
-
|
|
478
|
-
so rendering the count of all promo codes as the count requested to be
|
|
479
|
-
generated was working out. However, as CSV imports and API updates became
|
|
480
|
-
more widespread, this began to break down as the `#count` field would
|
|
481
|
-
have to be updated each time a new set of promo codes were added.
|
|
482
|
-
Instead of reading from this pre-defined field on the code list, render
|
|
483
|
-
the actual count of promo codes from the database on the code list and
|
|
484
|
-
promo codes admin pages.
|
|
264
|
+
* Remove /wish_lists entry from Robots.txt
|
|
485
265
|
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
Tom Scott
|
|
266
|
+
This was a relic from a more monolithic age and will be readded by
|
|
267
|
+
workarea-commerce/workarea-wish-lists#2.
|
|
489
268
|
|
|
269
|
+
Closes #106
|
|
270
|
+
Curt Howard
|
|
490
271
|
|
|
272
|
+
* Add config field to limit total item count for a single cart
|
|
491
273
|
|
|
492
|
-
|
|
493
|
-
--------------------------------------------------------------------------------
|
|
274
|
+
Matt Duffy
|
|
494
275
|
|
|
495
|
-
*
|
|
276
|
+
* Update docs to reflect changes in Workarea 3.5
|
|
496
277
|
|
|
497
|
-
|
|
278
|
+
* Storefront price partial removed
|
|
279
|
+
* `Workarea.with_config` obsoleted by automatic resetting
|
|
280
|
+
of configuration between tests
|
|
281
|
+
* Changes to headless Chrome configuration
|
|
282
|
+
* Changes to Sidekiq queues
|
|
283
|
+
* Addition of `query_cache` Sidekiq option
|
|
284
|
+
Chris Cressman
|
|
498
285
|
|
|
499
|
-
|
|
286
|
+
* Add Workarea 3.5 release notes
|
|
500
287
|
|
|
501
|
-
*
|
|
288
|
+
* Add 3.5 release notes doc
|
|
289
|
+
* Link to 3.5 release notes doc from release notes index
|
|
290
|
+
* Rename and modify 3.5 upgrade guide for consistency with 3.4 upgrade guide
|
|
291
|
+
* Cross-reference 3.5 release notes and upgrade guide
|
|
292
|
+
* Clean up upgrade guide
|
|
293
|
+
* Fix title of doc added for v3.5
|
|
294
|
+
Chris Cressman
|
|
502
295
|
|
|
503
|
-
|
|
296
|
+
* Factor release id into discount cache keys
|
|
504
297
|
|
|
298
|
+
closes #43
|
|
505
299
|
Matt Duffy
|
|
506
300
|
|
|
507
|
-
*
|
|
508
|
-
|
|
509
|
-
WORKAREA-234
|
|
301
|
+
* Update content block helper to use view helper cache method.
|
|
510
302
|
|
|
303
|
+
This was previously using Rails low level caching, which does not
|
|
304
|
+
factor in varies headers or prevent caching for admins.
|
|
511
305
|
Matt Duffy
|
|
512
306
|
|
|
513
|
-
*
|
|
514
|
-
|
|
515
|
-
A custom discount may be implemented that doesn't use promo codes.
|
|
516
|
-
|
|
517
|
-
Ben Crouse
|
|
518
|
-
|
|
519
|
-
* Bump rack-attack to latest version
|
|
520
|
-
|
|
521
|
-
This fixes rack-attack keys without TTLs set piling up in Redis. This has caused hosting problems.
|
|
522
|
-
|
|
523
|
-
Ben Crouse
|
|
524
|
-
|
|
525
|
-
* Bump Kaminari dependency to fix security alert
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
Ben Crouse
|
|
529
|
-
|
|
530
|
-
* Fix incorrect shipping options error flash message
|
|
531
|
-
|
|
532
|
-
A flash error incorrectly showed when the order doesn't require shipping,
|
|
533
|
-
and addresses are updated.
|
|
534
|
-
|
|
535
|
-
Ben Crouse
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
Workarea 3.4.33 (2020-05-26)
|
|
540
|
-
--------------------------------------------------------------------------------
|
|
541
|
-
|
|
542
|
-
* Fix incorrect import errors
|
|
543
|
-
|
|
544
|
-
When an import fails due to a missing `DataFile::Import` document, the
|
|
545
|
-
`ProcessImport` worker will raise a nil error due to the ensure. This
|
|
546
|
-
fixes by ensuring the `DocumentNotFound` error gets raised.
|
|
547
|
-
|
|
548
|
-
Ben Crouse
|
|
549
|
-
|
|
550
|
-
* Remove caching from direct upload CORS requests
|
|
551
|
-
|
|
552
|
-
The caching continues to give us problems, and this isn't a high-traffic
|
|
553
|
-
part of the system so there isn't a practical need for it.
|
|
554
|
-
|
|
555
|
-
Ben Crouse
|
|
556
|
-
|
|
557
|
-
* Correct/clarify Dragonfly configuration warning
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
Ben Crouse
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
Workarea 3.4.32 (2020-04-28)
|
|
565
|
-
--------------------------------------------------------------------------------
|
|
566
|
-
|
|
567
|
-
* Fix bugs with per_page used in page calculation for search queries
|
|
568
|
-
|
|
569
|
-
Even though this shouldn't come from the outside world, it's easy and
|
|
570
|
-
best to ensure per_page is always a valid number.
|
|
571
|
-
|
|
572
|
-
Ben Crouse
|
|
573
|
-
|
|
574
|
-
* Stub S3 CORS for all integration tests
|
|
575
|
-
|
|
576
|
-
It's annoying and unnecessary to have to stub this for every test that
|
|
577
|
-
uses an asset picker.
|
|
578
|
-
|
|
579
|
-
WORKAREA-209
|
|
580
|
-
|
|
581
|
-
Ben Crouse
|
|
582
|
-
|
|
583
|
-
* Skip localized activeness test when localized active fields are off
|
|
584
|
-
|
|
585
|
-
Fixes #421
|
|
586
|
-
|
|
587
|
-
Ben Crouse
|
|
588
|
-
|
|
589
|
-
* Fix accepting per_page param from outside world
|
|
590
|
-
|
|
591
|
-
Page size is the most important factor in performance for browse pages,
|
|
592
|
-
so we don't want these exposed to the outside world out-of-the-box.
|
|
593
|
-
|
|
594
|
-
Ben Crouse
|
|
595
|
-
|
|
596
|
-
* Update grammar for consistency
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
Ben Crouse
|
|
600
|
-
|
|
601
|
-
* Corrected no_available_shipping_options translation typo (#418)
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
JurgenHahn
|
|
605
|
-
|
|
606
|
-
* Fix fullfilment shipped mailer template
|
|
307
|
+
* Fix showing comments without authors in admin
|
|
607
308
|
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
heyqule
|
|
611
|
-
|
|
612
|
-
* Improve visual design of most discounted products insight
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
Ben Crouse
|
|
616
|
-
|
|
617
|
-
* Change HashUpdate to use the setter instead of mutation
|
|
618
|
-
|
|
619
|
-
Simply mutating the value doesn't work when the field is localized.
|
|
620
|
-
Mongoid's localization behavior only kicks in when you use the setter.
|
|
621
|
-
|
|
622
|
-
Ben Crouse
|
|
623
|
-
|
|
624
|
-
* Allow setting locale fallbacks for a test
|
|
625
|
-
|
|
626
|
-
This is useful if you want to test fallback behavior. Tests in base
|
|
627
|
-
should be agnostic to whether fallbacks are available or not.
|
|
628
|
-
|
|
629
|
-
Ben Crouse
|
|
630
|
-
|
|
631
|
-
* Fix locale fallback getting unexpectedly autloaded
|
|
632
|
-
|
|
633
|
-
This can happen in the middle of a test suite, causing apparently random
|
|
634
|
-
test failure. This freedom patch prevents fallbacks from autoloading.
|
|
635
|
-
We want to let the implementation make that decision.
|
|
636
|
-
|
|
637
|
-
Ben Crouse
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
Workarea 3.4.31 (2020-04-15)
|
|
642
|
-
--------------------------------------------------------------------------------
|
|
643
|
-
|
|
644
|
-
* Fix harded JS path for admin jump to dropdown
|
|
645
|
-
|
|
646
|
-
This prevents locale from being included in the path to load results.
|
|
647
|
-
Ben Crouse
|
|
648
|
-
|
|
649
|
-
* Fix index serialization not happening per-locale
|
|
650
|
-
|
|
651
|
-
Previously, indexing was using the same document per-locale. This was
|
|
652
|
-
masked by Mongoid loading data from the cached document to look correct
|
|
653
|
-
in most browse scenarios. This fixes it to serialize per-locale so each
|
|
654
|
-
locale has a separate representation of the document.
|
|
655
|
-
Ben Crouse
|
|
656
|
-
|
|
657
|
-
* Fix Mongoid not returning defaults for localized fields
|
|
658
|
-
|
|
659
|
-
If a locale is missing from the translations hash, Mongoid returns nil
|
|
660
|
-
instead of the default specified on the field. That causes all kinds of
|
|
661
|
-
errors.
|
|
662
|
-
Ben Crouse
|
|
663
|
-
|
|
664
|
-
* Add missing append points to option-based product templates
|
|
665
|
-
|
|
666
|
-
This append point was only in the generic template, but is useful for
|
|
667
|
-
plugins.
|
|
668
|
-
Ben Crouse
|
|
669
|
-
|
|
670
|
-
* Fix dev env autoloading problem with Categorization
|
|
671
|
-
|
|
672
|
-
Ben Crouse
|
|
673
|
-
|
|
674
|
-
* Don't allow more than one valid password reset token per-user
|
|
675
|
-
|
|
676
|
-
Ben Crouse
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
Workarea 3.4.30 (2020-03-31)
|
|
681
|
-
--------------------------------------------------------------------------------
|
|
682
|
-
|
|
683
|
-
* Fix incorrect placeholder text
|
|
684
|
-
|
|
685
|
-
Ben Crouse
|
|
686
|
-
|
|
687
|
-
* Remove unneeded grid modifier
|
|
688
|
-
|
|
689
|
-
Causes misalignment of the users index aux navigation append point.
|
|
690
|
-
Ben Crouse
|
|
691
|
-
|
|
692
|
-
* Update critical easymon checks
|
|
693
|
-
|
|
694
|
-
Only elasticsearch, mongodb and redis are critical services for running
|
|
695
|
-
the application.
|
|
309
|
+
Comments generated in plugins don't have an author; update the view to
|
|
310
|
+
handle rendering when the `author_id` is nil.
|
|
696
311
|
Eric Pigeon
|
|
697
312
|
|
|
698
|
-
*
|
|
699
|
-
|
|
700
|
-
This adds updated_at as a sort in jump to so most recent results show at
|
|
701
|
-
the top within their type. The types are still sorted the same.
|
|
702
|
-
Ben Crouse
|
|
703
|
-
|
|
704
|
-
* Handle missing price in sell_price method itself
|
|
705
|
-
|
|
706
|
-
Fixes QA issue.
|
|
707
|
-
|
|
708
|
-
WORKAREA-220
|
|
709
|
-
Tom Scott
|
|
710
|
-
|
|
313
|
+
* add query_cache flag to index workers
|
|
711
314
|
|
|
712
|
-
|
|
713
|
-
Workarea 3.4.29 (2020-03-17)
|
|
714
|
-
--------------------------------------------------------------------------------
|
|
715
|
-
|
|
716
|
-
* Handle Missing Price in Pricing SKUs Admin Index
|
|
717
|
-
|
|
718
|
-
Ensure that price ranges in the pricing SKUs admin index can handle when
|
|
719
|
-
there are no prices for the SKU.
|
|
720
|
-
|
|
721
|
-
WORKAREA-220
|
|
722
|
-
Tom Scott
|
|
723
|
-
|
|
724
|
-
* Prevent Tracking Index Filters on JSON Requests
|
|
725
|
-
|
|
726
|
-
When `.json` or Ajax requests are made against the admin, the
|
|
727
|
-
`#track_index_filters` callback was previously saving off the full path,
|
|
728
|
-
resulting in issues with the back-linking on the admin UI. To resolve
|
|
729
|
-
this, Workarea no longer considers `.json` requests on the index page to
|
|
730
|
-
be a valid `session[:last_index_path]`.
|
|
731
|
-
|
|
732
|
-
WORKAREA-214
|
|
733
|
-
Tom Scott
|
|
734
|
-
|
|
735
|
-
* Add append point to user index page
|
|
736
|
-
|
|
737
|
-
Jeff Yucis
|
|
738
|
-
|
|
739
|
-
* Add pricing SKU admin append points and align views (#388)
|
|
740
|
-
|
|
741
|
-
Ben Crouse
|
|
742
|
-
|
|
743
|
-
* Improve admin jump to search result types
|
|
744
|
-
|
|
745
|
-
This improves results by limiting the number of results that will show
|
|
746
|
-
per-type. This allows the user to see a more diverse set of results
|
|
747
|
-
instead of being overwhelmed by many matches in the top types.
|
|
748
|
-
Ben Crouse
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
Workarea 3.4.28 (2020-03-03)
|
|
753
|
-
--------------------------------------------------------------------------------
|
|
754
|
-
|
|
755
|
-
* Fix duplicate suggested searches
|
|
756
|
-
|
|
757
|
-
This can heppen if Predictor and Elasticsearch both return a similar
|
|
758
|
-
query suggestion.
|
|
759
|
-
Ben Crouse
|
|
760
|
-
|
|
761
|
-
* Generate weekly and monthly insights for historical data
|
|
762
|
-
|
|
763
|
-
Seeds were only generating insights for a single previous week
|
|
764
|
-
and month which caused some insights that rely on historical data
|
|
765
|
-
to not be generated i.e. trending products and searches.
|
|
766
|
-
|
|
767
|
-
WORKAREA-166
|
|
768
315
|
Matt Duffy
|
|
769
316
|
|
|
770
|
-
*
|
|
771
|
-
|
|
772
|
-
When calculating the average price for a product in its insights,
|
|
773
|
-
Workarea was previously using the amount of orders the product appears
|
|
774
|
-
in as a divisor. This will not show the correct average price of a
|
|
775
|
-
product unless every order only has a quantity of 1, since it includes
|
|
776
|
-
the total price of the item rather than its unit price. To make this
|
|
777
|
-
number accurately reflect the average price paid per unit on a product,
|
|
778
|
-
Workarea now uses the number of units sold as the divisor when
|
|
779
|
-
calculating the average unit price of a product.
|
|
780
|
-
|
|
781
|
-
WORKAREA-215
|
|
782
|
-
Tom Scott
|
|
783
|
-
|
|
784
|
-
* Randomize Addresses In Seeds
|
|
785
|
-
|
|
786
|
-
Workarea now provides random values for street address, city, and state.
|
|
787
|
-
All addresses are still in the US, however, so they will still validate
|
|
788
|
-
with default configuration. This provides more diverse seed data that
|
|
789
|
-
better reflects the real-life admin.
|
|
790
|
-
|
|
791
|
-
WORKAREA-213
|
|
792
|
-
Tom Scott
|
|
793
|
-
|
|
794
|
-
* Remove Changes Count in Releases Index
|
|
795
|
-
|
|
796
|
-
The `#changesets_for_releasable` query cannot be optimized any further
|
|
797
|
-
without using some kind of aggregation. Remove it from the index so it
|
|
798
|
-
won't cause performance problems.
|
|
799
|
-
|
|
800
|
-
WORKAREA-208
|
|
801
|
-
Tom Scott
|
|
802
|
-
|
|
803
|
-
* Display Price Range in Pricing SKUs Table
|
|
804
|
-
|
|
805
|
-
The price display in the Pricing SKUs index is somewhat confusing, and
|
|
806
|
-
would show different "Regular Price" data depending on the sale state of
|
|
807
|
-
the SKU. To resolve this, replace the two price columns with "Sell
|
|
808
|
-
Price", a column that renders a price range if there are multiple prices
|
|
809
|
-
set on the SKU, and indicates that it's always going to show the price
|
|
810
|
-
that a SKU is being sold for. Otherwise, it will just show the `#sell`
|
|
811
|
-
price of the SKU.
|
|
812
|
-
|
|
813
|
-
WORKAREA-311
|
|
814
|
-
Tom Scott
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
Workarea 3.4.27 (2020-02-21)
|
|
819
|
-
--------------------------------------------------------------------------------
|
|
820
|
-
|
|
821
|
-
* Add Append Point For Post Subtotal Adjustments
|
|
822
|
-
|
|
823
|
-
This adds an append point right underneath the order subtotal and above
|
|
824
|
-
the shipping total in the admin order attributes view.
|
|
825
|
-
|
|
826
|
-
WORKAREA-183
|
|
827
|
-
Tom Scott
|
|
828
|
-
|
|
829
|
-
* Handle Deleted Categories in Category Options (#359)
|
|
830
|
-
|
|
831
|
-
In the `options_for_category` method, Workarea did not previously check
|
|
832
|
-
for whether a category exists, resulting in Mongoid throwing a
|
|
833
|
-
`DocumentNotFound` error when encountering the method and causing a 500
|
|
834
|
-
error in the real world. This has now been resolved by rewriting the
|
|
835
|
-
code to check for whether the model was found before proceeding.
|
|
836
|
-
`options_for_category` will now return an empty string early.
|
|
837
|
-
|
|
838
|
-
WORKAREA-207
|
|
839
|
-
Tom Scott
|
|
840
|
-
|
|
841
|
-
* Fix Overwriting CORS Rules for S3 Direct Uploads
|
|
842
|
-
|
|
843
|
-
Workarea previously replaced the existing CORS configuration on the S3
|
|
844
|
-
bucket used for storing direct uploads with its own, which caused issues
|
|
845
|
-
for environments that share an S3 bucket between servers (such as ad-hoc
|
|
846
|
-
demo servers or low-traffic "all-in-one" instances). Instead of
|
|
847
|
-
replacing the entire configuration, Workarea now reads the existing
|
|
848
|
-
allowed hosts configuration and appends its own onto the end, preserving
|
|
849
|
-
the configuration that previously existed. This should address the
|
|
850
|
-
problem wherein if another server attempts a direct upload, it can
|
|
851
|
-
revoke the access from previous servers to upload to the S3 bucket,
|
|
852
|
-
since they were no longer in the CORS configuration.
|
|
317
|
+
* Eliminate n+1 query from ProductPrimaryNavigation
|
|
853
318
|
|
|
854
|
-
WORKAREA-209
|
|
855
|
-
Tom Scott
|
|
856
|
-
|
|
857
|
-
* Use correct page title for navigation menus index
|
|
858
|
-
|
|
859
|
-
Luis Mercado
|
|
860
|
-
|
|
861
|
-
* Fix Sidekiq callbacks workers missing due to code reloaded
|
|
862
|
-
|
|
863
|
-
This can cause missing workers in development, which causes callback
|
|
864
|
-
workers which should be enqueued to be missing.
|
|
865
|
-
Ben Crouse
|
|
866
|
-
|
|
867
|
-
* Expose shipping service code in admin create and edit screens
|
|
868
|
-
|
|
869
|
-
WORKAREA-190
|
|
870
|
-
Jeff Yucis
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
Workarea 3.4.26 (2020-01-21)
|
|
875
|
-
--------------------------------------------------------------------------------
|
|
876
|
-
|
|
877
|
-
* Ignore elements with no ID value when announcing duplicate IDs on-page
|
|
878
|
-
|
|
879
|
-
WORKAREA.duplicateID was throwing a false positive exception when it
|
|
880
|
-
would find elements containing an `id` attribute with no value
|
|
881
|
-
specified. This behavior should be allowed, since empty ID values should
|
|
882
|
-
pose no issues for the developer
|
|
883
|
-
|
|
884
|
-
WORKAREA-184
|
|
885
|
-
Curt Howard
|
|
886
|
-
|
|
887
|
-
* Order release changesets during publishing, touch releasables after publish
|
|
888
|
-
|
|
889
|
-
WORKAREA-164
|
|
890
|
-
Matt Duffy
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
Workarea 3.4.25 (2020-01-07)
|
|
895
|
-
--------------------------------------------------------------------------------
|
|
896
|
-
|
|
897
|
-
* Another hardcoded 2020 fix
|
|
898
|
-
|
|
899
|
-
We've all learned our lesson, right?
|
|
900
|
-
Ben Crouse
|
|
901
|
-
|
|
902
|
-
* Pin version for wysihtml-rails
|
|
903
|
-
|
|
904
|
-
Setting the version to 0.6.0.beta2 fixes the dependency issues that arose after the new version of Bundler.
|
|
905
|
-
Jeff Yucis
|
|
906
|
-
|
|
907
|
-
* Use the Rack session ID cookie value for user activity session IDs
|
|
908
|
-
|
|
909
|
-
Rack >= 2.0.8 adds the idea private/public session IDs to prevent timing
|
|
910
|
-
attacks where a session ID can be stolen. This is big for sessions stored
|
|
911
|
-
in databases because the session can then be stolen.
|
|
912
|
-
|
|
913
|
-
Workarea only supports a cookie session store, so we can continue to
|
|
914
|
-
safely use the cookie value of the session ID for metrics lookups.
|
|
915
|
-
|
|
916
|
-
You can learn more about the Rack vulnerability here:
|
|
917
|
-
https://github.com/rack/rack/security/advisories/GHSA-hrqr-hxpp-chr3
|
|
918
|
-
Ben Crouse
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
Workarea 3.4.24 (2019-12-19)
|
|
923
|
-
--------------------------------------------------------------------------------
|
|
924
|
-
|
|
925
|
-
* Fix Performance Test Task
|
|
926
|
-
|
|
927
|
-
Instead of using a Boolean `true` value, use the String `"true"` so Ruby
|
|
928
|
-
won't complain when running the task.
|
|
929
|
-
|
|
930
|
-
WORKAREA-156
|
|
931
|
-
Tom Scott
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
Workarea 3.4.23 (2019-12-17)
|
|
936
|
-
--------------------------------------------------------------------------------
|
|
937
|
-
|
|
938
|
-
* Bump Puma version to fix security advisory
|
|
939
|
-
|
|
940
|
-
See https://github.com/advisories/GHSA-7xx3-m584-x994 for more details.
|
|
941
|
-
Ben Crouse
|
|
942
|
-
|
|
943
|
-
* Exclude Update Timestamp From Imports
|
|
944
|
-
|
|
945
|
-
Update the `:updated_at` timestamp to the current time when existing
|
|
946
|
-
models are updated via an import, and ignore any settings of the
|
|
947
|
-
`:updated_at` timestamp in JSON/CSV imports, as this can interfere with
|
|
948
|
-
cache key generation.
|
|
949
|
-
|
|
950
|
-
WORKAREA-126
|
|
951
|
-
Tom Scott
|
|
952
|
-
|
|
953
|
-
* Fix time zone querying for insights and reports
|
|
954
|
-
|
|
955
|
-
Data was getting stored correctly, but not queried correctly. When
|
|
956
|
-
building aggregations for MongoDB, the Mongoid logic to use UTC does not
|
|
957
|
-
kick in since it's not going through the Mongoid DSL.
|
|
958
|
-
|
|
959
|
-
This was the lowest impact fix. Changing how we store reporting_on will
|
|
960
|
-
invalidate current data and not allow for changing timezones later.
|
|
961
|
-
|
|
962
|
-
WORKAREA-135
|
|
963
|
-
Ben Crouse
|
|
964
|
-
|
|
965
|
-
* Fix Install Generator On Freshly Created App (#274)
|
|
966
|
-
|
|
967
|
-
The `workarea:install` generator failed with an error finding the
|
|
968
|
-
`Storefront::Engine` constant when it was run against a freshly
|
|
969
|
-
generated Rails 5.2.3 application. To resolve this, require the
|
|
970
|
-
necessary engines in **lib/workarea/core.rb** so the application loads
|
|
971
|
-
properly the first time, and can run the generator.
|
|
972
|
-
|
|
973
|
-
WORKAREA-134
|
|
974
|
-
Tom Scott
|
|
975
|
-
|
|
976
|
-
* Add index for better redemption querying
|
|
977
|
-
|
|
978
|
-
As suggested by the hosting team.
|
|
979
|
-
Ben Crouse
|
|
980
|
-
|
|
981
|
-
* Restrict release datetimepicker to dates in the future
|
|
982
|
-
|
|
983
|
-
WORKAREA-65
|
|
984
319
|
Matt Duffy
|
|
985
320
|
|
|
986
|
-
*
|
|
987
|
-
|
|
988
|
-
WORKAREA-120
|
|
989
|
-
Ben Crouse
|
|
321
|
+
* Eliminate n+1 query from FeaturedCategorization
|
|
990
322
|
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
Workarea 3.4.22 (2019-11-26)
|
|
994
|
-
--------------------------------------------------------------------------------
|
|
995
|
-
|
|
996
|
-
* Base discount auto-deactivation on updated_at, expose auto_deactivate field
|
|
997
|
-
|
|
998
|
-
WORKAREA-114
|
|
999
323
|
Matt Duffy
|
|
1000
324
|
|
|
1001
|
-
*
|
|
1002
|
-
|
|
1003
|
-
This ensures data file import samples are always treated as UTF-8.
|
|
1004
|
-
While Ruby itself does do this pretty well, and most browsers are good
|
|
1005
|
-
at guessing the file type/encoding based on the contents of the file,
|
|
1006
|
-
there might be some outliers that rely on metadata that's a bit more
|
|
1007
|
-
strictly adhered to. This change ensures that sample CSV/JSON files are
|
|
1008
|
-
delivered to the user as an attachment, and using the correct MIME type,
|
|
1009
|
-
so that they register as such when downloaded by the browser.
|
|
1010
|
-
Previously, all imports were showing as "TXT file" types, when they were
|
|
1011
|
-
really "CSV file" or "JSON file", and at least in Firefox, they were not
|
|
1012
|
-
downloading when you clicked the sample link. Instead, a new tab would
|
|
1013
|
-
open (since Firefox thinks it's a text file), and you have to refresh
|
|
1014
|
-
the page to actually get the browser to download the file.
|
|
1015
|
-
|
|
1016
|
-
WORKAREA-77
|
|
1017
|
-
Tom Scott
|
|
1018
|
-
|
|
1019
|
-
* Import UTF-8 CSVs With BOM Characters
|
|
1020
|
-
|
|
1021
|
-
UTF-8 doesn't need a BOM in order to start or end a file, but these
|
|
1022
|
-
characters can end up in CSVs generated by older software that doesn't
|
|
1023
|
-
have great support for Unicode. As a result, if a BOM is in the CSV near
|
|
1024
|
-
`_id` it will cause improper importing of the data held within. To
|
|
1025
|
-
address this, Workarea now specifies the `bom|` prefix in the `:encoding`
|
|
1026
|
-
param for `CSV.foreach` by default. This can still be overridden if you
|
|
1027
|
-
have an ASCII file, and since BOM stripping doesn't really apply,
|
|
1028
|
-
developers can override the entire encoding string in configuration
|
|
1029
|
-
if necessary. But this is a sane default for those who use UTF-8 and
|
|
1030
|
-
happen to be exporting out of older spreadsheet software.
|
|
325
|
+
* Add query cache middleware for sidekiq to provide options for enabling query caches
|
|
1031
326
|
|
|
1032
|
-
WORKAREA-79
|
|
1033
|
-
Tom Scott
|
|
1034
|
-
|
|
1035
|
-
* Fix content block asset uploads, set redis key to reduce S3 CORS config requests
|
|
1036
|
-
|
|
1037
|
-
WORKAREA-109
|
|
1038
327
|
Matt Duffy
|
|
1039
328
|
|
|
1040
|
-
*
|
|
1041
|
-
|
|
1042
|
-
The credit card expiration year `2020` was hard-coded into many Workarea
|
|
1043
|
-
integration tests, and would fail when January 2020 passes. Update these
|
|
1044
|
-
tests to always set the credit card expiration year to 1 year in
|
|
1045
|
-
advance of when the test runs so this won't happen again in the future.
|
|
1046
|
-
|
|
1047
|
-
WORKAREA-104
|
|
1048
|
-
|
|
1049
|
-
Fixes #222
|
|
1050
|
-
Tom Scott
|
|
1051
|
-
|
|
1052
|
-
* [DOCS] Improve table of contents for docs
|
|
1053
|
-
|
|
1054
|
-
The table of contents that appears within each doc contains a link to
|
|
1055
|
-
every h2-h6 in the document. Therefore, in longer docs, the TOC gets
|
|
1056
|
-
quite crowded and stops communicating the overall structure of the doc.
|
|
1057
|
-
|
|
1058
|
-
Help readers maintain context by simplifying the TOC, limiting links to
|
|
1059
|
-
h2-h3.
|
|
1060
|
-
|
|
1061
|
-
I spot-checked docs of various lengths and found this version of the TOC
|
|
1062
|
-
more useful in all cases.
|
|
1063
|
-
|
|
1064
|
-
WORKAREA-96
|
|
1065
|
-
Chris Cressman
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
Workarea 3.4.21 (2019-11-12)
|
|
1070
|
-
--------------------------------------------------------------------------------
|
|
1071
|
-
|
|
1072
|
-
* Update `Redis::Rack::Cache` to v2.2.0
|
|
1073
|
-
|
|
1074
|
-
This new version requires `Rack::Cache` v1.10 and enables over-the-wire
|
|
1075
|
-
gzip compression to the Redis server. This feature is useful for
|
|
1076
|
-
extremely high traffic sites, but should be used with caution since it
|
|
1077
|
-
will increase the CPU/RAM load on your application server. You should
|
|
1078
|
-
use this if the trade-off between RAM increase and bandwidth decrease
|
|
1079
|
-
makes sense.
|
|
1080
|
-
|
|
1081
|
-
WORKAREA-94
|
|
1082
|
-
Tom Scott
|
|
1083
|
-
|
|
1084
|
-
* Bump Chartkick dependency to fix security warning
|
|
329
|
+
* Use the same Mongo connection options for the index enforcement warning.
|
|
1085
330
|
|
|
1086
|
-
Fixes
|
|
331
|
+
Fixes #31
|
|
1087
332
|
Ben Crouse
|
|
1088
333
|
|
|
1089
|
-
*
|
|
334
|
+
* Only check notablescan in development
|
|
1090
335
|
|
|
1091
|
-
|
|
336
|
+
#31
|
|
337
|
+
Jesse McPherson
|
|
1092
338
|
|
|
1093
|
-
*
|
|
339
|
+
* Completely remove jQuery UI Autocomplete
|
|
1094
340
|
|
|
1095
|
-
|
|
1096
|
-
Ben Crouse
|
|
341
|
+
Curt Howard
|
|
1097
342
|
|
|
1098
|
-
*
|
|
343
|
+
* Remove Search Autocomplete
|
|
1099
344
|
|
|
1100
|
-
|
|
1101
|
-
|
|
345
|
+
Porting to
|
|
346
|
+
https://github.com/workarea-commerce/workarea-classic-search-autocomplete
|
|
347
|
+
Curt Howard
|
|
1102
348
|
|
|
1103
|
-
|
|
1104
|
-
clear. These changes provide a generic solution in addition to the
|
|
1105
|
-
specifics for the default gateway.
|
|
349
|
+
* Update sales report queries and metric indexes for cancellations (#14)
|
|
1106
350
|
|
|
1107
|
-
|
|
1108
|
-
thinking that it had to do with automated testing.
|
|
351
|
+
Matt Duffy
|
|
1109
352
|
|
|
1110
|
-
|
|
1111
|
-
Chris Cressman
|
|
353
|
+
* Remove Search Autocomplete (#16)
|
|
1112
354
|
|
|
1113
|
-
|
|
355
|
+
This functionality is being moved to `workarea-classic-search-autocomplete` to maintain compatibility. Going forward, a new improved `workarea-search-autocomplete` is the preferred search autocomplete for Workarea. It's much improved.
|
|
356
|
+
Curt Howard
|
|
1114
357
|
|
|
1115
|
-
|
|
1116
|
-
Matt Duffy
|
|
358
|
+
* Remove artifact from conflict resolution
|
|
1117
359
|
|
|
1118
|
-
|
|
360
|
+
Jake Beresford
|
|
1119
361
|
|
|
1120
|
-
|
|
362
|
+
* Initial commit for v3.5
|
|
1121
363
|
|
|
1122
|
-
Fixes #191
|
|
1123
364
|
Ben Crouse
|
|
1124
365
|
|
|
1125
366
|
|