workarea 3.5.7 → 3.5.12
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 +1 -1
- data/CHANGELOG.md +294 -0
- metadata +11 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 53e91744b51c27790ff6d4732cd4e0544b1f4d982e345b891bc81ac42ce01b61
|
|
4
|
+
data.tar.gz: b3377d38298fa0f9218484a18edfadbf73c73254b355208eaf04058d1cd10adc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eb10f8908f77d083247875cfd5d84a8e5e3dd0ec3ed9201f368b397269af735963aaa095bca37f120d5d87389b6ec49c1e006a239f5e71b906030050543bcd3c
|
|
7
|
+
data.tar.gz: b9c12429041f570241e24315878c63f8e12a0a62722e5604251f262a2292594111c4768e6f5425d582b388d36d515c89c47cf60ec5d3d751f6e07c709c298cea
|
data/.rubocop.yml
CHANGED
|
@@ -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/
|
|
201
|
+
Layout/IndentationStyle:
|
|
202
202
|
Enabled: true
|
|
203
203
|
Exclude:
|
|
204
204
|
- 'core/vendor/active_shipping/lib/active_shipping/carriers/canada_post.rb'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,297 @@
|
|
|
1
|
+
Workarea 3.5.12 (2020-05-26)
|
|
2
|
+
--------------------------------------------------------------------------------
|
|
3
|
+
|
|
4
|
+
* Fix incorrect import errors
|
|
5
|
+
|
|
6
|
+
When an import fails due to a missing `DataFile::Import` document, the
|
|
7
|
+
`ProcessImport` worker will raise a nil error due to the ensure. This
|
|
8
|
+
fixes by ensuring the `DocumentNotFound` error gets raised.
|
|
9
|
+
|
|
10
|
+
Ben Crouse
|
|
11
|
+
|
|
12
|
+
* Remove caching from direct upload CORS requests
|
|
13
|
+
|
|
14
|
+
The caching continues to give us problems, and this isn't a high-traffic
|
|
15
|
+
part of the system so there isn't a practical need for it.
|
|
16
|
+
|
|
17
|
+
Ben Crouse
|
|
18
|
+
|
|
19
|
+
* Add paranoid fallback for segment metrics lookup
|
|
20
|
+
|
|
21
|
+
Although this should never happen, giving a user incorrect segments
|
|
22
|
+
could have important consequences. If the email cookie is removed or
|
|
23
|
+
missing for some other reason, it doesn't hurt to fallback to looking up
|
|
24
|
+
based on the user model (even though this is an additional query) when
|
|
25
|
+
we know they're logged in.
|
|
26
|
+
|
|
27
|
+
Ben Crouse
|
|
28
|
+
|
|
29
|
+
* Don't set a blank tracking email in checkout
|
|
30
|
+
|
|
31
|
+
Doing this has the potential to create an incorrect tracking email,
|
|
32
|
+
which could cause a visitor's segments to change in checkout.
|
|
33
|
+
|
|
34
|
+
Ben Crouse
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
Workarea 3.5.11 (2020-05-13)
|
|
39
|
+
--------------------------------------------------------------------------------
|
|
40
|
+
|
|
41
|
+
* Rename index to avoid conflicts in upgrade
|
|
42
|
+
|
|
43
|
+
We changed the abaondoned orders index so trying to create indexes after
|
|
44
|
+
upgrading will cause a conflict due to different indexes with the same
|
|
45
|
+
name. This renames the index to fix that.
|
|
46
|
+
|
|
47
|
+
Ben Crouse
|
|
48
|
+
|
|
49
|
+
* Fix comment subscription messaging
|
|
50
|
+
|
|
51
|
+
Also improves UI to move the secondary action of
|
|
52
|
+
subscribing/unsubscribing out of the main area.
|
|
53
|
+
|
|
54
|
+
Ben Crouse
|
|
55
|
+
|
|
56
|
+
* Correct/clarify Dragonfly configuration warning
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
Ben Crouse
|
|
60
|
+
|
|
61
|
+
* Remove extra order ID cookie
|
|
62
|
+
|
|
63
|
+
No need for the extra cookie if the order isn't persisted. Note this
|
|
64
|
+
doesn't actually affect functionality.
|
|
65
|
+
|
|
66
|
+
Ben Crouse
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
Workarea 3.5.10 (2020-04-28)
|
|
71
|
+
--------------------------------------------------------------------------------
|
|
72
|
+
|
|
73
|
+
* Fix bugs with per_page used in page calculation for search queries
|
|
74
|
+
|
|
75
|
+
Even though this shouldn't come from the outside world, it's easy and
|
|
76
|
+
best to ensure per_page is always a valid number.
|
|
77
|
+
|
|
78
|
+
Ben Crouse
|
|
79
|
+
|
|
80
|
+
* Skip localized activeness test when localized active fields are off
|
|
81
|
+
|
|
82
|
+
Fixes #421
|
|
83
|
+
|
|
84
|
+
Ben Crouse
|
|
85
|
+
|
|
86
|
+
* Fix accepting per_page param from outside world
|
|
87
|
+
|
|
88
|
+
Page size is the most important factor in performance for browse pages,
|
|
89
|
+
so we don't want these exposed to the outside world out-of-the-box.
|
|
90
|
+
|
|
91
|
+
Ben Crouse
|
|
92
|
+
|
|
93
|
+
* Update grammar for consistency
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
Ben Crouse
|
|
97
|
+
|
|
98
|
+
* Corrected no_available_shipping_options translation typo (#418)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
JurgenHahn
|
|
102
|
+
|
|
103
|
+
* Fix fullfilment shipped mailer template
|
|
104
|
+
|
|
105
|
+
Fullfilment shipped mailer template is using cancellation header.
|
|
106
|
+
|
|
107
|
+
heyqule
|
|
108
|
+
|
|
109
|
+
* Improve visual design of most discounted products insight
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
Ben Crouse
|
|
113
|
+
|
|
114
|
+
* Change HashUpdate to use the setter instead of mutation
|
|
115
|
+
|
|
116
|
+
Simply mutating the value doesn't work when the field is localized.
|
|
117
|
+
Mongoid's localization behavior only kicks in when you use the setter.
|
|
118
|
+
|
|
119
|
+
Ben Crouse
|
|
120
|
+
|
|
121
|
+
* Allow setting locale fallbacks for a test
|
|
122
|
+
|
|
123
|
+
This is useful if you want to test fallback behavior. Tests in base
|
|
124
|
+
should be agnostic to whether fallbacks are available or not.
|
|
125
|
+
|
|
126
|
+
Ben Crouse
|
|
127
|
+
|
|
128
|
+
* Fix locale fallback getting unexpectedly autloaded
|
|
129
|
+
|
|
130
|
+
This can happen in the middle of a test suite, causing apparently random
|
|
131
|
+
test failure. This freedom patch prevents fallbacks from autoloading.
|
|
132
|
+
We want to let the implementation make that decision.
|
|
133
|
+
|
|
134
|
+
Ben Crouse
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
Workarea 3.5.9 (2020-04-15)
|
|
138
|
+
--------------------------------------------------------------------------------
|
|
139
|
+
|
|
140
|
+
* Fix harded JS path for admin jump to dropdown
|
|
141
|
+
|
|
142
|
+
This prevents locale from being included in the path to load results.
|
|
143
|
+
Ben Crouse
|
|
144
|
+
|
|
145
|
+
* Fix index serialization not happening per-locale
|
|
146
|
+
|
|
147
|
+
Previously, indexing was using the same document per-locale. This was
|
|
148
|
+
masked by Mongoid loading data from the cached document to look correct
|
|
149
|
+
in most browse scenarios. This fixes it to serialize per-locale so each
|
|
150
|
+
locale has a separate representation of the document.
|
|
151
|
+
Ben Crouse
|
|
152
|
+
|
|
153
|
+
* Fix Mongoid not returning defaults for localized fields
|
|
154
|
+
|
|
155
|
+
If a locale is missing from the translations hash, Mongoid returns nil
|
|
156
|
+
instead of the default specified on the field. That causes all kinds of
|
|
157
|
+
errors.
|
|
158
|
+
Ben Crouse
|
|
159
|
+
|
|
160
|
+
* Fix duplicate key errors in metrics synchronization
|
|
161
|
+
|
|
162
|
+
It's important this be kept in sync as real-time as possible, so we need
|
|
163
|
+
to avoid the Sidekiq retry delay where possible.
|
|
164
|
+
Ben Crouse
|
|
165
|
+
|
|
166
|
+
* Fix index serialization not happening per-locale
|
|
167
|
+
|
|
168
|
+
Previously, indexing was using the same document per-locale. This was
|
|
169
|
+
masked by Mongoid loading data from the cached document to look correct
|
|
170
|
+
in most browse scenarios. This fixes it to serialize per-locale so each
|
|
171
|
+
locale has a separate representation of the document.
|
|
172
|
+
Ben Crouse
|
|
173
|
+
|
|
174
|
+
* Fix Mongoid not returning defaults for localized fields
|
|
175
|
+
|
|
176
|
+
If a locale is missing from the translations hash, Mongoid returns nil
|
|
177
|
+
instead of the default specified on the field. That causes all kinds of
|
|
178
|
+
errors.
|
|
179
|
+
Ben Crouse
|
|
180
|
+
|
|
181
|
+
* Tighten up segment geolocation matching rule
|
|
182
|
+
|
|
183
|
+
This was playing a little fast and loose with matching, causing CA to
|
|
184
|
+
match for California and Canada, IL to match for Illinois and Israel,
|
|
185
|
+
etc.
|
|
186
|
+
|
|
187
|
+
Matching only based on IDs chosen from the UI fixes these problems.
|
|
188
|
+
Ben Crouse
|
|
189
|
+
|
|
190
|
+
* Don't include locale in hidden fields for switching locales
|
|
191
|
+
|
|
192
|
+
This can result in duplicate and conflicting locale params in the query
|
|
193
|
+
string, which can cause the incorrect locale to be selected.
|
|
194
|
+
Ben Crouse
|
|
195
|
+
|
|
196
|
+
* Fix locale not passed through in return redirect when not in URL
|
|
197
|
+
|
|
198
|
+
If a return_to parameter is generated without the locale, and a request
|
|
199
|
+
includes a parameter to switch locale, the locale is dropped causing the
|
|
200
|
+
request to revert to the default locale.
|
|
201
|
+
|
|
202
|
+
The original observed bug is switching locale in content editing and
|
|
203
|
+
seeing the request to save always redirect to the default locale.
|
|
204
|
+
Ben Crouse
|
|
205
|
+
|
|
206
|
+
* Fix locales not in cache varies
|
|
207
|
+
|
|
208
|
+
To ensure all cache varies correctly by locales, it's important that
|
|
209
|
+
locale be part of the Rack env's `workarea.cache_varies`. To do this, we
|
|
210
|
+
need to move setting the locale into middleware (where the varies is
|
|
211
|
+
set).
|
|
212
|
+
Ben Crouse
|
|
213
|
+
|
|
214
|
+
* Add missing append points to option-based product templates
|
|
215
|
+
|
|
216
|
+
This append point was only in the generic template, but is useful for
|
|
217
|
+
plugins.
|
|
218
|
+
Ben Crouse
|
|
219
|
+
|
|
220
|
+
* Fix dev env autoloading problem with Categorization
|
|
221
|
+
|
|
222
|
+
Ben Crouse
|
|
223
|
+
|
|
224
|
+
* Fix product search entries flattening
|
|
225
|
+
|
|
226
|
+
When entries are overridden to return multiple results _and_ there are
|
|
227
|
+
release changes for the product, the results weren't being flattened.
|
|
228
|
+
|
|
229
|
+
Fixes #405
|
|
230
|
+
Ben Crouse
|
|
231
|
+
|
|
232
|
+
* Don't allow more than one valid password reset token per-user
|
|
233
|
+
|
|
234
|
+
Ben Crouse
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
Workarea 3.5.8 (2020-03-31)
|
|
239
|
+
--------------------------------------------------------------------------------
|
|
240
|
+
|
|
241
|
+
* Fix incorrect placeholder text
|
|
242
|
+
|
|
243
|
+
Ben Crouse
|
|
244
|
+
|
|
245
|
+
* Allow for blank index URLs in import emails
|
|
246
|
+
|
|
247
|
+
This can happen for models without index pages, like wish lists.
|
|
248
|
+
Ben Crouse
|
|
249
|
+
|
|
250
|
+
* Remove unneeded grid modifier
|
|
251
|
+
|
|
252
|
+
Causes misalignment of the users index aux navigation append point.
|
|
253
|
+
Ben Crouse
|
|
254
|
+
|
|
255
|
+
* Update critical easymon checks
|
|
256
|
+
|
|
257
|
+
Only elasticsearch, mongodb and redis are critical services for running
|
|
258
|
+
the application.
|
|
259
|
+
Eric Pigeon
|
|
260
|
+
|
|
261
|
+
* Sort jump to results by last updated_at (within each type)
|
|
262
|
+
|
|
263
|
+
This adds updated_at as a sort in jump to so most recent results show at
|
|
264
|
+
the top within their type. The types are still sorted the same.
|
|
265
|
+
Ben Crouse
|
|
266
|
+
|
|
267
|
+
* Force autoloading of BulkIndexProducts
|
|
268
|
+
|
|
269
|
+
app/workers/workarea/bulk_index_products.rb isn't getting autoloaded by
|
|
270
|
+
Rails. This causes a NameError to be raised for admin actions like
|
|
271
|
+
updating a product in the development environment.
|
|
272
|
+
|
|
273
|
+
This quick and dirty hack should be tested to see if it can be removed
|
|
274
|
+
after the update to Zeitwerk.
|
|
275
|
+
Ben Crouse
|
|
276
|
+
|
|
277
|
+
* Fix missing relation changesets in storefront indexing
|
|
278
|
+
|
|
279
|
+
This shows as duplicate products when previewing release changes to
|
|
280
|
+
related resources like pricing. This would require reindexing to take
|
|
281
|
+
effect.
|
|
282
|
+
|
|
283
|
+
WORKAREA-223
|
|
284
|
+
Ben Crouse
|
|
285
|
+
|
|
286
|
+
* Handle missing price in sell_price method itself
|
|
287
|
+
|
|
288
|
+
Fixes QA issue.
|
|
289
|
+
|
|
290
|
+
WORKAREA-220
|
|
291
|
+
Tom Scott
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
1
295
|
Workarea 3.5.7 (2020-03-17)
|
|
2
296
|
--------------------------------------------------------------------------------
|
|
3
297
|
|
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.
|
|
4
|
+
version: 3.5.12
|
|
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-
|
|
11
|
+
date: 2020-05-26 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.
|
|
19
|
+
version: 3.5.12
|
|
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.
|
|
26
|
+
version: 3.5.12
|
|
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.
|
|
33
|
+
version: 3.5.12
|
|
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.
|
|
40
|
+
version: 3.5.12
|
|
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.
|
|
47
|
+
version: 3.5.12
|
|
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.
|
|
54
|
+
version: 3.5.12
|
|
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.
|
|
61
|
+
version: 3.5.12
|
|
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.
|
|
68
|
+
version: 3.5.12
|
|
69
69
|
description: Workarea is an enterprise-grade Ruby on Rails commerce platform.
|
|
70
70
|
email:
|
|
71
71
|
- bcrouse@workarea.com
|
|
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
97
97
|
- !ruby/object:Gem::Version
|
|
98
98
|
version: '0'
|
|
99
99
|
requirements: []
|
|
100
|
-
rubygems_version: 3.0.
|
|
100
|
+
rubygems_version: 3.0.3
|
|
101
101
|
signing_key:
|
|
102
102
|
specification_version: 4
|
|
103
103
|
summary: The Workarea Commerce Platform
|