workarea 3.5.13 → 3.5.18

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 +406 -0
  3. metadata +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e6e331bdf3b1cac51846183a0632ae3e95e113de1999f30bb963c3172d09dcb
4
- data.tar.gz: b4251a0c533eabcfb2beae02870da6f57bc044e10b8e98d130f8af79c6c7cc05
3
+ metadata.gz: fcdbd6652646920730267f54167ad2a9b21a93e6d493407071f2a582077c9070
4
+ data.tar.gz: 6d56267bd238a34dd139ca782a655af668fa5c1e7917fea85d89c3d9e20661e7
5
5
  SHA512:
6
- metadata.gz: dcaafe29a3edde5189212645a476bcbb12a80e46e6dad864564b316540526d65abb5cc7b0c753edc7073809da4f759492761ed02ba06ab9e1e753c34e09fa90c
7
- data.tar.gz: 7fa5a3d88404625c106076f9f181d63d41fce388756bf6114733804a947da907eeeacc8653437fd4817a32d3fa7f2bd2d3d04dfd3ffa3c00a1f30a7d718bc888
6
+ metadata.gz: c418107191ab420c3410d039c4ac9b1d420f9211fccd892e1b666df0b03805db5046729a432b45f8a24682b64d14632818a28e869fbd498aa61698e301e4c47d
7
+ data.tar.gz: 2dacbf6f593f2c33c8170a8ed48c54427b3ab12083c316198232eb8bb65eb9596ef8d7e46b8d4a5a92a5884ad96c3498790f73f0061d1e9a739c77f9ea73513b
@@ -1,3 +1,409 @@
1
+ Workarea 3.5.18 (2020-09-01)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Set Default Inventory Policy to "Standard" in Create Product Workflow
5
+
6
+ When creating a new product through the workflow, setting the
7
+ "Inventory" on a particular SKU would still cause the `Inventory::Sku`
8
+ to be created with the "Ignore" policy rather than "Standard". Setting
9
+ inventory on a SKU now automatically causes the `Inventory::Sku` record
10
+ to be created with a policy of "Standard" so as to deduct the given
11
+ inventory to the varaint. When no inventory is given, Workarea will fall
12
+ back to the default of "Ignore".
13
+
14
+ WORKAREA-265
15
+
16
+ Tom Scott
17
+
18
+ * Fix Admin Configuration for Email Addresses
19
+
20
+ The hard-coded `config.email_from` and `config.email_to` settings
21
+ conflict with the out-of-box administrable configuration for the "Email
22
+ From" and "Email To" settings. This causes a warning for admins that
23
+ explain why the settings on "Email To" and "Email From" won't take
24
+ effect. Since the whole purpose of moving these settings to admin
25
+ configuration was to let admins actually change them, the
26
+ `config.email_from` and `config.email_to` settings have been removed
27
+ from both default configuration and the `workarea:install` generator.
28
+
29
+ WORKAREA-270
30
+
31
+ Tom Scott
32
+
33
+ * Add Permissions To Admin::ConfigurationsController
34
+
35
+ Admins without "Settings" access are no longer able to access the
36
+ administrable configuration settings defined in a Workarea application's
37
+ initializer.
38
+
39
+ WORKAREA-261
40
+
41
+ Tom Scott
42
+
43
+ * Handle missing or invalid current impersonation
44
+
45
+ This surfaced as a random failing test, this should make the feature more robust.
46
+
47
+ Ben Crouse
48
+
49
+ * Fix wrong sorting on default admin index pages
50
+
51
+ The query for an admin index page can end up inadvertantly introduce a
52
+ scoring variation, which can cause results to not match the `updated_at`
53
+ default sort.
54
+
55
+ This makes `updated_at` the true default sort, and allows the general
56
+ admin search to override, where `_score` is still the desired default
57
+ sort.
58
+
59
+ Ben Crouse
60
+
61
+ * Visually improve changesets card when no changesets
62
+
63
+
64
+ Ben Crouse
65
+
66
+ * Add modifier for better disabled workflow button display
67
+
68
+ This makes it visually clearer that a workflow button is disabled.
69
+
70
+ Ben Crouse
71
+
72
+ * Add asset index view heading append point
73
+
74
+
75
+ Ben Crouse
76
+
77
+ * Pass user into append point
78
+
79
+
80
+ Ben Crouse
81
+
82
+ * Add append point for storefront admin toolbar
83
+
84
+
85
+ Ben Crouse
86
+
87
+ * Add Rack env key for checking whether it's an asset request
88
+
89
+ This is useful for plugins like site builder. This also reduces
90
+ allocations by moving the regex into a constant and consolidates the
91
+ check from multiple spots.
92
+
93
+ This also skips force passing Rack::Cache for asset requests if you're
94
+ an admin (minor performance improvement).
95
+
96
+ Ben Crouse
97
+
98
+ * Add param to allow disabling the admin toolbar in the storefront
99
+
100
+ Used in the site builder plugin. Add disable_admin_toolbar=true to the
101
+ query string to turn off the admin toolbar for that page.
102
+
103
+ Ben Crouse
104
+
105
+ * Add minor remote selects features to support site builder
106
+
107
+ This includes an option for the dropdown parent, and an option to allow
108
+ autosubmitting a remote select upon selection.
109
+
110
+ Ben Crouse
111
+
112
+ * Fix constant loading error related to metrics
113
+
114
+ Sometimes an error will be raised when Workarea middleware is doing
115
+ segmentation logic around `Metrics::User`.
116
+
117
+ Ben Crouse
118
+
119
+ * Move rake task logic into modules
120
+
121
+ This will allow decorating this logic for plugins or builds that need
122
+ to. For example, site builder needs to search-index resources that are
123
+ unique per-site.
124
+
125
+ Ben Crouse
126
+
127
+ * Add append point for admin top of page
128
+
129
+
130
+ Ben Crouse
131
+
132
+
133
+
134
+ Workarea 3.5.17 (2020-08-19)
135
+ --------------------------------------------------------------------------------
136
+
137
+ * Fix missing release changes for CSV importing with embedded models
138
+
139
+ Trying to update an embedded model via CSV import with a release causes
140
+ an existing changeset for the root model to get destroyed. This happens
141
+ because the CSV import calls `#save` on the root, which has no changes
142
+ so it removes the changeset.
143
+
144
+ This patch fixes by iterating over the models the CSV row might affect
145
+ and calling `#save` on the embedded ones first (if necessary) to ensure
146
+ the changesets get correctly created and to avoid calling the save on
147
+ the root without changes which removes the existing changeset.
148
+
149
+ Ben Crouse
150
+
151
+ * Return Status of `Checkout#update`
152
+
153
+ For APIs and other consumers of the Checkout model, return a boolean
154
+ response from the `#update` method to signify whether the operation
155
+ succeeded or failed. This response is used directly in the API to return
156
+ an `:unprocessable_entity` response code when an update operation fails.
157
+
158
+ WORKAREA-253
159
+
160
+ Tom Scott
161
+
162
+ * Remove port from host configuration in installer
163
+
164
+ Ports aren't part of hosts, this causes problems when the value is used
165
+ like a true host.
166
+
167
+ This PR also fixes mailer links with missing ports as a result of this
168
+ change.
169
+
170
+ Ben Crouse
171
+
172
+ * Bump Chartkick to fix bundler audit warning
173
+
174
+ The vulnerability won't affect Workarea in use, but it'll be easier to fix builds doing this.
175
+
176
+ Ben Crouse
177
+
178
+ * Allow inquiry subjects to be localized
179
+
180
+ WORKAREA-238
181
+
182
+ Matt Duffy
183
+
184
+ * Update inquiry subject documentation
185
+
186
+ WORKAREA-238
187
+
188
+ Matt Duffy
189
+
190
+ * Remove order summary append point from mailer that is meant for storefront views
191
+
192
+
193
+ Matt Duffy
194
+
195
+
196
+
197
+ Workarea 3.5.16 (2020-07-22)
198
+ --------------------------------------------------------------------------------
199
+
200
+ * Add js module to allow inserting remote requests onto the page
201
+
202
+
203
+ Matt Duffy
204
+
205
+ * Configure Sliced Credit Card Attributes
206
+
207
+ To prevent an unnecessary decoration of the `Workarea::Payment` class,
208
+ the attributes sliced out of the Hash given to `Workarea::Payment#set_credit_card`
209
+ is now configurable in initializers. This same set of attributes is also
210
+ used in the `Users::CreditCardsController`, so the configuration will be
211
+ reused when users are attempting to add a new credit card to their
212
+ account.
213
+
214
+ WORKAREA-257
215
+
216
+ Tom Scott
217
+
218
+ * Setup PlaceOrderIntegrationTest in a Method
219
+
220
+ Currently, decorating the PlaceOrderIntegrationTest to edit the way its
221
+ set up (such as when adding an additional step) is impossible, you have
222
+ to basically copy everything out of the `setup` block and duplicate it
223
+ in your tests. Setup blocks should be methods anyway, so convert this to
224
+ a method and allow it to be decorated in host apps.
225
+
226
+ Tom Scott
227
+
228
+ * Fix `Hash#[]` Access On Administrable Options
229
+
230
+ Accessing administrable options on `Workarea.config` can produce
231
+ unexpected results if you don't use the traditional method accessor
232
+ syntax. For example, an admin field like this:
233
+
234
+ ```ruby
235
+ Workarea::Configuration.define_fields do
236
+ field :my_admin_setting, type: :string, default: 'default value'
237
+ end
238
+ ```
239
+
240
+ ...will only be available at `Workarea.config.my_admin_setting`:
241
+
242
+ ```ruby
243
+ Workarea.config.my_admin_setting # => "default value"
244
+ Workarea.config[:my_admin_setting] # => nil
245
+ ```
246
+
247
+ To resolve this, the code for fetching a key's value from the database
248
+ has been moved out of `#method_missing` and into an override of `#[]`.
249
+ [Since the OrderedOptions superclass already overrides this][1] to call
250
+ `#[]`, we can safely move this code and still maintain all functionality.
251
+
252
+ [1]: https://github.com/rails/rails/blob/fbe2433be6e052a1acac63c7faf287c52ed3c5ba/activesupport/lib/active_support/ordered_options.rb#L41-L58
253
+
254
+ Tom Scott
255
+
256
+ * Fix race condition when merging user metrics
257
+
258
+
259
+ Ben Crouse
260
+
261
+ * Improve Content Area Select UX
262
+
263
+ Remove the current content name and replace it with a static label
264
+ indicating what the `<select>` menu to the right of it is selecting,
265
+ which is the current content area. This UI only displays when there are
266
+ multiple areas for a given `Content`.
267
+
268
+ WORKAREA-244
269
+
270
+ Tom Scott
271
+
272
+ * Changes to support package product kits
273
+
274
+
275
+ Matt Duffy
276
+
277
+ * Update inventory and fulfillment sku policy info text, allow appending
278
+
279
+
280
+ Matt Duffy
281
+
282
+
283
+
284
+ Workarea 3.5.15 (2020-07-07)
285
+ --------------------------------------------------------------------------------
286
+
287
+ * Patch Jbuilder to Support Varying Cache
288
+
289
+ Previously, admins were not able to see up-to-date data in API requests
290
+ due to the `#cache!` method in Jbuilder not being patched to skip
291
+ caching when an admin is logged in. To resolve this, Workarea now
292
+ applies the same patch to Jbuilder as it does to ActionView. Reading
293
+ from the cache is now skipped if you're logged in as an admin, and cache
294
+ keys are appended with the configured `Cache::Varies` just the same as
295
+ in regular Haml views.
296
+
297
+ WORKAREA-243
298
+
299
+ Tom Scott
300
+
301
+ * Bump rack version
302
+
303
+ Fixes CVE-2020-8184
304
+
305
+ Ben Crouse
306
+
307
+ * Add Permissions Append Point to User Workflow
308
+
309
+ This allows a plugin (such as API) to specify permissions categories when
310
+ admins are either editing or creating a user.
311
+
312
+ WORKAREA-240
313
+
314
+ Tom Scott
315
+
316
+
317
+
318
+ Workarea 3.5.14 (2020-06-25)
319
+ --------------------------------------------------------------------------------
320
+
321
+ * Reset Geocoder between tests
322
+
323
+ This ensures individual tests monkeying around with Geocoder config will
324
+ get restored before the next test runs.
325
+
326
+ Ben Crouse
327
+
328
+ * Fix indexing categorization changesets for deleted releases
329
+
330
+ A category can have orphan changesets (from deleted releases) that cause
331
+ an error when indexing the percolation document for that category.
332
+
333
+ Ben Crouse
334
+
335
+ * Disable previewing for already published, unscheduled releases
336
+
337
+ Due to the previewing in the search index, previewing a published and
338
+ unscheduled release can cause issues that require it to go through
339
+ scheduling to get reindexed.
340
+
341
+ Ben Crouse
342
+
343
+ * Use Display Name For Applied Facet Values
344
+
345
+ When rendering the applied filters, wrap the given facet value in
346
+ the `facet_value_display_name` helper, ensuring that the value rendered
347
+ is always human readable. This addresses an issue where if the applied
348
+ filter value is that of a BSON ID, referencing a model somewhere, the
349
+ BSON ID was rendered in place of the model's name.
350
+
351
+ WORKAREA-122
352
+
353
+ Tom Scott
354
+
355
+ * Fix Segments Workflow Setup Duplication
356
+
357
+ The setup form for the new custom segment workflow did not include the
358
+ ID of an existing segment (if persisted) in the form when submitted,
359
+ causing multiple duplicate segment records to be created when users go
360
+ back to the setup step in the workflow. None of the other steps are
361
+ affected because the ID appears in the URL, but the setup step does a
362
+ direct POST to `/admin/create_segments`, thus causing this problem.
363
+
364
+ WORKAREA-219
365
+
366
+ Tom Scott
367
+
368
+ * Fix index duplicates after a release is removed
369
+
370
+ When a release is deleted, its changes must be reindexed to fix previews
371
+ for releases scheduled after it. This manifests as duplicate products
372
+ when previewing releases.
373
+
374
+ Ben Crouse
375
+
376
+ * Fix Promo Code Counts in Admin
377
+
378
+ Previously, promo codes could only be generated once through the admin,
379
+ so rendering the count of all promo codes as the count requested to be
380
+ generated was working out. However, as CSV imports and API updates became
381
+ more widespread, this began to break down as the `#count` field would
382
+ have to be updated each time a new set of promo codes were added.
383
+ Instead of reading from this pre-defined field on the code list, render
384
+ the actual count of promo codes from the database on the code list and
385
+ promo codes admin pages.
386
+
387
+ WORKAREA-199
388
+
389
+ Tom Scott
390
+
391
+ * Fix indexing after a release publishes
392
+
393
+ Due to potential changes in the index, publishing a release can result
394
+ in duplicate products when previewing.
395
+
396
+ Ben Crouse
397
+
398
+ * Update queue for release reschedule indexing
399
+
400
+ This should be in the releases queue, which has top priority. This will
401
+ help decrease the latency to accurate previews.
402
+
403
+ Ben Crouse
404
+
405
+
406
+
1
407
  Workarea 3.5.13 (2020-06-11)
2
408
  --------------------------------------------------------------------------------
3
409
 
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.13
4
+ version: 3.5.18
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-06-11 00:00:00.000000000 Z
11
+ date: 2020-09-01 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.13
19
+ version: 3.5.18
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.13
26
+ version: 3.5.18
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.13
33
+ version: 3.5.18
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.13
40
+ version: 3.5.18
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.13
47
+ version: 3.5.18
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.13
54
+ version: 3.5.18
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.13
61
+ version: 3.5.18
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.13
68
+ version: 3.5.18
69
69
  description: Workarea is an enterprise-grade Ruby on Rails commerce platform.
70
70
  email:
71
71
  - bcrouse@workarea.com