-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '4.2-dev' into 4.2-finder-optimise
- Loading branch information
Showing
565 changed files
with
3,731 additions
and
1,892 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
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<extension type="component" method="upgrade"> | ||
<name>com_actionlogs</name> | ||
<author>Joomla! Project</author> | ||
<creationDate>May 2018</creationDate> | ||
<creationDate>2018-05</creationDate> | ||
<copyright>(C) 2018 Open Source Matters, Inc.</copyright> | ||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license> | ||
<authorEmail>[email protected]</authorEmail> | ||
|
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
46 changes: 46 additions & 0 deletions
46
administrator/components/com_actionlogs/src/Model/ActionlogConfigModel.php
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,46 @@ | ||
<?php | ||
/** | ||
* @package Joomla.Administrator | ||
* @subpackage com_actionlogs | ||
* | ||
* @copyright (C) 2022 Open Source Matters, Inc. <https://www.joomla.org> | ||
* @license GNU General Public License version 2 or later; see LICENSE.txt | ||
*/ | ||
|
||
namespace Joomla\Component\Actionlogs\Administrator\Model; | ||
|
||
\defined('_JEXEC') or die; | ||
|
||
use Joomla\CMS\MVC\Model\BaseDatabaseModel; | ||
use stdClass; | ||
|
||
/** | ||
* Model to interact with the action log configuration. | ||
* | ||
* @since __DEPLOY_VERSION__ | ||
*/ | ||
class ActionlogConfigModel extends BaseDatabaseModel | ||
{ | ||
/** | ||
* Returns the action logs config for the given context. | ||
* | ||
* @param string $context The context of the content | ||
* | ||
* @return stdClass|null An object contains content type parameters, or null if not found | ||
* | ||
* @since __DEPLOY_VERSION__ | ||
*/ | ||
public function getLogContentTypeParams(string $context): ?stdClass | ||
{ | ||
$db = $this->getDatabase(); | ||
$query = $db->getQuery(true) | ||
->select('a.*') | ||
->from($db->quoteName('#__action_log_config', 'a')) | ||
->where($db->quoteName('a.type_alias') . ' = :context') | ||
->bind(':context', $context); | ||
|
||
$db->setQuery($query); | ||
|
||
return $db->loadObject(); | ||
} | ||
} |
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<extension type="component" method="upgrade"> | ||
<name>com_admin</name> | ||
<author>Joomla! Project</author> | ||
<creationDate>April 2006</creationDate> | ||
<creationDate>2006-04</creationDate> | ||
<copyright>(C) 2006 Open Source Matters, Inc.</copyright> | ||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license> | ||
<authorEmail>[email protected]</authorEmail> | ||
|
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
7 changes: 7 additions & 0 deletions
7
administrator/components/com_admin/sql/updates/mysql/4.1.3-2022-04-07.sql
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 @@ | ||
UPDATE `#__mail_templates` | ||
SET `params` = '{"tags":["message","date","extension","username"]}' | ||
WHERE `template_id` = 'com_actionlogs.notification' AND `params` = '{"tags":["message","date","extension"]}'; | ||
|
||
UPDATE `#__mail_templates` | ||
SET `params` = '{"tags":["sitename","name","email","subject","body","url","customfields","contactname"]}' | ||
WHERE `template_id` = 'com_contact.mail.copy' AND `params` = '{"tags":["sitename","name","email","subject","body","url","customfields"]}'; |
3 changes: 3 additions & 0 deletions
3
administrator/components/com_admin/sql/updates/mysql/4.1.3-2022-04-08.sql
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,3 @@ | ||
UPDATE `#__update_sites` | ||
SET `name` = 'Joomla! Update Component' | ||
WHERE `name` = 'Joomla! Update Component Update Site'; |
7 changes: 7 additions & 0 deletions
7
administrator/components/com_admin/sql/updates/postgresql/4.1.3-2022-04-07.sql
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 @@ | ||
UPDATE "#__mail_templates" | ||
SET "params" = '{"tags":["message","date","extension","username"]}' | ||
WHERE "template_id" = 'com_actionlogs.notification' AND "params" = '{"tags":["message","date","extension"]}'; | ||
|
||
UPDATE "#__mail_templates" | ||
SET "params" = '{"tags":["sitename","name","email","subject","body","url","customfields","contactname"]}' | ||
WHERE "template_id" = 'com_contact.mail.copy' AND "params" = '{"tags":["sitename","name","email","subject","body","url","customfields"]}'; |
3 changes: 3 additions & 0 deletions
3
administrator/components/com_admin/sql/updates/postgresql/4.1.3-2022-04-08.sql
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,3 @@ | ||
UPDATE "#__update_sites" | ||
SET "name" = 'Joomla! Update Component' | ||
WHERE "name" = 'Joomla! Update Component Update Site'; |
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<extension type="component" method="upgrade"> | ||
<name>com_ajax</name> | ||
<author>Joomla! Project</author> | ||
<creationDate>August 2013</creationDate> | ||
<creationDate>2013-08</creationDate> | ||
<copyright>(C) 2013 Open Source Matters, Inc.</copyright> | ||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license> | ||
<authorEmail>[email protected]</authorEmail> | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<extension type="component" method="upgrade"> | ||
<name>com_associations</name> | ||
<author>Joomla! Project</author> | ||
<creationDate>January 2017</creationDate> | ||
<creationDate>2017-01</creationDate> | ||
<copyright>(C) 2017 Open Source Matters, Inc.</copyright> | ||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license> | ||
<authorEmail>[email protected]</authorEmail> | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<extension type="component" method="upgrade"> | ||
<name>com_banners</name> | ||
<author>Joomla! Project</author> | ||
<creationDate>April 2006</creationDate> | ||
<creationDate>2006-04</creationDate> | ||
<copyright>(C) 2006 Open Source Matters, Inc.</copyright> | ||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license> | ||
<authorEmail>[email protected]</authorEmail> | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<extension type="component" method="upgrade"> | ||
<name>com_cache</name> | ||
<author>Joomla! Project</author> | ||
<creationDate>April 2006</creationDate> | ||
<creationDate>2006-04</creationDate> | ||
<copyright>(C) 2006 Open Source Matters, Inc.</copyright> | ||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license> | ||
<authorEmail>[email protected]</authorEmail> | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<extension type="component" method="upgrade"> | ||
<name>com_categories</name> | ||
<author>Joomla! Project</author> | ||
<creationDate>December 2007</creationDate> | ||
<creationDate>2007-12</creationDate> | ||
<copyright>(C) 2007 Open Source Matters, Inc.</copyright> | ||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license> | ||
<authorEmail>[email protected]</authorEmail> | ||
|
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
Oops, something went wrong.