-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/secure mode #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
4bbe230
228a32d
98abc44
8d3db1e
7520f22
8c1f1f9
63dd82e
6fd126d
e6e3ea2
7bb2744
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
/** | ||
* Tawk.to | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the Open Software License (OSL 3.0) | ||
* that is bundled with this package in the file LICENSE.txt. | ||
* It is also available through the world-wide-web at this URL: | ||
* http://opensource.org/licenses/osl-3.0.php | ||
* If you did not receive a copy of the license and are unable to | ||
* obtain it through the world-wide-web, please send an email | ||
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @copyright Copyright (c) 2024 Tawk.to | ||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
*/ | ||
|
||
namespace Tawk\Widget\Api; | ||
|
||
interface ConfigInterface | ||
{ | ||
const JS_API_KEY_NO_CHANGE = 'no_change'; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
/** | ||
* Tawk.to | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the Open Software License (OSL 3.0) | ||
* that is bundled with this package in the file LICENSE.txt. | ||
* It is also available through the world-wide-web at this URL: | ||
* http://opensource.org/licenses/osl-3.0.php | ||
* If you did not receive a copy of the license and are unable to | ||
* obtain it through the world-wide-web, please send an email | ||
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @copyright Copyright (c) 2024 Tawk.to | ||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
*/ | ||
|
||
namespace Tawk\Widget\Exception; | ||
|
||
use Magento\Framework\Exception\LocalizedException; | ||
|
||
class SaveWidgetException extends LocalizedException | ||
{ | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/sh | ||
|
||
Comment on lines
+1
to
+2
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Proper Shebang & Error Handling Consideration The script begins with a proper shebang ( |
||
composer run clean | ||
|
||
mkdir -p ./tmp/tawkmagento2 | ||
cp -r ./view ./tmp/tawkmagento2 | ||
cp -r ./etc ./tmp/tawkmagento2 | ||
cp -r ./Setup ./tmp/tawkmagento2 | ||
cp -r ./Model ./tmp/tawkmagento2 | ||
cp -r ./Controller ./tmp/tawkmagento2 | ||
cp -r ./Block ./tmp/tawkmagento2 | ||
cp -r ./Helper ./tmp/tawkmagento2 | ||
cp -r ./Api ./tmp/tawkmagento2 | ||
cp -r ./Exception ./tmp/tawkmagento2 | ||
cp ./registration.php ./tmp/tawkmagento2 | ||
cp ./composer.json ./tmp/tawkmagento2 | ||
cp README.md ./tmp/tawkmagento2 | ||
|
||
(cd ./tmp && zip -9 -rq ./tawkmagento2.zip ./tawkmagento2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Additional error handling needed for decryption.
The decrypt operation could fail and throw an exception. Consider adding specific error handling for the decryption operation.
📝 Committable suggestion