-
Notifications
You must be signed in to change notification settings - Fork 22
Add Description Fields and Change Helptexts #251
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
Changes from 9 commits
d1a7cc6
3e34c86
c140e2b
dbc67ed
d182edd
251e7b7
0a51825
9ff3d1d
d85825e
d371420
2e88a9c
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 |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| ## Changelog | ||
|
|
||
| * 5.2.6 - 2026-04-27 - Updated API documentation | ||
| * 5.3.0 - 2026-05-04 - Added alert description and helptexts | ||
|
Contributor
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. Need to add Also we'll need to update the release date for 5.3.0. @AltamashShaikh could this go out today? Maybe @maxtaube can release this one if the PR looks all good
Contributor
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. @lachiebol Fixed the data, please check and reapprove
Contributor
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. @AltamashShaikh Good to merge?
Contributor
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. @lachiebol If everything is working fine, yes 👍 |
||
| * 5.2.5 - 2026-03-30 - Added escaping for report_matched value | ||
| * 5.2.4 - 2026-03-02 - Updated API documentation | ||
| * 5.2.3 - 2026-02-05 - Alerts now get deleted when a user's site access is revoked | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| <?php | ||
|
|
||
| /** | ||
| * Matomo - free/libre analytics platform | ||
| * | ||
| * @link https://matomo.org | ||
| * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later | ||
| * | ||
| */ | ||
|
|
||
| namespace Piwik\Plugins\CustomAlerts; | ||
|
|
||
| use Piwik\Updater; | ||
| use Piwik\Updater\Migration\Factory as MigrationFactory; | ||
| use Piwik\Updates; | ||
|
|
||
| /** | ||
| */ | ||
| class Updates_5_3_0 extends Updates | ||
| { | ||
| /** | ||
| * @var MigrationFactory | ||
| */ | ||
| private $migration; | ||
|
|
||
| public function __construct(MigrationFactory $factory) | ||
| { | ||
| $this->migration = $factory; | ||
| } | ||
|
|
||
| public function doUpdate(Updater $updater) | ||
| { | ||
| $updater->executeMigrations(__FILE__, $this->getMigrations($updater)); | ||
| } | ||
|
|
||
| public function getMigrations(Updater $updater): array | ||
| { | ||
| return array( | ||
| $this->migration->db->addColumn('alert', 'description', "VARCHAR(255) NOT NULL DEFAULT ''", 'name'), | ||
| $this->migration->db->addColumn('alert_triggered', 'description', "VARCHAR(255) NOT NULL DEFAULT ''", 'name'), | ||
| ); | ||
| } | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.