workarea 3.5.19 → 3.5.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +370 -0
  3. metadata +11 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6bbb74d0f4fafdb18d0f374ad6f0c6d72958c83851c3656d289a09b2b126273d
4
- data.tar.gz: 94a2a4e8cd8f57098e13d788d4c8270ea04b8dbe9d4483cb862fffa87381f4aa
3
+ metadata.gz: 66a17d6a4dd933fc522b0f15f34cd989310bd1abb0ee23ca68661ad358f53380
4
+ data.tar.gz: 5c249263e63d659943ddc2052215158c542153f015d990cfd89f25b477e24a49
5
5
  SHA512:
6
- metadata.gz: b42d3a0ff38ce10cb5521aa17d305f9ae13d279098b931d73c243c2ea0e0497aa74d3cf9928c4c5627b3fb0fd25f6142b03e6546fe34feca9eaecf2704337ec6
7
- data.tar.gz: eee45d304f2e7b1e4f4392af1dae7fe8b5384b625613808136cefa44ed197965c8d142f92027e1617f261fcbf9223ab9e41669aa73e986e87f7cf0dfe919344a
6
+ metadata.gz: 969e9a3a3ca63b758dea2d04028726c8491384fb5b6f570eb977a1b72ab92b8b2994bea3e77383d259246617933f401709843dcdf4383898e27ac7e65a837a8b
7
+ data.tar.gz: fe1914bb7cb76f408f860d2354b49fd5a29ae50eae04c37d940dd6e9afcc52a24c962fc2e995d8c9c13549fb9f4428002dde0fcb6079dfd7f20bb7d0cf8efc28
@@ -1,3 +1,373 @@
1
+ Workarea 3.5.25 (2020-12-23)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Fix admin indexing for embedded model changes
5
+
6
+ When embedded models are changed, their root documents weren't being
7
+ reindexed for admin search. This PR ensures admin indexing happens
8
+ correctly.
9
+
10
+ Ben Crouse
11
+
12
+ * Apply suggestions from code review
13
+
14
+ Co-authored-by: Ben Crouse <bcrouse@workarea.com>
15
+
16
+ Matt Duffy
17
+
18
+ * Index search customizations, handle missing search models for changeset releasables
19
+
20
+ WORKAREA-322
21
+
22
+ Matt Duffy
23
+
24
+ * Move release undo changeset building to sidekiq for large changesets
25
+
26
+ WORKAREA-316
27
+
28
+ Matt Duffy
29
+
30
+ * Fix undo releases not causing models to reindex
31
+
32
+ Because the changeset is the only getting saved when building an undo,
33
+ admin reindexing for the affected models isn't happening. This change
34
+ triggers callbacks to ensure any related side-effects happen.
35
+
36
+ Ben Crouse
37
+
38
+ * Use inline_svg fallback for missing releasable icons
39
+
40
+ WORKAREA-310
41
+
42
+ Matt Duffy
43
+
44
+ * Update admin/config/locales/en.yml
45
+
46
+ Co-authored-by: Ben Crouse <bcrouse@workarea.com>
47
+
48
+ Matt Duffy
49
+
50
+ * Simplify undo releases, allow multiple undo releases from a single release
51
+
52
+ WORKAREA-316
53
+
54
+ Matt Duffy
55
+
56
+ * Update display of release changeset to handle large changesets
57
+
58
+ WORKAREA-310
59
+
60
+ Matt Duffy
61
+
62
+ * Allow admin config array fields to define a values type
63
+
64
+ WORKAREA-311
65
+
66
+ Matt Duffy
67
+
68
+ * Check if a releasable has a localized active field before redefining it
69
+
70
+ If Workarea.config.localized_active_field is set to false, the active
71
+ field is redefined for each Releasable model to ensure the configuration
72
+ is honored. With inherited models like discounts, this can cause the
73
+ redefintion of active multiple times causing it to override custom active
74
+ behaviors for segments. Only redefining the method if its currently in
75
+ the models localized_fields list should ensure this does not happen.
76
+
77
+ WORKAREA-309
78
+
79
+ Matt Duffy
80
+
81
+ * Update releasable active test to work without localized active fields
82
+
83
+ WORKAREA-309
84
+
85
+ Matt Duffy
86
+
87
+
88
+
89
+ Workarea 3.5.24 (2020-12-22)
90
+ --------------------------------------------------------------------------------
91
+
92
+ Due to a mistake releasing this gem, it has been yanked. See v3.5.25 instead.
93
+
94
+
95
+
96
+ Workarea 3.5.23 (2020-11-25)
97
+ --------------------------------------------------------------------------------
98
+
99
+ * Bump jquery-rails to patch XSS vulnerabilities
100
+
101
+
102
+ Ben Crouse
103
+
104
+ * Add warning to inform developers why redirects aren't working locally
105
+
106
+ This has confused developers a couple of times, so hopefully adding a
107
+ warning will help.
108
+
109
+ Ben Crouse
110
+
111
+ * Fix Elasticsearch indexes when changing locales in tests
112
+
113
+ This ensures the proper search indexes are in place when you switch
114
+ locales for an integration test.
115
+
116
+ Ben Crouse
117
+
118
+ * Prevent Error on Missing Custom Template View Model Class
119
+
120
+ Typically, custom product templates use their own subclass of
121
+ `Workarea::Storefront::ProductViewModel`, but this isn't supposed to be
122
+ necessary if there's no custom logic that needs to be in the view model
123
+ layer. However, when developers tried to add a custom template without
124
+ the view model, they received an error. To prevent this, Workarea will
125
+ now catch the `NameError` thrown by `Storefront::ProductViewModel.wrap`
126
+ in the event of a custom product template not having a view model
127
+ defined.
128
+
129
+ WORKAREA-304
130
+
131
+ Tom Scott
132
+
133
+ * Fix Missing Instance Variable In Cart Items View
134
+
135
+ The `@cart` instance variable was only being conditionally defined if
136
+ `current_order.add_item` succeeded. This caused an error if `#add_item`
137
+ happens to fail when calling `POST /cart/items` from the storefront,
138
+ resulting in a 500 error. To prevent this error, the definition of this
139
+ variable has been moved above the condition.
140
+
141
+ WORKAREA-303
142
+
143
+ Tom Scott
144
+
145
+ * Shorten index name
146
+
147
+ Mongo will raise when index names exceed a certain length. For example,
148
+ having a long Workarea.config.site_name could cause this.
149
+
150
+ Ben Crouse
151
+
152
+ * Fix missing jump to positions breaking jump to
153
+
154
+ Ruby raises when nil is compared, so default these values.
155
+
156
+ Ben Crouse
157
+
158
+
159
+
160
+ Workarea 3.5.22 (2020-11-03)
161
+ --------------------------------------------------------------------------------
162
+
163
+ * Only merge recent views on tracking updates
164
+
165
+ Merging all metrics has caused a lot of confusion in testing, and the
166
+ only core use-case this matters for is recent views. So this change only
167
+ merges recent views when metrics are updated.
168
+
169
+ Ben Crouse
170
+
171
+ * Delete old user metrics after merging
172
+
173
+ This will ensure the consistency of user-based reports.
174
+
175
+ Ben Crouse
176
+
177
+ * Be more specific when matching reverts in changelogs
178
+
179
+ This change will allow starting commit messages with the word Revert
180
+ without the changelog task ignoring the commit.
181
+
182
+ Ben Crouse
183
+
184
+ * Add metrics explanation for users
185
+
186
+ This additional explanation is meant to communicate why customer
187
+ insights may occasionally mismatch with the orders card.
188
+
189
+ Ben Crouse
190
+
191
+ * Add Note To Category Default Sort Edit
192
+
193
+ The selected `default_sort` of a category will be always used in the
194
+ storefront. If the category contains featured products, this sort will
195
+ be labelled "Featured", and this might prove confusing to some admins.
196
+ To resolve this, add a note just below the dropdown indicating what will
197
+ occur when products are featured in the category.
198
+
199
+ WORKAREA-289
200
+
201
+ Tom Scott
202
+
203
+ * Include referrer in ending impersonation redirect fallbacks
204
+
205
+ When ending an impersonation, this changes to allow redirecting to the referrer
206
+ if the return_to parameter isn't present. Better UX for ending
207
+ impersonations while working in the admin.
208
+
209
+ WORKAREA-293
210
+
211
+ Ben Crouse
212
+
213
+ * Merge metrics when a user's email is updated
214
+
215
+ This ensures the old metrics info stays around after the email change.
216
+
217
+ WORKAREA-294
218
+
219
+ Ben Crouse
220
+
221
+ * Fix release changeset indexing code duplication
222
+
223
+ Cleanup duplicate logic so decoration for product indexes can happen in
224
+ a single place.
225
+
226
+ WORKAREA-292
227
+
228
+ Ben Crouse
229
+
230
+
231
+
232
+ Workarea 3.5.21 (2020-10-14)
233
+ --------------------------------------------------------------------------------
234
+
235
+ * Prevent Clearing Out Navigable When Saving Taxons
236
+
237
+ The `WORKAREA.newNavigationTaxons` module was looking in the wrong place
238
+ for the selected navigable item, therefore the `selected` var would
239
+ always return `undefined`, causing the `navigable_id` param to be
240
+ blank every time. Fix this by querying for the correct DOM node (the
241
+ `[data-new-navigation-taxon]` element) and pulling the selected ID from
242
+ its data.
243
+
244
+ WORKAREA-297
245
+ Fixes #534
246
+
247
+ Tom Scott
248
+
249
+ * Make CSV test more robust to decorations
250
+
251
+ Improve this test so decorating ApplicationDocument to add a field won't
252
+ cause the test to break.
253
+
254
+ Ben Crouse
255
+
256
+ * Refactor product entries to allow accessing logic per-product
257
+
258
+ This allows easier reuse of this logic, specifically for the site
259
+ builder plugin we're working on.
260
+
261
+ Ben Crouse
262
+
263
+ * Fix Test That Will Never Fail
264
+
265
+ This test for the `StatusReporter` worker asserted `2`, which will never
266
+ fail because `2` will never be falsy. Updated the assertion to use the
267
+ intended `assert_equals`
268
+
269
+ Tom Scott
270
+
271
+ * Fix skip services
272
+
273
+ This was broken due to the admin-based configuration looking for a Mongo
274
+ connection.
275
+
276
+ Ben Crouse
277
+
278
+ * Try to clarify how to use search synonyms
279
+
280
+ There has been repeated confusion around why/how to use synonyms, so this is an attempt to clarify.
281
+
282
+ Ben Crouse
283
+
284
+
285
+
286
+ Workarea 3.5.20 (2020-09-30)
287
+ --------------------------------------------------------------------------------
288
+
289
+ * Rename Admin::ProductViewModel#options to avoid conflict with normal options method
290
+
291
+
292
+ Matt Duffy
293
+
294
+ * Improve UX of default search filter sizes
295
+
296
+
297
+ Ben Crouse
298
+
299
+ * Improve clarity of discount verbiage
300
+
301
+ This hopes to address some recent confusion around how the discount
302
+ works.
303
+
304
+ Ben Crouse
305
+
306
+ * Fix safe navigation method calls
307
+
308
+ This will raise if the menu content is nil.
309
+
310
+ Ben Crouse
311
+
312
+ * Update preconfigured session length to match recommendations
313
+
314
+
315
+ Ben Crouse
316
+
317
+ * Remove unnecessary Capybara blocking when testing content is not present
318
+
319
+ Capybara's `page.has_content?` and similar methods block until a timeout
320
+ is reached if they can't find the content. This is not what we want if
321
+ we're checking that the content does *not* exist, switch to using
322
+ `refute_text` in these scenarios.
323
+
324
+ The timeout is equal to the number of installed plugins and we have
325
+ client apps with 30+, which means that the 38 instances removed in this
326
+ commit could represent twenty minutes of unnecessary blocking in some
327
+ scenarios.
328
+
329
+ Thanks to James Anaipakos in
330
+ https://discourse.workarea.com/t/capybara-refute-assertions-waiting-full-default-wait-time/1610
331
+ for alerting me to the issue.
332
+
333
+ Jonathan Mast
334
+
335
+ * Handle `nil` Percentages in Tax Rates UI
336
+
337
+ The `TaxApplication` module already handles percentages that are not
338
+ present, but the tax rates UI expects values there. This results in some
339
+ avoidable 500 errors within admin when you blank out a tax rate
340
+ percentage field. To resolve this, Workarea now makes sure that all
341
+ percentages are of type `Float`, so they can be displayed as "0%" in
342
+ the admin whenever a `nil` value is encountered.
343
+
344
+ WORKAREA-278
345
+
346
+ Tom Scott
347
+
348
+ * Fix Precision of Tax Rates UI
349
+
350
+ The `:step` values of the new/edit forms and precision configuration for
351
+ `#number_to_percentage` were not only rounding certain tax rates to an
352
+ incorrect number, but were also showing a bunch of insignificant zeroes
353
+ in the admin for tax rates. To resolve this, configure
354
+ `#number_to_percentage` to have 3-decimal precision, and strip all
355
+ insignificant zeroes from the display, leaving the admin with a much
356
+ nicer percentage display than what was presented before.
357
+
358
+ WORKAREA-278
359
+
360
+ Tom Scott
361
+
362
+ * Redirect back to the previous page after stopping impersonation
363
+
364
+ Currently we redirect to the user's show page, which can be pretty
365
+ disorienting.
366
+
367
+ Ben Crouse
368
+
369
+
370
+
1
371
  Workarea 3.5.19 (2020-09-16)
2
372
  --------------------------------------------------------------------------------
3
373
 
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.19
4
+ version: 3.5.25
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-09-16 00:00:00.000000000 Z
11
+ date: 2020-12-23 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
19
+ version: 3.5.25
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.19
26
+ version: 3.5.25
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.19
33
+ version: 3.5.25
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.19
40
+ version: 3.5.25
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.19
47
+ version: 3.5.25
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.19
54
+ version: 3.5.25
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.19
61
+ version: 3.5.25
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.19
68
+ version: 3.5.25
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.3
100
+ rubygems_version: 3.2.3
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: The Workarea Commerce Platform