workarea 3.4.15 → 3.4.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/docs/Gemfile.lock +130 -0
- data/docs/source/articles/searching.html.md +5 -5
- data/docs/source/release-notes/workarea-3-3-34.html.md +29 -0
- data/docs/source/release-notes/workarea-3-4-16.html.md +88 -0
- data/docs/source/release-notes.html.md +2 -0
- metadata +13 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4747c39c808668708146d61fdf17b0ea6ee6f29fb3a6667db89fae76dad64ad1
|
4
|
+
data.tar.gz: 4e2b5d25813930a8f7a50d679d26c2f765d5b0da864456dbbe143fd864ce78a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab5a368476f1e1f7108487c59827d19685fe3aeeb6d7984e48bbce5266359fd1f7426cdf40d5460594bafa6e5d4fdc66b61eced5b7c5b7d4c56ee60b160f84a2
|
7
|
+
data.tar.gz: a845291c6e4327046c9cd8a16becda2c3407dca971cfe02ef0cba612c67a52106c15afe159745a9a679b43ff4076988cde3900dbfa1f1e18e5f3785adcc47ab7
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,28 @@
|
|
1
|
+
Workarea 3.4.16 (2019-09-17)
|
2
|
+
--------------------------------------------------------------------------------
|
3
|
+
|
4
|
+
* Ensure test only asserts product details for product system test
|
5
|
+
|
6
|
+
* Parse URL When Ensuring CORS for Direct Uploads
|
7
|
+
|
8
|
+
The `request.url` returns the full URL, with path included. This isn't
|
9
|
+
valid for a CORS header, which needs just the scheme, host, and port if
|
10
|
+
it's non-standard. Update the `DirectUpload.ensure_cors!` method to
|
11
|
+
parse out those pieces of the URL and re-assemble it for the CORS
|
12
|
+
header and ID.
|
13
|
+
|
14
|
+
* Use current URL for direct upload CORS headers (#20)
|
15
|
+
|
16
|
+
Direct uploads can fail locally if your `Workarea.config.host` is not
|
17
|
+
set to the domain you are currently using in the browser. To prevent
|
18
|
+
this, instead of reading from the configuration when ensuring CORS
|
19
|
+
headers on the S3 bucket, use the URL from the request for S3 CORS config.
|
20
|
+
Addresses a problem whereby changing the domain (either accidentally or
|
21
|
+
on-purpose) causes direct uploads to fail, since it can't create the
|
22
|
+
proper CORS headers needed to transmit files into the bucket directly.
|
23
|
+
|
24
|
+
|
25
|
+
|
1
26
|
Workarea 3.4.15 (2019-09-04)
|
2
27
|
--------------------------------------------------------------------------------
|
3
28
|
|
data/docs/Gemfile.lock
ADDED
@@ -0,0 +1,130 @@
|
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
3
|
+
specs:
|
4
|
+
activesupport (5.0.7.2)
|
5
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
6
|
+
i18n (>= 0.7, < 2)
|
7
|
+
minitest (~> 5.1)
|
8
|
+
tzinfo (~> 1.1)
|
9
|
+
addressable (2.7.0)
|
10
|
+
public_suffix (>= 2.0.2, < 5.0)
|
11
|
+
autoprefixer-rails (9.6.1.1)
|
12
|
+
execjs
|
13
|
+
backports (3.15.0)
|
14
|
+
coffee-script (2.4.1)
|
15
|
+
coffee-script-source
|
16
|
+
execjs
|
17
|
+
coffee-script-source (1.12.2)
|
18
|
+
concurrent-ruby (1.1.5)
|
19
|
+
contracts (0.13.0)
|
20
|
+
dotenv (2.7.5)
|
21
|
+
erubis (2.7.0)
|
22
|
+
execjs (2.7.0)
|
23
|
+
fast_blank (1.0.0)
|
24
|
+
fastimage (2.1.7)
|
25
|
+
ffi (1.11.1)
|
26
|
+
haml (5.1.2)
|
27
|
+
temple (>= 0.8.0)
|
28
|
+
tilt
|
29
|
+
hamster (3.0.0)
|
30
|
+
concurrent-ruby (~> 1.0)
|
31
|
+
hashie (3.6.0)
|
32
|
+
i18n (0.9.5)
|
33
|
+
concurrent-ruby (~> 1.0)
|
34
|
+
kramdown (1.17.0)
|
35
|
+
libv8 (3.16.14.19-x86_64-linux)
|
36
|
+
listen (3.0.8)
|
37
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
38
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
39
|
+
memoist (0.16.0)
|
40
|
+
middleman (4.3.5)
|
41
|
+
coffee-script (~> 2.2)
|
42
|
+
haml (>= 4.0.5)
|
43
|
+
kramdown (~> 1.2)
|
44
|
+
middleman-cli (= 4.3.5)
|
45
|
+
middleman-core (= 4.3.5)
|
46
|
+
middleman-autoprefixer (2.10.1)
|
47
|
+
autoprefixer-rails (~> 9.1)
|
48
|
+
middleman-core (>= 3.3.3)
|
49
|
+
middleman-cli (4.3.5)
|
50
|
+
thor (>= 0.17.0, < 2.0)
|
51
|
+
middleman-core (4.3.5)
|
52
|
+
activesupport (>= 4.2, < 5.1)
|
53
|
+
addressable (~> 2.3)
|
54
|
+
backports (~> 3.6)
|
55
|
+
bundler
|
56
|
+
contracts (~> 0.13.0)
|
57
|
+
dotenv
|
58
|
+
erubis
|
59
|
+
execjs (~> 2.0)
|
60
|
+
fast_blank
|
61
|
+
fastimage (~> 2.0)
|
62
|
+
hamster (~> 3.0)
|
63
|
+
hashie (~> 3.4)
|
64
|
+
i18n (~> 0.9.0)
|
65
|
+
listen (~> 3.0.0)
|
66
|
+
memoist (~> 0.14)
|
67
|
+
padrino-helpers (~> 0.13.0)
|
68
|
+
parallel
|
69
|
+
rack (>= 1.4.5, < 3)
|
70
|
+
sassc (~> 2.0)
|
71
|
+
servolux
|
72
|
+
tilt (~> 2.0.9)
|
73
|
+
uglifier (~> 3.0)
|
74
|
+
middleman-navtree (0.1.11)
|
75
|
+
middleman-core (>= 3.3)
|
76
|
+
titleize (~> 1.3)
|
77
|
+
middleman-search (0.10.0)
|
78
|
+
middleman-core (>= 3.2)
|
79
|
+
nokogiri (~> 1.6)
|
80
|
+
therubyracer (~> 0.12.2)
|
81
|
+
mini_portile2 (2.4.0)
|
82
|
+
minitest (5.11.3)
|
83
|
+
nio4r (2.5.1)
|
84
|
+
nokogiri (1.10.4)
|
85
|
+
mini_portile2 (~> 2.4.0)
|
86
|
+
padrino-helpers (0.13.3.4)
|
87
|
+
i18n (~> 0.6, >= 0.6.7)
|
88
|
+
padrino-support (= 0.13.3.4)
|
89
|
+
tilt (>= 1.4.1, < 3)
|
90
|
+
padrino-support (0.13.3.4)
|
91
|
+
activesupport (>= 3.1)
|
92
|
+
parallel (1.17.0)
|
93
|
+
public_suffix (4.0.1)
|
94
|
+
puma (4.1.1)
|
95
|
+
nio4r (~> 2.0)
|
96
|
+
rack (2.0.7)
|
97
|
+
rb-fsevent (0.10.3)
|
98
|
+
rb-inotify (0.10.0)
|
99
|
+
ffi (~> 1.0)
|
100
|
+
redcarpet (3.5.0)
|
101
|
+
ref (2.0.0)
|
102
|
+
sassc (2.2.0)
|
103
|
+
ffi (~> 1.9)
|
104
|
+
servolux (0.13.0)
|
105
|
+
temple (0.8.2)
|
106
|
+
therubyracer (0.12.3)
|
107
|
+
libv8 (~> 3.16.14.15)
|
108
|
+
ref
|
109
|
+
thor (0.20.3)
|
110
|
+
thread_safe (0.3.6)
|
111
|
+
tilt (2.0.9)
|
112
|
+
titleize (1.4.1)
|
113
|
+
tzinfo (1.2.5)
|
114
|
+
thread_safe (~> 0.1)
|
115
|
+
uglifier (3.2.0)
|
116
|
+
execjs (>= 0.3.0, < 3)
|
117
|
+
|
118
|
+
PLATFORMS
|
119
|
+
ruby
|
120
|
+
|
121
|
+
DEPENDENCIES
|
122
|
+
middleman (~> 4.2)
|
123
|
+
middleman-autoprefixer (~> 2.9)
|
124
|
+
middleman-navtree (~> 0.1.10)
|
125
|
+
middleman-search (~> 0.10.0)
|
126
|
+
puma
|
127
|
+
redcarpet
|
128
|
+
|
129
|
+
BUNDLED WITH
|
130
|
+
2.0.2
|
@@ -673,19 +673,19 @@ Workarea provides several Rake tasks to manually re-index all search indexes or
|
|
673
673
|
You can run the tasks as commands.
|
674
674
|
|
675
675
|
```bash
|
676
|
-
$ bin/rails workarea
|
676
|
+
$ bin/rails workarea:search_index:all
|
677
677
|
```
|
678
678
|
|
679
679
|
```bash
|
680
|
-
$ bin/rails workarea
|
680
|
+
$ bin/rails workarea:search_index:admin
|
681
681
|
```
|
682
682
|
|
683
683
|
```bash
|
684
|
-
$ bin/rails workarea
|
684
|
+
$ bin/rails workarea:search_index:storefront
|
685
685
|
```
|
686
686
|
|
687
687
|
```bash
|
688
|
-
$ bin/rails workarea
|
688
|
+
$ bin/rails workarea:search_index:help
|
689
689
|
```
|
690
690
|
|
691
691
|
Or invoke the tasks programatically.
|
@@ -709,7 +709,7 @@ Rake::Task['workarea:search_index:help'].invoke
|
|
709
709
|
Regardless of how you execute them, these tasks each inline all Sidekiq workers for the duration of the task. As of Workarea 3.3, you can prevent this behavior by setting the environment variable `INLINE` to `false`. For example:
|
710
710
|
|
711
711
|
```bash
|
712
|
-
$ INLINE=false bin/rails workarea
|
712
|
+
$ INLINE=false bin/rails workarea:search_index:all
|
713
713
|
```
|
714
714
|
|
715
715
|
### Seeds
|
@@ -0,0 +1,29 @@
|
|
1
|
+
---
|
2
|
+
title: Workarea 3.3.34
|
3
|
+
excerpt: Patch release notes for Workarea 3.3.34.
|
4
|
+
---
|
5
|
+
|
6
|
+
# Workarea 3.3.34
|
7
|
+
|
8
|
+
Patch release notes for Workarea 3.3.34.
|
9
|
+
|
10
|
+
## Customize Search Queries That Return an Exact Match
|
11
|
+
|
12
|
+
It's currently possible to customize search queries that return an exact
|
13
|
+
match, but instead of seeing the customized results when you run the
|
14
|
+
query, you'll be redirected to the product page since the
|
15
|
+
`StorefrontSearch::ExactMatches` middleware stops further middleware
|
16
|
+
from running and sets a redirect to the product path. To resolve the issue,
|
17
|
+
Workarea will now ignore this middleware if a customization is present
|
18
|
+
on the search response.
|
19
|
+
|
20
|
+
Discovered by **Ryan Tulino** of **Syatt Media**. Thanks Ryan!
|
21
|
+
|
22
|
+
### Issues
|
23
|
+
|
24
|
+
- [ECOMMERCE-7063](https://jira.tools.weblinc.com/browse/ECOMMERCE-7063)
|
25
|
+
|
26
|
+
### Pull Requests
|
27
|
+
|
28
|
+
- [4177](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/4177/overview)
|
29
|
+
|
@@ -0,0 +1,88 @@
|
|
1
|
+
---
|
2
|
+
title: Workarea 3.4.16
|
3
|
+
excerpt: Patch release notes for Workarea 3.4.16.
|
4
|
+
---
|
5
|
+
|
6
|
+
# Workarea 3.4.16
|
7
|
+
|
8
|
+
Patch release notes for Workarea 3.4.16.
|
9
|
+
|
10
|
+
## Customize Search Queries That Return an Exact Match
|
11
|
+
|
12
|
+
It's currently possible to customize search queries that return an exact
|
13
|
+
match, but instead of seeing the customized results when you run the
|
14
|
+
query, you'll be redirected to the product page since the
|
15
|
+
`StorefrontSearch::ExactMatches` middleware stops further middleware
|
16
|
+
from running and sets a redirect to the product path. To resolve the issue,
|
17
|
+
Workarea will now ignore this middleware if a customization is present
|
18
|
+
on the search response.
|
19
|
+
|
20
|
+
Discovered by **Ryan Tulino** of **Syatt Media**. Thanks Ryan!
|
21
|
+
|
22
|
+
### Issues
|
23
|
+
|
24
|
+
- [ECOMMERCE-7063](https://jira.tools.weblinc.com/browse/ECOMMERCE-7063)
|
25
|
+
|
26
|
+
### Pull Requests
|
27
|
+
|
28
|
+
- [4177](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/4177/overview)
|
29
|
+
|
30
|
+
## Prevent Empty Results In Trash
|
31
|
+
|
32
|
+
Remove a check for whether a given audit log entry is `#restorable?` in
|
33
|
+
on the **/admin/trash** page to prevent empty results clogging up the
|
34
|
+
pagination. Without this, admins will see blank pages if they delete
|
35
|
+
enough nav taxon/release records at the same time.
|
36
|
+
|
37
|
+
Additionally, due to `render_activity_entry` rescuing a template error
|
38
|
+
to return a blank string, results were still being seen in the trash when
|
39
|
+
a model that doesn't explicitly have an activity partial defined is encountered.
|
40
|
+
To resolve this issue, models that are tracked by `Mongoid::AuditLog`,
|
41
|
+
without an explicit activity partial defined will be rendered using a
|
42
|
+
generic partial, showing the class name and ID of the audited model, as
|
43
|
+
something to render in the listing so that pages of blank results aren't
|
44
|
+
shown.
|
45
|
+
|
46
|
+
### Issues
|
47
|
+
|
48
|
+
- [ECOMMERCE-7019](https://jira.tools.weblinc.com/browse/ECOMMERCE-7019)
|
49
|
+
|
50
|
+
### Pull Requests
|
51
|
+
|
52
|
+
- [4](https://github.com/workarea-commerce/workarea/pull/4)
|
53
|
+
|
54
|
+
## Use Current Host For Direct Upload CORS Headers
|
55
|
+
|
56
|
+
Direct uploads can fail locally if your `Workarea.config.host` is not
|
57
|
+
set to the domain you are currently using in the browser. To prevent
|
58
|
+
this, instead of reading from the configuration when ensuring CORS
|
59
|
+
headers on the S3 bucket, use the `ActionDispatch::Request` from the
|
60
|
+
controller to determine the correct URL for CORS in this instance.
|
61
|
+
Addresses a problem whereby changing the domain (either accidentally or
|
62
|
+
on-purpose) causes direct uploads to fail, since it can't create the
|
63
|
+
proper CORS headers needed to transmit files into the bucket directly.
|
64
|
+
|
65
|
+
### Issues
|
66
|
+
|
67
|
+
- [19](https://github.com/workarea-commerce/workarea/issues/19)
|
68
|
+
|
69
|
+
### Pull Requests
|
70
|
+
|
71
|
+
- [20](https://github.com/workarea-commerce/workarea/pull/20)
|
72
|
+
- [46](https://github.com/workarea-commerce/workarea/pull/46)
|
73
|
+
|
74
|
+
## Fix Randomly Failing System Test
|
75
|
+
|
76
|
+
Ensure test only asserts product details in `ProductSystemTest`.
|
77
|
+
Recently viewed products were being accidentally clicked on and thus the
|
78
|
+
incorrect information is being rendered to the screen, causing the test
|
79
|
+
to fail. Scope selectors to the product details component to avoid this.
|
80
|
+
|
81
|
+
### Issues
|
82
|
+
|
83
|
+
- [42](https://github.com/workarea-commerce/workarea/issues/42)
|
84
|
+
|
85
|
+
### Pull Requests
|
86
|
+
|
87
|
+
- [54](https://github.com/workarea-commerce/workarea/pull/54)
|
88
|
+
|
@@ -37,6 +37,7 @@ Since version 3.4.0, Workarea also provides upgrade guides for minor and major p
|
|
37
37
|
|
38
38
|
### Workarea 3.4
|
39
39
|
|
40
|
+
- [Workarea 3.4.16](release-notes/workarea-3-4-16.html)
|
40
41
|
- [Workarea 3.4.15](release-notes/workarea-3-4-15.html)
|
41
42
|
- [Workarea 3.4.12](release-notes/workarea-3-4-12.html)
|
42
43
|
- [Workarea 3.4.11](release-notes/workarea-3-4-11.html)
|
@@ -54,6 +55,7 @@ Since version 3.4.0, Workarea also provides upgrade guides for minor and major p
|
|
54
55
|
|
55
56
|
### Workarea 3.3
|
56
57
|
|
58
|
+
- [Workarea 3.3.34](release-notes/workarea-3-3-34.html)
|
57
59
|
- [Workarea 3.3.33](release-notes/workarea-3-3-33.html)
|
58
60
|
- [Workarea 3.3.32](release-notes/workarea-3-3-32.html)
|
59
61
|
- [Workarea 3.3.31](release-notes/workarea-3-3-31.html)
|
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.4.
|
4
|
+
version: 3.4.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Crouse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-17 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.4.
|
19
|
+
version: 3.4.16
|
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.4.
|
26
|
+
version: 3.4.16
|
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.4.
|
33
|
+
version: 3.4.16
|
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.4.
|
40
|
+
version: 3.4.16
|
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.4.
|
47
|
+
version: 3.4.16
|
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.4.
|
54
|
+
version: 3.4.16
|
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.4.
|
61
|
+
version: 3.4.16
|
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.4.
|
68
|
+
version: 3.4.16
|
69
69
|
description: Workarea is an enterprise-grade Ruby on Rails commerce platform.
|
70
70
|
email:
|
71
71
|
- bcrouse@workarea.com
|
@@ -78,6 +78,7 @@ files:
|
|
78
78
|
- README.md
|
79
79
|
- docker-compose.yml
|
80
80
|
- docs/Gemfile
|
81
|
+
- docs/Gemfile.lock
|
81
82
|
- docs/bin/middleman
|
82
83
|
- docs/config.rb
|
83
84
|
- docs/config.ru
|
@@ -605,6 +606,7 @@ files:
|
|
605
606
|
- docs/source/release-notes/workarea-3-3-31.html.md
|
606
607
|
- docs/source/release-notes/workarea-3-3-32.html.md
|
607
608
|
- docs/source/release-notes/workarea-3-3-33.html.md
|
609
|
+
- docs/source/release-notes/workarea-3-3-34.html.md
|
608
610
|
- docs/source/release-notes/workarea-3-3-4.html.md
|
609
611
|
- docs/source/release-notes/workarea-3-3-5.html.md
|
610
612
|
- docs/source/release-notes/workarea-3-3-6.html.md
|
@@ -617,6 +619,7 @@ files:
|
|
617
619
|
- docs/source/release-notes/workarea-3-4-11.html.md
|
618
620
|
- docs/source/release-notes/workarea-3-4-12.html.md
|
619
621
|
- docs/source/release-notes/workarea-3-4-15.html.md
|
622
|
+
- docs/source/release-notes/workarea-3-4-16.html.md
|
620
623
|
- docs/source/release-notes/workarea-3-4-2.html.md
|
621
624
|
- docs/source/release-notes/workarea-3-4-3.html.md
|
622
625
|
- docs/source/release-notes/workarea-3-4-4.html.md
|