Skip to content

Commit

Permalink
Merge branch '4.0-dev' into cpanel-ajax
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed Mar 9, 2019
2 parents d6f8371 + 0362399 commit 952d583
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 30 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES
(493, 0, 'plg_api-authentication_basic', 'plugin', 'basic', 'api-authentication', 0, 1, 1, 0, '', '{}', 0, '0000-00-00 00:00:00', 0, 0),
(494, 0, 'plg_webservices_content', 'plugin', 'content', 'webservices', 0, 1, 1, 0, '', '{}', 0, '0000-00-00 00:00:00', 0, 0),
(494, 0, 'plg_api-authentication_basic', 'plugin', 'basic', 'api-authentication', 0, 1, 1, 0, '', '{}', 0, '0000-00-00 00:00:00', 0, 0),
(495, 0, 'plg_webservices_content', 'plugin', 'content', 'webservices', 0, 1, 1, 0, '', '{}', 0, '0000-00-00 00:00:00', 0, 0),
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
INSERT INTO "#__extensions" ("extension_id", "name", "type", "element", "folder", "client_id", "enabled", "access", "protected", "manifest_cache", "params", "custom_data", "system_data", "checked_out", "checked_out_time", "ordering", "state") VALUES
(493, 0, 'plg_api-authentication_basic', 'plugin', 'basic', 'api-authentication', 0, 1, 1, 0, '', '{}', 0, '0000-00-00 00:00:00', 0, 0),
(494, 0, 'plg_webservices_content', 'plugin', 'content', 'webservices', 0, 1, 1, 0, '', '{}', 0, '0000-00-00 00:00:00', 0, 0),
(494, 0, 'plg_api-authentication_basic', 'plugin', 'basic', 'api-authentication', 0, 1, 1, 0, '', '{}', 0, '0000-00-00 00:00:00', 0, 0),
(495, 0, 'plg_webservices_content', 'plugin', 'content', 'webservices', 0, 1, 1, 0, '', '{}', 0, '0000-00-00 00:00:00', 0, 0),
1 change: 0 additions & 1 deletion build/build-modules-js/compilejs.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ module.exports.compileJS = (options, path) => {
} else {
folders = [
`${RootPath}/build/media_source`,
`${RootPath}/administrator/templates/atum/js`,
`${RootPath}/templates/cassiopeia/js`,
];
}
Expand Down
10 changes: 0 additions & 10 deletions libraries/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,9 @@
JLog::addLogger(['logger' => 'messagequeue'], JLog::ALL, ['jerror']);
}

// Register classes that don't follow the autoloader convention.
JLoader::register('JText', JPATH_PLATFORM . '/joomla/language/text.php');
JLoader::register('JRoute', JPATH_PLATFORM . '/joomla/application/route.php');

// Register the Crypto lib
JLoader::register('Crypto', JPATH_PLATFORM . '/php-encryption/Crypto.php');

// Check if the JsonSerializable interface exists already
if (!interface_exists('JsonSerializable'))
{
JLoader::register('JsonSerializable', JPATH_PLATFORM . '/vendor/joomla/compat/src/JsonSerializable.php');
}

// Register the PasswordHash library.
JLoader::register('PasswordHash', JPATH_PLATFORM . '/phpass/PasswordHash.php');

Expand Down
6 changes: 0 additions & 6 deletions libraries/import.legacy.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,5 @@
// Setup the autoloaders.
JLoader::setup();

// Check if the JsonSerializable interface exists already
if (!interface_exists('JsonSerializable'))
{
JLoader::register('JsonSerializable', JPATH_PLATFORM . '/vendor/joomla/compat/src/JsonSerializable.php');
}

// Register the PasswordHash lib
JLoader::register('PasswordHash', JPATH_PLATFORM . '/phpass/PasswordHash.php');
6 changes: 0 additions & 6 deletions libraries/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,5 @@
// Setup the autoloaders.
JLoader::setup();

// Check if the JsonSerializable interface exists already
if (!interface_exists('JsonSerializable'))
{
JLoader::register('JsonSerializable', JPATH_PLATFORM . '/vendor/joomla/compat/src/JsonSerializable.php');
}

// Register the PasswordHash lib
JLoader::register('PasswordHash', JPATH_PLATFORM . '/phpass/PasswordHash.php');
2 changes: 1 addition & 1 deletion libraries/src/Session/MetadataManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function createOrUpdateRecord(SessionInterface $session, User $user)
$exists = $this->checkSessionRecordExists($session->getId());

// Do not try to touch the database if we can't determine the record state
if ($exists === self::$sessionRecordDoesNotExist)
if ($exists === self::$sessionRecordUnknown)
{
return;
}
Expand Down
3 changes: 2 additions & 1 deletion libraries/src/Table/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use Joomla\CMS\Factory;
use Joomla\CMS\Filter\InputFilter;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Mail\MailHelper;
use Joomla\Database\DatabaseDriver;
use Joomla\Registry\Registry;
use Joomla\Utilities\ArrayHelper;
Expand Down Expand Up @@ -211,7 +212,7 @@ public function check()
return false;
}

if (($filterInput->clean($this->email, 'TRIM') == '') || !\JMailHelper::isEmailAddress($this->email))
if (($filterInput->clean($this->email, 'TRIM') == '') || !MailHelper::isEmailAddress($this->email))
{
$this->setError(Text::_('JLIB_DATABASE_ERROR_VALID_MAIL'));

Expand Down
2 changes: 1 addition & 1 deletion plugins/webservices/content/content.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<extension version="3.1" type="plugin" group="finder" method="upgrade">
<extension version="3.1" type="plugin" group="webservices" method="upgrade">
<name>plg_webservices_content</name>
<author>Joomla! Project</author>
<creationDate>August 2017</creationDate>
Expand Down

0 comments on commit 952d583

Please sign in to comment.