Skip to content

Commit 27a2a3f

Browse files
authored
Merge branch 'master' into db_restAPI
2 parents feb5c36 + 2df6437 commit 27a2a3f

File tree

27 files changed

+887
-106
lines changed

27 files changed

+887
-106
lines changed

src/_data/toc/compliance.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ pages:
2929
versionless: true
3030
children:
3131

32-
- label: Adobe Privacy JavaScript Library
32+
- label: Magento Privacy JavaScript Library
3333
versionless: true
34-
url: /compliance/privacy/adobe-privacy-js-library.html
34+
url: /compliance/privacy/magento-privacy-js-library.html

src/_data/toc/configuration-guide.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@ pages:
193193
- label: env.php reference
194194
url: /config-guide/prod/config-reference-envphp.html
195195

196+
- label: system.xml reference
197+
url: /config-guide/prod/config-reference-systemxml.html
198+
196199
- label: Configure caching
197200
url: /config-guide/cache.html
198201
children:

src/_data/toc/page-builder.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ pages:
7777
- label: How-Tos
7878
versionless: true
7979
children:
80-
- label: Use attributes for CSS styling
81-
url: /page-builder/docs/how-to/how-to-use-attributes-for-styling.html
80+
- label: Configure styling options
81+
url: /page-builder/docs/how-to/how-to-configure-styling-options.html
8282
versionless: true
8383

8484
- label: Add an appearance

src/_includes/graphql/cart-object.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Attribute | Data Type | Description
88
`billing_address` | [BillingCartAddress][BillingCartAddress] | Contains the billing address specified in the customer's cart
99
`email` | String | The customer's email address
1010
`id` | ID! | The ID of the cart
11-
`is_virtual` | Boolean | Indicates whether the cart contains only virtual products
11+
`is_virtual` | Boolean! | Indicates whether the cart contains only virtual products
1212
`items` | [[CartItemInterface]][CartItemInterface] | Contains the items in the customer's cart
1313
`prices` | [CartPrices][CartPrices] | Contains subtotals and totals
1414
`selected_payment_method` | [SelectedPaymentMethod][SelectedPaymentMethod] | Selected payment method

src/_layouts/redoc.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
</style>
1616

17-
<script src="https://cdn.jsdelivr.net/npm/redoc@2.0.0-alpha.41/bundles/redoc.standalone.js"> </script>
17+
<script src="https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js"> </script>
1818
<script>
1919
Redoc.init('{{ page.specUrl }}', {
2020
scrollYOffset: '.site-nav',
@@ -58,4 +58,4 @@
5858

5959
</script>
6060

61-
{% include layout/footer.html %}
61+
{% include layout/footer.html %}

src/cloud/configure/import-url-rewrites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ functional_areas:
1010
You can easily migrate to the {{site.data.var.ece}} platform without losing SEO rankings and traffic. Use the `magento/url-rewrite-import-export` module to redirect traffic from your old, indexed URLs to new URLs.
1111

1212
{:.bs-callout-info}
13-
This module supports ~7.0.13|~7.1.0|~7.2.0|~7.3.0 PHP versions and is available for Magento version 2.2.x and 2.3.x only.
13+
This module supports PHP versions 7.0.13 and later patch releases and all 7.1.x and 7.2.x patch releases. The module is available for Magento version 2.2.x and 2.3.x only.
1414

1515
{:.procedure}
1616
To install the URL rewrite module:

src/cloud/docker/docker-containers-service.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,34 @@ See [Manage the database] for details about using the database.
5656

5757
The Elasticsearch container for {{site.data.var.mcd-prod}} is a standard Elasticsearch container with required plugins and configurations for {{site.data.var.ee}}.
5858

59+
### Troubleshooting
60+
61+
On some Linux systems, when you launch the Docker environment, the Elasticsearch service fails to start and the following error displays:
62+
63+
```terminal
64+
ERROR: [1] bootstrap checks failed
65+
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
66+
```
67+
68+
To fix the error, run the following `sysctl` command to increase the memory map area allocation.
69+
70+
```bash
71+
sysctl -w vm.max_map_count=262144
72+
```
73+
74+
{:.procedure}
75+
To permanently update the system setting for `vm.max_map_count`:
76+
77+
1. Edit the sysctl configuration file (`etc/sysctl.conf`) and set the required value for the `vm.max_map_count` option.
78+
79+
1. Reboot your system.
80+
81+
1. Run the following command to verify the change.
82+
83+
```bash
84+
sysctl vm.max_map_count
85+
```
86+
5987
## FPM container
6088

6189
**Container name**: fpm<br/>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: Blackfire.io for Magento Cloud
3+
redirect_from:
4+
- guides/v2.2/cloud/project/project-integrate-blackfire.html
5+
redirect_to: https://support.blackfire.io/en/articles/771436-step-3-configure-blackfire-to-run-in-all-magento-cloud-environments
6+
---

src/cloud/project/project-upgrade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Review the [service versions][version compatibility matrix] information for the
9696

9797
### Complete the upgrade
9898

99-
If you use PHP version 7.2, you must remove the `mcrypt` extension from the [extensions section of the .magento.app.yaml file]. For Pro projects, you need to create a support ticket to completely disable the `mcrypt` extension.
99+
If you use PHP version 7.2, you must remove the `mcrypt` extension from the [extensions section of the .magento.app.yaml file].
100100

101101
{:.bs-callout-info}
102102
When upgrading to 2.3.x from 2.2.x, you must verify that the `composer.json` file contains `"Zend\\Mvc\\Controller\\": "setup/src/Zend/Mvc/Controller/"` in the `"psr-4":` section of the `autoload` property.

src/compliance/industry-compliance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ This compliance documentation provides the technical information to ensure that
1212

1313
## Compliance tools
1414

15-
- [Adobe Privacy JavaScript Library](<{{ site.baseurl }}/compliance/privacy/adobe-privacy-js-library.html>)
15+
- [Magento Privacy JavaScript Library](<{{ site.baseurl }}/compliance/privacy/magento-privacy-js-library.html>)

src/compliance/privacy/adobe-privacy-js-library.md renamed to src/compliance/privacy/__adobe-privacy-js-library.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ group: compliance
33
title: Adobe Privacy JavaScript Library
44
---
55

6+
<!-- TODO: Rename this topic without the `__` prefix to publish it when the library integration is ready -->
7+
68
The [Adobe Privacy JavaScript Library][] is a set of tools to help create a process for accessing and deleting private data.
79

810
Magento and Adobe's data tracking services can store private information applicable to privacy regulations such as the [General Data Protection Regulation (GDPR)][] and [California Consumer Privacy Act (CCPA)][].
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
group: compliance
3+
title: Magento Privacy JavaScript Library
4+
---
5+
6+
<!-- TODO: Unpublish this topic and create a topic redirect to the adobe privacy js topic when the adobe privacy library is integrated with Magento -->
7+
8+
The Magento Privacy JavaScript Library is a set of tools to help create a process for accessing and deleting private data collected by Magento.
9+
10+
Magento's data tracking services can store private information applicable to privacy regulations such as the [General Data Protection Regulation (GDPR)][] and [California Consumer Privacy Act (CCPA)][].
11+
This library provides a set of functions for creating privacy-data requests and gathering their responses.
12+
Use this library to retrieve and remove the data stored in the browser by Magento's data tracking services.
13+
14+
{:.bs-callout-info}
15+
If [Cookie Restriction Mode](https://docs.magento.com/m2/ce/user_guide/stores/compliance-cookie-restriction-mode.html) is enabled, Magento does not collect behavioral data until the shopper consents. If Cookie Restriction Mode is disabled, Magento collects behavioral data by default.
16+
17+
## Installation
18+
19+
The Magento Privacy JavaScript Library is available at the following CDN location: `commerce.adobe.net/magentoprivacy.js`
20+
21+
After you have the file, you will need to add it to a custom module or theme installed in your Magento instance.
22+
Follow the instructions described in the [Use custom JavaScript][] topic to accomplish this task.
23+
24+
### Initialization
25+
26+
Import and instantiate a new `MagentoPrivacy` object or use the `window` object to access the Magento Privacy JavaScript functions.
27+
28+
Example using `import`:
29+
30+
```js
31+
import MagentoPrivacy from "./MagentoPrivacy"
32+
33+
const magePriv = new MagentoPrivacy()
34+
```
35+
36+
Example using `window`:
37+
38+
```js
39+
const magePriv = new window.MagentoPrivacy()
40+
```
41+
42+
## Usage
43+
44+
The Magento Privacy JS Library provides various functions to manage identity data stored in the browser.
45+
46+
`retrieveIdentity()`
47+
: Returns a JavaScript promise for an identity object from a service in the browser.
48+
49+
```js
50+
magePriv.retrieveIdentity().then((ids)=>console.log(ids))
51+
// {"value":"1ccfd8c2-5159-433c-98d7-e937ce3b13f3"}
52+
```
53+
54+
`removeIdentity()`
55+
: Removes the identity data from a service in the browser.
56+
This function returns a JavaScript promise for an identity object with an `isDeleted` boolean property to indicate whether the data has been deleted.
57+
58+
```js
59+
magePriv.removeIdentity().then((ids)=>console.log(ids))
60+
// {"value":"1ccfd8c2-5159-433c-98d7-e937ce3b13f3","isDeleted":true}
61+
```
62+
63+
[General Data Protection Regulation (GDPR)]: <{{ site.baseurl }}/compliance/privacy/gdpr.html>
64+
[California Consumer Privacy Act (CCPA)]: <{{ site.baseurl }}/compliance/privacy/ccpa.html>
65+
[Use custom JavaScript]: <{{ site.baseurl }}/guides/v2.3/javascript-dev-guide/javascript/custom_js.html>

0 commit comments

Comments
 (0)