workarea 3.5.8 → 3.5.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -1
  3. data/CHANGELOG.md +347 -0
  4. metadata +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c5f57adc395790c1b1c0ee38d4df100fd69ed61edcec523c67e3c54baff0c03
4
- data.tar.gz: b297e3bb0930b1ac73d43f8f4c046dde525e6f06a46d87506b7ac1cf0d5a768f
3
+ metadata.gz: 4e6e331bdf3b1cac51846183a0632ae3e95e113de1999f30bb963c3172d09dcb
4
+ data.tar.gz: b4251a0c533eabcfb2beae02870da6f57bc044e10b8e98d130f8af79c6c7cc05
5
5
  SHA512:
6
- metadata.gz: 3b7405976afecd65f50d657d3dd6987b6d95cd1d416c92d3448d4a8e0679858817dc9046628297d6563d93f63bef0b2187ab9e726094902bde26556035955975
7
- data.tar.gz: b92fa9060e3496bba45cb5d69a5db1c85dbd3da7e6be9ab6b068c8f61222c9bc1ff96575a73af3418d451a2ea7d8fc8edff8d716e58a71e9b94e9f2c75990066
6
+ metadata.gz: dcaafe29a3edde5189212645a476bcbb12a80e46e6dad864564b316540526d65abb5cc7b0c753edc7073809da4f759492761ed02ba06ab9e1e753c34e09fa90c
7
+ data.tar.gz: 7fa5a3d88404625c106076f9f181d63d41fce388756bf6114733804a947da907eeeacc8653437fd4817a32d3fa7f2bd2d3d04dfd3ffa3c00a1f30a7d718bc888
@@ -198,7 +198,7 @@ Layout/SpaceInsideParens:
198
198
  - 'core/spec/models/workarea/order/queries_spec.rb'
199
199
 
200
200
  # Detect hard tabs, no hard tabs.
201
- Layout/Tab:
201
+ Layout/IndentationStyle:
202
202
  Enabled: true
203
203
  Exclude:
204
204
  - 'core/vendor/active_shipping/lib/active_shipping/carriers/canada_post.rb'
@@ -1,3 +1,350 @@
1
+ Workarea 3.5.13 (2020-06-11)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Fix duplicate products in release previews for featured product changes
5
+
6
+ When featured product changes stack in a release, duplicates will show
7
+ when previewing. This is due to the product's Elasticsearch documents
8
+ missing changeset IDs for releases scheduled after the release that
9
+ document is for. This fixes by indexing those release IDs as well.
10
+
11
+ Note that this will require a reindex to see the fix immediately. But
12
+ there's no harm in letting it roll out as products gradually get
13
+ reindexed.
14
+
15
+ Ben Crouse
16
+
17
+ * Fix reindexing of featured product resorting within a release
18
+
19
+ Resorting featured products within a release causes an inaccurate set of
20
+ changes from Mongoid's perspective, since it is only looking at what's
21
+ live vs what's going to be released. The changes within the release
22
+ aren't represented. This can manifest as incorrect sorts when previewing
23
+ in the storefront.
24
+
25
+ Ben Crouse
26
+
27
+ * Add additional append points to admin system.
28
+
29
+ Adds append points to product details, product content, variant and inventory sku.
30
+
31
+ Jeff Yucis
32
+
33
+ * Bump Geocoder
34
+
35
+ This fixes an irrelevant bundler-audit CVE warning, and adds/updates a bunch of Geocoder lookup options. See https://github.com/alexreisner/geocoder/blob/master/CHANGELOG.md for more info.
36
+
37
+ Ben Crouse
38
+
39
+ * Fix releases shifting day on the calendar when scrolling
40
+
41
+ This was caused by legacy timezone code that's irrelevant since we
42
+ shifted to a fix server-side timezone for the admin.
43
+
44
+ Ben Crouse
45
+
46
+ * Add QueuePauser to pause sidekiq queues, pause for search reindexing
47
+
48
+ WORKAREA-236
49
+
50
+ Matt Duffy
51
+
52
+ * Add index for releasable fields on changets, correct order fraud index
53
+
54
+ WORKAREA-235
55
+
56
+ Matt Duffy
57
+
58
+ * Handle error from attempting to fetch missing S3 CORS configuration
59
+
60
+ WORKAREA-234
61
+
62
+ Matt Duffy
63
+
64
+ * Fix storefront indexing when releases are rescheduled
65
+
66
+ When releases get rescheduled, the storefront index can end up with
67
+ duplicate and/or incorrect entries. This adds a worker which updates the
68
+ index with minimal querying/updating.
69
+
70
+ Ben Crouse
71
+
72
+ * Don't assume promo codes for indexing discounts
73
+
74
+ A custom discount may be implemented that doesn't use promo codes.
75
+
76
+ Ben Crouse
77
+
78
+ * Bump rack-attack to latest version
79
+
80
+ This fixes rack-attack keys without TTLs set piling up in Redis. This has caused hosting problems.
81
+
82
+ Ben Crouse
83
+
84
+ * Bump Kaminari dependency to fix security alert
85
+
86
+
87
+ Ben Crouse
88
+
89
+ * Fix query caching in Releasable
90
+
91
+ When reloading a model to get an instance for a release, if the model
92
+ had already been loaded, a cached version of the model was returned.
93
+ This causes incorrect values on the instance you thought you were getting
94
+ for a release.
95
+
96
+ This first manifested as a bug where adding a featured product that
97
+ had a release change to make it active caused reindexing to make it
98
+ active but it shouldn't have been.
99
+
100
+ Ben Crouse
101
+
102
+ * Fix incorrect shipping options error flash message
103
+
104
+ A flash error incorrectly showed when the order doesn't require shipping,
105
+ and addresses are updated.
106
+
107
+ Ben Crouse
108
+
109
+
110
+
111
+ Workarea 3.5.12 (2020-05-26)
112
+ --------------------------------------------------------------------------------
113
+
114
+ * Fix incorrect import errors
115
+
116
+ When an import fails due to a missing `DataFile::Import` document, the
117
+ `ProcessImport` worker will raise a nil error due to the ensure. This
118
+ fixes by ensuring the `DocumentNotFound` error gets raised.
119
+
120
+ Ben Crouse
121
+
122
+ * Remove caching from direct upload CORS requests
123
+
124
+ The caching continues to give us problems, and this isn't a high-traffic
125
+ part of the system so there isn't a practical need for it.
126
+
127
+ Ben Crouse
128
+
129
+ * Add paranoid fallback for segment metrics lookup
130
+
131
+ Although this should never happen, giving a user incorrect segments
132
+ could have important consequences. If the email cookie is removed or
133
+ missing for some other reason, it doesn't hurt to fallback to looking up
134
+ based on the user model (even though this is an additional query) when
135
+ we know they're logged in.
136
+
137
+ Ben Crouse
138
+
139
+ * Don't set a blank tracking email in checkout
140
+
141
+ Doing this has the potential to create an incorrect tracking email,
142
+ which could cause a visitor's segments to change in checkout.
143
+
144
+ Ben Crouse
145
+
146
+
147
+
148
+ Workarea 3.5.11 (2020-05-13)
149
+ --------------------------------------------------------------------------------
150
+
151
+ * Rename index to avoid conflicts in upgrade
152
+
153
+ We changed the abaondoned orders index so trying to create indexes after
154
+ upgrading will cause a conflict due to different indexes with the same
155
+ name. This renames the index to fix that.
156
+
157
+ Ben Crouse
158
+
159
+ * Fix comment subscription messaging
160
+
161
+ Also improves UI to move the secondary action of
162
+ subscribing/unsubscribing out of the main area.
163
+
164
+ Ben Crouse
165
+
166
+ * Correct/clarify Dragonfly configuration warning
167
+
168
+
169
+ Ben Crouse
170
+
171
+ * Remove extra order ID cookie
172
+
173
+ No need for the extra cookie if the order isn't persisted. Note this
174
+ doesn't actually affect functionality.
175
+
176
+ Ben Crouse
177
+
178
+
179
+
180
+ Workarea 3.5.10 (2020-04-28)
181
+ --------------------------------------------------------------------------------
182
+
183
+ * Fix bugs with per_page used in page calculation for search queries
184
+
185
+ Even though this shouldn't come from the outside world, it's easy and
186
+ best to ensure per_page is always a valid number.
187
+
188
+ Ben Crouse
189
+
190
+ * Skip localized activeness test when localized active fields are off
191
+
192
+ Fixes #421
193
+
194
+ Ben Crouse
195
+
196
+ * Fix accepting per_page param from outside world
197
+
198
+ Page size is the most important factor in performance for browse pages,
199
+ so we don't want these exposed to the outside world out-of-the-box.
200
+
201
+ Ben Crouse
202
+
203
+ * Update grammar for consistency
204
+
205
+
206
+ Ben Crouse
207
+
208
+ * Corrected no_available_shipping_options translation typo (#418)
209
+
210
+
211
+ JurgenHahn
212
+
213
+ * Fix fullfilment shipped mailer template
214
+
215
+ Fullfilment shipped mailer template is using cancellation header.
216
+
217
+ heyqule
218
+
219
+ * Improve visual design of most discounted products insight
220
+
221
+
222
+ Ben Crouse
223
+
224
+ * Change HashUpdate to use the setter instead of mutation
225
+
226
+ Simply mutating the value doesn't work when the field is localized.
227
+ Mongoid's localization behavior only kicks in when you use the setter.
228
+
229
+ Ben Crouse
230
+
231
+ * Allow setting locale fallbacks for a test
232
+
233
+ This is useful if you want to test fallback behavior. Tests in base
234
+ should be agnostic to whether fallbacks are available or not.
235
+
236
+ Ben Crouse
237
+
238
+ * Fix locale fallback getting unexpectedly autloaded
239
+
240
+ This can happen in the middle of a test suite, causing apparently random
241
+ test failure. This freedom patch prevents fallbacks from autoloading.
242
+ We want to let the implementation make that decision.
243
+
244
+ Ben Crouse
245
+
246
+
247
+ Workarea 3.5.9 (2020-04-15)
248
+ --------------------------------------------------------------------------------
249
+
250
+ * Fix harded JS path for admin jump to dropdown
251
+
252
+ This prevents locale from being included in the path to load results.
253
+ Ben Crouse
254
+
255
+ * Fix index serialization not happening per-locale
256
+
257
+ Previously, indexing was using the same document per-locale. This was
258
+ masked by Mongoid loading data from the cached document to look correct
259
+ in most browse scenarios. This fixes it to serialize per-locale so each
260
+ locale has a separate representation of the document.
261
+ Ben Crouse
262
+
263
+ * Fix Mongoid not returning defaults for localized fields
264
+
265
+ If a locale is missing from the translations hash, Mongoid returns nil
266
+ instead of the default specified on the field. That causes all kinds of
267
+ errors.
268
+ Ben Crouse
269
+
270
+ * Fix duplicate key errors in metrics synchronization
271
+
272
+ It's important this be kept in sync as real-time as possible, so we need
273
+ to avoid the Sidekiq retry delay where possible.
274
+ Ben Crouse
275
+
276
+ * Fix index serialization not happening per-locale
277
+
278
+ Previously, indexing was using the same document per-locale. This was
279
+ masked by Mongoid loading data from the cached document to look correct
280
+ in most browse scenarios. This fixes it to serialize per-locale so each
281
+ locale has a separate representation of the document.
282
+ Ben Crouse
283
+
284
+ * Fix Mongoid not returning defaults for localized fields
285
+
286
+ If a locale is missing from the translations hash, Mongoid returns nil
287
+ instead of the default specified on the field. That causes all kinds of
288
+ errors.
289
+ Ben Crouse
290
+
291
+ * Tighten up segment geolocation matching rule
292
+
293
+ This was playing a little fast and loose with matching, causing CA to
294
+ match for California and Canada, IL to match for Illinois and Israel,
295
+ etc.
296
+
297
+ Matching only based on IDs chosen from the UI fixes these problems.
298
+ Ben Crouse
299
+
300
+ * Don't include locale in hidden fields for switching locales
301
+
302
+ This can result in duplicate and conflicting locale params in the query
303
+ string, which can cause the incorrect locale to be selected.
304
+ Ben Crouse
305
+
306
+ * Fix locale not passed through in return redirect when not in URL
307
+
308
+ If a return_to parameter is generated without the locale, and a request
309
+ includes a parameter to switch locale, the locale is dropped causing the
310
+ request to revert to the default locale.
311
+
312
+ The original observed bug is switching locale in content editing and
313
+ seeing the request to save always redirect to the default locale.
314
+ Ben Crouse
315
+
316
+ * Fix locales not in cache varies
317
+
318
+ To ensure all cache varies correctly by locales, it's important that
319
+ locale be part of the Rack env's `workarea.cache_varies`. To do this, we
320
+ need to move setting the locale into middleware (where the varies is
321
+ set).
322
+ Ben Crouse
323
+
324
+ * Add missing append points to option-based product templates
325
+
326
+ This append point was only in the generic template, but is useful for
327
+ plugins.
328
+ Ben Crouse
329
+
330
+ * Fix dev env autoloading problem with Categorization
331
+
332
+ Ben Crouse
333
+
334
+ * Fix product search entries flattening
335
+
336
+ When entries are overridden to return multiple results _and_ there are
337
+ release changes for the product, the results weren't being flattened.
338
+
339
+ Fixes #405
340
+ Ben Crouse
341
+
342
+ * Don't allow more than one valid password reset token per-user
343
+
344
+ Ben Crouse
345
+
346
+
347
+
1
348
  Workarea 3.5.8 (2020-03-31)
2
349
  --------------------------------------------------------------------------------
3
350
 
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.5.8
4
+ version: 3.5.13
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-03-31 00:00:00.000000000 Z
11
+ date: 2020-06-11 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.5.8
19
+ version: 3.5.13
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.5.8
26
+ version: 3.5.13
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.5.8
33
+ version: 3.5.13
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.5.8
40
+ version: 3.5.13
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.5.8
47
+ version: 3.5.13
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.5.8
54
+ version: 3.5.13
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.5.8
61
+ version: 3.5.13
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.5.8
68
+ version: 3.5.13
69
69
  description: Workarea is an enterprise-grade Ruby on Rails commerce platform.
70
70
  email:
71
71
  - bcrouse@workarea.com