-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #251 from YotpoLtd/3.1.1-release
3.1.1 release
- Loading branch information
Showing
14 changed files
with
155 additions
and
67 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?php | ||
namespace Yotpo\Yotpo\Model; | ||
|
||
class Logger extends \Monolog\Logger | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
namespace Yotpo\Yotpo\Model\Logger; | ||
|
||
use Monolog\Logger; | ||
|
||
class YotpoHandler extends \Magento\Framework\Logger\Handler\Base | ||
{ | ||
/** | ||
* Logging level | ||
* @var int | ||
*/ | ||
protected $loggerType = Logger::DEBUG; | ||
|
||
/** | ||
* File name | ||
* @var string | ||
*/ | ||
protected $fileName = '/var/log/yotpo_yotpo.log'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<?xml version="1.0"?> | ||
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp/etc/csp_whitelist.xsd"> | ||
<policies> | ||
<policy id="script-src"> | ||
<values> | ||
<value id="yotpo_main" type="host">yotpo.com</value> | ||
<value id="yotpo_main_www" type="host">www.yotpo.com</value> | ||
<value id="yotpo_p" type="host">p.yotpo.com</value> | ||
<value id="yotpo_staticw2" type="host">staticw2.yotpo.com</value> | ||
<value id="yotpo_w2" type="host">w2.yotpo.com</value> | ||
</values> | ||
</policy> | ||
<policy id="connect-src"> | ||
<values> | ||
<value id="yotpo_main" type="host">yotpo.com</value> | ||
<value id="yotpo_main_www" type="host">www.yotpo.com</value> | ||
<value id="yotpo_p" type="host">p.yotpo.com</value> | ||
<value id="yotpo_staticw2" type="host">staticw2.yotpo.com</value> | ||
<value id="yotpo_w2" type="host">w2.yotpo.com</value> | ||
</values> | ||
</policy> | ||
<policy id="frame-src"> | ||
<values> | ||
<value id="yotpo_main" type="host">yotpo.com</value> | ||
<value id="yotpo_main_www" type="host">www.yotpo.com</value> | ||
<value id="yotpo_p" type="host">p.yotpo.com</value> | ||
<value id="yotpo_staticw2" type="host">staticw2.yotpo.com</value> | ||
<value id="yotpo_w2" type="host">w2.yotpo.com</value> | ||
</values> | ||
</policy> | ||
<policy id="form-action"> | ||
<values> | ||
<value id="yotpo_main" type="host">yotpo.com</value> | ||
<value id="yotpo_main_www" type="host">www.yotpo.com</value> | ||
<value id="yotpo_p" type="host">p.yotpo.com</value> | ||
<value id="yotpo_staticw2" type="host">staticw2.yotpo.com</value> | ||
<value id="yotpo_w2" type="host">w2.yotpo.com</value> | ||
</values> | ||
</policy> | ||
<policy id="img-src"> | ||
<values> | ||
<value id="yotpo_main" type="host">yotpo.com</value> | ||
<value id="yotpo_main_www" type="host">www.yotpo.com</value> | ||
<value id="yotpo_p" type="host">p.yotpo.com</value> | ||
<value id="yotpo_staticw2" type="host">staticw2.yotpo.com</value> | ||
<value id="yotpo_w2" type="host">w2.yotpo.com</value> | ||
</values> | ||
</policy> | ||
<policy id="style-src"> | ||
<values> | ||
<value id="yotpo_main" type="host">yotpo.com</value> | ||
<value id="yotpo_main_www" type="host">www.yotpo.com</value> | ||
<value id="yotpo_p" type="host">p.yotpo.com</value> | ||
<value id="yotpo_staticw2" type="host">staticw2.yotpo.com</value> | ||
<value id="yotpo_w2" type="host">w2.yotpo.com</value> | ||
</values> | ||
</policy> | ||
</policies> | ||
</csp_whitelist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters