workarea 3.5.9 → 3.5.14

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -1
  3. data/CHANGELOG.md +335 -0
  4. metadata +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a259ef1ebc8baccbdfd71c46d7ee836bed9f2cbb717cf4f3089bbb52c65e6625
4
- data.tar.gz: 8e5c994c54853d0be11d88a150eab4c82cc424677f428333965a5504fb24eaec
3
+ metadata.gz: 64e9c868e612655443d4c9de8998738836921b13f9ec5e73c5debc41c628468b
4
+ data.tar.gz: 7d9fc5e37cd69180fc2deee141be46c7c8f8a5666251dc120df787feb87ce544
5
5
  SHA512:
6
- metadata.gz: 10f2762d83a9a2295e596d1f8f1a6650b301a9feab53cfe24fe9ad63c5a5422ffbf5ad5b0a67c66b640f0ecd21c5198246fd14bd744c25f2761b2402d467320c
7
- data.tar.gz: ae50138d2da8b1a2ff2c1438e6720dad33a73999b8d12167ed8340cdd8d5ac8687ad53b1f14477b3117fab2afaf4243eb4709bd634f2a823cba3b0d121171aa6
6
+ metadata.gz: d80715c18039bb42ef5deeea1b374bb2299976d8ddf9cf6b5c488ce7b56445a0fe9f1a8142f58120bbce7965a12cf9c84355c6c2ce35aa330248ca8ae791e86a
7
+ data.tar.gz: c6c54268250931f26d0155436652bb19bbcd3817ac2270b3e3f4d4dcf2f866a188f4288481229ff78a027d76070d5e9b38c4397218490ca60a0b79ff321bd4fb
@@ -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,338 @@
1
+ Workarea 3.5.14 (2020-06-25)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Reset Geocoder between tests
5
+
6
+ This ensures individual tests monkeying around with Geocoder config will
7
+ get restored before the next test runs.
8
+
9
+ Ben Crouse
10
+
11
+ * Fix indexing categorization changesets for deleted releases
12
+
13
+ A category can have orphan changesets (from deleted releases) that cause
14
+ an error when indexing the percolation document for that category.
15
+
16
+ Ben Crouse
17
+
18
+ * Disable previewing for already published, unscheduled releases
19
+
20
+ Due to the previewing in the search index, previewing a published and
21
+ unscheduled release can cause issues that require it to go through
22
+ scheduling to get reindexed.
23
+
24
+ Ben Crouse
25
+
26
+ * Use Display Name For Applied Facet Values
27
+
28
+ When rendering the applied filters, wrap the given facet value in
29
+ the `facet_value_display_name` helper, ensuring that the value rendered
30
+ is always human readable. This addresses an issue where if the applied
31
+ filter value is that of a BSON ID, referencing a model somewhere, the
32
+ BSON ID was rendered in place of the model's name.
33
+
34
+ WORKAREA-122
35
+
36
+ Tom Scott
37
+
38
+ * Fix Segments Workflow Setup Duplication
39
+
40
+ The setup form for the new custom segment workflow did not include the
41
+ ID of an existing segment (if persisted) in the form when submitted,
42
+ causing multiple duplicate segment records to be created when users go
43
+ back to the setup step in the workflow. None of the other steps are
44
+ affected because the ID appears in the URL, but the setup step does a
45
+ direct POST to `/admin/create_segments`, thus causing this problem.
46
+
47
+ WORKAREA-219
48
+
49
+ Tom Scott
50
+
51
+ * Fix index duplicates after a release is removed
52
+
53
+ When a release is deleted, its changes must be reindexed to fix previews
54
+ for releases scheduled after it. This manifests as duplicate products
55
+ when previewing releases.
56
+
57
+ Ben Crouse
58
+
59
+ * Fix Promo Code Counts in Admin
60
+
61
+ Previously, promo codes could only be generated once through the admin,
62
+ so rendering the count of all promo codes as the count requested to be
63
+ generated was working out. However, as CSV imports and API updates became
64
+ more widespread, this began to break down as the `#count` field would
65
+ have to be updated each time a new set of promo codes were added.
66
+ Instead of reading from this pre-defined field on the code list, render
67
+ the actual count of promo codes from the database on the code list and
68
+ promo codes admin pages.
69
+
70
+ WORKAREA-199
71
+
72
+ Tom Scott
73
+
74
+ * Fix indexing after a release publishes
75
+
76
+ Due to potential changes in the index, publishing a release can result
77
+ in duplicate products when previewing.
78
+
79
+ Ben Crouse
80
+
81
+ * Update queue for release reschedule indexing
82
+
83
+ This should be in the releases queue, which has top priority. This will
84
+ help decrease the latency to accurate previews.
85
+
86
+ Ben Crouse
87
+
88
+
89
+
90
+ Workarea 3.5.13 (2020-06-11)
91
+ --------------------------------------------------------------------------------
92
+
93
+ * Fix duplicate products in release previews for featured product changes
94
+
95
+ When featured product changes stack in a release, duplicates will show
96
+ when previewing. This is due to the product's Elasticsearch documents
97
+ missing changeset IDs for releases scheduled after the release that
98
+ document is for. This fixes by indexing those release IDs as well.
99
+
100
+ Note that this will require a reindex to see the fix immediately. But
101
+ there's no harm in letting it roll out as products gradually get
102
+ reindexed.
103
+
104
+ Ben Crouse
105
+
106
+ * Fix reindexing of featured product resorting within a release
107
+
108
+ Resorting featured products within a release causes an inaccurate set of
109
+ changes from Mongoid's perspective, since it is only looking at what's
110
+ live vs what's going to be released. The changes within the release
111
+ aren't represented. This can manifest as incorrect sorts when previewing
112
+ in the storefront.
113
+
114
+ Ben Crouse
115
+
116
+ * Add additional append points to admin system.
117
+
118
+ Adds append points to product details, product content, variant and inventory sku.
119
+
120
+ Jeff Yucis
121
+
122
+ * Bump Geocoder
123
+
124
+ 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.
125
+
126
+ Ben Crouse
127
+
128
+ * Fix releases shifting day on the calendar when scrolling
129
+
130
+ This was caused by legacy timezone code that's irrelevant since we
131
+ shifted to a fix server-side timezone for the admin.
132
+
133
+ Ben Crouse
134
+
135
+ * Add QueuePauser to pause sidekiq queues, pause for search reindexing
136
+
137
+ WORKAREA-236
138
+
139
+ Matt Duffy
140
+
141
+ * Add index for releasable fields on changets, correct order fraud index
142
+
143
+ WORKAREA-235
144
+
145
+ Matt Duffy
146
+
147
+ * Handle error from attempting to fetch missing S3 CORS configuration
148
+
149
+ WORKAREA-234
150
+
151
+ Matt Duffy
152
+
153
+ * Fix storefront indexing when releases are rescheduled
154
+
155
+ When releases get rescheduled, the storefront index can end up with
156
+ duplicate and/or incorrect entries. This adds a worker which updates the
157
+ index with minimal querying/updating.
158
+
159
+ Ben Crouse
160
+
161
+ * Don't assume promo codes for indexing discounts
162
+
163
+ A custom discount may be implemented that doesn't use promo codes.
164
+
165
+ Ben Crouse
166
+
167
+ * Bump rack-attack to latest version
168
+
169
+ This fixes rack-attack keys without TTLs set piling up in Redis. This has caused hosting problems.
170
+
171
+ Ben Crouse
172
+
173
+ * Bump Kaminari dependency to fix security alert
174
+
175
+
176
+ Ben Crouse
177
+
178
+ * Fix query caching in Releasable
179
+
180
+ When reloading a model to get an instance for a release, if the model
181
+ had already been loaded, a cached version of the model was returned.
182
+ This causes incorrect values on the instance you thought you were getting
183
+ for a release.
184
+
185
+ This first manifested as a bug where adding a featured product that
186
+ had a release change to make it active caused reindexing to make it
187
+ active but it shouldn't have been.
188
+
189
+ Ben Crouse
190
+
191
+ * Fix incorrect shipping options error flash message
192
+
193
+ A flash error incorrectly showed when the order doesn't require shipping,
194
+ and addresses are updated.
195
+
196
+ Ben Crouse
197
+
198
+
199
+
200
+ Workarea 3.5.12 (2020-05-26)
201
+ --------------------------------------------------------------------------------
202
+
203
+ * Fix incorrect import errors
204
+
205
+ When an import fails due to a missing `DataFile::Import` document, the
206
+ `ProcessImport` worker will raise a nil error due to the ensure. This
207
+ fixes by ensuring the `DocumentNotFound` error gets raised.
208
+
209
+ Ben Crouse
210
+
211
+ * Remove caching from direct upload CORS requests
212
+
213
+ The caching continues to give us problems, and this isn't a high-traffic
214
+ part of the system so there isn't a practical need for it.
215
+
216
+ Ben Crouse
217
+
218
+ * Add paranoid fallback for segment metrics lookup
219
+
220
+ Although this should never happen, giving a user incorrect segments
221
+ could have important consequences. If the email cookie is removed or
222
+ missing for some other reason, it doesn't hurt to fallback to looking up
223
+ based on the user model (even though this is an additional query) when
224
+ we know they're logged in.
225
+
226
+ Ben Crouse
227
+
228
+ * Don't set a blank tracking email in checkout
229
+
230
+ Doing this has the potential to create an incorrect tracking email,
231
+ which could cause a visitor's segments to change in checkout.
232
+
233
+ Ben Crouse
234
+
235
+
236
+
237
+ Workarea 3.5.11 (2020-05-13)
238
+ --------------------------------------------------------------------------------
239
+
240
+ * Rename index to avoid conflicts in upgrade
241
+
242
+ We changed the abaondoned orders index so trying to create indexes after
243
+ upgrading will cause a conflict due to different indexes with the same
244
+ name. This renames the index to fix that.
245
+
246
+ Ben Crouse
247
+
248
+ * Fix comment subscription messaging
249
+
250
+ Also improves UI to move the secondary action of
251
+ subscribing/unsubscribing out of the main area.
252
+
253
+ Ben Crouse
254
+
255
+ * Correct/clarify Dragonfly configuration warning
256
+
257
+
258
+ Ben Crouse
259
+
260
+ * Remove extra order ID cookie
261
+
262
+ No need for the extra cookie if the order isn't persisted. Note this
263
+ doesn't actually affect functionality.
264
+
265
+ Ben Crouse
266
+
267
+
268
+
269
+ Workarea 3.5.10 (2020-04-28)
270
+ --------------------------------------------------------------------------------
271
+
272
+ * Fix bugs with per_page used in page calculation for search queries
273
+
274
+ Even though this shouldn't come from the outside world, it's easy and
275
+ best to ensure per_page is always a valid number.
276
+
277
+ Ben Crouse
278
+
279
+ * Skip localized activeness test when localized active fields are off
280
+
281
+ Fixes #421
282
+
283
+ Ben Crouse
284
+
285
+ * Fix accepting per_page param from outside world
286
+
287
+ Page size is the most important factor in performance for browse pages,
288
+ so we don't want these exposed to the outside world out-of-the-box.
289
+
290
+ Ben Crouse
291
+
292
+ * Update grammar for consistency
293
+
294
+
295
+ Ben Crouse
296
+
297
+ * Corrected no_available_shipping_options translation typo (#418)
298
+
299
+
300
+ JurgenHahn
301
+
302
+ * Fix fullfilment shipped mailer template
303
+
304
+ Fullfilment shipped mailer template is using cancellation header.
305
+
306
+ heyqule
307
+
308
+ * Improve visual design of most discounted products insight
309
+
310
+
311
+ Ben Crouse
312
+
313
+ * Change HashUpdate to use the setter instead of mutation
314
+
315
+ Simply mutating the value doesn't work when the field is localized.
316
+ Mongoid's localization behavior only kicks in when you use the setter.
317
+
318
+ Ben Crouse
319
+
320
+ * Allow setting locale fallbacks for a test
321
+
322
+ This is useful if you want to test fallback behavior. Tests in base
323
+ should be agnostic to whether fallbacks are available or not.
324
+
325
+ Ben Crouse
326
+
327
+ * Fix locale fallback getting unexpectedly autloaded
328
+
329
+ This can happen in the middle of a test suite, causing apparently random
330
+ test failure. This freedom patch prevents fallbacks from autoloading.
331
+ We want to let the implementation make that decision.
332
+
333
+ Ben Crouse
334
+
335
+
1
336
  Workarea 3.5.9 (2020-04-15)
2
337
  --------------------------------------------------------------------------------
3
338
 
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.9
4
+ version: 3.5.14
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-04-15 00:00:00.000000000 Z
11
+ date: 2020-06-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.5.9
19
+ version: 3.5.14
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.9
26
+ version: 3.5.14
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.9
33
+ version: 3.5.14
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.9
40
+ version: 3.5.14
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.9
47
+ version: 3.5.14
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.9
54
+ version: 3.5.14
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.9
61
+ version: 3.5.14
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.9
68
+ version: 3.5.14
69
69
  description: Workarea is an enterprise-grade Ruby on Rails commerce platform.
70
70
  email:
71
71
  - bcrouse@workarea.com