-
Notifications
You must be signed in to change notification settings - Fork 1
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 #5 from justbetter/feature/add-option-for-loading-…
…external-messages Add option to load messages from an external link
- Loading branch information
Showing
5 changed files
with
93 additions
and
6 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
# Changelog | ||
## [1.1.0] - 2024-10-22 | ||
### Added | ||
* Add option for loading messages from an external location | ||
## [1.0.0] - 2023-06-15 | ||
### Added | ||
* Initial commit module - basic working module |
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,21 @@ | ||
<?php | ||
|
||
namespace JustBetter\SentryFilterEvents\Model\Cache\Type; | ||
|
||
use Magento\Framework\App\Cache\Type\FrontendPool; | ||
use Magento\Framework\Cache\Frontend\Decorator\TagScope; | ||
|
||
class SentryFilterEventsCache extends TagScope | ||
{ | ||
const TYPE_IDENTIFIER = 'justbetter_sentry_filter_events'; | ||
|
||
const CACHE_TAG = 'JUSTBETTER_SENTRY_FILTER_EVENTS'; | ||
|
||
public function __construct(FrontendPool $cacheFrontendPool) | ||
{ | ||
parent::__construct( | ||
$cacheFrontendPool->get(self::TYPE_IDENTIFIER), | ||
self::CACHE_TAG | ||
); | ||
} | ||
} |
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,7 @@ | ||
<?xml version="1.0"?> | ||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Cache/etc/cache.xsd"> | ||
<type name="justbetter_sentry_filter_events" translate="label,description" instance="JustBetter\SentryFilterEvents\Model\Cache\Type\SentryFilterEventsCache"> | ||
<label>Sentry Filter Events</label> | ||
<description>Node for caching external messages</description> | ||
</type> | ||
</config> |