workarea 3.5.20 → 3.5.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +318 -38
- 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: f42e213059ebf1794607344c7d2856f0f98a0b0ac12d8de1ab21abb02e38505e
|
4
|
+
data.tar.gz: a150c7f60093d7dd7e0ed0f4220a019aa99e0f7298c7a31025101806d6923985
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc9282e336f33c8b3e490ce2f2da809b9a2744f886a7b9f6cd571abc8b39f22036ab1a3e05615b4fb45bb42e1790e88851b1b37ae05db86a0a83644bccf2680d
|
7
|
+
data.tar.gz: 0d09997d7f26555ae68837581898f9b7e2de78b10c05051d1cc7e5c04ee55116d50331466f71753de5d84020ae721e03c05258aa8471a7b418c9fd4650a0bed0
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,321 @@
|
|
1
|
+
Workarea 3.5.26 (2021-01-20)
|
2
|
+
--------------------------------------------------------------------------------
|
3
|
+
|
4
|
+
* Improve password performance when running tests
|
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
|
+
* Improve image URL detection for dialog_buttons
|
32
|
+
|
33
|
+
This only worked if the URL had only one dot (before the file extension)
|
34
|
+
and no query parameters. Run it through the URL parser to provide more
|
35
|
+
robust handling.
|
36
|
+
|
37
|
+
Jonathan Mast
|
38
|
+
|
39
|
+
* Bump version for release
|
40
|
+
|
41
|
+
|
42
|
+
Ben Crouse
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
Workarea 3.5.25 (2020-12-23)
|
47
|
+
--------------------------------------------------------------------------------
|
48
|
+
|
49
|
+
* Fix admin indexing for embedded model changes
|
50
|
+
|
51
|
+
When embedded models are changed, their root documents weren't being
|
52
|
+
reindexed for admin search. This PR ensures admin indexing happens
|
53
|
+
correctly.
|
54
|
+
|
55
|
+
Ben Crouse
|
56
|
+
|
57
|
+
* Index search customizations, handle missing search models for changeset releasables
|
58
|
+
|
59
|
+
WORKAREA-322
|
60
|
+
|
61
|
+
Matt Duffy
|
62
|
+
|
63
|
+
* Move release undo changeset building to sidekiq for large changesets
|
64
|
+
|
65
|
+
WORKAREA-316
|
66
|
+
|
67
|
+
Matt Duffy
|
68
|
+
|
69
|
+
* Fix undo releases not causing models to reindex
|
70
|
+
|
71
|
+
Because the changeset is the only getting saved when building an undo,
|
72
|
+
admin reindexing for the affected models isn't happening. This change
|
73
|
+
triggers callbacks to ensure any related side-effects happen.
|
74
|
+
|
75
|
+
Ben Crouse
|
76
|
+
|
77
|
+
* Use inline_svg fallback for missing releasable icons
|
78
|
+
|
79
|
+
WORKAREA-310
|
80
|
+
|
81
|
+
Matt Duffy
|
82
|
+
|
83
|
+
* Simplify undo releases, allow multiple undo releases from a single release
|
84
|
+
|
85
|
+
WORKAREA-316
|
86
|
+
|
87
|
+
Matt Duffy
|
88
|
+
|
89
|
+
* Update display of release changeset to handle large changesets
|
90
|
+
|
91
|
+
WORKAREA-310
|
92
|
+
|
93
|
+
Matt Duffy
|
94
|
+
|
95
|
+
* Allow admin config array fields to define a values type
|
96
|
+
|
97
|
+
WORKAREA-311
|
98
|
+
|
99
|
+
Matt Duffy
|
100
|
+
|
101
|
+
* Check if a releasable has a localized active field before redefining it
|
102
|
+
|
103
|
+
If Workarea.config.localized_active_field is set to false, the active
|
104
|
+
field is redefined for each Releasable model to ensure the configuration
|
105
|
+
is honored. With inherited models like discounts, this can cause the
|
106
|
+
redefintion of active multiple times causing it to override custom active
|
107
|
+
behaviors for segments. Only redefining the method if its currently in
|
108
|
+
the models localized_fields list should ensure this does not happen.
|
109
|
+
|
110
|
+
WORKAREA-309
|
111
|
+
|
112
|
+
Matt Duffy
|
113
|
+
|
114
|
+
* Update releasable active test to work without localized active fields
|
115
|
+
|
116
|
+
WORKAREA-309
|
117
|
+
|
118
|
+
Matt Duffy
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
Workarea 3.5.24 (2020-12-22)
|
123
|
+
--------------------------------------------------------------------------------
|
124
|
+
|
125
|
+
Due to a mistake releasing this gem, it has been yanked. See v3.5.25 instead.
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
Workarea 3.5.23 (2020-11-25)
|
130
|
+
--------------------------------------------------------------------------------
|
131
|
+
|
132
|
+
* Bump jquery-rails to patch XSS vulnerabilities
|
133
|
+
|
134
|
+
|
135
|
+
Ben Crouse
|
136
|
+
|
137
|
+
* Add warning to inform developers why redirects aren't working locally
|
138
|
+
|
139
|
+
This has confused developers a couple of times, so hopefully adding a
|
140
|
+
warning will help.
|
141
|
+
|
142
|
+
Ben Crouse
|
143
|
+
|
144
|
+
* Fix Elasticsearch indexes when changing locales in tests
|
145
|
+
|
146
|
+
This ensures the proper search indexes are in place when you switch
|
147
|
+
locales for an integration test.
|
148
|
+
|
149
|
+
Ben Crouse
|
150
|
+
|
151
|
+
* Prevent Error on Missing Custom Template View Model Class
|
152
|
+
|
153
|
+
Typically, custom product templates use their own subclass of
|
154
|
+
`Workarea::Storefront::ProductViewModel`, but this isn't supposed to be
|
155
|
+
necessary if there's no custom logic that needs to be in the view model
|
156
|
+
layer. However, when developers tried to add a custom template without
|
157
|
+
the view model, they received an error. To prevent this, Workarea will
|
158
|
+
now catch the `NameError` thrown by `Storefront::ProductViewModel.wrap`
|
159
|
+
in the event of a custom product template not having a view model
|
160
|
+
defined.
|
161
|
+
|
162
|
+
WORKAREA-304
|
163
|
+
|
164
|
+
Tom Scott
|
165
|
+
|
166
|
+
* Fix Missing Instance Variable In Cart Items View
|
167
|
+
|
168
|
+
The `@cart` instance variable was only being conditionally defined if
|
169
|
+
`current_order.add_item` succeeded. This caused an error if `#add_item`
|
170
|
+
happens to fail when calling `POST /cart/items` from the storefront,
|
171
|
+
resulting in a 500 error. To prevent this error, the definition of this
|
172
|
+
variable has been moved above the condition.
|
173
|
+
|
174
|
+
WORKAREA-303
|
175
|
+
|
176
|
+
Tom Scott
|
177
|
+
|
178
|
+
* Shorten index name
|
179
|
+
|
180
|
+
Mongo will raise when index names exceed a certain length. For example,
|
181
|
+
having a long Workarea.config.site_name could cause this.
|
182
|
+
|
183
|
+
Ben Crouse
|
184
|
+
|
185
|
+
* Fix missing jump to positions breaking jump to
|
186
|
+
|
187
|
+
Ruby raises when nil is compared, so default these values.
|
188
|
+
|
189
|
+
Ben Crouse
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
Workarea 3.5.22 (2020-11-03)
|
194
|
+
--------------------------------------------------------------------------------
|
195
|
+
|
196
|
+
* Only merge recent views on tracking updates
|
197
|
+
|
198
|
+
Merging all metrics has caused a lot of confusion in testing, and the
|
199
|
+
only core use-case this matters for is recent views. So this change only
|
200
|
+
merges recent views when metrics are updated.
|
201
|
+
|
202
|
+
Ben Crouse
|
203
|
+
|
204
|
+
* Delete old user metrics after merging
|
205
|
+
|
206
|
+
This will ensure the consistency of user-based reports.
|
207
|
+
|
208
|
+
Ben Crouse
|
209
|
+
|
210
|
+
* Be more specific when matching reverts in changelogs
|
211
|
+
|
212
|
+
This change will allow starting commit messages with the word Revert
|
213
|
+
without the changelog task ignoring the commit.
|
214
|
+
|
215
|
+
Ben Crouse
|
216
|
+
|
217
|
+
* Add metrics explanation for users
|
218
|
+
|
219
|
+
This additional explanation is meant to communicate why customer
|
220
|
+
insights may occasionally mismatch with the orders card.
|
221
|
+
|
222
|
+
Ben Crouse
|
223
|
+
|
224
|
+
* Add Note To Category Default Sort Edit
|
225
|
+
|
226
|
+
The selected `default_sort` of a category will be always used in the
|
227
|
+
storefront. If the category contains featured products, this sort will
|
228
|
+
be labelled "Featured", and this might prove confusing to some admins.
|
229
|
+
To resolve this, add a note just below the dropdown indicating what will
|
230
|
+
occur when products are featured in the category.
|
231
|
+
|
232
|
+
WORKAREA-289
|
233
|
+
|
234
|
+
Tom Scott
|
235
|
+
|
236
|
+
* Include referrer in ending impersonation redirect fallbacks
|
237
|
+
|
238
|
+
When ending an impersonation, this changes to allow redirecting to the referrer
|
239
|
+
if the return_to parameter isn't present. Better UX for ending
|
240
|
+
impersonations while working in the admin.
|
241
|
+
|
242
|
+
WORKAREA-293
|
243
|
+
|
244
|
+
Ben Crouse
|
245
|
+
|
246
|
+
* Merge metrics when a user's email is updated
|
247
|
+
|
248
|
+
This ensures the old metrics info stays around after the email change.
|
249
|
+
|
250
|
+
WORKAREA-294
|
251
|
+
|
252
|
+
Ben Crouse
|
253
|
+
|
254
|
+
* Fix release changeset indexing code duplication
|
255
|
+
|
256
|
+
Cleanup duplicate logic so decoration for product indexes can happen in
|
257
|
+
a single place.
|
258
|
+
|
259
|
+
WORKAREA-292
|
260
|
+
|
261
|
+
Ben Crouse
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
Workarea 3.5.21 (2020-10-14)
|
266
|
+
--------------------------------------------------------------------------------
|
267
|
+
|
268
|
+
* Prevent Clearing Out Navigable When Saving Taxons
|
269
|
+
|
270
|
+
The `WORKAREA.newNavigationTaxons` module was looking in the wrong place
|
271
|
+
for the selected navigable item, therefore the `selected` var would
|
272
|
+
always return `undefined`, causing the `navigable_id` param to be
|
273
|
+
blank every time. Fix this by querying for the correct DOM node (the
|
274
|
+
`[data-new-navigation-taxon]` element) and pulling the selected ID from
|
275
|
+
its data.
|
276
|
+
|
277
|
+
WORKAREA-297
|
278
|
+
Fixes #534
|
279
|
+
|
280
|
+
Tom Scott
|
281
|
+
|
282
|
+
* Make CSV test more robust to decorations
|
283
|
+
|
284
|
+
Improve this test so decorating ApplicationDocument to add a field won't
|
285
|
+
cause the test to break.
|
286
|
+
|
287
|
+
Ben Crouse
|
288
|
+
|
289
|
+
* Refactor product entries to allow accessing logic per-product
|
290
|
+
|
291
|
+
This allows easier reuse of this logic, specifically for the site
|
292
|
+
builder plugin we're working on.
|
293
|
+
|
294
|
+
Ben Crouse
|
295
|
+
|
296
|
+
* Fix Test That Will Never Fail
|
297
|
+
|
298
|
+
This test for the `StatusReporter` worker asserted `2`, which will never
|
299
|
+
fail because `2` will never be falsy. Updated the assertion to use the
|
300
|
+
intended `assert_equals`
|
301
|
+
|
302
|
+
Tom Scott
|
303
|
+
|
304
|
+
* Fix skip services
|
305
|
+
|
306
|
+
This was broken due to the admin-based configuration looking for a Mongo
|
307
|
+
connection.
|
308
|
+
|
309
|
+
Ben Crouse
|
310
|
+
|
311
|
+
* Try to clarify how to use search synonyms
|
312
|
+
|
313
|
+
There has been repeated confusion around why/how to use synonyms, so this is an attempt to clarify.
|
314
|
+
|
315
|
+
Ben Crouse
|
316
|
+
|
317
|
+
|
318
|
+
|
1
319
|
Workarea 3.5.20 (2020-09-30)
|
2
320
|
--------------------------------------------------------------------------------
|
3
321
|
|
@@ -47,44 +365,6 @@ Workarea 3.5.20 (2020-09-30)
|
|
47
365
|
|
48
366
|
Jonathan Mast
|
49
367
|
|
50
|
-
* Update docs/source/articles/decorate-and-write-tests.html.md
|
51
|
-
|
52
|
-
Co-authored-by: Ben Crouse <bcrouse@workarea.com>
|
53
|
-
|
54
|
-
Tom Scott
|
55
|
-
|
56
|
-
* Update docs/source/articles/decorate-and-write-tests.html.md
|
57
|
-
|
58
|
-
Co-authored-by: Ben Crouse <bcrouse@workarea.com>
|
59
|
-
|
60
|
-
Tom Scott
|
61
|
-
|
62
|
-
* Update docs/source/articles/http-caching.html.md
|
63
|
-
|
64
|
-
Co-authored-by: Ben Crouse <bcrouse@workarea.com>
|
65
|
-
|
66
|
-
Tom Scott
|
67
|
-
|
68
|
-
* Notate Rack::Cache Ignore Params In Documentation
|
69
|
-
|
70
|
-
Add documentation explaining why one might want to ignore query string
|
71
|
-
params in `Rack::Cache`, how to do it in a Workarea environment, and
|
72
|
-
which plugins will do it for you.
|
73
|
-
|
74
|
-
WORKAREA-287
|
75
|
-
|
76
|
-
Tom Scott
|
77
|
-
|
78
|
-
* Clarify Test Setup and Teardown in Documentation
|
79
|
-
|
80
|
-
Add documentation explaining why the `setup` and `teardown` macros are
|
81
|
-
recommended for use with Workarea to set up and teardown tests, as well
|
82
|
-
as some clear examples of how to do this properly.
|
83
|
-
|
84
|
-
WORKAREA-271
|
85
|
-
|
86
|
-
Tom Scott
|
87
|
-
|
88
368
|
* Handle `nil` Percentages in Tax Rates UI
|
89
369
|
|
90
370
|
The `TaxApplication` module already handles percentages that are not
|
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.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Crouse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-20 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.26
|
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.26
|
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.26
|
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.26
|
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.26
|
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.26
|
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.26
|
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.26
|
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.
|
100
|
+
rubygems_version: 3.2.3
|
101
101
|
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: The Workarea Commerce Platform
|